I have a problem with the ehci driver on my laptop. My card is a Fujitech FPU-220 and the external enclosure is a Fujutecth FUD-3500 http://www.fujitech.com/fpu-220.htm http://www.fujitech.com/fud-3500.htm
I have tried also with an ALi chipset Cardbus card another external enclosure with the same result.
I suspect some strange interaction with my laptop chipset or cardbus controller as it does not work
properly with win2k either. I'm reasonable conversant with various kernel internals and quite
comfortable with adding debugging stuff so if someone could start me in the right direction I'd be
really grateful.
If I insert the card, then rmmod ehci_hcd and then insert the enclosure it all works spiffingly well, but only at 12mbps.
This enclosure works great on my desktop which is a KT600 chipset with 2.4.23 and 2.6.2 kernels. I'd prefer to stick with the 2.4 series kernels on my laptop for the moment but I'm willing to run any kernel to help in debugging this issue.
lspci
00:00.0 Host bridge: Intel Corp. 82830 830 Chipset Host Bridge (rev 02) 00:01.0 PCI bridge: Intel Corp. 82830 830 Chipset AGP Bridge (rev 02) 00:1d.0 USB Controller: Intel Corp. 82801CA/CAM USB (Hub #1) (rev 01) 00:1d.1 USB Controller: Intel Corp. 82801CA/CAM USB (Hub #2) (rev 01) 00:1d.2 USB Controller: Intel Corp. 82801CA/CAM USB (Hub #3) (rev 01) 00:1e.0 PCI bridge: Intel Corp. 82801BAM/CAM PCI Bridge (rev 41) 00:1f.0 ISA bridge: Intel Corp. 82801CAM ISA Bridge (LPC) (rev 01) 00:1f.1 IDE interface: Intel Corp. 82801CAM IDE U100 (rev 01) 00:1f.3 SMBus: Intel Corp. 82801CA/CAM SMBus Controller (rev 01) 00:1f.5 Multimedia audio controller: Intel Corp. 82801CA/CAM AC'97 Audio Controller (rev 01) 00:1f.6 Modem: Intel Corp. 82801CA/CAM AC'97 Modem Controller (rev 01) 01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility M6 LY 02:08.0 Ethernet controller: Intel Corp. 82801CAM (ICH3) PRO/100 VE (LOM) Ethernet Controller (rev 41) 02:09.0 CardBus bridge: O2 Micro, Inc. OZ6933 Cardbus Controller (rev 01) 02:09.1 CardBus bridge: O2 Micro, Inc. OZ6933 Cardbus Controller (rev 01) 03:00.0 USB Controller: NEC Corporation USB (rev 41) 03:00.1 USB Controller: NEC Corporation USB (rev 41) 03:00.2 USB Controller: NEC Corporation USB 2.0 (rev 02)
dmesg generated on inserting the card
ohci_hcd: 2004 Feb 02 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI) ohci_hcd: block sizes: ed 64 td 64 PCI: Enabling device 0000:03:00.0 (0000 -> 0002) ohci_hcd 0000:03:00.0: OHCI Host Controller ohci_hcd 0000:03:00.0: reset, control = 0x0 PCI: Setting latency timer of device 0000:03:00.0 to 64 ohci_hcd 0000:03:00.0: irq 10, pci mem e18e6000 ohci_hcd 0000:03:00.0: new USB bus registered, assigned bus number 1 ohci_hcd 0000:03:00.0: root hub device address 1 usb usb1: new device strings: Mfr=3, Product=2, SerialNumber=1 drivers/usb/core/message.c: USB device number 1 default language ID 0x409 usb usb1: Product: OHCI Host Controller usb usb1: Manufacturer: Linux 2.6.3-bk7 ohci_hcd usb usb1: SerialNumber: 0000:03:00.0 drivers/usb/core/usb.c: usb_hotplug usb usb1: registering 1-0:1.0 (config #1, interface 0) drivers/usb/core/usb.c: usb_hotplug hub 1-0:1.0: usb_probe_interface hub 1-0:1.0: usb_probe_interface - got id hub 1-0:1.0: USB hub found hub 1-0:1.0: 3 ports detected hub 1-0:1.0: standalone hub hub 1-0:1.0: unknown reserved power switching mode hub 1-0:1.0: global over-current protection hub 1-0:1.0: Port indicators are not supported hub 1-0:1.0: power on to power good time: 510ms hub 1-0:1.0: hub controller current requirement: 0mA hub 1-0:1.0: local power source is good hub 1-0:1.0: no over-current condition exists hub 1-0:1.0: enabling power on all ports ohci_hcd 0000:03:00.0: created debug files ohci_hcd 0000:03:00.0: OHCI controller state ohci_hcd 0000:03:00.0: OHCI 1.0, with legacy support registers ohci_hcd 0000:03:00.0: control 0x083 HCFS=operational CBSR=3 ohci_hcd 0000:03:00.0: cmdstatus 0x00000 SOC=0 ohci_hcd 0000:03:00.0: intrstatus 0x00000004 SF ohci_hcd 0000:03:00.0: intrenable 0x80000012 MIE UE WDH ohci_hcd 0000:03:00.0: hcca frame #04c4 ohci_hcd 0000:03:00.0: roothub.a ff000203 POTPGT=255 NPS NDP=3 ohci_hcd 0000:03:00.0: roothub.b 00000000 PPCM=0000 DR=0000 ohci_hcd 0000:03:00.0: roothub.status 00000000 ohci_hcd 0000:03:00.0: roothub.portstatus [0] 0x00000100 PPS ohci_hcd 0000:03:00.0: roothub.portstatus [1] 0x00000100 PPS ohci_hcd 0000:03:00.0: roothub.portstatus [2] 0x00000100 PPS PCI: Enabling device 0000:03:00.1 (0000 -> 0002) ohci_hcd 0000:03:00.1: OHCI Host Controller ohci_hcd 0000:03:00.1: reset, control = 0x0 PCI: Setting latency timer of device 0000:03:00.1 to 64 ohci_hcd 0000:03:00.1: irq 10, pci mem e18b6000 ohci_hcd 0000:03:00.1: new USB bus registered, assigned bus number 2 ohci_hcd 0000:03:00.1: root hub device address 1 usb usb2: new device strings: Mfr=3, Product=2, SerialNumber=1 drivers/usb/core/message.c: USB device number 1 default language ID 0x409 usb usb2: Product: OHCI Host Controller usb usb2: Manufacturer: Linux 2.6.3-bk7 ohci_hcd usb usb2: SerialNumber: 0000:03:00.1 drivers/usb/core/usb.c: usb_hotplug usb usb2: registering 2-0:1.0 (config #1, interface 0) drivers/usb/core/usb.c: usb_hotplug hub 2-0:1.0: usb_probe_interface hub 2-0:1.0: usb_probe_interface - got id hub 2-0:1.0: USB hub found hub 2-0:1.0: 2 ports detected hub 2-0:1.0: standalone hub hub 2-0:1.0: unknown reserved power switching mode hub 2-0:1.0: global over-current protection hub 2-0:1.0: Port indicators are not supported hub 2-0:1.0: power on to power good time: 510ms hub 2-0:1.0: hub controller current requirement: 0mA hub 2-0:1.0: local power source is good hub 2-0:1.0: no over-current condition exists hub 2-0:1.0: enabling power on all ports ohci_hcd 0000:03:00.1: created debug files ohci_hcd 0000:03:00.1: OHCI controller state ohci_hcd 0000:03:00.1: OHCI 1.0, with legacy support registers ohci_hcd 0000:03:00.1: control 0x083 HCFS=operational CBSR=3 ohci_hcd 0000:03:00.1: cmdstatus 0x00000 SOC=0 ohci_hcd 0000:03:00.1: intrstatus 0x00000004 SF ohci_hcd 0000:03:00.1: intrenable 0x80000012 MIE UE WDH ohci_hcd 0000:03:00.1: hcca frame #04d6 ohci_hcd 0000:03:00.1: roothub.a ff000202 POTPGT=255 NPS NDP=2 ohci_hcd 0000:03:00.1: roothub.b 00000000 PPCM=0000 DR=0000 ohci_hcd 0000:03:00.1: roothub.status 00000000 ohci_hcd 0000:03:00.1: roothub.portstatus [0] 0x00000100 PPS ohci_hcd 0000:03:00.1: roothub.portstatus [1] 0x00000100 PPS ehci_hcd: block sizes: qh 128 qtd 96 itd 192 sitd 96 PCI: Enabling device 0000:03:00.2 (0000 -> 0002) pci_irq-0302 [32] acpi_pci_irq_derive : Unable to derive IRQ for device 0000:03:00.2 ACPI: No IRQ known for interrupt pin C of device 0000:03:00.2 ehci_hcd 0000:03:00.2: EHCI Host Controller ehci_hcd 0000:03:00.2: reset hcs_params 0x2395 dbg=0 cc=2 pcc=3 ports=5 ehci_hcd 0000:03:00.2: reset portroute 1 0 1 0 0 ehci_hcd 0000:03:00.2: reset hcc_params 0002 thresh 0 uframes 256/512/1024 ehci_hcd 0000:03:00.2: irq 10, pci mem e18fe000 ehci_hcd 0000:03:00.2: new USB bus registered, assigned bus number 3 ehci_hcd 0000:03:00.2: reset command 080002 (park)=0 ithresh=8 period=1024 Reset HALT ehci_hcd 0000:03:00.2: init command 010009 (park)=0 ithresh=1 period=256 RUN ehci_hcd 0000:03:00.2: USB 2.0 enabled, EHCI 0.95, driver 2003-Dec-29 ehci_hcd 0000:03:00.2: root hub device address 1 usb usb3: new device strings: Mfr=3, Product=2, SerialNumber=1 drivers/usb/core/message.c: USB device number 1 default language ID 0x409 usb usb3: Product: EHCI Host Controller usb usb3: Manufacturer: Linux 2.6.3-bk7 ehci_hcd usb usb3: SerialNumber: 0000:03:00.2 drivers/usb/core/usb.c: usb_hotplug usb usb3: registering 3-0:1.0 (config #1, interface 0) drivers/usb/core/usb.c: usb_hotplug hub 3-0:1.0: usb_probe_interface hub 3-0:1.0: usb_probe_interface - got id hub 3-0:1.0: USB hub found hub 3-0:1.0: 5 ports detected hub 3-0:1.0: standalone hub hub 3-0:1.0: individual port power switching hub 3-0:1.0: individual port over-current protection hub 3-0:1.0: Single TT hub 3-0:1.0: TT requires at most 8 FS bit times hub 3-0:1.0: Port indicators are not supported hub 3-0:1.0: power on to power good time: 20ms hub 3-0:1.0: hub controller current requirement: 0mA hub 3-0:1.0: local power source is good hub 3-0:1.0: no over-current condition exists hub 3-0:1.0: enabling power on all ports
dmesg generated when inserting the usb cable from the ext enclosure
ehci_hcd 0000:03:00.2: GetStatus port 3 status 001803 POWER sig=j CSC CONNECT hub 3-0:1.0: port 3, status 501, change 1, 480 Mb/s hub 3-0:1.0: debounce: port 3: delay 100ms stable 4 status 0x501 ehci_hcd 0000:03:00.2: port 3 high speed ehci_hcd 0000:03:00.2: GetStatus port 3 status 001005 POWER sig=se0 PE CONNECT usb 3-3: new high speed USB device using address 4 spurious 8259A interrupt: IRQ7. usb 3-3: new device strings: Mfr=1, Product=2, SerialNumber=0 drivers/usb/core/message.c: USB device number 4 default language ID 0x409 usb 3-3: Product: Mass Storage Device usb 3-3: Manufacturer: Prolific Technology Inc. drivers/usb/core/usb.c: usb_hotplug usb 3-3: registering 3-3:1.0 (config #1, interface 0) drivers/usb/core/usb.c: usb_hotplug SCSI subsystem initialized Initializing USB Mass Storage driver... usb-storage 3-3:1.0: usb_probe_interface usb-storage 3-3:1.0: usb_probe_interface - got id usb-storage: USB Mass Storage device detected usb-storage: act_altsetting is 0, id_index is 91 usb-storage: -- associate_dev usb-storage: Transport: Bulk usb-storage: Protocol: Transparent SCSI usb-storage: Endpoints: In: 0xddbda774 Out: 0xddbda760 Int: 0x00000000 (Period 0) usb-storage: usb_stor_control_msg: rq=fe rqtype=a1 value=0000 index=00 len=1 usb-storage: GetMaxLUN command result is 1, data is 0 usb-storage: *** thread sleeping. scsi0 : SCSI emulation for USB Mass Storage devices usb-storage: queuecommand called usb-storage: *** thread awakened. usb-storage: Command INQUIRY (6 bytes) usb-storage: 12 00 00 00 24 00 usb-storage: Bulk Command S 0x43425355 T 0x1 L 36 F 128 Trg 0 LUN 0 CL 6 usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes usb-storage: Status code 0; transferred 31/31 usb-storage: -- transfer complete usb-storage: Bulk command transfer result=0 usb-storage: usb_stor_bulk_transfer_buf: xfer 36 bytes usb-storage: Status code 0; transferred 36/36 usb-storage: -- transfer complete usb-storage: Bulk data transfer result 0x0 usb-storage: Attempting to get CSW... usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes usb-storage: Status code 0; transferred 13/13 usb-storage: -- transfer complete usb-storage: Bulk status result = 0 usb-storage: Bulk Status S 0x53425355 T 0x1 R 0 Stat 0x0 usb-storage: Fixing INQUIRY data to show SCSI rev 2 - was 0 usb-storage: scsi cmd done, result=0x0 Vendor: WDC WD20 Model: 00JB-00DUA1 Rev: 02.1 Type: Direct-Access ANSI SCSI revision: 02 usb-storage: queuecommand called usb-storage: *** thread sleeping. usb-storage: *** thread awakened. usb-storage: Bad target number (1:0) usb-storage: scsi cmd done, result=0x40000 usb-storage: *** thread sleeping. usb-storage: queuecommand called usb-storage: *** thread awakened. usb-storage: Bad target number (2:0) usb-storage: scsi cmd done, result=0x40000 usb-storage: *** thread sleeping. usb-storage: queuecommand called usb-storage: *** thread awakened. usb-storage: Bad target number (3:0) usb-storage: scsi cmd done, result=0x40000 usb-storage: *** thread sleeping. usb-storage: queuecommand called usb-storage: *** thread awakened. usb-storage: Bad target number (4:0) usb-storage: scsi cmd done, result=0x40000 usb-storage: queuecommand called usb-storage: *** thread sleeping. usb-storage: *** thread awakened. usb-storage: Bad target number (5:0) usb-storage: scsi cmd done, result=0x40000 usb-storage: *** thread sleeping. usb-storage: queuecommand called usb-storage: *** thread awakened. usb-storage: Bad target number (6:0) usb-storage: scsi cmd done, result=0x40000 usb-storage: queuecommand called usb-storage: *** thread sleeping. usb-storage: *** thread awakened. usb-storage: Bad target number (7:0) usb-storage: scsi cmd done, result=0x40000 usb-storage: *** thread sleeping. WARNING: USB Mass Storage data integrity not assured USB Mass Storage device found at 4 drivers/usb/core/usb.c: registered new driver usb-storage USB Mass Storage support registered.
dmesg caused by dd if=/dev/zero of=/dev/sda bs=8192 count=4
usb-storage: queuecommand called usb-storage: *** thread awakened. usb-storage: Command TEST_UNIT_READY (6 bytes) usb-storage: 00 00 00 00 00 00 usb-storage: Bulk Command S 0x43425355 T 0x9 L 0 F 0 Trg 0 LUN 0 CL 6 usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes usb-storage: Status code 0; transferred 31/31 usb-storage: -- transfer complete usb-storage: Bulk command transfer result=0 usb-storage: Attempting to get CSW... usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes usb-storage: Status code 0; transferred 13/13 usb-storage: -- transfer complete usb-storage: Bulk status result = 0 usb-storage: Bulk Status S 0x53425355 T 0x9 R 0 Stat 0x0 usb-storage: scsi cmd done, result=0x0 usb-storage: queuecommand called usb-storage: *** thread sleeping. usb-storage: *** thread awakened. usb-storage: Command READ_CAPACITY (10 bytes) usb-storage: 25 00 00 00 00 00 00 00 00 00 usb-storage: Bulk Command S 0x43425355 T 0xa L 8 F 128 Trg 0 LUN 0 CL 10 usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes usb-storage: Status code 0; transferred 31/31 usb-storage: -- transfer complete usb-storage: Bulk command transfer result=0 usb-storage: usb_stor_bulk_transfer_buf: xfer 8 bytes usb-storage: Status code 0; transferred 8/8 usb-storage: -- transfer complete usb-storage: Bulk data transfer result 0x0 usb-storage: Attempting to get CSW... usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes usb-storage: Status code 0; transferred 13/13 usb-storage: -- transfer complete usb-storage: Bulk status result = 0 usb-storage: Bulk Status S 0x53425355 T 0xa R 0 Stat 0x0 usb-storage: scsi cmd done, result=0x0 SCSI device sda: 390622888 512-byte hdwr sectors (199999 MB) sda: assuming drive cache: write through usb-storage: *** thread sleeping. /dev/scsi/host0/bus0/target0/lun0:<7>usb-storage: queuecommand called usb-storage: *** thread awakened. usb-storage: Command READ_10 (10 bytes) usb-storage: 28 00 00 00 00 00 00 00 08 00 usb-storage: Bulk Command S 0x43425355 T 0xb L 4096 F 128 Trg 0 LUN 0 CL 10 usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes usb-storage: Status code 0; transferred 31/31 usb-storage: -- transfer complete usb-storage: Bulk command transfer result=0 usb-storage: usb_stor_bulk_transfer_sglist: xfer 4096 bytes, 1 entries usb-storage: Status code 0; transferred 4096/4096 usb-storage: -- transfer complete usb-storage: Bulk data transfer result 0x0 usb-storage: Attempting to get CSW... usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes usb-storage: Status code 0; transferred 13/13 usb-storage: -- transfer complete usb-storage: Bulk status result = 0 usb-storage: Bulk Status S 0x53425355 T 0xb R 0 Stat 0x0 usb-storage: scsi cmd done, result=0x0 usb-storage: *** thread sleeping. unknown partition table Attached scsi disk sda at scsi0, channel 0, id 0, lun 0 usb-storage: queuecommand called usb-storage: *** thread awakened. usb-storage: Command WRITE_10 (10 bytes) usb-storage: 2a 00 00 00 00 00 00 00 10 00 usb-storage: Bulk Command S 0x43425355 T 0xc L 8192 F 0 Trg 0 LUN 0 CL 10 usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes usb-storage: Status code 0; transferred 31/31 usb-storage: -- transfer complete usb-storage: Bulk command transfer result=0 usb-storage: usb_stor_bulk_transfer_sglist: xfer 8192 bytes, 2 entries usb-storage: command_abort called usb-storage: usb_stor_stop_transport called usb-storage: -- cancelling sg request usb-storage: Status code -104; transferred 0/8192 usb-storage: -- transfer cancelled usb-storage: Bulk data transfer result 0x4 usb-storage: -- command was aborted usb-storage: usb_stor_Bulk_reset called usb-storage: usb_stor_control_msg: rq=ff rqtype=21 value=0000 index=00 len=0 usb-storage: Soft reset: clearing bulk-in endpoint halt usb-storage: usb_stor_control_msg: rq=01 rqtype=02 value=0000 index=82 len=0 usb-storage: usb_stor_clear_halt: result = 0 usb-storage: Soft reset: clearing bulk-out endpoint halt usb-storage: usb_stor_control_msg: rq=01 rqtype=02 value=0000 index=01 len=0 usb-storage: usb_stor_clear_halt: result = 0 usb-storage: Soft reset done usb-storage: scsi command aborted usb-storage: *** thread sleeping. usb-storage: queuecommand called usb-storage: *** thread awakened. usb-storage: Command TEST_UNIT_READY (6 bytes) usb-storage: 00 00 00 00 00 00 usb-storage: Bulk Command S 0x43425355 T 0xc L 0 F 0 Trg 0 LUN 0 CL 6 usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes usb-storage: Status code 0; transferred 31/31 usb-storage: -- transfer complete usb-storage: Bulk command transfer result=0 usb-storage: Attempting to get CSW... usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes
This repeats until it aborts....
Regards, Brad
------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users
