On Thu, Feb 16, 2006 at 02:04:54AM +0000, Ian Dowse wrote: > In message <[EMAIL PROTECTED]>, Juergen Lock writes: > >I finally got around testing this patch on today's RELENG_5. I built > >my custom kernel (mostly based on GENERIC but with ehci), booted that, > >copied the kernel to an 16 MB sdcard i had lying around using an usb > >multi-cardreader, which worked. umounted, disconnected, reconnected, > >mounted again and verified the kernel, which worked as well. Then I > >noticed this in dmesg: > > da3: 1.000MB/s transfers > >so it wasn't using ehci apparently. I thought, maybe this is > >intermittent too like with my externally powered devices, so I > >disconnected and reconnected again, but this time da3s1 didn't appear. > >(dmesg also shows da1, sometimes with 1 and sometimes with 40 MB/s, > >but I never saw a /dev/da1s1 appear.) I wanted to try again, and when > >disconnecting I got the following panic: > > I'm not sure about the intermittent probing behaviour, but there > are known bugs in CAM that cause it to crash in camisr() if a device > goes away while being probed. There have been some improvements in > this area in -CURRENT, so if you like you could try a CAM patch > too: > > http://people.freebsd.org/~iedowse/cam_remove_releng_5.diff > > Note that this is just a blind backport - I haven't even tested > that it compiles.
It does, and i think it should go in because I couldnt panic the box by playing around with the cardreader anymore. This time (and i did that twice) I mounted, accessed, and disconnected it a few times until mounting gave an error again. Disconnected, got no panic as mentioned, reconnected, but still couldnt mount. ls -l /dev/da3* then found two instances of da3s1: bash 10.3# ll /dev/da3* crw-r----- 1 root operator 4, 108 Feb 16 17:00 /dev/da3 crw-r----- 1 root operator 4, 93 Feb 16 17:00 /dev/da3s1 crw-r----- 1 root operator 4, 93 Feb 16 17:00 /dev/da3s1 but it isnt accessible: bash 10.3# dd count=1 </dev/da3s1 >/dev/null bash: /dev/da3s1: Device not configured da3 is: bash 10.3# dd count=1 </dev/da3 >/dev/null 1+0 records in 1+0 records out 512 bytes transferred in 0.001324 secs (386725 bytes/sec) disconnecting leaves one instance of da3s1: bash 10.3# ll /dev/da3* crw-r----- 1 root operator 4, 93 Feb 16 17:00 /dev/da3s1 I had to reboot to get the cardreader mountable again. (the above log is from doing the whole thing a second time.) here is boot -v dmesg of a normal connect (btw, this time it did use ehci): umass0: Genesys USB2.0 card Reader, rev 2.00/91.38, addr 2 umass0:6:0:-1: Attached to scbus6 pass3 at umass-sim0 bus 0 target 0 lun 0 pass3: <Generic STORAGE DEVICE 9138> Removable Direct Access SCSI-0 device pass3: 40.000MB/s transfers GEOM: new disk da1 da1 at umass-sim0 bus 0 target 0 lun 0 da1: <Generic STORAGE DEVICE 9138> Removable Direct Access SCSI-0 device da1: 40.000MB/s transfers da1: 14MB (29120 512 byte sectors: 64H 32S/T 14C) (da1:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 (da1:umass-sim0:0:0:0): CAM Status: SCSI Status Error (da1:umass-sim0:0:0:0): SCSI Status: Check Condition (da1:umass-sim0:0:0:0): NOT READY asc:3a,0 (da1:umass-sim0:0:0:0): Medium not present (da1:umass-sim0:0:0:0): (da1:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 (da1:umass-sim0:0:0:0): NOT READY asc:3a,0 (da1:umass-sim0:0:0:0): Medium not present Unretryable error (da1:umass-sim0:0:0:0): error 6 (da1:umass-sim0:0:0:0): Unretryable Error Opened disk da1 -> 6 (da1:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 (da1:umass-sim0:0:0:0): CAM Status: SCSI Status Error (da1:umass-sim0:0:0:0): SCSI Status: Check Condition (da1:umass-sim0:0:0:0): NOT READY asc:3a,0 (da1:umass-sim0:0:0:0): Medium not present (da1:umass-sim0:0:0:0): (da1:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 (da1:umass-sim0:0:0:0): NOT READY asc:3a,0 (da1:umass-sim0:0:0:0): Medium not present Unretryable error (da1:umass-sim0:0:0:0): error 6 (da1:umass-sim0:0:0:0): Unretryable Error Opened disk da1 -> 6 (da1:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 (da1:umass-sim0:0:0:0): CAM Status: SCSI Status Error (da1:umass-sim0:0:0:0): SCSI Status: Check Condition (da1:umass-sim0:0:0:0): NOT READY asc:3a,0 (da1:umass-sim0:0:0:0): Medium not present (da1:umass-sim0:0:0:0): (da1:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 (da1:umass-sim0:0:0:0): NOT READY asc:3a,0 (da1:umass-sim0:0:0:0): Medium not present Unretryable error (da1:umass-sim0:0:0:0): error 6 (da1:umass-sim0:0:0:0): Unretryable Error Opened disk da1 -> 6 pass4 at umass-sim0 bus 0 target 0 lun 1 pass4: <Generic STORAGE DEVICE 9138> Removable Direct Access SCSI-0 device pass4: 40.000MB/s transfers GEOM: new disk da2 (da2:umass-sim0:0:0:1): error 6 (da2:umass-sim0:0:0:1): Unretryable Error da2 at umass-sim0 bus 0 target 0 lun 1 da2: <Generic STORAGE DEVICE 9138> Removable Direct Access SCSI-0 device da2: 40.000MB/s transfers da2: Attempt to query device size failed: NOT READY, Medium not present (da2:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0 (da2:umass-sim0:0:0:1): CAM Status: SCSI Status Error (da2:umass-sim0:0:0:1): SCSI Status: Check Condition (da2:umass-sim0:0:0:1): NOT READY asc:3a,0 (da2:umass-sim0:0:0:1): Medium not present (da2:umass-sim0:0:0:1): (da2:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0 (da2:umass-sim0:0:0:1): NOT READY asc:3a,0 (da2:umass-sim0:0:0:1): Medium not present Unretryable error (da2:umass-sim0:0:0:1): error 6 (da2:umass-sim0:0:0:1): Unretryable Error Opened disk da2 -> 6 (da2:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0 (da2:umass-sim0:0:0:1): CAM Status: SCSI Status Error (da2:umass-sim0:0:0:1): SCSI Status: Check Condition (da2:umass-sim0:0:0:1): NOT READY asc:3a,0 (da2:umass-sim0:0:0:1): Medium not present (da2:umass-sim0:0:0:1): (da2:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0 (da2:umass-sim0:0:0:1): NOT READY asc:3a,0 (da2:umass-sim0:0:0:1): Medium not present Unretryable error (da2:umass-sim0:0:0:1): error 6 (da2:umass-sim0:0:0:1): Unretryable Error Opened disk da2 -> 6 (da2:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0 (da2:umass-sim0:0:0:1): CAM Status: SCSI Status Error (da2:umass-sim0:0:0:1): SCSI Status: Check Condition (da2:umass-sim0:0:0:1): NOT READY asc:3a,0 (da2:umass-sim0:0:0:1): Medium not present (da2:umass-sim0:0:0:1): (da2:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0 (da2:umass-sim0:0:0:1): NOT READY asc:3a,0 (da2:umass-sim0:0:0:1): Medium not present Unretryable error (da2:umass-sim0:0:0:1): error 6 (da2:umass-sim0:0:0:1): Unretryable Error Opened disk da2 -> 6 pass5 at umass-sim0 bus 0 target 0 lun 2 pass5: <Generic STORAGE DEVICE 9138> Removable Direct Access SCSI-0 device pass5: 40.000MB/s transfers GEOM: new disk da3 da3 at umass-sim0 bus 0 target 0 lun 2 da3: <Generic STORAGE DEVICE 9138> Removable Direct Access SCSI-0 device da3: 40.000MB/s transfers da3: 14MB (29120 512 byte sectors: 64H 32S/T 14C) [0] f:00 typ:1 s(CHS):0/1/26 e(CHS):454/1/32 s:57 l:29063 [1] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0 [2] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0 [3] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0 GEOM: Configure da3s1, start 29184 length 14880256 end 14909439 pass6 at umass-sim0 bus 0 target 0 lun 3 pass6: <Generic STORAGE DEVICE 9138> Removable Direct Access SCSI-0 device pass6: 40.000MB/s transfers (da4:umass-sim0:0:0:3): error 6 (da4:umass-sim0:0:0:3): Unretryable Error da4 at umass-sim0 bus 0 target 0 lun 3 da4: <Generic STORAGE DEVICE 9138> Removable Direct Access SCSI-0 device da4: 40.000MB/s transfers da4: Attempt to query device size failed: NOT READY, Medium not present pass7 at umass-sim0 bus 0 target 0 lun 4 pass7: <Generic STORAGE DEVICE 9138> Removable Direct Access SCSI-0 device pass7: 40.000MB/s transfers (da5:umass-sim0:0:0:4): error 6 (da5:umass-sim0:0:0:4): Unretryable Error da5 at umass-sim0 bus 0 target 0 lun 4 da5: <Generic STORAGE DEVICE 9138> Removable Direct Access SCSI-0 device da5: 40.000MB/s transfers da5: Attempt to query device size failed: NOT READY, Medium not present GEOM: new disk da4 GEOM: new disk da5 (da4:umass-sim0:0:0:3): READ CAPACITY. CDB: 25 60 0 0 0 0 0 0 0 0 (da4:umass-sim0:0:0:3): CAM Status: SCSI Status Error (da4:umass-sim0:0:0:3): SCSI Status: Check Condition (da4:umass-sim0:0:0:3): NOT READY asc:3a,0 (da4:umass-sim0:0:0:3): Medium not present (da4:umass-sim0:0:0:3): (da4:umass-sim0:0:0:3): READ CAPACITY. CDB: 25 60 0 0 0 0 0 0 0 0 (da4:umass-sim0:0:0:3): NOT READY asc:3a,0 (da4:umass-sim0:0:0:3): Medium not present Unretryable error (da4:umass-sim0:0:0:3): error 6 (da4:umass-sim0:0:0:3): Unretryable Error Opened disk da4 -> 6 (da4:umass-sim0:0:0:3): READ CAPACITY. CDB: 25 60 0 0 0 0 0 0 0 0 (da4:umass-sim0:0:0:3): CAM Status: SCSI Status Error (da4:umass-sim0:0:0:3): SCSI Status: Check Condition (da4:umass-sim0:0:0:3): NOT READY asc:3a,0 (da4:umass-sim0:0:0:3): Medium not present (da4:umass-sim0:0:0:3): (da4:umass-sim0:0:0:3): READ CAPACITY. CDB: 25 60 0 0 0 0 0 0 0 0 (da4:umass-sim0:0:0:3): NOT READY asc:3a,0 (da4:umass-sim0:0:0:3): Medium not present Unretryable error (da4:umass-sim0:0:0:3): error 6 (da4:umass-sim0:0:0:3): Unretryable Error Opened disk da4 -> 6 (da4:umass-sim0:0:0:3): READ CAPACITY. CDB: 25 60 0 0 0 0 0 0 0 0 (da4:umass-sim0:0:0:3): CAM Status: SCSI Status Error (da4:umass-sim0:0:0:3): SCSI Status: Check Condition (da4:umass-sim0:0:0:3): NOT READY asc:3a,0 (da4:umass-sim0:0:0:3): Medium not present (da4:umass-sim0:0:0:3): (da4:umass-sim0:0:0:3): READ CAPACITY. CDB: 25 60 0 0 0 0 0 0 0 0 (da4:umass-sim0:0:0:3): NOT READY asc:3a,0 (da4:umass-sim0:0:0:3): Medium not present Unretryable error (da4:umass-sim0:0:0:3): error 6 (da4:umass-sim0:0:0:3): Unretryable Error Opened disk da4 -> 6 (da5:umass-sim0:0:0:4): READ CAPACITY. CDB: 25 80 0 0 0 0 0 0 0 0 (da5:umass-sim0:0:0:4): CAM Status: SCSI Status Error (da5:umass-sim0:0:0:4): SCSI Status: Check Condition (da5:umass-sim0:0:0:4): NOT READY asc:3a,0 (da5:umass-sim0:0:0:4): Medium not present (da5:umass-sim0:0:0:4): (da5:umass-sim0:0:0:4): READ CAPACITY. CDB: 25 80 0 0 0 0 0 0 0 0 (da5:umass-sim0:0:0:4): NOT READY asc:3a,0 (da5:umass-sim0:0:0:4): Medium not present Unretryable error (da5:umass-sim0:0:0:4): error 6 (da5:umass-sim0:0:0:4): Unretryable Error Opened disk da5 -> 6 (da5:umass-sim0:0:0:4): READ CAPACITY. CDB: 25 80 0 0 0 0 0 0 0 0 (da5:umass-sim0:0:0:4): CAM Status: SCSI Status Error (da5:umass-sim0:0:0:4): SCSI Status: Check Condition (da5:umass-sim0:0:0:4): NOT READY asc:3a,0 (da5:umass-sim0:0:0:4): Medium not present (da5:umass-sim0:0:0:4): (da5:umass-sim0:0:0:4): READ CAPACITY. CDB: 25 80 0 0 0 0 0 0 0 0 (da5:umass-sim0:0:0:4): NOT READY asc:3a,0 (da5:umass-sim0:0:0:4): Medium not present Unretryable error (da5:umass-sim0:0:0:4): error 6 (da5:umass-sim0:0:0:4): Unretryable Error Opened disk da5 -> 6 (da5:umass-sim0:0:0:4): READ CAPACITY. CDB: 25 80 0 0 0 0 0 0 0 0 (da5:umass-sim0:0:0:4): CAM Status: SCSI Status Error (da5:umass-sim0:0:0:4): SCSI Status: Check Condition (da5:umass-sim0:0:0:4): NOT READY asc:3a,0 (da5:umass-sim0:0:0:4): Medium not present (da5:umass-sim0:0:0:4): (da5:umass-sim0:0:0:4): READ CAPACITY. CDB: 25 80 0 0 0 0 0 0 0 0 (da5:umass-sim0:0:0:4): NOT READY asc:3a,0 (da5:umass-sim0:0:0:4): Medium not present Unretryable error (da5:umass-sim0:0:0:4): error 6 (da5:umass-sim0:0:0:4): Unretryable Error Opened disk da5 -> 6 disconnect: umass0: at uhub3 port 3 (addr 2) disconnected (da1:umass-sim0:0:0:0): lost device (da1:umass-sim0:0:0:0): removing device entry (pass3:umass-sim0:0:0:0): lost device (pass3:umass-sim0:0:0:0): removing device entry (da2:umass-sim0:0:0:1): lost device (da2:umass-sim0:0:0:1): removing device entry (pass4:umass-sim0:0:0:1): lost device (pass4:umass-sim0:0:0:1): removing device entry (da3:umass-sim0:0:0:2): lost device (da3:umass-sim0:0:0:2): removing device entry (pass5:umass-sim0:0:0:2): lost device (pass5:umass-sim0:0:0:2): removing device entry (da4:umass-sim0:0:0:3): lost device (da4:umass-sim0:0:0:3): removing device entry (pass6:umass-sim0:0:0:3): lost device (pass6:umass-sim0:0:0:3): removing device entry (da5:umass-sim0:0:0:4): lost device (da5:umass-sim0:0:0:4): removing device entry (pass7:umass-sim0:0:0:4): lost device (pass7:umass-sim0:0:0:4): removing device entry umass0: detached here is the first failed connect after which it wasnt mountable: umass0: Genesys USB2.0 card Reader, rev 2.00/91.38, addr 2 umass0:6:0:-1: Attached to scbus6 pass3 at umass-sim0 bus 0 target 0 lun 0 pass3: <Generic STORAGE DEVICE 9138> Removable Direct Access SCSI-0 device pass3: 40.000MB/s transfers GEOM: new disk da1 da1 at umass-sim0 bus 0 target 0 lun 0 da1: <Generic STORAGE DEVICE 9138> Removable Direct Access SCSI-0 device da1: 40.000MB/s transfers da1: 14MB (29120 512 byte sectors: 64H 32S/T 14C) (da1:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 (da1:umass-sim0:0:0:0): CAM Status: SCSI Status Error (da1:umass-sim0:0:0:0): SCSI Status: Check Condition (da1:umass-sim0:0:0:0): NOT READY asc:3a,0 (da1:umass-sim0:0:0:0): Medium not present (da1:umass-sim0:0:0:0): (da1:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 (da1:umass-sim0:0:0:0): NOT READY asc:3a,0 (da1:umass-sim0:0:0:0): Medium not present Unretryable error (da1:umass-sim0:0:0:0): error 6 (da1:umass-sim0:0:0:0): Unretryable Error Opened disk da1 -> 6 (da1:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 (da1:umass-sim0:0:0:0): CAM Status: SCSI Status Error (da1:umass-sim0:0:0:0): SCSI Status: Check Condition (da1:umass-sim0:0:0:0): NOT READY asc:3a,0 (da1:umass-sim0:0:0:0): Medium not present (da1:umass-sim0:0:0:0): (da1:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 (da1:umass-sim0:0:0:0): NOT READY asc:3a,0 (da1:umass-sim0:0:0:0): Medium not present Unretryable error (da1:umass-sim0:0:0:0): error 6 (da1:umass-sim0:0:0:0): Unretryable Error Opened disk da1 -> 6 (da1:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 (da1:umass-sim0:0:0:0): CAM Status: SCSI Status Error (da1:umass-sim0:0:0:0): SCSI Status: Check Condition (da1:umass-sim0:0:0:0): NOT READY asc:3a,0 (da1:umass-sim0:0:0:0): Medium not present (da1:umass-sim0:0:0:0): (da1:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 (da1:umass-sim0:0:0:0): NOT READY asc:3a,0 (da1:umass-sim0:0:0:0): Medium not present Unretryable error (da1:umass-sim0:0:0:0): error 6 (da1:umass-sim0:0:0:0): Unretryable Error Opened disk da1 -> 6 pass4 at umass-sim0 bus 0 target 0 lun 1 pass4: <Generic STORAGE DEVICE 9138> Removable Direct Access SCSI-0 device pass4: 40.000MB/s transfers GEOM: new disk da2 (da2:umass-sim0:0:0:1): error 6 (da2:umass-sim0:0:0:1): Unretryable Error da2 at umass-sim0 bus 0 target 0 lun 1 da2: <Generic STORAGE DEVICE 9138> Removable Direct Access SCSI-0 device da2: 40.000MB/s transfers da2: Attempt to query device size failed: NOT READY, Medium not present (da2:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0 (da2:umass-sim0:0:0:1): CAM Status: SCSI Status Error (da2:umass-sim0:0:0:1): SCSI Status: Check Condition (da2:umass-sim0:0:0:1): NOT READY asc:3a,0 (da2:umass-sim0:0:0:1): Medium not present (da2:umass-sim0:0:0:1): (da2:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0 (da2:umass-sim0:0:0:1): NOT READY asc:3a,0 (da2:umass-sim0:0:0:1): Medium not present Unretryable error (da2:umass-sim0:0:0:1): error 6 (da2:umass-sim0:0:0:1): Unretryable Error Opened disk da2 -> 6 (da2:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0 (da2:umass-sim0:0:0:1): CAM Status: SCSI Status Error (da2:umass-sim0:0:0:1): SCSI Status: Check Condition (da2:umass-sim0:0:0:1): NOT READY asc:3a,0 (da2:umass-sim0:0:0:1): Medium not present (da2:umass-sim0:0:0:1): (da2:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0 (da2:umass-sim0:0:0:1): NOT READY asc:3a,0 (da2:umass-sim0:0:0:1): Medium not present Unretryable error (da2:umass-sim0:0:0:1): error 6 (da2:umass-sim0:0:0:1): Unretryable Error Opened disk da2 -> 6 (da2:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0 (da2:umass-sim0:0:0:1): CAM Status: SCSI Status Error (da2:umass-sim0:0:0:1): SCSI Status: Check Condition (da2:umass-sim0:0:0:1): NOT READY asc:3a,0 (da2:umass-sim0:0:0:1): Medium not present (da2:umass-sim0:0:0:1): (da2:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0 (da2:umass-sim0:0:0:1): NOT READY asc:3a,0 (da2:umass-sim0:0:0:1): Medium not present Unretryable error (da2:umass-sim0:0:0:1): error 6 (da2:umass-sim0:0:0:1): Unretryable Error Opened disk da2 -> 6 pass5 at umass-sim0 bus 0 target 0 lun 2 pass5: <Generic STORAGE DEVICE 9138> Removable Direct Access SCSI-0 device pass5: 40.000MB/s transfers GEOM: new disk da3 da3 at umass-sim0 bus 0 target 0 lun 2 da3: <Generic STORAGE DEVICE 9138> Removable Direct Access SCSI-0 device da3: 40.000MB/s transfers da3: 14MB (29120 512 byte sectors: 64H 32S/T 14C) [0] f:00 typ:1 s(CHS):0/1/26 e(CHS):454/1/32 s:57 l:29063 [1] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0 [2] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0 [3] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0 GEOM: Configure da3s1, start 29184 length 14880256 end 14909439 pass6 at umass-sim0 bus 0 target 0 lun 3 pass6: <Generic STORAGE DEVICE 9138> Removable Direct Access SCSI-0 device pass6: 40.000MB/s transfers (da4:umass-sim0:0:0:3): error 6 (da4:umass-sim0:0:0:3): Unretryable Error da4 at umass-sim0 bus 0 target 0 lun 3 da4: <Generic STORAGE DEVICE 9138> Removable Direct Access SCSI-0 device da4: 40.000MB/s transfers da4: Attempt to query device size failed: NOT READY, Medium not present pass7 at umass-sim0 bus 0 target 0 lun 4 pass7: <Generic STORAGE DEVICE 9138> Removable Direct Access SCSI-0 device pass7: 40.000MB/s transfers (da5:umass-sim0:0:0:4): AutoSense Failed (da5:umass-sim0:0:0:4): error 5 (da5:umass-sim0:0:0:4): Unretryable Error (da5:umass-sim0:0:0:4): got CAM status 0x10 (da5:umass-sim0:0:0:4): fatal error, failed to attach to device (da5:umass-sim0:0:0:4): lost device (da5:umass-sim0:0:0:4): removing device entry umass0: Invalid CSW: tag 53 should be 54 (da3:umass-sim0:0:0:2): Synchronize cache failed, status == 0x4, scsi status == 0x0 disconnect: umass0: at uhub3 port 3 (addr 2) disconnected (da1:umass-sim0:0:0:0): lost device (da1:umass-sim0:0:0:0): removing device entry (pass3:umass-sim0:0:0:0): lost device (pass3:umass-sim0:0:0:0): removing device entry (da2:umass-sim0:0:0:1): lost device (da2:umass-sim0:0:0:1): removing device entry (pass4:umass-sim0:0:0:1): lost device (pass4:umass-sim0:0:0:1): removing device entry (da3:umass-sim0:0:0:2): lost device (pass5:umass-sim0:0:0:2): lost device (pass5:umass-sim0:0:0:2): removing device entry (da4:umass-sim0:0:0:3): lost device (da4:umass-sim0:0:0:3): removing device entry (pass6:umass-sim0:0:0:3): lost device (pass6:umass-sim0:0:0:3): removing device entry (pass7:umass-sim0:0:0:4): lost device (pass7:umass-sim0:0:0:4): removing device entry (da3:dead_sim0:0:0:2): removing device entry umass0: detached next attempted connect which leaves the two mentioned instances of da3s1: umass0: Genesys USB2.0 card Reader, rev 2.00/91.38, addr 2 umass0:6:0:-1: Attached to scbus6 pass3 at umass-sim0 bus 0 target 0 lun 0 pass3: <Generic STORAGE DEVICE 9138> Removable Direct Access SCSI-0 device pass3: 40.000MB/s transfers GEOM: new disk da1 da1 at umass-sim0 bus 0 target 0 lun 0 da1: <Generic STORAGE DEVICE 9138> Removable Direct Access SCSI-0 device da1: 40.000MB/s transfers da1: 14MB (29120 512 byte sectors: 64H 32S/T 14C) (da1:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 (da1:umass-sim0:0:0:0): CAM Status: SCSI Status Error (da1:umass-sim0:0:0:0): SCSI Status: Check Condition (da1:umass-sim0:0:0:0): NOT READY asc:3a,0 (da1:umass-sim0:0:0:0): Medium not present (da1:umass-sim0:0:0:0): (da1:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 (da1:umass-sim0:0:0:0): NOT READY asc:3a,0 (da1:umass-sim0:0:0:0): Medium not present Unretryable error (da1:umass-sim0:0:0:0): error 6 (da1:umass-sim0:0:0:0): Unretryable Error Opened disk da1 -> 6 (da1:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 (da1:umass-sim0:0:0:0): CAM Status: SCSI Status Error (da1:umass-sim0:0:0:0): SCSI Status: Check Condition (da1:umass-sim0:0:0:0): NOT READY asc:3a,0 (da1:umass-sim0:0:0:0): Medium not present (da1:umass-sim0:0:0:0): (da1:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 (da1:umass-sim0:0:0:0): NOT READY asc:3a,0 (da1:umass-sim0:0:0:0): Medium not present Unretryable error (da1:umass-sim0:0:0:0): error 6 (da1:umass-sim0:0:0:0): Unretryable Error Opened disk da1 -> 6 (da1:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 (da1:umass-sim0:0:0:0): CAM Status: SCSI Status Error (da1:umass-sim0:0:0:0): SCSI Status: Check Condition (da1:umass-sim0:0:0:0): NOT READY asc:3a,0 (da1:umass-sim0:0:0:0): Medium not present (da1:umass-sim0:0:0:0): (da1:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 (da1:umass-sim0:0:0:0): NOT READY asc:3a,0 (da1:umass-sim0:0:0:0): Medium not present Unretryable error (da1:umass-sim0:0:0:0): error 6 (da1:umass-sim0:0:0:0): Unretryable Error Opened disk da1 -> 6 pass4 at umass-sim0 bus 0 target 0 lun 1 pass4: <Generic STORAGE DEVICE 9138> Removable Direct Access SCSI-0 device pass4: 40.000MB/s transfers GEOM: new disk da2 (da2:umass-sim0:0:0:1): error 6 (da2:umass-sim0:0:0:1): Unretryable Error da2 at umass-sim0 bus 0 target 0 lun 1 da2: <Generic STORAGE DEVICE 9138> Removable Direct Access SCSI-0 device da2: 40.000MB/s transfers da2: Attempt to query device size failed: NOT READY, Medium not present (da2:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0 (da2:umass-sim0:0:0:1): CAM Status: SCSI Status Error (da2:umass-sim0:0:0:1): SCSI Status: Check Condition (da2:umass-sim0:0:0:1): NOT READY asc:3a,0 (da2:umass-sim0:0:0:1): Medium not present (da2:umass-sim0:0:0:1): (da2:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0 (da2:umass-sim0:0:0:1): NOT READY asc:3a,0 (da2:umass-sim0:0:0:1): Medium not present Unretryable error (da2:umass-sim0:0:0:1): error 6 (da2:umass-sim0:0:0:1): Unretryable Error Opened disk da2 -> 6 (da2:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0 (da2:umass-sim0:0:0:1): CAM Status: SCSI Status Error (da2:umass-sim0:0:0:1): SCSI Status: Check Condition (da2:umass-sim0:0:0:1): NOT READY asc:3a,0 (da2:umass-sim0:0:0:1): Medium not present (da2:umass-sim0:0:0:1): (da2:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0 (da2:umass-sim0:0:0:1): NOT READY asc:3a,0 (da2:umass-sim0:0:0:1): Medium not present Unretryable error (da2:umass-sim0:0:0:1): error 6 (da2:umass-sim0:0:0:1): Unretryable Error Opened disk da2 -> 6 (da2:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0 (da2:umass-sim0:0:0:1): CAM Status: SCSI Status Error (da2:umass-sim0:0:0:1): SCSI Status: Check Condition (da2:umass-sim0:0:0:1): NOT READY asc:3a,0 (da2:umass-sim0:0:0:1): Medium not present (da2:umass-sim0:0:0:1): (da2:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0 (da2:umass-sim0:0:0:1): NOT READY asc:3a,0 (da2:umass-sim0:0:0:1): Medium not present Unretryable error (da2:umass-sim0:0:0:1): error 6 (da2:umass-sim0:0:0:1): Unretryable Error Opened disk da2 -> 6 pass5 at umass-sim0 bus 0 target 0 lun 2 pass5: <Generic STORAGE DEVICE 9138> Removable Direct Access SCSI-0 device pass5: 40.000MB/s transfers GEOM: new disk da3 da3 at umass-sim0 bus 0 target 0 lun 2 da3: <Generic STORAGE DEVICE 9138> Removable Direct Access SCSI-0 device da3: 40.000MB/s transfers da3: 14MB (29120 512 byte sectors: 64H 32S/T 14C) [0] f:00 typ:1 s(CHS):0/1/26 e(CHS):454/1/32 s:57 l:29063 [1] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0 [2] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0 [3] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0 GEOM: Configure da3s1, start 29184 length 14880256 end 14909439 pass6 at umass-sim0 bus 0 target 0 lun 3 pass6: <Generic STORAGE DEVICE 9138> Removable Direct Access SCSI-0 device pass6: 40.000MB/s transfers (da4:umass-sim0:0:0:3): error 6 (da4:umass-sim0:0:0:3): Unretryable Error da4 at umass-sim0 bus 0 target 0 lun 3 da4: <Generic STORAGE DEVICE 9138> Removable Direct Access SCSI-0 device da4: 40.000MB/s transfers da4: Attempt to query device size failed: NOT READY, Medium not present pass7 at umass-sim0 bus 0 target 0 lun 4 pass7: <Generic STORAGE DEVICE 9138> Removable Direct Access SCSI-0 device pass7: 40.000MB/s transfers (da5:umass-sim0:0:0:4): error 6 (da5:umass-sim0:0:0:4): Unretryable Error da5 at umass-sim0 bus 0 target 0 lun 4 da5: <Generic STORAGE DEVICE 9138> Removable Direct Access SCSI-0 device da5: 40.000MB/s transfers da5: Attempt to query device size failed: NOT READY, Medium not present GEOM: new disk da4 GEOM: new disk da5 (da4:umass-sim0:0:0:3): READ CAPACITY. CDB: 25 60 0 0 0 0 0 0 0 0 (da4:umass-sim0:0:0:3): CAM Status: SCSI Status Error (da4:umass-sim0:0:0:3): SCSI Status: Check Condition (da4:umass-sim0:0:0:3): NOT READY asc:3a,0 (da4:umass-sim0:0:0:3): Medium not present (da4:umass-sim0:0:0:3): (da4:umass-sim0:0:0:3): READ CAPACITY. CDB: 25 60 0 0 0 0 0 0 0 0 (da4:umass-sim0:0:0:3): NOT READY asc:3a,0 (da4:umass-sim0:0:0:3): Medium not present Unretryable error (da4:umass-sim0:0:0:3): error 6 (da4:umass-sim0:0:0:3): Unretryable Error Opened disk da4 -> 6 (da4:umass-sim0:0:0:3): READ CAPACITY. CDB: 25 60 0 0 0 0 0 0 0 0 (da4:umass-sim0:0:0:3): CAM Status: SCSI Status Error (da4:umass-sim0:0:0:3): SCSI Status: Check Condition (da4:umass-sim0:0:0:3): NOT READY asc:3a,0 (da4:umass-sim0:0:0:3): Medium not present (da4:umass-sim0:0:0:3): (da4:umass-sim0:0:0:3): READ CAPACITY. CDB: 25 60 0 0 0 0 0 0 0 0 (da4:umass-sim0:0:0:3): NOT READY asc:3a,0 (da4:umass-sim0:0:0:3): Medium not present Unretryable error (da4:umass-sim0:0:0:3): error 6 (da4:umass-sim0:0:0:3): Unretryable Error Opened disk da4 -> 6 (da4:umass-sim0:0:0:3): READ CAPACITY. CDB: 25 60 0 0 0 0 0 0 0 0 (da4:umass-sim0:0:0:3): CAM Status: SCSI Status Error (da4:umass-sim0:0:0:3): SCSI Status: Check Condition (da4:umass-sim0:0:0:3): NOT READY asc:3a,0 (da4:umass-sim0:0:0:3): Medium not present (da4:umass-sim0:0:0:3): (da4:umass-sim0:0:0:3): READ CAPACITY. CDB: 25 60 0 0 0 0 0 0 0 0 (da4:umass-sim0:0:0:3): NOT READY asc:3a,0 (da4:umass-sim0:0:0:3): Medium not present Unretryable error (da4:umass-sim0:0:0:3): error 6 (da4:umass-sim0:0:0:3): Unretryable Error Opened disk da4 -> 6 (da5:umass-sim0:0:0:4): READ CAPACITY. CDB: 25 80 0 0 0 0 0 0 0 0 (da5:umass-sim0:0:0:4): CAM Status: SCSI Status Error (da5:umass-sim0:0:0:4): SCSI Status: Check Condition (da5:umass-sim0:0:0:4): NOT READY asc:3a,0 (da5:umass-sim0:0:0:4): Medium not present (da5:umass-sim0:0:0:4): (da5:umass-sim0:0:0:4): READ CAPACITY. CDB: 25 80 0 0 0 0 0 0 0 0 (da5:umass-sim0:0:0:4): NOT READY asc:3a,0 (da5:umass-sim0:0:0:4): Medium not present Unretryable error (da5:umass-sim0:0:0:4): error 6 (da5:umass-sim0:0:0:4): Unretryable Error Opened disk da5 -> 6 (da5:umass-sim0:0:0:4): READ CAPACITY. CDB: 25 80 0 0 0 0 0 0 0 0 (da5:umass-sim0:0:0:4): CAM Status: SCSI Status Error (da5:umass-sim0:0:0:4): SCSI Status: Check Condition (da5:umass-sim0:0:0:4): NOT READY asc:3a,0 (da5:umass-sim0:0:0:4): Medium not present (da5:umass-sim0:0:0:4): (da5:umass-sim0:0:0:4): READ CAPACITY. CDB: 25 80 0 0 0 0 0 0 0 0 (da5:umass-sim0:0:0:4): NOT READY asc:3a,0 (da5:umass-sim0:0:0:4): Medium not present Unretryable error (da5:umass-sim0:0:0:4): error 6 (da5:umass-sim0:0:0:4): Unretryable Error Opened disk da5 -> 6 (da5:umass-sim0:0:0:4): READ CAPACITY. CDB: 25 80 0 0 0 0 0 0 0 0 (da5:umass-sim0:0:0:4): CAM Status: SCSI Status Error (da5:umass-sim0:0:0:4): SCSI Status: Check Condition (da5:umass-sim0:0:0:4): NOT READY asc:3a,0 (da5:umass-sim0:0:0:4): Medium not present (da5:umass-sim0:0:0:4): (da5:umass-sim0:0:0:4): READ CAPACITY. CDB: 25 80 0 0 0 0 0 0 0 0 (da5:umass-sim0:0:0:4): NOT READY asc:3a,0 (da5:umass-sim0:0:0:4): Medium not present Unretryable error (da5:umass-sim0:0:0:4): error 6 (da5:umass-sim0:0:0:4): Unretryable Error Opened disk da5 -> 6 So this failure mode looks a little different from when i got the panic so i'm not entirely sure the patch was effective, but at least it didn't hurt. :) _______________________________________________ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "[EMAIL PROTECTED]"