Hello, 

I am currently experiencing problems getting a 2.6.x system working on a
Radisys 6315 PMC Processor board.  This board has a Raisys 82600 chip
interfacing to an EZ-USB device onboard.

The system has been tested with the following kernels :
OK - 2.4.17, 2.4.29
FAILS - 2.6.5, 2.6.9, 2.6.11, 2.6.11-bk6

The failure behavior is somewhat strange - there are two USB ports on each
card, and the fault *only* occurrs when only a single port is in use.  On
the cards where two devices are connected, everything seems to work OK.

The fault occurs immediately after the "fxload" program is called to load
the hex file onto the EZ-USB device.  This causes all of the devices to get
disconnected and re-enumerated, at which point a large number of spurious
uhci_hcd interrupts are generated (~150000 on average), and all of the
devices fail to accept their descriptors.

I am aware that this could easily be a hardware quirk/issue, but having
successfully used the hardware with 2.4.x, it is neccesary for me to find a
workaround that will allow the hardware to work with the new USB subsystem
in 2.6.x

Below I have attached kmsg output (verbose USB debugging enabled),
before/after proc/interrupts, and a lspci output.

If anyone could provide any suggestions, it would be much appreciated.

Regards, 

Steve Hardy

bash-2.05b# cat /proc/interrupts
           CPU0
  0:     170072          XT-PIC  timer
  2:          0          XT-PIC  cascade
  4:         76          XT-PIC  serial
  8:          0          XT-PIC  rtc
  9:         12          XT-PIC  uhci_hcd
 11:        956          XT-PIC  eth0
 14:      10421          XT-PIC  ide0
NMI:          0
LOC:     169897
ERR:          0
bash-2.05b# /sbin/fxload -D /proc/bus/usb/001/002 -I /opt/module/fw/usb.hex
bash-2.05b# cat /proc/interrupts
           CPU0
  0:     185573          XT-PIC  timer
  2:          0          XT-PIC  cascade
  4:         76          XT-PIC  serial
  8:          0          XT-PIC  rtc
  9:     134814          XT-PIC  uhci_hcd
 11:       1114          XT-PIC  eth0
 14:      10461          XT-PIC  ide0
NMI:          0
LOC:     185398
ERR:          0
bash-2.05b# cat /proc/kmsg
<4>Linux version 2.6.5 ([EMAIL PROTECTED]) (gcc version 3.3.3 20040412 (Red Hat
Linux 3.3.3-7)) #1 Wed Mar 16 13:39:37 GMT
2005
<6>BIOS-provided physical RAM map:
<4> BIOS-e820: 0000000000000000 - 000000000009b800 (usable)
<4> BIOS-e820: 000000000009b800 - 00000000000a0000 (reserved)
<4> BIOS-e820: 00000000000e9400 - 0000000000100000 (reserved)
<4> BIOS-e820: 0000000000100000 - 0000000010000000 (usable)
<4> BIOS-e820: 00000000fffe0000 - 0000000100000000 (reserved)
<5>0MB HIGHMEM available.
<5>256MB LOWMEM available.
<4>On node 0 totalpages: 65536
<4>  DMA zone: 4096 pages, LIFO batch:1
<4>  Normal zone: 61440 pages, LIFO batch:15
<4>  HighMem zone: 0 pages, LIFO batch:1
<6>DMI 2.3 present.
<3>ACPI: Unable to locate RSDP
<4>Built 1 zonelists
<4>Kernel command line: root=/dev/hda1 console=ttyS0,115200
<4>Local APIC disabled by BIOS -- reenabling.
<4>Found and enabled local APIC!
<6>Initializing CPU#0
<4>PID hash table entries: 2048 (order 11: 16384 bytes)
<4>Detected 798.130 MHz processor.
<6>Using tsc for high-res timesource
<4>Console: colour dummy device 80x25
<6>Memory: 255616k/262144k available (2050k kernel code, 5748k reserved,
579k data, 164k init, 0k highmem)
<4>Checking if this processor honours the WP bit even in supervisor mode...
Ok.
<4>Calibrating delay loop... 1585.15 BogoMIPS
<6>Security Scaffold v1.0.0 initialized
<6>SELinux:  Initializing.
<6>SELinux:  Starting in permissive mode
<6>There is already a security framework initialized, register_security
failed.
<6>Failure registering capabilities with the kernel
<6>selinux_register_security:  Registering secondary module capability
<6>Capability LSM initialized
<6>Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
<4>Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
<4>Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
<7>CPU:     After generic identify, caps: 0383fbff 00000000 00000000
00000000
<7>CPU:     After vendor identify, caps: 0383fbff 00000000 00000000 00000000
<6>CPU: L1 I cache: 16K, L1 D cache: 16K
<6>CPU: L2 cache: 512K
<7>CPU:     After all inits, caps: 0383fbff 00000000 00000000 00000040
<6>Intel machine check architecture supported.
<6>Intel machine check reporting enabled on CPU#0.
<4>CPU: Intel(R) Pentium(R) III CPU - S          800MHz stepping 04
<6>Enabling fast FPU save and restore... done.
<6>Enabling unmasked SIMD FPU exception support... done.
<6>Checking 'hlt' instruction... OK.
<4>POSIX conformance testing by UNIFIX
<4>enabled ExtINT on CPU#0
<4>ESR value before enabling vector: 00000000
<4>ESR value after enabling vector: 00000000
<4>Using local APIC timer interrupts.
<4>calibrating APIC timer ...
<4>..... CPU clock speed is 797.0881 MHz.
<4>..... host bus clock speed is 132.0980 MHz.
<6>NET: Registered protocol family 16
<6>PCI: PCI BIOS revision 2.10 entry at 0xfd99f, last bus=1
<6>PCI: Using configuration type 1
<6>mtrr: v2.0 (20020519)
<6>ACPI: Subsystem revision 20040326
<6>ACPI: Interpreter disabled.
<6>drivers/usb/core/usb.c: registered new driver usbfs
<6>drivers/usb/core/usb.c: registered new driver hub
<4>ACPI: ACPI tables contain no PCI IRQ routing entries
<4>PCI: Invalid ACPI-PCI IRQ routing table
<4>PCI: Probing PCI hardware
<4>PCI: Probing PCI hardware (bus 00)
<4>Total HugeTLB memory allocated, 0
<5>VFS: Disk quotas dquot_6.5.1
<4>QNX4 filesystem 0.2.3 registered.
<6>SELinux:  Registering netfilter hooks
<6>Initializing Cryptographic API
<6>Real Time Clock Driver v1.12
<6>Serial: 8250/16550 driver $Revision: 1.90 $ 8 ports, IRQ sharing enabled
<4>ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
<4>RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
<6>Intel(R) PRO/1000 Network Driver - version 5.2.30.1-k2
<6>Copyright (c) 1999-2004 Intel Corporation.
<6>pcnet32.c:v1.28 02.20.2004 [EMAIL PROTECTED]
<6>e100: Intel(R) PRO/100 Network Driver, 3.0.17
<6>e100: Copyright(c) 1999-2004 Intel Corporation
<6>e100: eth0: e100_probe: addr 0xfb100000, irq 11, MAC addr
00:00:50:0D:38:E6
<6>Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
<6>ide: Assuming 33MHz system bus speed for PIO modes; override with
idebus=xx
<4>hda: TOSHIBA THNCF256MBA, CFA DISK drive
<4>Using anticipatory io scheduler
<4>ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
<4>hda: max request size: 128KiB
<6>hda: 500736 sectors (256 MB) w/2KiB Cache, CHS=978/16/32
<6> hda: hda1
<7>ehci_hcd: block sizes: qh 128 qtd 96 itd 192 sitd 96
<7>ohci_hcd: 2004 Feb 02 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
<7>ohci_hcd: block sizes: ed 64 td 64
<6>USB Universal Host Controller Interface driver v2.2
<6>uhci_hcd 0000:00:00.2: UHCI Host Controller
<6>uhci_hcd 0000:00:00.2: irq 9, io base 00001840
<6>uhci_hcd 0000:00:00.2: new USB bus registered, assigned bus number 1
<6>uhci_hcd 0000:00:00.2: detected 2 ports
<7>uhci_hcd 0000:00:00.2: root hub device address 1
<7>usb usb1: new device strings: Mfr=3, Product=2, SerialNumber=1
<7>drivers/usb/core/message.c: USB device number 1 default language ID 0x409
<6>usb usb1: Product: UHCI Host Controller
<6>usb usb1: Manufacturer: Linux 2.6.5 uhci_hcd
<6>usb usb1: SerialNumber: 0000:00:00.2
<7>drivers/usb/core/usb.c: usb_hotplug
<7>usb usb1: registering 1-0:1.0 (config #1, interface 0)
<7>drivers/usb/core/usb.c: usb_hotplug
<7>hub 1-0:1.0: usb_probe_interface
<7>hub 1-0:1.0: usb_probe_interface - got id
<6>hub 1-0:1.0: USB hub found
<6>hub 1-0:1.0: 2 ports detected
<7>hub 1-0:1.0: standalone hub
<7>hub 1-0:1.0: unknown reserved power switching mode
<7>hub 1-0:1.0: individual port over-current protection
<7>hub 1-0:1.0: Port indicators are not supported
<7>hub 1-0:1.0: power on to power good time: 2ms
<7>hub 1-0:1.0: hub controller current requirement: 0mA
<7>hub 1-0:1.0: local power source is good
<7>hub 1-0:1.0: no over-current condition exists
<7>hub 1-0:1.0: enabling power on all ports
<6>drivers/usb/core/usb.c: registered new driver hiddev
<6>drivers/usb/core/usb.c: registered new driver hid
<6>drivers/usb/input/hid-core.c: v2.0:USB HID core driver
<6>mice: PS/2 mouse device common for all mice
<6>serio: i8042 AUX port at 0x60,0x64 irq 12
<6>serio: i8042 KBD port at 0x60,0x64 irq 1
<6>NET: Registered protocol family 2
<7>uhci_hcd 0000:00:00.2: port 1 portsc 0188
<7>hub 1-0:1.0: port 1 enable change, status 300
<7>uhci_hcd 0000:00:00.2: port 2 portsc 009b
<7>hub 1-0:1.0: port 2, status 101, change 3, 12 Mb/s
<6>IP: routing cache hash table of 2048 buckets, 16Kbytes
<6>TCP: Hash tables configured (established 16384 bind 32768)
<6>Initializing IPsec netlink socket
<6>NET: Registered protocol family 1
<6>NET: Registered protocol family 17
<7>uhci_hcd 0000:00:00.2: port 2 portsc 0099
<6> hda: hda1
<4>VFS: Mounted root (ext2 filesystem) readonly.
<6>Freeing unused kernel memory: 164k freed
<7>uhci_hcd 0000:00:00.2: port 2 portsc 0099
<7>uhci_hcd 0000:00:00.2: port 2 portsc 0099
<7>uhci_hcd 0000:00:00.2: port 2 portsc 0099
<7>uhci_hcd 0000:00:00.2: port 2 portsc 0099
<7>hub 1-0:1.0: debounce: port 2: delay 100ms stable 4 status 0x101
<6>usb 1-2: new full speed USB device using address 2
<7>usb 1-2: new device strings: Mfr=0, Product=0, SerialNumber=0
<7>drivers/usb/core/usb.c: usb_hotplug
<7>usb 1-2: registering 1-2:1.0 (config #1, interface 0)
<7>drivers/usb/core/usb.c: usb_hotplug
<6>drivers/usb/core/usb.c: registered new driver usbdevicedriver
<6>/home/user/usb_device_driver/usbdevicedriver.c: v0.1 Astrium Limited
<6>/home/user/usb_device_driver/usbdevicedriver.c: USB Driver
<6>e100: eth0: e100_watchdog: link up, 100Mbps, full-duplex
<7>uhci_hcd 0000:00:00.2: port 2 portsc 0182
<7>hub 1-0:1.0: port 2, status 300, change 1, 1.5 Mb/s
<6>usb 1-2: USB disconnect, address 2
<7>usb 1-2: usb_disable_device nuking all URBs
<7>usb 1-2: unregistering interface 1-2:1.0
<7>drivers/usb/core/usb.c: usb_hotplug
<7>usb 1-2: unregistering device
<7>drivers/usb/core/usb.c: usb_hotplug
<7>uhci_hcd 0000:00:00.2: suspend_hc
<7>uhci_hcd 0000:00:00.2: wakeup_hc
<7>uhci_hcd 0000:00:00.2: port 1 portsc 10c3
<7>hub 1-0:1.0: port 1, status 101, change 1, 12 Mb/s
<7>uhci_hcd 0000:00:00.2: port 1 portsc 0182
<7>hub 1-0:1.0: debounce: port 1: delay 400ms stable 0 status 0x300
<3>hub 1-0:1.0: connect-debounce failed, port 1 disabled
<7>uhci_hcd 0000:00:00.2: port 2 portsc 1093
<7>hub 1-0:1.0: port 2, status 101, change 1, 12 Mb/s
<7>hub 1-0:1.0: debounce: port 2: delay 100ms stable 4 status 0x101
<6>usb 1-2: new full speed USB device using address 3
<7>uhci_hcd 0000:00:00.2: uhci_result_control: failed with status 440000
<4>[c1389240] link (013891e2) element (0138a040)
<4>  0: [c138a040] link (0138a080) e0 Stalled CRC/Timeo Length=7 MaxLen=7
DT0 EndPt=0 Dev=0, PID=2d(SETUP) (buf=0f7337e0)
<4>  1: [c138a080] link (00000001) e3 IOC Active Length=0 MaxLen=7ff DT1
EndPt=0 Dev=0, PID=69(IN) (buf=00000000)
<4>
<7>uhci_hcd 0000:00:00.2: uhci_result_control: failed with status 440000
<4>[c1389240] link (013891e2) element (0138a040)
<4>  0: [c138a040] link (0138a080) e0 Stalled CRC/Timeo Length=7 MaxLen=7
DT0 EndPt=0 Dev=0, PID=2d(SETUP) (buf=0f7337e0)
<4>  1: [c138a080] link (00000001) e3 IOC Active Length=0 MaxLen=7ff DT1
EndPt=0 Dev=0, PID=69(IN) (buf=00000000)
<4>
<3>usb 1-2: device not accepting address 3, error -71
<6>usb 1-2: new full speed USB device using address 4
<7>uhci_hcd 0000:00:00.2: uhci_result_control: failed with status 440000
<4>[c1389240] link (013891e2) element (0138a040)
<4>  0: [c138a040] link (0138a080) e0 Stalled CRC/Timeo Length=7 MaxLen=7
DT0 EndPt=0 Dev=0, PID=2d(SETUP) (buf=0f7337e0)
<4>  1: [c138a080] link (00000001) e3 IOC Active Length=0 MaxLen=7ff DT1
EndPt=0 Dev=0, PID=69(IN) (buf=00000000)
<4>
<7>uhci_hcd 0000:00:00.2: uhci_result_control: failed with status 440000
<4>[c1389240] link (013891e2) element (0138a040)
<4>  0: [c138a040] link (0138a080) e0 Stalled CRC/Timeo Length=7 MaxLen=7
DT0 EndPt=0 Dev=0, PID=2d(SETUP) (buf=0f7337e0)
<4>  1: [c138a080] link (00000001) e3 IOC Active Length=0 MaxLen=7ff DT1
EndPt=0 Dev=0, PID=69(IN) (buf=00000000)
<4>
<3>usb 1-2: device not accepting address 4, error -71

------------------------

Below is a partial lspci output, showing the UHCI controller version

]$ /sbin/lspci -vF ./pmB005.lspciout | grep Radisys -C5
00:00.0 Host bridge: Radisys Corp.: Unknown device 8200 (rev 04)
        Flags: bus master, 66Mhz, medium devsel, latency 64
 
00:00.1 IDE interface: Radisys Corp.: Unknown device 8201 (rev 04) (prog-if
80
[Master])
        Flags: bus master, fast devsel, latency 64
        I/O ports at 1860
 
00:00.2 USB Controller: Radisys Corp.: Unknown device 8202 (rev 04) (prog-if
00 [UHCI])
        Flags: bus master, fast devsel, latency 64, IRQ 9
        I/O ports at 1840
 
00:01.0 PCI bridge: Radisys Corp.: Unknown device 8210 (rev 04) (prog-if 00
[Normal decode])
        Flags: bus master, fast devsel, latency 64
        Bus: primary=00, secondary=01, subordinate=02, sec-latency=96
        I/O behind bridge: 00002000-00003fff
        Memory behind bridge: fba00000-fbbfffff






This email is for the intended addressee only.
If you have received it in error then you must not use, retain, disseminate or 
otherwise deal with it.
Please notify the sender by return email.
The views of the author may not necessarily constitute the views of EADS 
Astrium Limited.
Nothing in this email shall bind EADS Astrium Limited in any contract or 
obligation.

EADS Astrium Limited, Registered in England and Wales No. 2449259
Registered Office: Gunnels Wood Road, Stevenage, Hertfordshire, SG1 2AS, England


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to