Card-Reader Problem continued

Christian Haul c.haul at web.de
Wed May 17 13:56:54 PDT 2006


David Zeuthen wrote:
> On Tue, 2006-05-16 at 15:28 -0400, Alan Stern wrote:
>> Could it be that somehow there were four copies of hald running for each 
>> LUN?

The card reader has 4 slots

# lsscsi
[1:0:0:0]    disk    Generic  USB Reader-SMC   2002  /dev/sda
[1:0:0:1]    disk    Generic  USB Reader-CF    2002  /dev/sdb
[1:0:0:2]    disk    Generic  USB Reader-SD    2002  /dev/sdc
[1:0:0:3]    disk    Generic  USB Reader-MS    2002  /dev/sdd

# ps axf | grep hald-addon-storage
29138 ?        S      0:00      \_ /usr/lib/hal/hald-addon-storage
29140 ?        S      0:00      \_ /usr/lib/hal/hald-addon-storage
29145 ?        S      0:00      \_ /usr/lib/hal/hald-addon-storage
29150 ?        S      0:00      \_ /usr/lib/hal/hald-addon-storage
29155 ?        S      0:00      \_ /usr/lib/hal/hald-addon-storage
29157 ?        S      0:00      \_ /usr/lib/hal/hald-addon-storage

> Christian, can you confirm you only have a one copy of
> hald-addon-storage per LUN of of your card reader? (plus one for your
> other removable or hotpluggable storage device)

4 LUNs plus cd + dvd that's 6 daemons, looks about right.

Because the card reader is built-in, it's difficult to remove for me
ATM. However, I have an almost identical machine with an external card
reader.

a) attach card reader to usb 2.0 card

[  366.757202] usb 2-4: new high speed USB device using ehci_hcd and
address 2
[  366.893274] usb 2-4: Product: USB2.0 Card Reader
[  366.893730] usb 2-4: Manufacturer: ICSI
[  366.894174] usb 2-4: SerialNumber: 00000000001
[  366.895026] usb 2-4: configuration #1 chosen from 1 choice
[  366.974803] Initializing USB Mass Storage driver...
[  366.978244] scsi1 : SCSI emulation for USB Mass Storage devices
[  366.979296] usbcore: registered new driver usb-storage
[  366.979836] USB Mass Storage support registered.
[  371.979027]   Vendor: ICSI      Model: CF Card       CF  Rev: 1.6B
[  371.980055]   Type:   Direct-Access                      ANSI SCSI
revision: 00
[  371.983675]   Vendor: ICSI      Model: MS Card       MS  Rev: 1.6B
[  371.984659]   Type:   Direct-Access                      ANSI SCSI
revision: 00
[  371.987657]   Vendor: ICSI      Model: SD Card   MMC/SD  Rev: 1.6B
[  371.988639]   Type:   Direct-Access                      ANSI SCSI
revision: 00
[  371.991656]   Vendor: ICSI      Model: SM/xD Card    SM  Rev: 1.6B
[  371.992636]   Type:   Direct-Access                      ANSI SCSI
revision: 00
[  372.096149] sd 1:0:0:0: Attached scsi removable disk sda
[  372.118027] sd 1:0:0:1: Attached scsi removable disk sdb
[  372.185911] sd 1:0:0:2: Attached scsi removable disk sdc
[  372.261894] sd 1:0:0:3: Attached scsi removable disk sdd

(Note: I've done the lsusb when the reader was attached to the on-board
usb 1.1, not the usb 2.0 card)

# lsusb
Bus 006 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 003: ID 0dda:2001 Integrated Circuit Solution, Inc.
Bus 003 Device 002: ID 05a9:a511 OmniVision Technologies, Inc. OV511+ WebCam
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000

dagama:/var/log# lsusb -v -d 0dda:2001

Bus 003 Device 003: ID 0dda:2001 Integrated Circuit Solution, Inc.
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x0dda Integrated Circuit Solution, Inc.
  idProduct          0x2001
  bcdDevice            1.6b
  iManufacturer           1 ICSI
  iProduct                2 USB2.0 Card Reader
  iSerial                 3 00000000001
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           32
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          4 Storage
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     80 Bulk (Zip)
      iInterface              5 Bulk
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0000
  (Bus Powered)


top shows no worrisome data
CPU(s): 1.0% us,  1.3% sy,  0.0% ni, 96.4% id,  1.3% wa,  0.0% hi,  0.0% si
load is perfectly OK: load average: 0.00, 0.19, 0.23

dmsg is as busy as on the "broken" host: (long!)

[  865.281154] usb-storage: *** thread awakened.
[  865.281158] usb-storage: Command TEST_UNIT_READY (6 bytes)
[  865.281161] usb-storage:  00 00 00 00 00 00
[  865.281168] usb-storage: Bulk Command S 0x43425355 T 0x1eef L 0 F 0
Trg 0 LUN 0 CL 6
[  865.281172] usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes
[  865.281302] usb-storage: Status code 0; transferred 31/31
[  865.281306] usb-storage: -- transfer complete
[  865.281309] usb-storage: Bulk command transfer result=0
[  865.281312] usb-storage: Attempting to get CSW...
[  865.281315] usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes
[  865.281551] usb-storage: Status code 0; transferred 13/13
[  865.281554] usb-storage: -- transfer complete
[  865.281557] usb-storage: Bulk status result = 0
[  865.281561] usb-storage: Bulk Status S 0x53425355 T 0x1eef R 0 Stat 0x1
[  865.281565] usb-storage: -- transport indicates command failure
[  865.281568] usb-storage: Issuing auto-REQUEST_SENSE
[  865.281573] usb-storage: Bulk Command S 0x43425355 T 0x1ef0 L 18 F
128 Trg 0 LUN 0 CL 6
[  865.281577] usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes
[  865.281677] usb-storage: Status code 0; transferred 31/31
[  865.281680] usb-storage: -- transfer complete
[  865.281683] usb-storage: Bulk command transfer result=0
[  865.281686] usb-storage: usb_stor_bulk_transfer_buf: xfer 18 bytes
[  865.282050] usb-storage: Status code 0; transferred 18/18
[  865.282053] usb-storage: -- transfer complete
[  865.282056] usb-storage: Bulk data transfer result 0x0
[  865.282059] usb-storage: Attempting to get CSW...
[  865.282062] usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes
[  865.282174] usb-storage: Status code 0; transferred 13/13
[  865.282178] usb-storage: -- transfer complete
[  865.282180] usb-storage: Bulk status result = 0
[  865.282185] usb-storage: Bulk Status S 0x53425355 T 0x1ef0 R 0 Stat 0x0
[  865.282189] usb-storage: -- Result from auto-sense is 0
[  865.282192] usb-storage: -- code: 0xf0, key: 0x2, ASC: 0x3a, ASCQ: 0x0
[  865.282197] usb-storage: Not Ready: Medium not present
[  865.282201] usb-storage: scsi cmd done, result=0x2
[  865.282204] usb-storage: *** thread sleeping.
[  865.282996] usb-storage: queuecommand called
[  865.283002] usb-storage: *** thread awakened.
[  865.283006] usb-storage: Command TEST_UNIT_READY (6 bytes)
[  865.283009] usb-storage:  00 00 00 00 00 00
[  865.283016] usb-storage: Bulk Command S 0x43425355 T 0x1ef1 L 0 F 0
Trg 0 LUN 0 CL 6
[  865.283020] usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes
[  865.283174] usb-storage: Status code 0; transferred 31/31
[  865.283178] usb-storage: -- transfer complete
[  865.283181] usb-storage: Bulk command transfer result=0
[  865.283184] usb-storage: Attempting to get CSW...
[  865.283187] usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes
[  865.283424] usb-storage: Status code 0; transferred 13/13
[  865.283428] usb-storage: -- transfer complete
[  865.283431] usb-storage: Bulk status result = 0
[  865.283435] usb-storage: Bulk Status S 0x53425355 T 0x1ef1 R 0 Stat 0x1
[  865.283438] usb-storage: -- transport indicates command failure
[  865.283441] usb-storage: Issuing auto-REQUEST_SENSE
[  865.283446] usb-storage: Bulk Command S 0x43425355 T 0x1ef2 L 18 F
128 Trg 0 LUN 0 CL 6
[  865.283450] usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes
[  865.283672] usb-storage: Status code 0; transferred 31/31
[  865.283676] usb-storage: -- transfer complete
[  865.283679] usb-storage: Bulk command transfer result=0
[  865.283682] usb-storage: usb_stor_bulk_transfer_buf: xfer 18 bytes
[  865.284051] usb-storage: Status code 0; transferred 18/18
[  865.284055] usb-storage: -- transfer complete
[  865.284058] usb-storage: Bulk data transfer result 0x0
[  865.284061] usb-storage: Attempting to get CSW...
[  865.284064] usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes
[  865.284172] usb-storage: Status code 0; transferred 13/13
[  865.284176] usb-storage: -- transfer complete
[  865.284179] usb-storage: Bulk status result = 0
[  865.284183] usb-storage: Bulk Status S 0x53425355 T 0x1ef2 R 0 Stat 0x0
[  865.284187] usb-storage: -- Result from auto-sense is 0
[  865.284190] usb-storage: -- code: 0xf0, key: 0x2, ASC: 0x3a, ASCQ: 0x0
[  865.284195] usb-storage: Not Ready: Medium not present
[  865.284199] usb-storage: scsi cmd done, result=0x2
[  865.284202] usb-storage: *** thread sleeping.
[  865.285468] usb-storage: queuecommand called
[  865.285474] usb-storage: *** thread awakened.
[  865.285478] usb-storage: Command TEST_UNIT_READY (6 bytes)
[  865.285481] usb-storage:  00 00 00 00 00 00
[  865.285487] usb-storage: Bulk Command S 0x43425355 T 0x1ef3 L 0 F 0
Trg 0 LUN 0 CL 6
[  865.285491] usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes
[  865.285546] usb-storage: Status code 0; transferred 31/31
[  865.285550] usb-storage: -- transfer complete
[  865.285553] usb-storage: Bulk command transfer result=0
[  865.285556] usb-storage: Attempting to get CSW...
[  865.285559] usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes
[  865.285920] usb-storage: Status code 0; transferred 13/13
[  865.285924] usb-storage: -- transfer complete
[  865.285927] usb-storage: Bulk status result = 0
[  865.285931] usb-storage: Bulk Status S 0x53425355 T 0x1ef3 R 0 Stat 0x1
[  865.285934] usb-storage: -- transport indicates command failure
[  865.285938] usb-storage: Issuing auto-REQUEST_SENSE
[  865.285943] usb-storage: Bulk Command S 0x43425355 T 0x1ef4 L 18 F
128 Trg 0 LUN 0 CL 6
[  865.285947] usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes
[  865.286050] usb-storage: Status code 0; transferred 31/31
[  865.286053] usb-storage: -- transfer complete
[  865.286056] usb-storage: Bulk command transfer result=0
[  865.286060] usb-storage: usb_stor_bulk_transfer_buf: xfer 18 bytes
[  865.286419] usb-storage: Status code 0; transferred 18/18
[  865.286422] usb-storage: -- transfer complete
[  865.286425] usb-storage: Bulk data transfer result 0x0
[  865.286428] usb-storage: Attempting to get CSW...
[  865.286431] usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes
[  865.286545] usb-storage: Status code 0; transferred 13/13
[  865.286549] usb-storage: -- transfer complete
[  865.286552] usb-storage: Bulk status result = 0
[  865.286556] usb-storage: Bulk Status S 0x53425355 T 0x1ef4 R 0 Stat 0x0
[  865.286559] usb-storage: -- Result from auto-sense is 0
[  865.286563] usb-storage: -- code: 0xf0, key: 0x2, ASC: 0x3a, ASCQ: 0x0
[  865.286568] usb-storage: Not Ready: Medium not present
[  865.286571] usb-storage: scsi cmd done, result=0x2
[  865.286575] usb-storage: *** thread sleeping.
[  865.290852] usb-storage: queuecommand called
[  865.290859] usb-storage: *** thread awakened.
[  865.290862] usb-storage: Command TEST_UNIT_READY (6 bytes)
[  865.290865] usb-storage:  00 60 00 00 00 00
[  865.290872] usb-storage: Bulk Command S 0x43425355 T 0x1ef5 L 0 F 0
Trg 0 LUN 3 CL 6
[  865.290876] usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes
[  865.290940] usb-storage: Status code 0; transferred 31/31
[  865.290943] usb-storage: -- transfer complete
[  865.290946] usb-storage: Bulk command transfer result=0
[  865.290949] usb-storage: Attempting to get CSW...
[  865.290952] usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes
[  865.291320] usb-storage: Status code 0; transferred 13/13
[  865.291324] usb-storage: -- transfer complete
[  865.291327] usb-storage: Bulk status result = 0
[  865.291331] usb-storage: Bulk Status S 0x53425355 T 0x1ef5 R 0 Stat 0x1
[  865.291335] usb-storage: -- transport indicates command failure
[  865.291338] usb-storage: Issuing auto-REQUEST_SENSE
[  865.291343] usb-storage: Bulk Command S 0x43425355 T 0x1ef6 L 18 F
128 Trg 0 LUN 3 CL 6
[  865.291347] usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes
[  865.291565] usb-storage: Status code 0; transferred 31/31
[  865.291569] usb-storage: -- transfer complete
[  865.291572] usb-storage: Bulk command transfer result=0
[  865.291575] usb-storage: usb_stor_bulk_transfer_buf: xfer 18 bytes
[  865.291943] usb-storage: Status code 0; transferred 18/18
[  865.291947] usb-storage: -- transfer complete
[  865.291950] usb-storage: Bulk data transfer result 0x0
[  865.291952] usb-storage: Attempting to get CSW...
[  865.291956] usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes
[  865.292097] usb-storage: Status code 0; transferred 13/13
[  865.292101] usb-storage: -- transfer complete
[  865.292104] usb-storage: Bulk status result = 0
[  865.292108] usb-storage: Bulk Status S 0x53425355 T 0x1ef6 R 0 Stat 0x0
[  865.292112] usb-storage: -- Result from auto-sense is 0
[  865.292115] usb-storage: -- code: 0xf0, key: 0x2, ASC: 0x3a, ASCQ: 0x0
[  865.292122] usb-storage: Not Ready: Medium not present
[  865.292126] usb-storage: scsi cmd done, result=0x2
[  865.292130] usb-storage: *** thread sleeping.
[  865.292575] usb-storage: queuecommand called
[  865.292581] usb-storage: *** thread awakened.
[  865.292585] usb-storage: Command TEST_UNIT_READY (6 bytes)
[  865.292587] usb-storage:  00 60 00 00 00 00
[  865.292594] usb-storage: Bulk Command S 0x43425355 T 0x1ef7 L 0 F 0
Trg 0 LUN 3 CL 6
[  865.292598] usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes
[  865.292691] usb-storage: Status code 0; transferred 31/31
[  865.292695] usb-storage: -- transfer complete
[  865.292698] usb-storage: Bulk command transfer result=0
[  865.292701] usb-storage: Attempting to get CSW...
[  865.292704] usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes
[  865.292938] usb-storage: Status code 0; transferred 13/13
[  865.292941] usb-storage: -- transfer complete
[  865.292944] usb-storage: Bulk status result = 0
[  865.292948] usb-storage: Bulk Status S 0x53425355 T 0x1ef7 R 0 Stat 0x1
[  865.292951] usb-storage: -- transport indicates command failure
[  865.292954] usb-storage: Issuing auto-REQUEST_SENSE
[  865.292959] usb-storage: Bulk Command S 0x43425355 T 0x1ef8 L 18 F
128 Trg 0 LUN 3 CL 6
[  865.292963] usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes
[  865.293064] usb-storage: Status code 0; transferred 31/31
[  865.293067] usb-storage: -- transfer complete
[  865.293070] usb-storage: Bulk command transfer result=0
[  865.293074] usb-storage: usb_stor_bulk_transfer_buf: xfer 18 bytes
[  865.293312] usb-storage: Status code 0; transferred 18/18
[  865.293315] usb-storage: -- transfer complete
[  865.293318] usb-storage: Bulk data transfer result 0x0
[  865.293321] usb-storage: Attempting to get CSW...
[  865.293324] usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes
[  865.293437] usb-storage: Status code 0; transferred 13/13
[  865.293440] usb-storage: -- transfer complete
[  865.293443] usb-storage: Bulk status result = 0
[  865.293446] usb-storage: Bulk Status S 0x53425355 T 0x1ef8 R 0 Stat 0x0
[  865.293450] usb-storage: -- Result from auto-sense is 0
[  865.293454] usb-storage: -- code: 0xf0, key: 0x2, ASC: 0x3a, ASCQ: 0x0
[  865.293459] usb-storage: Not Ready: Medium not present
[  865.293462] usb-storage: scsi cmd done, result=0x2
[  865.293466] usb-storage: *** thread sleeping.
[  865.294035] usb-storage: queuecommand called
[  865.294040] usb-storage: *** thread awakened.
[  865.294045] usb-storage: Command TEST_UNIT_READY (6 bytes)
[  865.294047] usb-storage:  00 60 00 00 00 00
[  865.294054] usb-storage: Bulk Command S 0x43425355 T 0x1ef9 L 0 F 0
Trg 0 LUN 3 CL 6
[  865.294058] usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes
[  865.294188] usb-storage: Status code 0; transferred 31/31
[  865.294191] usb-storage: -- transfer complete
[  865.294194] usb-storage: Bulk command transfer result=0
[  865.294197] usb-storage: Attempting to get CSW...
[  865.294200] usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes
[  865.294435] usb-storage: Status code 0; transferred 13/13
[  865.294439] usb-storage: -- transfer complete
[  865.294441] usb-storage: Bulk status result = 0
[  865.294445] usb-storage: Bulk Status S 0x53425355 T 0x1ef9 R 0 Stat 0x1
[  865.294449] usb-storage: -- transport indicates command failure
[  865.294452] usb-storage: Issuing auto-REQUEST_SENSE
[  865.294457] usb-storage: Bulk Command S 0x43425355 T 0x1efa L 18 F
128 Trg 0 LUN 3 CL 6
[  865.294461] usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes
[  865.294562] usb-storage: Status code 0; transferred 31/31
[  865.294565] usb-storage: -- transfer complete
[  865.294568] usb-storage: Bulk command transfer result=0
[  865.294572] usb-storage: usb_stor_bulk_transfer_buf: xfer 18 bytes
[  865.294832] usb-storage: Status code 0; transferred 18/18
[  865.294836] usb-storage: -- transfer complete
[  865.294839] usb-storage: Bulk data transfer result 0x0
[  865.294841] usb-storage: Attempting to get CSW...
[  865.294845] usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes
[  865.294934] usb-storage: Status code 0; transferred 13/13
[  865.294937] usb-storage: -- transfer complete
[  865.294940] usb-storage: Bulk status result = 0
[  865.294944] usb-storage: Bulk Status S 0x53425355 T 0x1efa R 0 Stat 0x0
[  865.294948] usb-storage: -- Result from auto-sense is 0
[  865.294952] usb-storage: -- code: 0xf0, key: 0x2, ASC: 0x3a, ASCQ: 0x0
[  865.294956] usb-storage: Not Ready: Medium not present
[  865.294960] usb-storage: scsi cmd done, result=0x2
[  865.294963] usb-storage: *** thread sleeping.
[  865.295617] usb-storage: queuecommand called
[  865.295623] usb-storage: *** thread awakened.
[  865.295627] usb-storage: Command TEST_UNIT_READY (6 bytes)
[  865.295630] usb-storage:  00 60 00 00 00 00
[  865.295637] usb-storage: Bulk Command S 0x43425355 T 0x1efb L 0 F 0
Trg 0 LUN 3 CL 6
[  865.295641] usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes
[  865.295686] usb-storage: Status code 0; transferred 31/31
[  865.295689] usb-storage: -- transfer complete
[  865.295692] usb-storage: Bulk command transfer result=0
[  865.295695] usb-storage: Attempting to get CSW...
[  865.295698] usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes
[  865.295934] usb-storage: Status code 0; transferred 13/13
[  865.295938] usb-storage: -- transfer complete
[  865.295941] usb-storage: Bulk status result = 0
[  865.295945] usb-storage: Bulk Status S 0x53425355 T 0x1efb R 0 Stat 0x1
[  865.295948] usb-storage: -- transport indicates command failure
[  865.295951] usb-storage: Issuing auto-REQUEST_SENSE
[  865.295956] usb-storage: Bulk Command S 0x43425355 T 0x1efc L 18 F
128 Trg 0 LUN 3 CL 6
[  865.295960] usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes
[  865.296062] usb-storage: Status code 0; transferred 31/31
[  865.296066] usb-storage: -- transfer complete
[  865.296069] usb-storage: Bulk command transfer result=0
[  865.296072] usb-storage: usb_stor_bulk_transfer_buf: xfer 18 bytes
[  865.296308] usb-storage: Status code 0; transferred 18/18
[  865.296311] usb-storage: -- transfer complete
[  865.296314] usb-storage: Bulk data transfer result 0x0
[  865.296317] usb-storage: Attempting to get CSW...
[  865.296320] usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes
[  865.296433] usb-storage: Status code 0; transferred 13/13
[  865.296436] usb-storage: -- transfer complete
[  865.296439] usb-storage: Bulk status result = 0
[  865.296442] usb-storage: Bulk Status S 0x53425355 T 0x1efc R 0 Stat 0x0
[  865.296446] usb-storage: -- Result from auto-sense is 0
[  865.296450] usb-storage: -- code: 0xf0, key: 0x2, ASC: 0x3a, ASCQ: 0x0
[  865.296455] usb-storage: Not Ready: Medium not present
[  865.296458] usb-storage: scsi cmd done, result=0x2
[  865.296462] usb-storage: *** thread sleeping.

# lsscsi
[1:0:0:0]    disk    ICSI     CF Card       CF 1.6B  /dev/sda
[1:0:0:1]    disk    ICSI     MS Card       MS 1.6B  /dev/sdb
[1:0:0:2]    disk    ICSI     SD Card   MMC/SD 1.6B  /dev/sdc
[1:0:0:3]    disk    ICSI     SM/xD Card    SM 1.6B  /dev/sdd

# ps ax | grep hald-addon-storage
 7168 ?        S      0:00 /usr/lib/hal/hald-addon-storage
 8657 ?        S      0:00 /usr/lib/hal/hald-addon-storage
 8668 ?        S      0:00 /usr/lib/hal/hald-addon-storage
 8680 ?        S      0:00 /usr/lib/hal/hald-addon-storage
 8693 ?        S      0:00 /usr/lib/hal/hald-addon-storage

Again, correct number of daemons.


b) attach card reader to on-board usb (as with "broken" host)

[ 1109.741174] usb 2-4: USB disconnect, address 2
[ 1212.959249] usb 3-2: new full speed USB device using uhci_hcd and
address 3
[ 1213.104459] usb 3-2: not running at top speed; connect to a high
speed hub
[ 1213.138443] usb 3-2: Product: USB2.0 Card Reader
[ 1213.138504] usb 3-2: Manufacturer: ICSI
[ 1213.138556] usb 3-2: SerialNumber: 00000000001
[ 1213.143454] usb 3-2: configuration #1 chosen from 1 choice
[ 1213.148656] scsi2 : SCSI emulation for USB Mass Storage devices
[ 1218.150069]   Vendor: ICSI      Model: CF Card       CF  Rev: 1.6B
[ 1218.150692]   Type:   Direct-Access                      ANSI SCSI
revision: 00
[ 1218.166231] sd 2:0:0:0: Attached scsi removable disk sda
[ 1218.170079]   Vendor: ICSI      Model: MS Card       MS  Rev: 1.6B
[ 1218.170708]   Type:   Direct-Access                      ANSI SCSI
revision: 00
[ 1218.188762] sd 2:0:0:1: Attached scsi removable disk sdb
[ 1218.192685]   Vendor: ICSI      Model: SD Card   MMC/SD  Rev: 1.6B
[ 1218.193302]   Type:   Direct-Access                      ANSI SCSI
revision: 00
[ 1218.211768] sd 2:0:0:2: Attached scsi removable disk sdc
[ 1218.216686]   Vendor: ICSI      Model: SM/xD Card    SM  Rev: 1.6B
[ 1218.217298]   Type:   Direct-Access                      ANSI SCSI
revision: 00
[ 1218.235734] sd 2:0:0:3: Attached scsi removable disk sdd

Again, top shows expected values
load average: 0.10, 0.06, 0.13
Cpu(s):  0.3% us,  0.7% sy,  0.0% ni, 96.7% id,  1.0% wa,  1.3% hi,  0.0% si

# lsscsi
[2:0:0:0]    disk    ICSI     CF Card       CF 1.6B  /dev/sda
[2:0:0:1]    disk    ICSI     MS Card       MS 1.6B  /dev/sdb
[2:0:0:2]    disk    ICSI     SD Card   MMC/SD 1.6B  /dev/sdc
[2:0:0:3]    disk    ICSI     SM/xD Card    SM 1.6B  /dev/sdd

# ps ax | grep hald-addon-storage
 7168 ?        S      0:00 /usr/lib/hal/hald-addon-storage
 9004 ?        S      0:00 /usr/lib/hal/hald-addon-storage
 9006 ?        S      0:00 /usr/lib/hal/hald-addon-storage
 9008 ?        S      0:00 /usr/lib/hal/hald-addon-storage
 9010 ?        S      0:00 /usr/lib/hal/hald-addon-storage

dmesg is busy as before (omitted b/c it really looks the same)

dpkg says
hal is  0.5.7-2

# cat /proc/version
Linux version 2.6.17-rc2pkt (root at polo) (gcc version 4.0.4 20060422
(prerelease) (Debian 4.0.3-2)) #1 Wed Apr 26 22:16:37 CEST 2006

Looks like I need to bite the bullet and detach the built-in card reader
and try the external one on the "broken" host, too :-(
Will try to do it tomorrow or the day after but it could well take until
the weekend.

Cheers,
	Chris.



More information about the hal mailing list