oops in ohci_hcd with kernel 2.6.12 - 2.6.14-rc3-git2

From: Frieder BÃrzele
Date: Sun Oct 02 2005 - 10:36:41 EST


Hi,

since kernel version ~2.6.12 I occasionally get oopes with the ohci_hcd
modul during boot.
I need to reboot 5 times or more until the machine works.

mainboard is a Asus A7N266-C with nforce chipset

thx

Please CC me thx

attached is dmesg-2.6.14-rc3-git2-oops i8042 KBD port at 0x60,0x64 irq 1
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 18
ACPI: PCI Interrupt 0000:01:08.0[A] -> Link [LNKC] -> GSI 18 (level, high) -> IRQ 16
parport: PnPBIOS parport detected.
parport0: PC-style at 0x378 (0x778), irq 7 [PCSPP(,...)]
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
RAMDISK driver initialized: 16 RAM disks of 5000K size 1024 blocksize
loop: loaded (max 8 devices)
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
NFORCE: IDE controller at PCI slot 0000:00:09.0
NFORCE: chipset revision 195
NFORCE: not 100% native mode: will probe irqs later
NFORCE: BIOS didn't set cable bits correctly. Enabling workaround.
NFORCE: 0000:00:09.0 (rev c3) UDMA100 controller
ide0: BM-DMA at 0xb800-0xb807, BIOS settings: hda:DMA, hdb:pio
ide1: BM-DMA at 0xb808-0xb80f, BIOS settings: hdc:DMA, hdd:DMA
Probing IDE interface ide0...
hda: MAXTOR 4K080H4, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hdc: TOSHIBA DVD-ROM SD-M1612, ATAPI CD/DVD-ROM drive
hdd: ASUS CRW-4012A, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 128KiB
hda: 156301488 sectors (80026 MB) w/2000KiB Cache, CHS=65535/16/63, UDMA(100)
hda: cache flushes supported
hda: hda1 hda2 hda3 < hda5 hda6 >
libata version 1.12 loaded.
mice: PS/2 mouse device common for all mice
i2c /dev entries driver
NET: Registered protocol family 2
IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
TCP established hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
TCP reno registered
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
NET4: DECnet for Linux: V.2.5.68s (C) 1995-2003 Linux DECnet Project Team
DECnet: Routing cache hash table of 1024 buckets, 8Kbytes
NET: Registered protocol family 12
Using IPI Shortcut mode
ACPI wakeup devices:
PCI0 PCI1 UAR1 UAR2 PS2K USB0 USB1
ACPI: (supports S0 S1 S3 S4 S5)
ReiserFS: hda2: found reiserfs format "3.6" with standard journal
input: AT Translated Set 2 keyboard on isa0060/serio0
ReiserFS: hda2: using ordered data mode
ReiserFS: hda2: journal params: device hda2, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: hda2: checking transaction log (hda2)
ReiserFS: hda2: replayed 11 transactions in 0 seconds
ReiserFS: hda2: Using r5 hash to sort names
VFS: Mounted root (reiserfs filesystem) readonly.
Freeing unused kernel memory: 172k freed
Adding 497972k swap on /dev/hda6. Priority:-1 extents:1 across:497972k
hdc: ATAPI 48X DVD-ROM drive, 512kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
hdd: ATAPI 48X CD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33)
8139too Fast Ethernet driver 0.9.27
ACPI: PCI Interrupt 0000:01:02.0[A] -> Link [LNKC] -> GSI 18 (level, high) -> IRQ 16
eth0: RealTek RTL8139 at 0xc800, 00:e0:18:74:94:30, IRQ 16
eth0: Identified 8139 chip type 'RTL-8100'
fuse init (API version 7.2)
Realtime LSM initialized (group 18, mlock=1)
ReiserFS: hda5: found reiserfs format "3.6" with standard journal
ReiserFS: hda5: using ordered data mode
ReiserFS: hda5: journal params: device hda5, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: hda5: checking transaction log (hda5)
ReiserFS: hda5: Using r5 hash to sort names
usbcore: registered new driver usbfs
usbcore: registered new driver hub
cdrom: open failed.
Linux agpgart interface v0.101 (c) Dave Jones
agpgart: Detected NVIDIA nForce chipset
agpgart: AGP aperture is 64M @ 0xf8000000
PCI: Enabling device 0000:00:06.0 (0005 -> 0007)
ACPI: PCI Interrupt Link [LNKK] enabled at IRQ 22
ACPI: PCI Interrupt 0000:00:06.0[A] -> Link [LNKK] -> GSI 22 (level, high) -> IRQ 17
PCI: Setting latency timer of device 0000:00:06.0 to 64
AC'97 1 analog subsections not ready
intel8x0_measure_ac97_clock: measured 63220 usecs
intel8x0: clocking to 48000
ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
ohci_hcd: block sizes: ed 64 td 64
ACPI: PCI Interrupt Link [LNKU] enabled at IRQ 21
ACPI: PCI Interrupt 0000:00:02.0[A] -> Link [LNKU] -> GSI 21 (level, high) -> IRQ 18
PCI: Setting latency timer of device 0000:00:02.0 to 64
ohci_hcd 0000:00:02.0: OHCI Host Controller
ohci_hcd 0000:00:02.0: USB HC TakeOver from BIOS/SMM
ohci_hcd 0000:00:02.0: new USB bus registered, assigned bus number 1
ohci_hcd 0000:00:02.0: irq 18, io mem 0xee800000
ohci_hcd 0000:00:02.0: resetting from state 'reset', control = 0x600
ohci_hcd 0000:00:02.0: OHCI controller state
ohci_hcd 0000:00:02.0: OHCI 1.0, NO legacy support registers
ohci_hcd 0000:00:02.0: control 0x683 RWE RWC HCFS=operational CBSR=3
ohci_hcd 0000:00:02.0: cmdstatus 0x00000 SOC=0
ohci_hcd 0000:00:02.0: intrstatus 0x00000044 RHSC SF
ohci_hcd 0000:00:02.0: intrenable 0x8000000a MIE RD WDH
ohci_hcd 0000:00:02.0: fminterval a7782edf
ohci_hcd 0000:00:02.0: hcca frame #0003
ohci_hcd 0000:00:02.0: roothub.a 01000203 POTPGT=1 NPS NDP=3(3)
ohci_hcd 0000:00:02.0: roothub.b 00000000 PPCM=0000 DR=0000
ohci_hcd 0000:00:02.0: roothub.status 00008000 DRWE
ohci_hcd 0000:00:02.0: roothub.portstatus [0] 0x00000100 PPS
ohci_hcd 0000:00:02.0: roothub.portstatus [1] 0x00010301 CSC LSDA PPS CCS
ohci_hcd 0000:00:02.0: roothub.portstatus [2] 0x00000100 PPS
ohci_hcd 0000:00:02.0: created debug files
ohci_hcd 0000:00:02.0: supports USB remote wakeup
usb usb1: default language 0x0409
usb usb1: new device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: OHCI Host Controller
usb usb1: Manufacturer: Linux 2.6.14-rc3-git2 ohci_hcd
usb usb1: SerialNumber: 0000:00:02.0
usb usb1: hotplug
usb usb1: adding 1-0:1.0 (config #1, interface 0)
usb 1-0:1.0: 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: no power switching (usb 1.0)
hub 1-0:1.0: global over-current protection
hub 1-0:1.0: power on to power good time: 2ms
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: state 5 ports 3 chg 0000 evt 0000
ohci_hcd 0000:00:02.0: GetStatus roothub.portstatus [1] = 0x00010301 CSC LSDA PPS CCS
hub 1-0:1.0: port 2, status 0301, change 0001, 1.5 Mb/s
ACPI: PCI Interrupt 0000:00:03.0[A] -> Link [LNKU] -> GSI 21 (level, high) -> IRQ 18
PCI: Setting latency timer of device 0000:00:03.0 to 64
ohci_hcd 0000:00:03.0: OHCI Host Controller
ohci_hcd 0000:00:03.0: new USB bus registered, assigned bus number 2
ohci_hcd 0000:00:03.0: irq 18, io mem 0xee000000
ohci_hcd 0000:00:03.0: resetting from state 'reset', control = 0x600
Unable to handle kernel NULL pointer dereference at virtual address 00000024
printing eip:
d0b24b7f
*pde = 00000000
Oops: 0002 [#1]
PREEMPT
Modules linked in: ohci_hcd snd_pcm_oss snd_mixer_oss snd_seq_oss snd_virmidi snd_seq_virmidi snd_rawmidi snd_seq_midi_event snd_seq snd_seq_device snd_intel8x0 snd_ac97_codec snd_ac97_bus snd_pcm snd_timer snd soundcore snd_page_alloc nvidia_agp agpgart usbcore realtime commoncap fuse 8139too ide_cd
CPU: 0
EIP: 0060:[<d0b24b7f>] Not tainted VLI
EFLAGS: 00010203 (2.6.14-rc3-git2)
EIP is at usb_lock_device+0xf/0x20 [usbcore]
eax: d0b44004 ebx: cf4d7800 ecx: c1276750 edx: 00000000
esi: 00000206 edi: cf4d7b08 ebp: c1276740 esp: cff03f38
ds: 007b es: 007b ss: 0068
Process events/0 (pid: 3, threadinfo=cff02000 task=c1268030)
Stack: d0c067db cf4d7b04 c012ab8e 00000000 00000000 c1268a50 cff02000 c1276758
c1276748 c1276750 cff02000 cf4d7800 d0c067d0 cff02000 ffffffff ffffffff
00000001 00000000 c01178d0 00010000 00000000 c1268a50 00000000 cff9ff68
Call Trace:
[<d0c067db>] ohci_rh_resume+0xb/0x20 [ohci_hcd]
[<c012ab8e>] worker_thread+0x1ae/0x280
[<d0c067d0>] ohci_rh_resume+0x0/0x20 [ohci_hcd]
[<c01178d0>] default_wake_function+0x0/0x10
[<c01178d0>] default_wake_function+0x0/0x10
[<c012a9e0>] worker_thread+0x0/0x280
[<c012ec35>] kthread+0x95/0xd0
[<c012eba0>] kthread+0x0/0xd0
[<c0101375>] kernel_thread_helper+0x5/0x10
Code: 83 c0 14 e9 b4 0e 76 ef 8d 74 26 00 f3 c3 8d b4 26 00 00 00 00 8d bc 27 00 00 00 00 89 c2 b8 04 40 b4 d0 ff 00 0f 88 57 05 00 00 <ff> 4a 24 0f 88 5c 05 00 00 c3 8d b4 26 00 00 00 00 53 89 c1 bb
<7>ohci_hcd 0000:00:03.0: OHCI controller state
ohci_hcd 0000:00:03.0: OHCI 1.0, NO legacy support registers
ohci_hcd 0000:00:03.0: control 0x683 RWE RWC HCFS=operational CBSR=3
ohci_hcd 0000:00:03.0: cmdstatus 0x00000 SOC=0
ohci_hcd 0000:00:03.0: intrstatus 0x00000044 RHSC SF
ohci_hcd 0000:00:03.0: intrenable 0x8000000a MIE RD WDH
ohci_hcd 0000:00:03.0: fminterval a7782edf
ohci_hcd 0000:00:03.0: hcca frame #0004
ohci_hcd 0000:00:03.0: roothub.a 01000203 POTPGT=1 NPS NDP=3(3)
ohci_hcd 0000:00:03.0: roothub.b 00000000 PPCM=0000 DR=0000
ohci_hcd 0000:00:03.0: roothub.status 00008000 DRWE
ohci_hcd 0000:00:03.0: roothub.portstatus [0] 0x00000100 PPS
ohci_hcd 0000:00:03.0: roothub.portstatus [1] 0x00000100 PPS
ohci_hcd 0000:00:03.0: roothub.portstatus [2] 0x00010101 CSC PPS CCS
ohci_hcd 0000:00:03.0: created debug files
ohci_hcd 0000:00:03.0: supports USB remote wakeup
usb usb2: default language 0x0409
usb usb2: new device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: OHCI Host Controller
usb usb2: Manufacturer: Linux 2.6.14-rc3-git2 ohci_hcd
usb usb2: SerialNumber: 0000:00:03.0
usb usb2: hotplug
usb usb2: adding 2-0:1.0 (config #1, interface 0)
usb 2-0:1.0: 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: 3 ports detected
hub 2-0:1.0: standalone hub
hub 2-0:1.0: no power switching (usb 1.0)
hub 2-0:1.0: global over-current protection
hub 2-0:1.0: power on to power good time: 2ms
hub 2-0:1.0: local power source is good
hub 2-0:1.0: no over-current condition exists
hub 1-0:1.0: debounce: port 2: total 100ms stable 100ms status 0x301
ohci_hcd 0000:00:02.0: GetStatus roothub.portstatus [1] = 0x00100303 PRSC LSDA PPS PES CCS
usb 1-2: new low speed USB device using ohci_hcd and address 2
ohci_hcd 0000:00:02.0: GetStatus roothub.portstatus [1] = 0x00100303 PRSC LSDA PPS PES CCS
usb 1-2: skipped 1 descriptor after interface
usb 1-2: default language 0x0409
usb 1-2: new device strings: Mfr=1, Product=2, SerialNumber=0
usb 1-2: Product: Microsoft IntelliMouse® Explorer
usb 1-2: Manufacturer: Microsoft
usb 1-2: hotplug
usb 1-2: adding 1-2:1.0 (config #1, interface 0)
usb 1-2:1.0: hotplug
hub 2-0:1.0: state 5 ports 3 chg 0000 evt 0008
ohci_hcd 0000:00:03.0: GetStatus roothub.portstatus [2] = 0x00010101 CSC PPS CCS
hub 2-0:1.0: port 3, status 0101, change 0001, 12 Mb/s
hub 2-0:1.0: debounce: port 3: total 100ms stable 100ms status 0x101
ohci_hcd 0000:00:03.0: GetStatus roothub.portstatus [2] = 0x00100103 PRSC PPS PES CCS
usb 2-3: new full speed USB device using ohci_hcd and address 2
ohci_hcd 0000:00:03.0: GetStatus roothub.portstatus [2] = 0x00100103 PRSC PPS PES CCS
usb 2-3: ep0 maxpacket = 16
usb 2-3: default language 0x0409
usb 2-3: new device strings: Mfr=1, Product=2, SerialNumber=5
usb 2-3: Product: TARGA 6in1 reader
usb 2-3: Manufacturer: SCM Microsystems Inc.
usb 2-3: SerialNumber: 00000000094C
usb 2-3: hotplug
usb 2-3: adding 2-3:1.0 (config #1, interface 0)
usb 2-3:1.0: hotplug
hub 1-0:1.0: state 5 ports 3 chg 0000 evt 0004
hub 2-0:1.0: state 5 ports 3 chg 0000 evt 0008