Problem: usb-ohci seems broken on AMD-765 Viper usb-ohci

Summary: Although the usb-ohci driver loads successfully, attempting to use
my usb device under any system load causes the generation of spurious calls
to usb_hub_port_connect_change from usb_hub_events. 

Detailed: I am using an ov511 webcam, which worked perfectly on my old
system, and still works fine with an usb-uhci pci card I temporarily
installed for testing. However, the onboard usb-ohci [USB Controller:
Advanced Micro Devices [AMD] AMD-765 [Viper] USB (rev 7)] that is on my
Tyan Tiger-MP motherboard [which is a SMP board, but currently only has 1
cpu on it, a 1600Mhz K7, kernel compiled for uniprocessor] will work for
only brief intervals, before a spurious false disconnection causes the
device to be remapped to a different minor number. If the system load is
minimal, it will work fine for sometimes upwards of a minute
[i.e. displaying video in xawtv], but if there is any notable CPU
utilization, the problem will immediately arise within a few seconds at
most.

System log below demonstrates the problem. I would greatly appreciate any
suggestions you might have as to the cause of this. Is it possible that I
recieved a faulty motherboard, or is this a bug in the driver?

Thank you for your time and consideration. 

David



-----
extract from syslog
--

Feb 22 00:21:12 ever kernel: usb-ohci.c: USB OHCI at membase 0xc00dc000, IRQ 11
Feb 22 00:21:12 ever kernel: usb-ohci.c: usb-00:07.4, Advanced Micro Devices [AMD] 
AMD-765 [Viper] USB
Feb 22 00:21:12 ever kernel: usb.c: new USB bus registered, assigned bus number 1
Feb 22 00:21:12 ever kernel: Product: USB OHCI Root Hub
Feb 22 00:21:12 ever kernel: SerialNumber: c00dc000
Feb 22 00:21:12 ever kernel: hub.c: USB hub found
Feb 22 00:21:12 ever kernel: hub.c: 4 ports detected
Feb 22 00:21:12 ever kernel: usb.c: registered new driver ov511
Feb 22 00:21:12 ever kernel: ov511.c: v1.48 : OV511 USB Camera Driver
Feb 22 00:21:12 ever kernel: hub.c: USB new device connect on bus1/2, assigned device 
number 2
Feb 22 00:21:13 ever kernel: ov511.c: [ov51x_probe:7171] probing for device...
Feb 22 00:21:13 ever kernel: ov511.c: USB OV511+ camera found
Feb 22 00:21:13 ever kernel: ov511.c: [ov511_configure:6906] CustomID = 0
Feb 22 00:21:13 ever kernel: ov511.c: model: Generic Camera (no ID)
Feb 22 00:21:13 ever kernel: ov511.c: [ov51x_init_ov_sensor:1904] I2C synced in 1 
attempt(s)
Feb 22 00:21:13 ever kernel: ov511.c: [ov6xx0_configure:6586] OV6xx0 sensor detected
Feb 22 00:21:13 ever kernel: ov511.c: Sensor is an OV6620
Feb 22 00:21:13 ever kernel: ov511.c: Device registered on minor 1
Feb 22 00:21:29 ever kernel: usb.c: USB disconnect on device 2
Feb 22 00:21:29 ever kernel: hub.c: USB new device connect on bus1/2, assigned device 
number 3
Feb 22 00:21:29 ever kernel: ov511.c: [ov51x_probe:7171] probing for device...
Feb 22 00:21:29 ever kernel: ov511.c: USB OV511+ camera found
Feb 22 00:21:29 ever kernel: ov511.c: [ov511_configure:6906] CustomID = 0
Feb 22 00:21:29 ever kernel: ov511.c: model: Generic Camera (no ID)
Feb 22 00:21:29 ever kernel: ov511.c: [ov51x_init_ov_sensor:1904] I2C synced in 1 
attempt(s)
Feb 22 00:21:29 ever kernel: ov511.c: [ov6xx0_configure:6586] OV6xx0 sensor detected
Feb 22 00:21:29 ever kernel: ov511.c: Sensor is an OV6620
Feb 22 00:21:30 ever kernel: ov511.c: Device registered on minor 2
Feb 22 00:21:30 ever modprobe: modprobe: Can't locate module char-major-81-1
Feb 22 00:21:30 ever kernel: usb.c: USB disconnect on device 3
Feb 22 00:21:30 ever kernel: hub.c: USB new device connect on bus1/2, assigned device 
number 4
Feb 22 00:21:30 ever kernel: ov511.c: [ov51x_probe:7171] probing for device...
Feb 22 00:21:30 ever kernel: ov511.c: USB OV511+ camera found
Feb 22 00:21:30 ever kernel: ov511.c: [ov511_configure:6906] CustomID = 0
Feb 22 00:21:30 ever kernel: ov511.c: model: Generic Camera (no ID)
Feb 22 00:21:30 ever kernel: ov511.c: [ov51x_init_ov_sensor:1904] I2C synced in 1 
attempt(s)
Feb 22 00:21:30 ever kernel: ov511.c: [ov6xx0_configure:6586] OV6xx0 sensor detected
Feb 22 00:21:30 ever kernel: ov511.c: Sensor is an OV6620
Feb 22 00:21:31 ever kernel: ov511.c: Device registered on minor 1

--------
output of ver-linux:
--
Linux ever.mine.nu 2.4.17 #5 Tue Feb 12 10:43:36 EST 2002 i686 unknown
 
Gnu C                  2.96
Gnu make               3.79.1
binutils               2.11.90.0.8
util-linux             2.11f
mount                  2.11g
modutils               2.4.6
e2fsprogs              1.23
reiserfsprogs          3.x.0j
pcmcia-cs              3.1.22
PPP                    2.4.1
Linux C Library        2.2.4
Dynamic linker (ldd)   2.2.4
Procps                 2.0.7
Net-tools              1.60
Console-tools          0.3.3
Sh-utils               2.0.11
Modules Loaded         ov511 usb-ohci videodev es1371 ac97_codec aic7xxx via-rhine

-----
output of /proc/cpuinfo
--
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 6
model           : 6
model name      : AMD Athlon(tm) MP Processor 1900+
stepping        : 2
cpu MHz         : 1600.089
cache size      : 256 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat 
pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow
bogomips        : 3191.60


-----
output of /proc/modules
--
ov511_dwb              72816   0
usb-ohci               19360   0 (unused)
videodev                4768   5 [ov511_dwb bttv]
es1371                 26016   0 (autoclean)
ac97_codec              9376   0 (autoclean) [es1371]
aic7xxx               109776   0 (unused)
NVdriver              820256  14 (autoclean)
via-rhine              10976   1

-----
output of /proc/ioports/
--
0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0070-007f : rtc
0080-008f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : ide1
01f0-01f7 : ide0
02f8-02ff : serial(auto)
0376-0376 : ide1
0378-037a : parport0
037b-037f : parport0
03c0-03df : vga+
03f6-03f6 : ide0
03f8-03ff : serial(auto)
0cf8-0cff : PCI conf1
1000-10ff : Adaptec AHA-7850
  1000-10ff : 
1400-147f : VIA Technologies, Inc. VT86C100A [Rhine 10/100]
  1400-147f : via-rhine
1480-14bf : Ensoniq ES1371 [AudioPCI-97]
  1480-14bf : es1371
14d0-14d3 : PCI device 1022:700c (Advanced Micro Devices [AMD])
f000-f00f : Advanced Micro Devices [AMD] AMD-765 [Viper] IDE
  f000-f007 : ide0
  f008-f00f : ide1


-----
output of /proc/iomem
--

00000000-0009f7ff : System RAM
0009f800-0009ffff : reserved
000a0000-000bffff : Video RAM area
000c0000-000c7fff : Video ROM
000dc000-000dcfff : Advanced Micro Devices [AMD] AMD-765 [Viper] USB
  000dc000-000dcfff : usb-ohci
000e0000-000effff : Extension ROM
000f0000-000fffff : System ROM
00100000-3ffeffff : System RAM
  00100000-00239bab : Kernel code
  00239bac-0029531f : Kernel data
3fff0000-3ffffbff : ACPI Tables
3ffffc00-3fffffff : ACPI Non-volatile Storage
e8001000-e8001fff : Adaptec AHA-7850
  e8001000-e8001fff : aic7xxx
e8002000-e800207f : VIA Technologies, Inc. VT86C100A [Rhine 10/100]
  e8002000-e800207f : via-rhine
e8003000-e8003fff : PCI device 1022:700c (Advanced Micro Devices [AMD])
e9000000-e9ffffff : PCI Bus #01
  e9000000-e9ffffff : nVidia Corporation NV11 (GeForce2 MX)
ec000000-efffffff : PCI device 1022:700c (Advanced Micro Devices [AMD])
f0000000-f7ffffff : PCI Bus #01
  f0000000-f7ffffff : nVidia Corporation NV11 (GeForce2 MX)
fec00000-fec0ffff : reserved
fee00000-fee00fff : reserved
fff80000-ffffffff : reserved

-----
output of lspci -vvv
--
00:00.0 Host bridge: Advanced Micro Devices [AMD]: Unknown device 700c (rev 11)
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- 
SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- 
<MAbort+ >SERR- <PERR-
        Latency: 64
        Region 0: Memory at ec000000 (32-bit, prefetchable) [size=64M]
        Region 1: Memory at e8003000 (32-bit, prefetchable) [size=4K]
        Region 2: I/O ports at 14d0 [disabled] [size=4]
        Capabilities: [a0] AGP version 2.0
                Status: RQ=15 SBA+ 64bit- FW+ Rate=x1,x2
                Command: RQ=0 SBA- AGP+ 64bit- FW- Rate=<none>

00:01.0 PCI bridge: Advanced Micro Devices [AMD]: Unknown device 700d (prog-if 00 
[Normal decode])
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- 
SERR- FastB2B-
        Status: Cap- 66Mhz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- 
<MAbort- >SERR- <PERR-
        Latency: 99
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=68
        I/O behind bridge: 0000f000-00000fff
        Memory behind bridge: e9000000-e9ffffff
        Prefetchable memory behind bridge: f0000000-f7ffffff
        BridgeCtl: Parity- SERR- NoISA+ VGA+ MAbort- >Reset- FastB2B-

00:07.0 ISA bridge: Advanced Micro Devices [AMD] AMD-765 [Viper] ISA (rev 02)
        Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- Stepping- 
SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- 
<MAbort- >SERR- <PERR-
        Latency: 0

00:07.1 IDE interface: Advanced Micro Devices [AMD] AMD-765 [Viper] IDE (rev 01) 
(prog-if 8a [Master SecP PriP])
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- 
SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- 
<MAbort- >SERR- <PERR-
        Latency: 64
        Region 4: I/O ports at f000 [size=16]

00:07.3 Bridge: Advanced Micro Devices [AMD] AMD-765 [Viper] ACPI (rev 01)
        Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- 
SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- 
<MAbort- >SERR- <PERR-

00:07.4 USB Controller: Advanced Micro Devices [AMD] AMD-765 [Viper] USB (rev 07) 
(prog-if 10 [OHCI])
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- 
SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- 
<MAbort- >SERR- <PERR-
        Latency: 16 (20000ns max)
        Interrupt: pin D routed to IRQ 11
        Region 0: Memory at 000dc000 (32-bit, non-prefetchable) [size=4K]

00:0b.0 SCSI storage controller: Adaptec AHA-7850 (rev 03)
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- 
SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- 
<MAbort- >SERR- <PERR-
        Latency: 64 (1000ns min, 1000ns max), cache line size 10
        Interrupt: pin A routed to IRQ 11
        Region 0: I/O ports at 1000 [disabled] [size=256]
        Region 1: Memory at e8001000 (32-bit, non-prefetchable) [size=4K]

00:0c.0 Ethernet controller: VIA Technologies, Inc. VT86C100A [Rhine 10/100] (rev 06)
        Subsystem: D-Link System Inc DFE-530TX
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- 
SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- 
<MAbort- >SERR- <PERR-
        Latency: 200 (29500ns min, 38000ns max), cache line size 10
        Interrupt: pin A routed to IRQ 5
        Region 0: I/O ports at 1400 [size=128]
        Region 1: Memory at e8002000 (32-bit, non-prefetchable) [size=128]
        Expansion ROM at <unassigned> [disabled] [size=64K]

00:0d.0 Multimedia audio controller: Ensoniq ES1371 [AudioPCI-97] (rev 02)
        Subsystem: Ensoniq Creative Sound Blaster AudioPCI64V, AudioPCI128
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- 
SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort+ 
<MAbort- >SERR- <PERR-
        Latency: 96 (3000ns min, 32000ns max)
        Interrupt: pin A routed to IRQ 10
        Region 0: I/O ports at 1480 [size=64]
        Capabilities: [dc] Power Management version 1
                Flags: PMEClk- DSI+ D1- D2+ AuxCurrent=0mA 
PME(D0+,D1-,D2+,D3hot+,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

01:05.0 VGA compatible controller: nVidia Corporation NV11 (rev b2) (prog-if 00 [VGA])
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- 
SERR- FastB2B-
        Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- 
<MAbort- >SERR- <PERR-
        Latency: 248 (1250ns min, 250ns max)
        Interrupt: pin A routed to IRQ 10
        Region 0: Memory at e9000000 (32-bit, non-prefetchable) [size=16M]
        Region 1: Memory at f0000000 (32-bit, prefetchable) [size=128M]
        Expansion ROM at <unassigned> [disabled] [size=64K]
        Capabilities: [60] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA 
PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [44] AGP version 2.0
                Status: RQ=31 SBA- 64bit- FW+ Rate=x1,x2
                Command: RQ=15 SBA- AGP+ 64bit- FW- Rate=<none>



_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to