Hi

I add a pci USB 2.0 card in order to use an external hard drive.
But it is only recognize with usb1.1. If I load ehci_hcd the disk
disappear, and if I try to replug, mothing happens? 

Any idea?

kernel 2.6.8.1

Part of dmesg:

uhci_hcd 0000:00:0e.1: wakeup_hc
uhci_hcd 0000:00:0e.1: port 1 portsc 0093
hub 4-0:1.0: port 1, status 0101, change 0001, 12 Mb/s
hub 4-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
usb 4-1: new full speed USB device using address 2
usb 4-1: config 1 descriptor has 1 excess byte, ignoring
usb 4-1: new device strings: Mfr=0, Product=1, SerialNumber=0
usb 4-1: default language 0x0409
usb 4-1: Product: USB TO IDE
usb 4-1: hotplug
usb 4-1: adding 4-1:1.0 (config #1, interface 0)
usb 4-1:1.0: hotplug
usb-storage 4-1:1.0: usb_probe_interface
usb-storage 4-1:1.0: usb_probe_interface - got id
scsi1 : SCSI emulation for USB Mass Storage devices
  Vendor: Genesys   Model: USB to IDE Disk   Rev: 0002
  Type:   Direct-Access                      ANSI SCSI revision: 02
SCSI device sda: 156301488 512-byte hdwr sectors (80026 MB)
sda: assuming Write Enabled
sda: assuming drive cache: write through
 sda: sda1 sda2 sda3 sda4
Attached scsi removable disk sda at scsi1, channel 0, id 0, lun 0
Attached scsi generic sg0 at scsi1, channel 0, id 0, lun 0,  type 0
USB Mass Storage device found at 2


if I do modprobe ehci_hcd:

ehci_hcd: block sizes: qh 128 qtd 96 itd 192 sitd 96
PCI: Found IRQ 10 for device 0000:00:0e.2
PCI: Sharing IRQ 10 with 0000:00:04.3
PCI: Sharing IRQ 10 with 0000:00:04.2
PCI: Sharing IRQ 10 with 0000:00:10.0
ehci_hcd 0000:00:0e.2: VIA Technologies, Inc. USB 2.0
ehci_hcd 0000:00:0e.2: reset hcs_params 0x2204 dbg=0 cc=2 pcc=2 ordered
!ppc por                                             
ts=4
ehci_hcd 0000:00:0e.2: reset hcc_params 0002 thresh 0 uframes 256/512/1024
ehci_hcd 0000:00:0e.2: irq 10, pci mem e0f71f00
ehci_hcd 0000:00:0e.2: new USB bus registered, assigned bus number 5
ehci_hcd 0000:00:0e.2: reset command 080002 (park)=0 ithresh=8 period=1024
Reset                                             
 HALT
ehci_hcd 0000:00:0e.2: init command 010009 (park)=0 ithresh=1 period=256
RUN
ehci_hcd 0000:00:0e.2: USB 2.0 enabled, EHCI 0.95, driver 2004-May-10
ehci_hcd 0000:00:0e.2: supports USB remote wakeup
usb usb5: new device strings: Mfr=3, Product=2, SerialNumber=1
usb usb5: default language 0x0409
usb usb5: Product: VIA Technologies, Inc. USB 2.0
usb usb5: Manufacturer: Linux 2.6.8.1 ehci_hcd
usb usb5: SerialNumber: 0000:00:0e.2
usb usb5: hotplug
usb usb5: adding 5-0:1.0 (config #1, interface 0)
usb 5-0:1.0: hotplug
hub 5-0:1.0: usb_probe_interface
hub 5-0:1.0: usb_probe_interface - got id
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 4 ports detected
hub 5-0:1.0: standalone hub
hub 5-0:1.0: ganged power switching
hub 5-0:1.0: individual port over-current protection
hub 5-0:1.0: Single TT
hub 5-0:1.0: TT requires at most 8 FS bit times
hub 5-0:1.0: power on to power good time: 20ms
hub 5-0:1.0: local power source is good
hub 5-0:1.0: enabling power on all ports
uhci_hcd 0000:00:0e.1: port 1 portsc 009a
hub 4-0:1.0: port 1, status 0100, change 0003, 12 Mb/s
usb 4-1: USB disconnect, address 2
usb 4-1: usb_disable_device nuking all URBs
usb 4-1: unregistering interface 4-1:1.0
usb 4-1:1.0: hotplug
usb 4-1: unregistering device
usb 4-1: hotplug
hub 4-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x100
ehci_hcd 0000:00:0e.2: GetStatus port 3 status 001803 POWER sig=j  CSC
CONNECT
hub 5-0:1.0: port 3, status 0501, change 0001, 480 Mb/s
hub 5-0:1.0: debounce: port 3: total 100ms stable 100ms status 0x501
hub 5-0:1.0: port 3 not reset yet, waiting 50ms
ehci_hcd 0000:00:0e.2: GetStatus port 3 status 001802 POWER sig=j  CSC

the problem is not with irq sharing: i try with the card alone in the PC
the motherboard has no acpi nor apoc support:

Sep 23 14:13:30 alezan kernel: Linux version 2.6.8.1
([EMAIL PROTECTED]) (version gcc 3.3.4 (Debian 1:3.3.4-12)) #1 Tue 
Sep 21 16:31:54 CEST 2004
Sep 23 14:13:30 alezan kernel: BIOS-provided physical RAM map:
Sep 23 14:13:30 alezan kernel:  BIOS-e820: 0000000000000000 -
000000000009fc00 (usable)
Sep 23 14:13:30 alezan kernel:  BIOS-e820: 000000000009fc00 -
00000000000a0000 (reserved)
Sep 23 14:13:30 alezan kernel:  BIOS-e820: 00000000000f0000 -
0000000000100000 (reserved)
Sep 23 14:13:30 alezan kernel:  BIOS-e820: 0000000000100000 -
000000001fff0000 (usable)
Sep 23 14:13:30 alezan kernel:  BIOS-e820: 000000001fff0000 -
000000001fff8000 (ACPI data)
Sep 23 14:13:30 alezan kernel:  BIOS-e820: 000000001fff8000 -
0000000020000000 (ACPI NVS)
Sep 23 14:13:30 alezan kernel:  BIOS-e820: 00000000ffff0000 -
0000000100000000 (reserved)
Sep 23 14:13:30 alezan kernel: 511MB LOWMEM available.
Sep 23 14:13:30 alezan kernel: On node 0 totalpages: 131056
Sep 23 14:13:30 alezan kernel:   DMA zone: 4096 pages, LIFO batch:1
Sep 23 14:13:30 alezan kernel:   Normal zone: 126960 pages, LIFO batch:16
Sep 23 14:13:30 alezan kernel:   HighMem zone: 0 pages, LIFO batch:1
Sep 23 14:13:30 alezan kernel: DMI 2.3 present.
Sep 23 14:13:30 alezan kernel: ACPI disabled because your bios is from
2000                       and too old
Sep 23 14:13:30 alezan kernel: You can enable it with acpi=force
Sep 23 14:13:30 alezan kernel: Built 1 zonelists
Sep 23 14:13:30 alezan kernel: Kernel command line: BOOT_IMAGE=debian ro
root=302
Sep 23 14:13:30 alezan kernel: No local APIC present or hardware disabled
Sep 23 14:13:30 alezan kernel: Initializing CPU#0
Sep 23 14:13:30 alezan kernel: PID hash table entries: 2048 (order 11:
16384 bytes)
Sep 23 14:13:30 alezan usbmgr[567]: start 1.0.0
Sep 23 14:13:30 alezan kernel: Detected 550.040 MHz processor.
Sep 23 14:13:30 alezan kernel: Using tsc for high-res timesource
Sep 23 14:13:30 alezan kernel: Console: colour VGA+ 80x25
Sep 23 14:13:30 alezan kernel: Dentry cache hash table entries: 131072
(order: 7, 524288 bytes)
Sep 23 14:13:30 alezan kernel: Inode-cache hash table entries: 65536
(order: 6, 262144 bytes)
Sep 23 14:13:30 alezan kernel: Memory: 515808k/524224k available (1623k
kernel code, 7656k reserved, 775k data, 140k init, 0k
 highmem)
Sep 23 14:13:30 alezan kernel: Checking if this processor honours the WP
bit even in supervisor mode... Ok.
Sep 23 14:13:30 alezan kernel: Calibrating delay loop... 1077.24 BogoMIPS
Sep 23 14:13:30 alezan kernel: Mount-cache hash table entries: 512 (order:
0, 4096 bytes)
Sep 23 14:13:30 alezan kernel: CPU: After generic identify, caps: 0081f9ff
c0c1f9ff 00000000 00000000
Sep 23 14:13:30 alezan kernel: CPU: After vendor identify, caps:  0081f9ff
c0c1f9ff 00000000 00000000
Sep 23 14:13:30 alezan kernel: CPU: L1 I Cache: 64K (64 bytes/line), D
cache 64K (64 bytes/line)


cat /proc/bus/usb/devices: (without ehci_hcd module)

T:  Bus=04 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= 2.06
S:  Manufacturer=Linux 2.6.8.1 uhci_hcd
S:  Product=VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (#4)
S:  SerialNumber=0000:00:0e.1
C:* #Ifs= 1 Cfg#= 1 Atr=c0 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=04 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  3 Spd=12  MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=05e3 ProdID=0702 Rev= 0.02
S:  Product=USB TO IDE
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 96mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms

T:  Bus=03 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= 2.06
S:  Manufacturer=Linux 2.6.8.1 uhci_hcd
S:  Product=VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (#3)
S:  SerialNumber=0000:00:0e.0
C:* #Ifs= 1 Cfg#= 1 Atr=c0 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=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= 2.06
S:  Manufacturer=Linux 2.6.8.1 uhci_hcd
S:  Product=VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (#2)
S:  SerialNumber=0000:00:04.3
C:* #Ifs= 1 Cfg#= 1 Atr=c0 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= 2
B:  Alloc=118/900 us (13%), #Int=  1, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.06
S:  Manufacturer=Linux 2.6.8.1 uhci_hcd
S:  Product=VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller
S:  SerialNumber=0000:00:04.2
C:* #Ifs= 1 Cfg#= 1 Atr=c0 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=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=16 #Cfgs=  1
P:  Vendor=04e8 ProdID=300c Rev= 1.00
S:  Manufacturer=Samsung Electronics Co., Ltd.
S:  Product=Samsung Laser Printer ML-1200 Series
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=07(print) Sub=01 Prot=02 Driver=usblp
E:  Ad=03(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms

T:  Bus=01 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#=  3 Spd=1.5 MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=046d ProdID=c00c Rev= 6.10
S:  Manufacturer=Logitech
S:  Product=USB Mouse
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=02 Driver=usbhid
E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=10ms

alezan:/home/mike# cat /proc/bus/usb/devices (ehci_hcd loaded)

T:  Bus=05 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480 MxCh= 4
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.06
S:  Manufacturer=Linux 2.6.8.1 ehci_hcd
S:  Product=VIA Technologies, Inc. USB 2.0
S:  SerialNumber=0000:00:0e.2
C:* #Ifs= 1 Cfg#= 1 Atr=e0 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=04 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= 2.06
S:  Manufacturer=Linux 2.6.8.1 uhci_hcd
S:  Product=VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (#4)
S:  SerialNumber=0000:00:0e.1
C:* #Ifs= 1 Cfg#= 1 Atr=c0 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=03 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= 2.06
S:  Manufacturer=Linux 2.6.8.1 uhci_hcd
S:  Product=VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (#3)
S:  SerialNumber=0000:00:0e.0
C:* #Ifs= 1 Cfg#= 1 Atr=c0 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=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= 2.06
S:  Manufacturer=Linux 2.6.8.1 uhci_hcd
S:  Product=VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (#2)
S:  SerialNumber=0000:00:04.3
C:* #Ifs= 1 Cfg#= 1 Atr=c0 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= 2
B:  Alloc=118/900 us (13%), #Int=  1, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.06
S:  Manufacturer=Linux 2.6.8.1 uhci_hcd
S:  Product=VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller
S:  SerialNumber=0000:00:04.2
C:* #Ifs= 1 Cfg#= 1 Atr=c0 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=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=16 #Cfgs=  1
P:  Vendor=04e8 ProdID=300c Rev= 1.00
S:  Manufacturer=Samsung Electronics Co., Ltd.
S:  Product=Samsung Laser Printer ML-1200 Series
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=07(print) Sub=01 Prot=02 Driver=usblp
E:  Ad=03(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms

T:  Bus=01 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#=  3 Spd=1.5 MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=046d ProdID=c00c Rev= 6.10
S:  Manufacturer=Logitech
S:  Product=USB Mouse
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=02 Driver=usbhid
E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=10ms

Any help appreciated...

Mike

-- 
The software said it requires Win95 or better, so I installed Linux.


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to