7.0-BETA3 kernel panic when unplugging USB stick
Andriy Gapon
avg at icyb.net.ua
Wed Dec 26 07:33:51 PST 2007
Below was info when the reader was connected already with the
troublesome SD card inserted.
Here's info when the same reader is connected without any media:
demsg:
umass0: Generic Mass Storage Device, rev 2.00/1.26, addr 2
da0 at umass-sim0 bus 0 target 0 lun 0
da0: <Generic USB SD Reader 1.00> Removable Direct Access SCSI-0 device
da0: 40.000MB/s transfers
da0: Attempt to query device size failed: NOT READY, Medium not present
Opened disk da0 -> 6
da1 at umass-sim0 bus 0 target 0 lun 1
da1: <Generic USB CF Reader 1.01> Removable Direct Access SCSI-0 device
da1: 40.000MB/s transfers
da1: Attempt to query device size failed: NOT READY, Medium not present
Opened disk da1 -> 6
da2 at umass-sim0 bus 0 target 0 lun 2
da2: <Generic USB SM Reader 1.02> Removable Direct Access SCSI-0 device
da2: 40.000MB/s transfers
da2: Attempt to query device size failed: NOT READY, Medium not present
Opened disk da2 -> 6
da3 at umass-sim0 bus 0 target 0 lun 3
da3: <Generic USB MS Reader 1.03> Removable Direct Access SCSI-0 device
da3: 40.000MB/s transfers
da3: Attempt to query device size failed: NOT READY, Medium not present
Opened disk da3 -> 6
camcontrol:
scbus6 on umass-sim0 bus 0:
<Generic USB SD Reader 1.00> at scbus6 target 0 lun 0 (da0,pass2)
<Generic USB CF Reader 1.01> at scbus6 target 0 lun 1 (da1,pass3)
<Generic USB SM Reader 1.02> at scbus6 target 0 lun 2 (da2,pass4)
<Generic USB MS Reader 1.03> at scbus6 target 0 lun 3 (da3,pass5)
usbdevs:
port 4 addr 2: high speed, power 100 mA, config 1, Mass Storage
Device(0x6362), Generic(0x058f), rev 1.26
on 25/12/2007 13:26 Andriy Gapon said the following:
> on 27/11/2007 10:55 Remko Lodder said the following:
>> [snip]
>>
>>> Just in case:
>>> the reader - Trust CR-1420P
>>> the card - SanDisk SDSDM-2048
>> The above information is not really informative for me , can you send a
>> dmesg -v and pciconf -vl so that we might trick it into getting supported
>> by the current drivers? :)
>
> From usbdevs -vd:
> Controller /dev/usb1:
> addr 1: high speed, self powered, config 1, EHCI root hub(0x0000),
> nVidia(0x0000), rev 1.00
> uhub1
> ...
> port 4 addr 2: high speed, power 100 mA, config 1, product
> 0x6362(0x6362), vendor 0x058f(0x058f), rev 1.26
> umass0
>
> From dmesg:
> umass0: Generic Mass Storage Device, rev 2.00/1.26, addr 2
> umass0: BBB reset failed, IOERROR
> umass0: BBB bulk-in clear stall failed, IOERROR
> umass0: BBB bulk-out clear stall failed, IOERROR
> umass0: BBB reset failed, IOERROR
> umass0: BBB bulk-in clear stall failed, IOERROR
> umass0: BBB bulk-out clear stall failed, IOERROR
> umass0: BBB reset failed, IOERROR
> umass0: BBB bulk-in clear stall failed, IOERROR
> umass0: BBB bulk-out clear stall failed, IOERROR
> umass0: BBB reset failed, IOERROR
> umass0: BBB bulk-in clear stall failed, IOERROR
> umass0: BBB bulk-out clear stall failed, IOERROR
> umass0: BBB reset failed, IOERROR
> umass0: BBB bulk-in clear stall failed, IOERROR
> umass0: BBB bulk-out clear stall failed, IOERROR
> umass0: BBB reset failed, IOERROR
> umass0: BBB bulk-in clear stall failed, IOERROR
> umass0: BBB bulk-out clear stall failed, IOERROR
> (da0:umass-sim0:0:0:0): got CAM status 0x4
> (da0:umass-sim0:0:0:0): fatal error, failed to attach to device
> (da0:umass-sim0:0:0:0): lost device
>
> From pciconf- lv:
> ehci0 at pci0:11:1: class=0x0c0320 card=0x81c01043 chip=0x026e10de
> rev=0xa3 hdr=0x00
> vendor = 'NVIDIA Corporation'
> class = serial bus
> subclass = USB
>
> From camcontrol devlist -v:
> scbus6 on umass-sim0 bus 0:
> <Generic USB SD Reader 1.00> at scbus6 target 0 lun 0 (da0,pass2)
> < > at scbus6 target 0 lun 2 (probe0)
> < > at scbus6 target -1 lun -1 ()
>
--
Andriy Gapon
More information about the freebsd-usb
mailing list