RE: PROBLEM: 2.3.99-pre8 locks hard on boot

From: Dunlap, Randy (randy.dunlap@intel.com)
Date: Sun May 14 2000 - 13:28:14 EST


Slab poisoning detected problems in both USB UCHI
host controller drivers (usb-uhci.c and uhci.c).
uhci.c was patched in 2.3.99-pre8.
usb-uhci.c patches were just sent to Linus against
2.3.99-pre9-1 for 2.3.99-pre9-X.

They are available in the linux-usb mailing list
archive if you need them right away.
http://electricrain.com/lists/archive/linux-usb/2000/05/msg00513.html
and
http://electricrain.com/lists/archive/linux-usb/2000/05/msg00536.html

~Randy

> -----Original Message-----
> From: Pete Toscano [mailto:ptoscano@netsol.com]
> Sent: Saturday, May 13, 2000 3:47 PM
> To: Linux Kernel List
> Subject: PROBLEM: 2.3.99-pre8 locks hard on boot
>
>
> 1. 2.3.99-pre8 locks hard on boot
>
> 2. every-so-often, when the hard drive is accessed, pre6
> locks hard, so
> i have eagerly been awaiting new pre-releases. unfortunately, pre7
> would always Oops and lock hard on boot. i figured that i'd wait for
> the next version and when pre8 came out, i was very happy to try that.
> well, pre8 is oopsing in the same place.
>
> 3. keywords: lock, boot, usb?
>
> 4. version: 2.3.99-pre8
>
> 5. Output of ksymoops (copied from screen by hand and then
> typed in, so
> there might have been some transcribing errors):
>
> No modules in ksyms, skipping objects
> Unable to handle kernel paging request at virtual address 5a5a5a72
> c019b2c3
> *pde = 00000000
> Oops: 0000
> Cpu: 1
> Eip: 0010:[<c019b2c37>]
> Using defaults from ksymoops -t elf32-i386 -a i386
> EFLAGS: 00010207
> eax: 5a5a5a5a ebx: 5a5a5a46 ecx: 00000246 edx: 5a5a5a5a
> esi: dffe8020 edi: dffc8094 ebp: 00000344 esp: dfff5efc
> ds: dffe8020 es: 0018 ss: 0018
> Stack: dffe903c dffe8020 dffe803c 00000001 c0119e42 dffe8020 00000000
> dff9320
> 04000001 00000020 0000000c d4020437 c010c7a1 0000000c dffe8020
> dfff5f7c
> c02915c4 c0273980 0000000c dfff5f74 c010c986 0000000c dfff5f7c
> dfff9320
> Call Trace: [<c019e442>] [<c010c7a1>] [<c010c986>] [<c0108bc0>]
> [<c0108bc0>] [<c010b1ac>] [<c0108bc0>] [<c0108bc0>] [<c0100018>]
> [<c0108bed>] [<c0108c32>] [<c018d597>] [<c01672be>]
> Code: 39 6b 2c 75 07 83 7c 24 18 00 74 0a 53 56 e8 86 05 00 00 83
>
> >>EIP; c019b2c37 <END_OF_CODE+b41708f27/????> <=====
> Trace; c019e442 <uhci_interrupt+be/e4>
> Trace; c010c7a1 <handle_IRQ_event+4d/78>
> Trace; c010c986 <do_IRQ+a6/f4>
> Trace; c0108bc0 <default_idle+0/34>
> Trace; c0108bc0 <default_idle+0/34>
> Trace; c010b1ac <ret_from_intr+0/20>
> Trace; c0108bc0 <default_idle+0/34>
> Trace; c0108bc0 <default_idle+0/34>
> Trace; c0100018 <startup_32+18/c7>
> Trace; c0108bed <default_idle+2d/34>
> Trace; c0108c32 <cpu_idle+3e/54>
> Trace; c018d597 <vgacon_cursor+197/1a0>
> Trace; c01672be <set_cursor+6e/80>
> Code; 019b2c37 Before first symbol
> 00000000 <_EIP>:
> Code; 019b2c37 Before first symbol
> 0: 39 6b 2c cmp %ebp,0x2c(%ebx)
> Code; 019b2c3a Before first symbol
> 3: 75 07 jne c <_EIP+0xc> 019b2c43 Before
> first symbol
> Code; 019b2c3c Before first symbol
> 5: 83 7c 24 18 00 cmpl $0x0,0x18(%esp,1)
> Code; 019b2c41 Before first symbol
> a: 74 0a je 16 <_EIP+0x16>
> 019b2c4d Before
> first symbol
> Code; 019b2c43 Before first symbol
> c: 53 push %ebx
> Code; 019b2c44 Before first symbol
> d: 56 push %esi
> Code; 019b2c45 Before first symbol
> e: e8 86 05 00 00 call 599 <_EIP+0x599> 019b31d0
> Before first symbol
> Code; 019b2c4a Before first symbol
> 13: 83 00 00 addl $0x0,(%eax)
>
> Aiee, killing interrupt handler
> Kernel panic: Attempted to kill the idle task!
>
> 6. to reproduce: boot the 2.3.99-pre8 kernel
>
> 7. environment
> 7.1 ver_linux output (mind you, i'm booted into pre6 right now):
>
> Linux bubba.toscano.org 2.3.99-pre6 #17 SMP Thu May 11
> 23:50:10 EDT 2000
> i686 unknown
> Kernel modules 2.3.10-pre1
> Gnu C 2.95.2
> Binutils 2.9.5.0.22
> Linux C Library 2.1.3
> Dynamic linker ldd (GNU libc) 2.1.3
> Procps 2.0.6
> Mount 2.10f
> Net-tools 1.54
> Console-tools 0.3.3
> Sh-utils 2.0
> Modules Loaded ide-scsi sr_mod scsi_mod cdrom emu10k1
> soundcore
> agpgart nls_iso8859-1 nls_cp437 vfat fat unix
>
> 7.2 processor: 2x pentium3 600 (plain 600, not 600e, 600b, or 600eb)
>
> 7.3 module info:
> ide-scsi 8532 1 (autoclean)
> sr_mod 12048 1 (autoclean)
> scsi_mod 96056 2 (autoclean) [ide-scsi sr_mod]
> cdrom 26940 0 (autoclean) [sr_mod]
> emu10k1 64444 0
> soundcore 4964 4 (autoclean) [emu10k1]
> agpgart 14484 9 (autoclean)
> nls_iso8859-1 2828 3 (autoclean)
> nls_cp437 4340 3 (autoclean)
> vfat 10636 3 (autoclean)
> fat 33984 0 (autoclean) [vfat]
> unix 22500 134 (autoclean)
>
> 7.4 hardware info:
>
> /proc/ioports
>
> 0000-001f : dma1
> 0020-003f : pic1
> 0040-005f : timer
> 0060-006f : keyboard
> 0080-008f : dma page reg
> 00a0-00bf : pic2
> 00c0-00df : dma2
> 00f0-00ff : fpu
> 0170-0177 : ide3
> 01f0-01f7 : ide2
> 0376-0376 : ide3
> 03c0-03df : vga+
> 03f6-03f6 : ide2
> 9800-981f : Intel Corporation 82557 [Ethernet Pro 100]
> 9800-981f : eepro100
> a000-a03f : Promise Technology, Inc. 20262
> a000-a007 : ide0
> a008-a00f : ide1
> a010-a03f : PDC20262
> a400-a403 : Promise Technology, Inc. 20262
> a402-a402 : ide1
> a800-a807 : Promise Technology, Inc. 20262
> a800-a807 : ide1
> b000-b003 : Promise Technology, Inc. 20262
> b002-b002 : ide0
> b400-b407 : Promise Technology, Inc. 20262
> b400-b407 : ide0
> b800-b807 : Creative Labs SB Live!
> d000-d01f : Creative Labs SB Live! EMU10000
> d000-d01f : EMU10K1
> d400-d41f : Intel Corporation 82371AB PIIX4 USB
> d400-d41f : usb-uhci
> d800-d80f : Intel Corporation 82371AB PIIX4 IDE
> d800-d807 : ide2
> d808-d80f : ide3
> e400-e43f : Intel Corporation 82371AB PIIX4 ACPI
> e400-e403 : acpi
> e404-e405 : acpi
> e408-e40b : acpi
> e40c-e40f : acpi
> e800-e81f : Intel Corporation 82371AB PIIX4 ACPI
>
> /proc/iomem:
>
> 00000000-0009efff : System RAM
> 000a0000-000bffff : Video RAM area
> 000c0000-000c7fff : Video ROM
> 000c8000-000c97ff : Extension ROM
> 000f0000-000fffff : System ROM
> 00100000-1dffffff : System RAM
> 00100000-0023bfff : Kernel code
> 0023c000-00257a3f : Kernel data
> ca800000-ca8fffff : Intel Corporation 82557 [Ethernet Pro 100]
> cb000000-cb01ffff : Promise Technology, Inc. 20262
> cb800000-ccefffff : PCI Bus #01
> cb800000-cbffffff : Matrox Graphics, Inc. MGA G400 AGP
> cc000000-cc003fff : Matrox Graphics, Inc. MGA G400 AGP
> cd000000-cd000fff : Intel Corporation 82557 [Ethernet Pro 100]
> cd000000-cd000fff : eepro100
> cdf00000-cfffffff : PCI Bus #01
> ce000000-cfffffff : Matrox Graphics, Inc. MGA G400 AGP
> d0000000-dfffffff : Intel Corporation 440BX/ZX - 82443BX/ZX
> Host bridge
>
> 7.5 pci info:
> 00:00.0 Host bridge: Intel Corporation 440BX/ZX - 82443BX/ZX
> Host bridge
> (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 set
> Region 0: Memory at d0000000 (32-bit, prefetchable) [size=256M]
> Capabilities: [a0] AGP version 1.0
> Status: RQ=31 SBA+ 64bit- FW- Rate=x1,x2
> Command: RQ=0 SBA+ AGP+ 64bit- FW- Rate=x2
>
> 00:01.0 PCI bridge: Intel Corporation 440BX/ZX - 82443BX/ZX AGP bridge
> (rev 03) (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: 64 set
> Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
> I/O behind bridge: 0000e000-0000dfff
> Memory behind bridge: cb800000-ccefffff
> Prefetchable memory behind bridge: cdf00000-cfffffff
> BridgeCtl: Parity- SERR- NoISA- VGA+ MAbort- >Reset- FastB2B+
>
> 00:04.0 ISA bridge: Intel Corporation 82371AB PIIX4 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 set
>
> 00:04.1 IDE interface: Intel Corporation 82371AB PIIX4 IDE (rev 01)
> (prog-if 80 [Master])
> 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 set
> Region 4: I/O ports at d800 [size=16]
>
> 00:04.2 USB Controller: Intel Corporation 82371AB PIIX4 USB (rev 01)
> (prog-if 00 [UHCI])
> 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 set
> Interrupt: pin D routed to IRQ 12
> Region 4: I/O ports at d400 [size=32]
>
> 00:04.3 Bridge: Intel Corporation 82371AB PIIX4 ACPI (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-
>
> 00:09.0 Multimedia audio controller: Creative Labs SB Live! EMU10000
> (rev 07)
> Subsystem: Creative Labs CT4760 SBLive!
> 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: 2 min, 20 max, 64 set
> Interrupt: pin A routed to IRQ 12
> Region 0: I/O ports at d000 [size=32]
> Capabilities: [dc] Power Management version 1
> Flags: PMEClk- AuxPwr- DSI- D1+ D2+ PME-
> Status: D0 PME-Enable- DSel=0 DScale=0 PME-
>
> 00:09.1 Input device controller: Creative Labs SB Live! (rev 07)
> Subsystem: Creative Labs Gameport Joystick
> 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 set
> Region 0: I/O ports at b800 [size=8]
> Capabilities: [dc] Power Management version 1
> Flags: PMEClk- AuxPwr- DSI- D1+ D2+ PME-
> Status: D0 PME-Enable- DSel=0 DScale=0 PME-
>
> 00:0a.0 Unknown mass storage controller: Promise Technology,
> Inc. 20262
> (rev 01) Subsystem: Promise Technology, Inc.: Unknown device 4d33
> 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 set
> Interrupt: pin A routed to IRQ 10
> Region 0: I/O ports at b400 [size=8]
> Region 1: I/O ports at b000 [size=4]
> Region 2: I/O ports at a800 [size=8]
> Region 3: I/O ports at a400 [size=4]
> Region 4: I/O ports at a000 [size=64]
> Region 5: Memory at cb000000 (32-bit, non-prefetchable)
> [size=128K]
> Expansion ROM at <unassigned> [disabled] [size=64K]
>
> 00:0c.0 Ethernet controller: Intel Corporation 82557
> [Ethernet Pro 100]
> (rev 05) Subsystem: Intel Corporation EtherExpress PRO/100+
> 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: 8 min, 56 max, 64 set, cache line size 08
> Interrupt: pin A routed to IRQ 11
> Region 0: Memory at cd000000 (32-bit, prefetchable) [size=4K]
> Region 1: I/O ports at 9800 [size=32]
> Region 2: Memory at ca800000 (32-bit, non-prefetchable)
> [size=1M]
> Expansion ROM at <unassigned> [disabled] [size=1M]
> Capabilities: [dc] Power Management version 1
> Flags: PMEClk- AuxPwr- DSI+ D1+ D2+ PME+
> Status: D0 PME-Enable- DSel=0 DScale=0 PME-
>
> 01:00.0 VGA compatible controller: Matrox Graphics, Inc. MGA G400 AGP
> (rev 04) (prog-if 00 [VGA])
> Subsystem: Matrox Graphics, Inc. Millennium G400 MAX/Dual Head
> 32Mb
> 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 min, 32 max, 64 set, cache line size 08
> Interrupt: pin A routed to IRQ 11
> Region 0: Memory at ce000000 (32-bit, prefetchable) [size=32M]
> Region 1: Memory at cc000000 (32-bit, non-prefetchable)
> [size=16K]
> Region 2: Memory at cb800000 (32-bit, non-prefetchable)
> [size=8M]
> Expansion ROM at cdff0000 [disabled] [size=64K]
> Capabilities: [dc] Power Management version 2
> Flags: PMEClk- AuxPwr- DSI+ D1- D2- PME-
> Status: D0 PME-Enable- DSel=0 DScale=0 PME-
> Capabilities: [f0] AGP version 2.0
> Status: RQ=31 SBA+ 64bit- FW- Rate=x1,x2
> Command: RQ=31 SBA+ AGP+ 64bit- FW- Rate=x2
>
> 7.6 scsi info (i'm using scsi emulation for my cdr):
>
> Attached devices:
> Host: scsi0 Channel: 00 Id: 00 Lun: 00
> Vendor: HP Model: CD-Writer+ 9100 Rev: 1.0a
> Type: CD-ROM ANSI SCSI revision: 02
> Host: scsi0 Channel: 00 Id: 01 Lun: 00
> Vendor: MATSHITA Model: CD-ROM CR-586 Rev: KS15
> Type: CD-ROM ANSI SCSI revision: 02
>
> 7.7 other info: usb
>
> /proc/bus/usb/devices:
>
> T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
> B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
> D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
> P: Vendor=0000 ProdID=0000 Rev= 0.00
> S: Product=USB UHCI Root Hub
> S: SerialNumber=d400
> C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
> I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
> E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms
> T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 5
> D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
> P: Vendor=04a6 ProdID=0180 Rev= 1.08
> S: Manufacturer=Nokia Display Products Oy
> S: Product=Nokia USB Hub Type P
> S: SerialNumber=9924074711
> C:* #Ifs= 1 Cfg#= 1 Atr=60 MxPwr= 0mA
> I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
> E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms
> T: Bus=01 Lev=02 Prnt=02 Port=00 Cnt=01 Dev#= 4 Spd=12 MxCh= 0
> D: Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
> P: Vendor=04a6 ProdID=0181 Rev= 1.08
> S: Manufacturer=Nokia Display Products Oy
> S: Product=Nokia USB Monitor Control
> S: SerialNumber=9924074711
> C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
> I: If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=00 Prot=00 Driver=hid
> E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms
> T: Bus=01 Lev=02 Prnt=02 Port=02 Cnt=02 Dev#= 5 Spd=12 MxCh= 0
> D: Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
> P: Vendor=0781 ProdID=0001 Rev= 2.00
> S: Manufacturer=SanDisk Corporation
> S: Product=SanDisk USB ImageMate
> C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA
> I: If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=(none)
> E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl= 0ms
> E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl= 0ms
> E: Ad=83(I) Atr=03(Int.) MxPS= 2 Ivl=255ms
> T: Bus=01 Lev=02 Prnt=02 Port=03 Cnt=03 Dev#= 6 Spd=1.5 MxCh= 0
> D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
> P: Vendor=045e ProdID=0029 Rev= 1.08
> S: Manufacturer=Microsoft
> S: Product=Microsoft IntelliMouse® Optical
> C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=100mA
> I: If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=02 Driver=hid
> E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl= 10ms
> T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#= 3 Spd=12 MxCh= 4
> D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
> P: Vendor=0451 ProdID=1446 Rev= 1.10
> C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=100mA
> I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
> E: Ad=81(I) Atr=03(Int.) MxPS= 1 Ivl=255ms
>
> /proc/bus/usb/drivers
>
> serial
> hid
> 80- 95: dc2xx
> hub
> usbdevfs
>
> usb devices: mobo usb hub, monitor-based usb hub, keyboard-based usb
> hub, visor usb cradle, usb mouse, kodak dc280, and sandisk
> usb imagemate
> model sddr-05.
>
> if i can provide any further information, please let me know.
> i'm eager
> to get away from the lockups in pre6.
>
> thanks,
> pete
>
> --
> Pete Toscano h:sigsegv@psinet.com w:ptoscano@netsol.com
> GPG fingerprint: D8F5 A087 9A4C 56BB 8F78 B29C 1FF0 1BA7 9008 2736
>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon May 15 2000 - 21:00:24 EST