Greg KH wrote:
On Tue, Oct 21, 2003 at 01:26:21PM +0100, Jon Wilson wrote:
# This gives me the following in dmesg, and an oops (attached)
hub 1-0:1.0: port 2, status 100, change 3, 12 Mb/s
usb 1-2: USB disconnect, address 2
usb 1-2: usb_disable_device nuking all URBs
usb 1-2: unregistering interface
Unable to handle kernel NULL pointer dereference at virtual address 0000000c
printing eip:
c016fc95
*pde = 36b3e067
Care to send the whole oops message?
thanks,
greg k-h
Attached. Apologies!
Linux version 2.6.0-test8 ([EMAIL PROTECTED]) (gcc version 3.2.3 20030422 (Gentoo
Linux 1.4 3.2.3-r2, propolice)) #1 SMP Tue Oct 21 11:43:27 BST 2003
Video mode to be used for restore is ffff
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 0000000040000000 (usable)
BIOS-e820: 00000000fec00000 - 00000000fed00000 (reserved)
BIOS-e820: 00000000fee00000 - 00000000fef00000 (reserved)
BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)
128MB HIGHMEM available.
896MB LOWMEM available.
found SMP MP-table at 000f6050
hm, page 000f6000 reserved twice.
hm, page 000f7000 reserved twice.
hm, page 000f6000 reserved twice.
hm, page 000f7000 reserved twice.
On node 0 totalpages: 262144
DMA zone: 4096 pages, LIFO batch:1
Normal zone: 225280 pages, LIFO batch:16
HighMem zone: 32768 pages, LIFO batch:8
DMI not present.
ACPI: RSDP (v000 COMPAQ ) @ 0x000ec010
ACPI: RSDT (v001 COMPAQ LAREDO 0x00000001 0x00000000) @ 0x000ec080
ACPI: FADT (v001 COMPAQ LAREDO 0x00000001 0x00000000) @ 0x000ec0cc
ACPI: MADT (v001 COMPAQ LAREDO 0x00000001 0x00000000) @ 0x000ec140
ACPI: SSDT (v001 COMPAQ VILLTBL1 0x00000001 MSFT 0x0100000a) @ 0x000ecc72
ACPI: SSDT (v001 COMPAQ PNP_PRSS 0x00000001 MSFT 0x0100000a) @ 0x000ed8b4
ACPI: DSDT (v001 COMPAQ DSDT 0x00000001 MSFT 0x0100000a) @ 0x00000000
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
Processor #0 6:7 APIC version 17
ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] enabled)
Processor #1 6:7 APIC version 17
ACPI: IOAPIC (id[0x08] address[0xfec00000] global_irq_base[0x0])
IOAPIC[0]: Assigned apic_id 8
IOAPIC[0]: apic_id 8, version 17, address 0xfec00000, IRQ 0-23
ACPI: INT_SRC_OVR (bus[0] irq[0x0] global_irq[0x2] polarity[0x0] trigger[0x0])
Enabling APIC mode: Flat. Using 1 I/O APICs
Using ACPI (MADT) for SMP configuration information
Building zonelist for node : 0
Kernel command line: root=/dev/sda1
Initializing CPU#0
PID hash table entries: 4096 (order 12: 32768 bytes)
Detected 596.964 MHz processor.
Console: colour VGA+ 80x25
Memory: 1033168k/1048576k available (2413k kernel code, 14444k reserved, 935k data,
172k init, 131072k highmem)
Calibrating delay loop... 1179.64 BogoMIPS
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU: After generic identify, caps: 0383fbff 00000000 00000000 00000000
CPU: After vendor identify, caps: 0383fbff 00000000 00000000 00000000
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 512K
CPU: After all inits, caps: 0383fbff 00000000 00000000 00000040
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
CPU0: Intel Pentium III (Katmai) stepping 03
per-CPU timeslice cutoff: 1462.77 usecs.
task migration cache decay timeout: 2 msecs.
enabled ExtINT on CPU#0
ESR value before enabling vector: 00000000
ESR value after enabling vector: 00000000
Booting processor 1/0 eip 3000
Initializing CPU#1
masked ExtINT on CPU#1
ESR value before enabling vector: 00000000
ESR value after enabling vector: 00000000
Calibrating delay loop... 1187.84 BogoMIPS
CPU: After generic identify, caps: 0383fbff 00000000 00000000 00000000
CPU: After vendor identify, caps: 0383fbff 00000000 00000000 00000000
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 512K
CPU: After all inits, caps: 0383fbff 00000000 00000000 00000040
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#1.
CPU1: Intel Pentium III (Katmai) stepping 03
Total of 2 processors activated (2367.48 BogoMIPS).
ENABLING IO-APIC IRQs
init IO_APIC IRQs
IO-APIC (apicid-pin) 8-0, 8-16, 8-17, 8-18, 8-19, 8-20, 8-21, 8-22, 8-23 not
connected.
..TIMER: vector=0x31 pin1=2 pin2=-1
number of MP IRQ sources: 15.
number of IO-APIC #8 registers: 24.
testing the IO APIC.......................
IO APIC #8......
.... register #00: 08000000
....... : physical APIC id: 08
....... : Delivery Type: 0
....... : LTS : 0
.... register #01: 00170011
....... : max redirection entries: 0017
....... : PRQ implemented: 0
....... : IO APIC version: 0011
.... register #02: 00000000
....... : arbitration: 00
.... IRQ redirection table:
NR Log Phy Mask Trig IRR Pol Stat Dest Deli Vect:
00 000 00 1 0 0 0 0 0 0 00
01 001 01 0 0 0 0 0 1 1 39
02 001 01 0 0 0 0 0 1 1 31
03 001 01 0 0 0 0 0 1 1 41
04 001 01 0 0 0 0 0 1 1 49
05 001 01 0 0 0 0 0 1 1 51
06 001 01 0 0 0 0 0 1 1 59
07 001 01 0 0 0 0 0 1 1 61
08 001 01 0 0 0 0 0 1 1 69
09 001 01 0 0 0 0 0 1 1 71
0a 001 01 0 0 0 0 0 1 1 79
0b 001 01 0 0 0 0 0 1 1 81
0c 001 01 0 0 0 0 0 1 1 89
0d 001 01 0 0 0 0 0 1 1 91
0e 001 01 0 0 0 0 0 1 1 99
0f 001 01 0 0 0 0 0 1 1 A1
10 000 00 1 0 0 0 0 0 0 00
11 000 00 1 0 0 0 0 0 0 00
12 000 00 1 0 0 0 0 0 0 00
13 000 00 1 0 0 0 0 0 0 00
14 000 00 1 0 0 0 0 0 0 00
15 000 00 1 0 0 0 0 0 0 00
16 000 00 1 0 0 0 0 0 0 00
17 000 00 1 0 0 0 0 0 0 00
IRQ to pin mappings:
IRQ0 -> 0:2
IRQ1 -> 0:1
IRQ3 -> 0:3
IRQ4 -> 0:4
IRQ5 -> 0:5
IRQ6 -> 0:6
IRQ7 -> 0:7
IRQ8 -> 0:8
IRQ9 -> 0:9
IRQ10 -> 0:10
IRQ11 -> 0:11
IRQ12 -> 0:12
IRQ13 -> 0:13
IRQ14 -> 0:14
IRQ15 -> 0:15
.................................... done.
Using local APIC timer interrupts.
calibrating APIC timer ...
..... CPU clock speed is 596.0817 MHz.
..... host bus clock speed is 99.0469 MHz.
checking TSC synchronization across 2 CPUs: passed.
Starting migration thread for cpu 0
Bringing up 1
CPU 1 IS NOW UP!
Starting migration thread for cpu 1
CPUS done 8
NET: Registered protocol family 16
PCI: PCI BIOS revision 2.10 entry at 0xe1227, last bus=1
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
mtrr: your CPUs had inconsistent fixed MTRR settings
mtrr: probably your BIOS does not setup all CPUs.
mtrr: corrected configuration.
ACPI: Subsystem revision 20031002
ACPI: Interpreter enabled
ACPI: Using IOAPIC for interrupt routing
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 10 *11 12 14 15)
ACPI: PCI Root Bridge [PCI0] (00:00)
PCI: Probing PCI hardware (bus 00)
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
Linux Plug and Play Support v0.97 (c) Adam Belay
SCSI subsystem initialized
Linux Kernel Card Services
options: [pci] [pm]
IOAPIC[0]: Set PCI routing entry (8-16 -> 0xa9 -> IRQ 16 Mode:1 Active:1)
00:00:10[A] -> 8-16 -> IRQ 16
IOAPIC[0]: Set PCI routing entry (8-17 -> 0xb1 -> IRQ 17 Mode:1 Active:1)
00:00:10[B] -> 8-17 -> IRQ 17
IOAPIC[0]: Set PCI routing entry (8-18 -> 0xb9 -> IRQ 18 Mode:1 Active:1)
00:00:10[C] -> 8-18 -> IRQ 18
IOAPIC[0]: Set PCI routing entry (8-19 -> 0xc1 -> IRQ 19 Mode:1 Active:1)
00:00:10[D] -> 8-19 -> IRQ 19
Pin 8-18 already programmed
Pin 8-19 already programmed
Pin 8-16 already programmed
Pin 8-17 already programmed
Pin 8-19 already programmed
Pin 8-16 already programmed
Pin 8-17 already programmed
Pin 8-18 already programmed
Pin 8-17 already programmed
Pin 8-18 already programmed
Pin 8-19 already programmed
Pin 8-16 already programmed
IOAPIC[0]: Set PCI routing entry (8-22 -> 0xc9 -> IRQ 22 Mode:1 Active:1)
00:00:01[A] -> 8-22 -> IRQ 22
IOAPIC[0]: Set PCI routing entry (8-23 -> 0xd1 -> IRQ 23 Mode:1 Active:1)
00:00:01[B] -> 8-23 -> IRQ 23
Pin 8-19 already programmed
Pin 8-19 already programmed
IOAPIC[0]: Set PCI routing entry (8-20 -> 0xd9 -> IRQ 20 Mode:1 Active:1)
00:00:0c[A] -> 8-20 -> IRQ 20
IOAPIC[0]: Set PCI routing entry (8-21 -> 0xe1 -> IRQ 21 Mode:1 Active:1)
00:00:0b[A] -> 8-21 -> IRQ 21
PCI: Using ACPI for IRQ routing
PCI: if you experience problems, try using option 'pci=noacpi' or even 'acpi=off'
Starting balanced_irq
ikconfig 0.7 with /proc/config*
highmem bounce pool size: 64 pages
devfs: v1.22 (20021013) Richard Gooch ([EMAIL PROTECTED])
devfs: boot_options: 0x0
Installing knfsd (copyright (C) 1996 [EMAIL PROTECTED]).
Limiting direct PCI/PCI transfers.
ACPI: Power Button (CM) [PBTN]
ACPI: Processor [CPU0] (supports C1)
ACPI: Processor [CPU1] (supports C1)
isapnp: Scanning for PnP cards...
isapnp: Card 'ESS ES1869 Plug and Play AudioDrive'
isapnp: 1 Plug & Play card detected total
pty: 256 Unix98 ptys configured
Real Time Clock Driver v1.12
Linux agpgart interface v0.100 (c) Dave Jones
agpgart: Detected an Intel 440BX Chipset.
agpgart: Maximum main memory to use for agp memory: 942M
agpgart: AGP aperture is 64M @ 0x5c000000
[drm] Initialized tdfx 1.0.0 20010216 on minor 0
[drm] Initialized r128 2.5.0 20030725 on minor 1
Serial: 8250/16550 driver $Revision: 1.90 $ 8 ports, IRQ sharing disabled
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a NS16550A
Using anticipatory io scheduler
Floppy drive(s): fd0 is 1.44M
FDC 0 is a National Semiconductor PC87306
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
Intel(R) PRO/100 Network Driver - version 2.3.30-k1
Copyright (c) 2003 Intel Corporation
e100: selftest OK.
e100: eth0: Intel(R) PRO/100 Network Connection
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
PIIX4: IDE controller at PCI slot 0000:00:14.1
PIIX4: chipset revision 1
PIIX4: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0x6440-0x6447, BIOS settings: hda:pio, hdb:pio
ide1: BM-DMA at 0x6448-0x644f, BIOS settings: hdc:DMA, hdd:pio
hdc: HL-DT-STDVD-ROM GDR8161B, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
hdc: ATAPI 48X DVD-ROM drive, 256kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.12
sym0: <875> rev 0x4 at pci 0000:00:0b.0 irq 21
sym0: No NVRAM, ID 7, Fast-20, SE, parity checking
sym0: SCSI BUS has been reset.
scsi0 : sym-2.1.18b
Vendor: COMPAQ Model: BD018745A3 Rev: B005
Type: Direct-Access ANSI SCSI revision: 02
sym0:0:0: tagged command queuing enabled, command queue depth 16.
Vendor: YAMAHA Model: CRW2100S Rev: 1.0H
Type: CD-ROM ANSI SCSI revision: 02
sym0:0: FAST-20 WIDE SCSI 40.0 MB/s ST (50.0 ns, offset 15)
SCSI device sda: 35565080 512-byte hdwr sectors (18209 MB)
SCSI device sda: drive cache: write back
/dev/scsi/host0/bus0/target0/lun0: p1 p2
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
sym0:4: FAST-20 SCSI 20.0 MB/s ST (50.0 ns, offset 7)
sr0: scsi3-mmc drive: 40x/40x writer cd/rw xa/form2 cdda tray
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 4, lun 0
Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0, type 0
Attached scsi generic sg1 at scsi0, channel 0, id 4, lun 0, type 5
mice: PS/2 mouse device common for all mice
input: ImExPS/2 Generic Explorer Mouse on isa0060/serio1
serio: i8042 AUX port at 0x60,0x64 irq 12
input: AT Translated Set 2 keyboard on isa0060/serio0
serio: i8042 KBD port at 0x60,0x64 irq 1
NET: Registered protocol family 2
IP: routing cache hash table of 8192 buckets, 64Kbytes
TCP: Hash tables configured (established 262144 bind 65536)
NET: Registered protocol family 1
NET: Registered protocol family 17
ACPI: (supports S0 S1 S4 S5)
EXT3-fs: INFO: recovery required on readonly filesystem.
EXT3-fs: write access will be enabled during recovery.
kjournald starting. Commit interval 5 seconds
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 172k freed
EXT3 FS on sda1, internal journal
drivers/usb/core/usb.c: registered new driver usbfs
drivers/usb/core/usb.c: registered new driver hub
pnp: Device 00:01.00 activated.
pnp: Device 00:01.01 activated.
ipv6: Unknown symbol __secpath_destroy
ipv6: Unknown symbol __secpath_destroy
e100: eth0 NIC Link is Up 100 Mbps Full duplex
drivers/usb/host/uhci-hcd.c: USB Universal Host Controller Interface driver v2.1
uhci_hcd 0000:00:14.2: UHCI Host Controller
uhci_hcd 0000:00:14.2: irq 19, io base 00006420
uhci_hcd 0000:00:14.2: new USB bus registered, assigned bus number 1
drivers/usb/host/uhci-hcd.c: detected 2 ports
uhci_hcd 0000:00:14.2: root hub device address 1
usb usb1: new device strings: Mfr=3, Product=2, SerialNumber=1
drivers/usb/core/message.c: USB device number 1 default language ID 0x409
usb usb1: Product: UHCI Host Controller
usb usb1: Manufacturer: Linux 2.6.0-test8 uhci_hcd
usb usb1: SerialNumber: 0000:00:14.2
drivers/usb/core/usb.c: usb_hotplug
usb usb1: registering 1-0:1.0 (config #1, interface 0)
drivers/usb/core/usb.c: usb_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: 2 ports detected
hub 1-0:1.0: standalone hub
hub 1-0:1.0: ganged power switching
hub 1-0:1.0: global over-current protection
hub 1-0:1.0: Port indicators are not supported
hub 1-0:1.0: power on to power good time: 2ms
hub 1-0:1.0: hub controller current requirement: 0mA
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: enabling power on all ports
drivers/usb/host/uhci-hcd.c: 6420: suspend_hc
process `named' is using obsolete setsockopt SO_BSDCOMPAT
process `named' is using obsolete setsockopt SO_BSDCOMPAT
process `named' is using obsolete setsockopt SO_BSDCOMPAT
process `named' is using obsolete setsockopt SO_BSDCOMPAT
process `named' is using obsolete setsockopt SO_BSDCOMPAT
process `named' is using obsolete setsockopt SO_BSDCOMPAT
agpgart: Found an AGP 1.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V2 device at 0000:00:00.0 into 1x mode
agpgart: Putting AGP V2 device at 0000:01:00.0 into 1x mode
cdrom: This disc doesn't have any tracks I recognize!
Oops: 0000 [#1]
CPU: 1
EIP: 0060:[<c016fc95>] Not tainted
EFLAGS: 00010292
EIP is at __lookup_hash+0x15/0xd0
eax: 00000000 ebx: 12fd28db ecx: ffffffff edx: 01b9ec71
esi: c0403a00 edi: 00000000 ebp: f76d3e44 esp: f76d3e2c
ds: 007b es: 007b ss: 0068
Process khubd (pid: 2446, threadinfo=f76d2000 task=f76ea0e0)
Stack: 00000000 f76d3e90 ffffffff 12fd28db c0403a00 c0389d60 f76d3e58 c016fd70
f76d3e6c 00000000 00000000 f76d3e84 c0198782 f76d3e6c 00000000 f76d3e8c
c0389d5b 00000005 12fd28db 00000000 f46827d4 f70bb400 f76d3e9c c0199e90
Call Trace:
[<c016fd70>] lookup_hash+0x20/0x30
[<c0198782>] sysfs_get_dentry+0x62/0x70
[<c0199e90>] sysfs_remove_group+0x60/0x70
[<c02775cc>] dpm_sysfs_remove+0x1c/0x20
[<c0276fe7>] device_pm_remove+0x27/0x73
[<c0274697>] device_del+0x67/0xa0
[<f882da0d>] usb_disable_device+0xdd/0x120 [usbcore]
[<f8826e36>] usb_disconnect+0xa6/0x140 [usbcore]
[<f8829d14>] hub_port_connect_change+0x394/0x3a0 [usbcore]
[<f882a16f>] hub_events+0x44f/0x4f0 [usbcore]
[<f882a245>] hub_thread+0x35/0x110 [usbcore]
[<c0120dd0>] default_wake_function+0x0/0x30
[<f882a210>] hub_thread+0x0/0x110 [usbcore]
[<c01092fd>] kernel_thread_helper+0x5/0x18
Code: 8b 77 0c 89 44 24 08 c7 44 24 04 01 00 00 00 89 34 24 e8 f4
<7>d