David,
Sorry I forgot to name the
kernel 2.4.19-pre11
and the USB port:
"NEC corporation USB 2.0"
/proc/bus/usb/devices says (with no devices plugged)
cat devices
T: Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 5
B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 2.04
S: Manufacturer=Linux 2.4.20-pre11 ehci-hcd
S: Product=NEC Corporation USB 2.0
S: SerialNumber=00:12.2
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=256ms
T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 0.00
S: Product=USB OHCI Root Hub
S: SerialNumber=cea33000
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 3
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 0.00
S: Product=USB OHCI Root Hub
S: SerialNumber=cea31000
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms
plus another observation:
When the driver hangs, I cant read /proc/bus/usb any more.
Christian
Christian Mahr schrieb:
> Dear all
>
> I own new device: an "Argosy HD530 Harddisk-enclosure" with a Note-book ide disk
>
> inside. The device works under Windows98 on the same machine, so physics should work.
>
> When I connect the drive I can see activities in /var/log/messages,
>
> sending an INQUIRY message to the disk.
>
> This seems to fail and afterwards the processes modprobe and scsi_eh_1 seem to hang:
>
> 2707 pts/2 S 0:00 tail -f /var/log/messages
> 2708 ? S 0:00 /bin/bash /etc/hotplug/usb.agent
> 2712 ? S 0:00 /bin/bash /sbin/hotplug usb
> 2714 ? S 0:00 logger -t /sbin/hotplug[2708]
> 2718 ? S 0:00 /bin/bash /etc/hotplug/usb.agent
> 2720 ? S 0:00 logger -t /etc/hotplug/usb.agent[2708]
> 2736 ? D 0:00 /sbin/modprobe -vs usb-storage
> 2737 ? SW 0:00 [usb-storage-0]
> 2738 ? DW 0:00 [scsi_eh_1]
>
> Consequently the device does not show in /proc/scsi/scsi
>
> Host: scsi1 Channel: 00 Id: 00 Lun: 00
> Vendor: Model: Rev:
> Type: <NULL> ANSI SCSI revision: ffffffff
>
> Any idea what I can try to track down the problem?
>
> Regades
>
> Christian
>
> Here comes /var/log/messages with debug on in usb-storage:
>
> Oct 23 22:41:44 Mahrmaid kernel: hub.c: port 1, portstatus 100, change 0, 12 Mb/s
> Oct 23 22:41:44 Mahrmaid kernel: ehci-hub.c: GetStatus port 2 status 0x1803 POWER
>speed=2 CSC CONNECT
> Oct 23 22:41:44 Mahrmaid kernel: hub.c: port 2, portstatus 501, change 1, 480 Mb/s
> Oct 23 22:41:44 Mahrmaid kernel: hub.c: port 2 connection change
> Oct 23 22:41:44 Mahrmaid kernel: hub.c: port 2, portstatus 501, change 1, 480 Mb/s
> Oct 23 22:41:44 Mahrmaid kernel: hub.c: port 2, portstatus 501, change 0, 480 Mb/s
> Oct 23 22:41:45 Mahrmaid last message repeated 3 times
> Oct 23 22:41:45 Mahrmaid kernel: hub.c: port 2, portstatus 511, change 0, 480 Mb/s
> Oct 23 22:41:45 Mahrmaid kernel: hub.c: port 2 of hub 1 not reset yet, waiting 10ms
> Oct 23 22:41:45 Mahrmaid kernel: hub.c: port 2, portstatus 511, change 0, 480 Mb/s
> Oct 23 22:41:45 Mahrmaid kernel: hub.c: port 2 of hub 1 not reset yet, waiting 10ms
> Oct 23 22:41:45 Mahrmaid kernel: ehci-hub.c: 00:12.2 port 2 full speed, give to
>companion, 0x1801
> Oct 23 22:41:45 Mahrmaid kernel: ehci-hub.c: GetStatus port 2 status 0x3801 OWNER
>POWER speed=2 CONNECT
> Oct 23 22:41:45 Mahrmaid kernel: hub.c: port 2, portstatus 0, change 10, 12 Mb/s
> Oct 23 22:41:45 Mahrmaid kernel: ehci-hcd.c: 00:12.2: free_config devnum 0
> Oct 23 22:41:45 Mahrmaid kernel: hub.c: port 3, portstatus 100, change 0, 12 Mb/s
> Oct 23 22:41:45 Mahrmaid kernel: hub.c: port 4, portstatus 100, change 0, 12 Mb/s
> Oct 23 22:41:45 Mahrmaid kernel: hub.c: port 5, portstatus 100, change 0, 12 Mb/s
> Oct 23 22:41:45 Mahrmaid kernel: hub.c: port 1, portstatus 101, change 1, 12 Mb/s
> Oct 23 22:41:45 Mahrmaid kernel: hub.c: port 1 connection change
> Oct 23 22:41:45 Mahrmaid kernel: hub.c: port 1, portstatus 101, change 1, 12 Mb/s
> Oct 23 22:41:45 Mahrmaid kernel: hub.c: port 1, portstatus 101, change 0, 12 Mb/s
> Oct 23 22:41:45 Mahrmaid last message repeated 3 times
> Oct 23 22:41:45 Mahrmaid kernel: hub.c: port 1, portstatus 103, change 10, 12 Mb/s
> Oct 23 22:41:45 Mahrmaid kernel: hub.c: new USB device 00:12.1-1, assigned address 2
> Oct 23 22:41:45 Mahrmaid kernel: usb.c: kmalloc IF c9c82900, numif 1
> Oct 23 22:41:45 Mahrmaid kernel: usb.c: new device strings: Mfr=1, Product=1,
>SerialNumber=0
> Oct 23 22:41:45 Mahrmaid kernel: usb.c: USB device number 2 default language ID 0x409
> Oct 23 22:41:45 Mahrmaid kernel: Manufacturer: USB to IDE
> Oct 23 22:41:45 Mahrmaid kernel: Product: USB to IDE
> Oct 23 22:41:45 Mahrmaid kernel: usb.c: unhandled interfaces on device
> Oct 23 22:41:45 Mahrmaid kernel: usb.c: USB device 2 (vend/prod 0x4ce/0x2) is not
>claimed by any active driver.
> Oct 23 22:41:45 Mahrmaid kernel: Length = 18
> Oct 23 22:41:45 Mahrmaid kernel: DescriptorType = 01
> Oct 23 22:41:45 Mahrmaid kernel: USB version = 1.10
> Oct 23 22:41:45 Mahrmaid kernel: Vendor:Product = 04ce:0002
> Oct 23 22:41:45 Mahrmaid kernel: MaxPacketSize0 = 8
> Oct 23 22:41:45 Mahrmaid kernel: NumConfigurations = 1
> Oct 23 22:41:45 Mahrmaid kernel: Device version = 2.60
> Oct 23 22:41:45 Mahrmaid kernel: Device Class:SubClass:Protocol = 00:00:00
> Oct 23 22:41:45 Mahrmaid kernel: Per-interface classes
> Oct 23 22:41:45 Mahrmaid kernel: Configuration:
> Oct 23 22:41:45 Mahrmaid kernel: bLength = 9
> Oct 23 22:41:45 Mahrmaid kernel: bDescriptorType = 02
> Oct 23 22:41:45 Mahrmaid kernel: wTotalLength = 0020
> Oct 23 22:41:45 Mahrmaid kernel: bNumInterfaces = 01
> Oct 23 22:41:45 Mahrmaid kernel: bConfigurationValue = 01
> Oct 23 22:41:45 Mahrmaid kernel: iConfiguration = 00
> Oct 23 22:41:45 Mahrmaid kernel: bmAttributes = 40
> Oct 23 22:41:45 Mahrmaid kernel: MaxPower = 0mA
> Oct 23 22:41:45 Mahrmaid kernel:
> Oct 23 22:41:45 Mahrmaid kernel: Interface: 0
> Oct 23 22:41:45 Mahrmaid kernel: Alternate Setting: 0
> Oct 23 22:41:45 Mahrmaid kernel: bLength = 9
> Oct 23 22:41:45 Mahrmaid kernel: bDescriptorType = 04
> Oct 23 22:41:45 Mahrmaid kernel: bInterfaceNumber = 00
> Oct 23 22:41:45 Mahrmaid kernel: bAlternateSetting = 00
> Oct 23 22:41:45 Mahrmaid kernel: bNumEndpoints = 02
> Oct 23 22:41:45 Mahrmaid kernel: bInterface Class:SubClass:Protocol = 08:06:50
> Oct 23 22:41:45 Mahrmaid kernel: iInterface = 00
> Oct 23 22:41:45 Mahrmaid kernel: Endpoint:
> Oct 23 22:41:45 Mahrmaid kernel: bLength = 7
> Oct 23 22:41:45 Mahrmaid kernel: bDescriptorType = 05
> Oct 23 22:41:45 Mahrmaid kernel: bEndpointAddress = 02 (out)
> Oct 23 22:41:45 Mahrmaid kernel: bmAttributes = 02 (Bulk)
> Oct 23 22:41:45 Mahrmaid kernel: wMaxPacketSize = 0040
> Oct 23 22:41:45 Mahrmaid kernel: bInterval = 00
> Oct 23 22:41:45 Mahrmaid kernel: Endpoint:
> Oct 23 22:41:45 Mahrmaid kernel: bLength = 7
> Oct 23 22:41:45 Mahrmaid kernel: bDescriptorType = 05
> Oct 23 22:41:45 Mahrmaid kernel: bEndpointAddress = 81 (in)
> Oct 23 22:41:45 Mahrmaid kernel: bmAttributes = 02 (Bulk)
> Oct 23 22:41:45 Mahrmaid kernel: wMaxPacketSize = 0040
> Oct 23 22:41:45 Mahrmaid kernel: bInterval = 00
> Oct 23 22:41:45 Mahrmaid kernel: usb.c: kusbd: /sbin/hotplug add 2
> Oct 23 22:41:45 Mahrmaid kernel: hub.c: port 2, portstatus 100, change 0, 12 Mb/s
> Oct 23 22:41:46 Mahrmaid kernel: Initializing USB Mass Storage driver...
> Oct 23 22:41:46 Mahrmaid kernel: usb.c: registered new driver usb-storage
> Oct 23 22:41:46 Mahrmaid kernel: usb-storage: act_altsettting is 0
> Oct 23 22:41:46 Mahrmaid kernel: usb-storage: id_index calculated to be: 89
> Oct 23 22:41:46 Mahrmaid kernel: usb-storage: Array length appears to be: 91
> Oct 23 22:41:46 Mahrmaid kernel: usb-storage: USB Mass Storage device detected
> Oct 23 22:41:46 Mahrmaid kernel: usb-storage: Endpoints: In: 0xc8df4434 Out:
>0xc8df4420 Int: 0x00000000 (Period 0)
> Oct 23 22:41:46 Mahrmaid kernel: usb-storage: New GUID 04ce00020000000000000000
> Oct 23 22:41:46 Mahrmaid kernel: usb-storage: GetMaxLUN command result is 1, data is >0
> Oct 23 22:41:46 Mahrmaid kernel: usb-storage: Transport: Bulk
> Oct 23 22:41:46 Mahrmaid kernel: usb-storage: Protocol: Transparent SCSI
> Oct 23 22:41:46 Mahrmaid kernel: usb-storage: *** thread sleeping.
> Oct 23 22:41:46 Mahrmaid kernel: scsi1 : SCSI emulation for USB Mass Storage devices
> Oct 23 22:41:46 Mahrmaid kernel: usb-storage: queuecommand() called
> Oct 23 22:41:46 Mahrmaid kernel: usb-storage: *** thread awakened.
> Oct 23 22:41:46 Mahrmaid kernel: usb-storage: Command INQUIRY (6 bytes)
> Oct 23 22:41:46 Mahrmaid kernel: usb-storage: 12 00 00 00 ff 00 00 00 40 08 00 00
> Oct 23 22:41:46 Mahrmaid kernel: usb-storage: Bulk command S 0x43425355 T 0x6a Trg 0
>LUN 0 L 255 F 128 CL 6
> Oct 23 22:41:46 Mahrmaid kernel: usb-storage: Bulk command transfer result=0
> Oct 23 22:41:46 Mahrmaid kernel: usb-storage: usb_stor_transfer_partial(): xfer 255
>bytes
> Oct 23 22:41:46 Mahrmaid kernel: usb-storage: usb_stor_bulk_msg() returned 0 xferred
>255/255
> Oct 23 22:41:46 Mahrmaid kernel: usb-storage: usb_stor_transfer_partial(): transfer
>complete
> Oct 23 22:41:46 Mahrmaid kernel: usb-storage: Bulk data transfer result 0x0
> Oct 23 22:41:46 Mahrmaid kernel: usb-storage: Attempting to get CSW...
> Oct 23 22:41:46 Mahrmaid kernel: usb-storage: Bulk status result = 0
> Oct 23 22:41:46 Mahrmaid kernel: usb-storage: Bulk status Sig 0x53425355 T 0xff0158
>R 0 Stat 0x0
> Oct 23 22:41:46 Mahrmaid kernel: usb-storage: Bulk logical error
> Oct 23 22:41:46 Mahrmaid kernel: usb-storage:
> -- transport indicates error, resetting
> Oct 23 22:41:46 Mahrmaid kernel: usb-storage: Bulk reset requested
> Oct 23 22:41:52 Mahrmaid kernel: usb-storage: command_abort() called
> Oct 23 22:41:52 Mahrmaid kernel: usb-storage: usb_stor_clear_halt: result=-104
> Oct 23 22:41:52 Mahrmaid kernel: usb-storage: usb_stor_clear_halt: result=0
> Oct 23 22:41:52 Mahrmaid kernel: usb-storage: Bulk soft reset completed
> Oct 23 22:41:52 Mahrmaid kernel: usb-storage: scsi cmd done, result=0x70000
> Oct 23 22:41:52 Mahrmaid kernel: usb-storage: *** thread sleeping.
>
> --
> Christian Mahr (privat) [EMAIL PROTECTED]
>
> -------------------------------------------------------
> This sf.net email is sponsored by: Influence the future
> of Java(TM) technology. Join the Java Community
> Process(SM) (JCP(SM)) program now.
> http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en
>
> _______________________________________________
> [EMAIL PROTECTED]
> To unsubscribe, use the last form field at:
> https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
--
Christian Mahr (privat) [EMAIL PROTECTED]
-------------------------------------------------------
This sf.net email is sponsored by: Influence the future
of Java(TM) technology. Join the Java Community
Process(SM) (JCP(SM)) program now.
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel