[usb] [8.0-RC3] endless loop at attach and freeze under X

From: Boris Samorodov <bsam_at_ipt.ru>
Date: Thu, 12 Nov 2009 12:18:48 +0300
Hello List,

The system and the device:
-----
% uname -a
FreeBSD h30.sp.ipt.ru 8.0-RC3 FreeBSD 8.0-RC3 #0: Thu Nov 12 11:25:27 MSK 2009     root_at_h30.sp.ipt.ru:/usr/obj/usr/src/sys/INDUS  i386
-----
ugen3.2: <Silicon Motion, Inc.> at usbus3
umass0: <Silicon Motion, Inc. Generic USB2.0 card, class 0/0, rev 2.00/1.00, addr 2> on usbus3
umass0:  SCSI over Bulk-Only; quirks = 0x0000
umass0:2:0:-1: Attached to scbus2
-----

Endless loop occures while plugging:
-----
(probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 
(probe0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
(probe0:umass-sim0:0:0:0): SCSI Status: Check Condition
(probe0:umass-sim0:0:0:0): ILLEGAL REQUEST asc:21,0
(probe0:umass-sim0:0:0:0): Logical block address out of range
(probe0:umass-sim0:0:0:0): Unretryable error
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: 994MB (2036224 512 byte sectors: 64H 32S/T 994C)
(da0:umass-sim0:0:0:0): READ(10). CDB: 28 0 0 1f 11 ff 0 0 1 0 
(da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI Status: Check Condition
(da0:umass-sim0:0:0:0): Sense Error Code 0x72
...
[the last 4 lines keep displaying until unplug]
-----

Even worse, under X (a gnome session here) the system just freezes
if the cardreader is attached.

-- 
WBR, bsam
Received on Thu Nov 12 2009 - 08:18:50 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:57 UTC