USB-related Oops in test12
This Oops happened with mutt as the only active user process.
I'd been using uhci for a while with test kernels, as usb-uhci had been oopsing on first mouse use. However, with test12 I found a problem with uhci:
Dec 13 12:13:24 bloch kernel: PCI: Found IRQ 5 for device 00:07.2 Dec 13 12:13:24 bloch kernel: PCI: The same IRQ used for device 00:07.3 Dec 13 12:13:24 bloch kernel: PCI: The same IRQ used for device 00:08.0 Dec 13 12:13:24 bloch kernel: uhci.c: USB UHCI at I/O 0xc400, IRQ 5 Dec 13 12:13:24 bloch kernel: uhci.c: detected 2 ports Dec 13 12:13:24 bloch kernel: usb.c: new USB bus registered, assigned bus number 1 Dec 13 12:13:24 bloch kernel: uhci: host controller process error. something bad happened Dec 13 12:13:24 bloch kernel: uhci: host controller halted. very bad Dec 13 12:13:24 bloch kernel: Product: USB UHCI-alt Root Hub Dec 13 12:13:24 bloch kernel: SerialNumber: c400 Dec 13 12:13:24 bloch kernel: hub.c: USB hub found Dec 13 12:13:24 bloch kernel: hub.c: 2 ports detected Dec 13 12:13:24 bloch kernel: PCI: Found IRQ 5 for device 00:07.3 Dec 13 12:13:24 bloch kernel: PCI: The same IRQ used for device 00:07.2 Dec 13 12:13:24 bloch kernel: PCI: The same IRQ used for device 00:08.0 Dec 13 12:13:24 bloch kernel: uhci.c: USB UHCI at I/O 0xc800, IRQ 5 Dec 13 12:13:24 bloch kernel: uhci.c: detected 2 ports Dec 13 12:13:24 bloch kernel: usb.c: new USB bus registered, assigned bus number 2 Dec 13 12:13:24 bloch kernel: uhci: host controller halted. very bad Dec 13 12:13:24 bloch kernel: uhci: host controller process error. something bad happened Dec 13 12:13:24 bloch kernel: uhci: host controller halted. very bad Dec 13 12:13:24 bloch kernel: Product: USB UHCI-alt Root Hub Dec 13 12:13:24 bloch kernel: SerialNumber: c800 Dec 13 12:13:24 bloch kernel: hub.c: USB hub found Dec 13 12:13:24 bloch kernel: hub.c: 2 ports detected Dec 13 12:13:24 bloch kernel: hub.c: USB new device connect on bus1/1, assigned device number 3 Dec 13 12:13:24 bloch kernel: usb_control/bulk_msg: timeout Dec 13 12:13:24 bloch kernel: usb.c: USB device not accepting new address=3 (error=-110) Dec 13 12:13:24 bloch kernel: hub.c: USB new device connect on bus1/1, assigned device number 4 Dec 13 12:13:24 bloch kernel: PCI: Found IRQ 5 for device 00:08.0 Dec 13 12:13:24 bloch kernel: PCI: The same IRQ used for device 00:07.2 Dec 13 12:13:24 bloch kernel: PCI: The same IRQ used for device 00:07.3 Dec 13 12:13:24 bloch kernel: usb_control/bulk_msg: timeout Dec 13 12:13:24 bloch kernel: usb.c: USB device not accepting new
address=4 (error=-110)
so I switched back to usb-uhci
Those PCI messages are new with test 12 - the USB controller shares an IRQ with an SB Live card. That hadn't caused a problem previously.
Here is the ksymoops output:
ksymoops 2.3.4 on i686 2.4.0-test12. Options used
-V (default)
-k /proc/ksyms (default)
-l /proc/modules (default)
-o /lib/modules/2.4.0-test12/ (default) -m /boot/System.map-2.4.0-test12 (specified)
Warning (compare_maps): snd symbol pm_register not found in /lib/modules/2.4.0-test12/misc/snd.o. Ignoring /lib/modules/2.4.0-test12/misc/snd.o entry Warning (compare_maps): snd symbol pm_send not found in /lib/modules/2.4.0-test12/misc/snd.o. Ignoring /lib/modules/2.4.0-test12/misc/snd.o entry Warning (compare_maps): snd symbol pm_unregister not found in /lib/modules/2.4.0-test12/misc/snd.o. Ignoring /lib/modules/2.4.0-test12/misc/snd.o entry
Unable to handle kernel NULL pointer dereference at virtual address 0000000c *pde = 00000000 Oops: 0000 CPU: 0 EIP: 0010:[<d086734b>]
Using defaults from ksymoops -t elf32-i386 -a i386
EFLAGS: 00010246
eax: 00000000 ebx: 00e08269 ecx: 00888105 edx: 0000000c
esi: 00000004 edi: cfa84c40 ebp: cfabeb00 esp: c0259ec8
ds: 0018 es: 0018 ss: 0018
Process swapper (pid: 0, stackpage=c0259000)
Stack: 00000000 cfabeb24 cfabc180 cff28cc0 cfa84c40 cff28cdc 00000000 d0867639
cff28cc0 cfa84c40 00000020 00000002 00000000 cff28cdc cff28cc0 cff28cdc
00000000 d0867848 cff28cc0 cfa84c48 00000000 cfef0001 00000000 c02a7480
Call Trace: [<d0867639>] [<d0867848>] [<c010c1bf>] [<c010c342>] [<c010afb0>] [<c01c3e62>] [<c01c3b80>]
[<c0109150>] [<c01c3b80>] [<c011fc01>] [<c01091d8>] [<c0105000>] [<c0100191>]
Code: 8b 04 82 c1 e9 08 83 e1 0f d3 e8 83 e0 01 c1 e0 13 09 45 08Quoted 1 line
Quoted 1 line
EIP;
d086734b<[usb-uhci]process_interrupt+10b/1f0> <=====
Trace; d0867639 <[usb-uhci]process_urb+79/1f0> Trace; d0867848 <[usb-uhci]uhci_interrupt+98/100> Trace; c010c1bf <handle_IRQ_event+2f/60> Trace; c010c342 <do_IRQ+72/c0>
Trace; c010afb0 <ret_from_intr+0/20>
Trace; c01c3e62 <acpi_idle+2e2/330>
Trace; c01c3b80 <acpi_idle+0/330>
Trace; c0109150 <default_idle+0/30>
Trace; c01c3b80 <acpi_idle+0/330>
Trace; c011fc01 <check_pgt_cache+11/20> Trace; c01091d8 <cpu_idle+38/50>
Trace; c0105000 <empty_bad_page+0/1000> Trace; c0100191 <L6+0/2>
Code; d086734b <[usb-uhci]process_interrupt+10b/1f0> 00000000 <_EIP>:
Code; d086734b <[usb-uhci]process_interrupt+10b/1f0> <=====
0: 8b 04 82 mov (%edx,%eax,4),%eax <=====
Code; d086734e <[usb-uhci]process_interrupt+10e/1f0>
3: c1 e9 08 shr $0x8,%ecx
Code; d0867351 <[usb-uhci]process_interrupt+111/1f0>
6: 83 e1 0f and $0xf,%ecx
Code; d0867354 <[usb-uhci]process_interrupt+114/1f0>
9: d3 e8 shr %cl,%eax
Code; d0867356 <[usb-uhci]process_interrupt+116/1f0>
b: 83 e0 01 and $0x1,%eax
Code; d0867359 <[usb-uhci]process_interrupt+119/1f0>
e: c1 e0 13 shl $0x13,%eax
Code; d086735c <[usb-uhci]process_interrupt+11c/1f0>
11: 09 45 08 or %eax,0x8(%ebp)
Aiee, killing interrupt handler
Kernel panic: Attempted to kill the idle task!
3 warnings issued. Results may not be reliable.
Here is the USB and ACPI output from dmesg:
ACPI: support found
ACPI: PBLK 1 @ 0x4010:0
-0196: *** Error: Sleep State package elements are not both of type Number
ACPI: S1 supported
ACPI: S5 supported
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 192k freed
Adding Swap: 248968k swap-space (priority -1)usb.c: registered new driver usbdevfsusb.c: registered new driver hubusb-uhci.c: $Revision: 1.251 $ time 02:09:53 Dec 13 2000usb-uhci.c: High bandwidth mode enabled
PCI: Found IRQ 5 for device 00:07.2
PCI: The same IRQ used for device 00:07.3
PCI: The same IRQ used for device 00:08.0usb-uhci.c: USB UHCI at I/O 0xc400, IRQ 5usb-uhci.c: Detected 2 portsusb.c: new USB bus registered, assigned bus number 1usb.c: kmalloc IF c14c4dc0, numif 1usb.c: new device strings: Mfr=0, Product=2, SerialNumber=1usb.c: USB device number 1 default language ID 0x0
Product: USB UHCI Root Hub
SerialNumber: c400hub.c: USB hub foundhub.c: 2 ports detectedhub.c: standalone hubhub.c: ganged power switchinghub.c: global over-current protectionhub.c: power on to power good time: 2mshub.c: hub controller current requirement: 0mAhub.c: port removable status: RRhub.c: local power source is goodhub.c: no over-current condition existshub.c: enabling power on all portsusb.c: hub driver claimed interface c14c4dc0usb.c: kusbd: /sbin/hotplug add 1usb.c: kusbd policy returned 0xfffffffe
PCI: Found IRQ 5 for device 00:07.3
PCI: The same IRQ used for device 00:07.2
PCI: The same IRQ used for device 00:08.0usb-uhci.c: USB UHCI at I/O 0xc800, IRQ 5usb-uhci.c: Detected 2 portshub.c: port 1 connection changehub.c: port 1, portstatus 301, change 3, 1.5 Mb/shub.c: port 1, portstatus 303, change 0, 1.5 Mb/shub.c: USB new device connect on bus1/1, assigned device number 2 usb.c: new USB bus registered, assigned bus number 2usb.c: kmalloc IF c14c4a40, numif 1usb.c: new device strings: Mfr=0, Product=2, SerialNumber=1usb.c: USB device number 3 default language ID 0x0
Product: USB UHCI Root Hub
SerialNumber: c800hub.c: USB hub foundhub.c: 2 ports detectedhub.c: standalone hubhub.c: ganged power switchinghub.c: global over-current protectionhub.c: power on to power good time: 2mshub.c: hub controller current requirement: 0mAhub.c: port removable status: RRhub.c: local power source is goodhub.c: no over-current condition existshub.c: enabling power on all portsusb.c: hub driver claimed interface c14c4a40usb.c: kusbd: /sbin/hotplug add 3usb.c: kusbd policy returned 0xfffffffeusb.c: kmalloc IF c14c0f40, numif 1usb.c: skipped 1 class/vendor specific interface descriptorsusb.c: new device strings: Mfr=1, Product=2, SerialNumber=0usb.c: USB device number 2 default language ID 0x409
Manufacturer: Logitech
Product: USB-PS/2 Mouse M-BA47usb.c: unhandled interfaces on deviceusb.c: USB device 2 (vend/prod 0x46d/0xc002) is not claimed by any active driver.
Length = 18
DescriptorType = 01
USB version = 1.00
Vendor:Product = 046d:c002
MaxPacketSize0 = 8
NumConfigurations = 1
Device version = 1.20
Device Class:SubClass:Protocol = 00:00:00
Per-interface classes
Configuration:
bLength = 9
bDescriptorType = 02
wTotalLength = 0022
bNumInterfaces = 01
bConfigurationValue = 01
iConfiguration = 00
bmAttributes = a0
MaxPower = 50mA Interface: 0
Alternate Setting: 0
bLength = 9
bDescriptorType = 04
bInterfaceNumber = 00
bAlternateSetting = 00
bNumEndpoints = 01 bInterface Class:SubClass:Protocol = 03:01:02
iInterface = 00
Endpoint:
bLength = 7
bDescriptorType = 05
bEndpointAddress = 81 (in)
bmAttributes = 03 (Interrupt)
wMaxPacketSize = 0008
bInterval = 0ausb.c: kusbd: /sbin/hotplug add 2usb.c: kusbd policy returned 0xfffffffehub.c: port 2 connection changehub.c: port 2, portstatus 300, change 3, 1.5 Mb/shub.c: port 2 enable change, status 300hub.c: port 1 connection changehub.c: port 1, portstatus 300, change 3, 1.5 Mb/shub.c: port 2 connection changehub.c: port 2, portstatus 300, change 3, 1.5 Mb/shub.c: port 1 enable change, status 300hub.c: port 2 enable change, status 300usb.c: registered new driver hid
input0: USB HID v1.00 Mouse [Logitech USB-PS/2 Mouse M-BA47] on usb1:2.0 usb.c: hid driver claimed interface c14c0f40
mouse0: PS/2 mouse device for input0
mice: PS/2 mouse device common for all mice
PCI: Found IRQ 5 for device 00:08.0
PCI: The same IRQ used for device 00:07.2
PCI: The same IRQ used for device 00:07.3
eth0: Setting full-duplex based on MII #32 link partner ability of 45e1.
Athlon 800 on Abit KA7-100 m/b, 256Mb.
Clean test12 tree.
Adam
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
Quoted 31 lines · Adam Huffman
Unable to handle kernel NULL pointer dereference at virtual address 0000000c *pde = 00000000 Oops: 0000 CPU: 0 EIP: 0010:[<d086734b>]Using defaults from ksymoops -t elf32-i386 -a i386
EFLAGS: 00010246
eax: 00000000 ebx:00e08269ecx: 00888105 edx:0000000c
esi: 00000004 edi:cfa84c40ebp:cfabeb00esp:c0259ec8
ds: 0018 es: 0018 ss: 0018
Process swapper (pid: 0, stackpage=c0259000)Stack: 00000000 cfabeb24 cfabc180 cff28cc0 cfa84c40 cff28cdc 00000000 d0867639 cff28cc0 cfa84c40 00000020 00000002 00000000 cff28cdc cff28cc0 cff28cdc 00000000 d0867848 cff28cc0 cfa84c48 00000000 cfef0001 00000000 c02a7480 Call Trace: [<d0867639>] [<d0867848>] [<c010c1bf>] [<c010c342>] [<c010afb0>] [<c01c3e62>] [<c01c3b80>] [<c0109150>] [<c01c3b80>] [<c011fc01>] [<c01091d8>] [<c0105000>] [<c0100191>] Code: 8b 04 82 c1 e9 08 83 e1 0f d3 e8 83 e0 01 c1 e0 13 09 45 08Quoted 1 line
Quoted 1 line
EIP;
d086734b<[usb-uhci]process_interrupt+10b/1f0> <=====Trace;
d0867639<[usb-uhci]process_urb+79/1f0>
Trace;d0867848<[usb-uhci]uhci_interrupt+98/100>
Trace;c010c1bf<handle_IRQ_event+2f/60>
Trace;c010c342<do_IRQ+72/c0>
Trace;c010afb0<ret_from_intr+0/20>
Trace;c01c3e62<acpi_idle+2e2/330>
Trace;c01c3b80<acpi_idle+0/330>
Trace;c0109150<default_idle+0/30>
Trace;c01c3b80<acpi_idle+0/330>
Trace;c011fc01<check_pgt_cache+11/20>
Trace;c01091d8<cpu_idle+38/50>
Quoted 2 lines
Trace;
c0105000<empty_bad_page+0/1000>
Trace;c0100191<L6+0/2>
Once again we have these two symbols on the stack.
Anybody else, who thinks this might be related?
I've seen these two symbols on all ix86-Ooopses with no raid involved.
Does anybody have an idea, why we always see these symbols there?
Is it an common bitmask? L6 (from arch/i386/head.S) is freed after boot AFAICS.
Regards
Ingo Oeser
Signature · 6 lines
10.+11.03.2001 - 3. Chemnitzer LinuxTag <http://www.tu-chemnitz.de/linux/tag>
<<<<<<<<<<<< come and join the fun >>>>>>>>>>>>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/Quoted 6 lines · Ingo Oeser
Quoted 4 lines
Trace;
c01091d8<cpu_idle+38/50>Trace;
c0105000<empty_bad_page+0/1000>
Trace;c0100191<L6+0/2>Once again we have these two symbols on the stack.
Probably spurious. Remember that ix86 show stack prints anything that looks like a kernel address, whether it is a real return address or not, you can get false positives. kdb goes to a _lot_ more work to get a more accurate backtrace and even that sometimes goes wrong. Always assume that any address on an ix86 oops might be irrelevant.
In this case L6 is the return address from start_kernel. start_kernel ends up calling cpu_idle. Everything above cpu_idle will be the interrupt handler, ignore anything below cpu_idle.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/