[Bugme-new] [Bug 8952] New: tulip driver oops in tulip_interrupt when hibernating with swsusp/suspend2

bugme-daemon at bugzilla.kernel.org bugme-daemon at bugzilla.kernel.org
Tue Aug 28 05:36:51 PDT 2007


http://bugzilla.kernel.org/show_bug.cgi?id=8952

           Summary: tulip driver oops in tulip_interrupt when hibernating
                    with swsusp/suspend2
           Product: Power Management
           Version: 2.5
     KernelVersion: 2.6.22.5
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Hibernation/Suspend
        AssignedTo: power-management_other at kernel-bugs.osdl.org
        ReportedBy: kernelbugs at tap.homeip.net


Most recent kernel where this bug did not occur: I think this may have appeared
when I switched from 2.6.17.11 to 2.6.18.8. I was originally using suspend2 but
switched to mainline swsusp to determine whether the problem occurred with it.

Distribution: Debian sarge, x86

Hardware Environment:
/proc/cpuinfo:
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 8
model name      : Pentium III (Coppermine)
stepping        : 1
cpu MHz         : 599.825
cache size      : 256 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat
pse36 mmx fxsr sse
bogomips        : 1200.83
clflush size    : 32

/proc/ioports:
0000-001f : dma1
0020-0021 : pic1
0040-0043 : timer0
0050-0053 : timer1
0060-006f : keyboard
0070-0077 : rtc
0080-008f : dma page reg
00a0-00a1 : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : 0000:00:07.1
  0170-0177 : ide1
01f0-01f7 : 0000:00:07.1
  01f0-01f7 : ide0
02f8-02ff : serial
0376-0376 : 0000:00:07.1
  0376-0376 : ide1
0378-037a : parport0
03c0-03df : vesafb
03f2-03f5 : floppy
03f6-03f6 : 0000:00:07.1
  03f6-03f6 : ide0
03f7-03f7 : floppy DIR
03f8-03ff : serial
0cf8-0cff : PCI conf1
4000-4003 : ACPI PM1a_EVT_BLK
4004-4005 : ACPI PM1a_CNT_BLK
4008-400b : ACPI PM_TMR
4010-4015 : ACPI CPU throttle
4020-4023 : ACPI GPE0_BLK
5000-5007 : vt596_smbus
d000-d00f : 0000:00:07.1
  d000-d007 : ide0
  d008-d00f : ide1
d400-d41f : 0000:00:07.2
  d400-d41f : uhci_hcd
dc00-dcff : 0000:00:0f.0
e000-e007 : 0000:00:12.0
  e000-e007 : au8830
e400-e407 : 0000:00:12.0
  e400-e407 : au8830
e800-e8ff : 0000:00:13.0
  e800-e8ff : tulip
ec00-ecff : 0000:00:14.0
  ec00-ecff : tulip

/proc/iomem:
00000000-0009ffff : System RAM
000a0000-000bffff : Video RAM area
000c0000-000c7fff : Video ROM
000c8000-000c9fff : pnp 00:00
000f0000-000fffff : System ROM
00100000-17feffff : System RAM
  00100000-00309b3a : Kernel code
  00309b3b-003d4f6b : Kernel data
17ff0000-17ff2fff : ACPI Non-volatile Storage
17ff3000-17ffffff : ACPI Tables
20000000-2001ffff : 0000:00:0f.0
d8000000-dbffffff : 0000:00:00.0
dc000000-dcffffff : 0000:00:0f.0
  dc000000-dc3fffff : vesafb
de000000-de01ffff : 0000:00:13.0
df000000-df01ffff : 0000:00:14.0
e0000000-e003ffff : 0000:00:12.0
  e0000000-e003ffff : au8830
e0040000-e0040fff : 0000:00:0f.0
e0041000-e00413ff : 0000:00:14.0
  e0041000-e00413ff : tulip
e0042000-e00423ff : 0000:00:13.0
  e0042000-e00423ff : tulip
ffff0000-ffffffff : reserved


/proc/interrupts:
           CPU0
  0:     386801    XT-PIC-XT        timer
  1:         42    XT-PIC-XT        i8042
  2:          0    XT-PIC-XT        cascade
  5:          1    XT-PIC-XT        acpi
  6:          5    XT-PIC-XT        floppy
  7:          0    XT-PIC-XT        parport0
  8:          1    XT-PIC-XT        rtc
 10:      30561    XT-PIC-XT        au8830
 11:      27583    XT-PIC-XT        uhci_hcd:usb1, eth0
 14:     138592    XT-PIC-XT        ide0
 15:      11574    XT-PIC-XT        ide1
NMI:          0
ERR:          0

lspci -vvv:
00:00.0 Host bridge: VIA Technologies, Inc. VT82C693A/694x [Apollo PRO133x]
(rev 82)
        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
        Region 0: Memory at d8000000 (32-bit, prefetchable) [size=64M]
        Capabilities: [a0] AGP version 2.0
                Status: RQ=32 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64- HTrans-
64bit- FW- AGP3- Rate=x1,x2,x4
                Command: RQ=1 ArqSz=0 Cal=0 SBA- AGP- GART64- 64bit- FW-
Rate=<none>

00:01.0 PCI bridge: VIA Technologies, Inc. VT82C598/694x [Apollo MVP3/Pro133x
AGP] (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: 0
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
        I/O behind bridge: 0000f000-00000fff
        Memory behind bridge: fff00000-000fffff
        Prefetchable memory behind bridge: fff00000-000fffff
        Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort-
<MAbort- <SERR- <PERR-
        BridgeCtl: Parity- SERR- NoISA+ VGA- MAbort- >Reset- FastB2B-
        Capabilities: [80] 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-

00:07.0 ISA bridge: VIA Technologies, Inc. VT82C596 ISA [Mobile South] (rev 12)
        Subsystem: VIA Technologies, Inc. VT82C596/A/B PCI to ISA Bridge
        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: VIA Technologies, Inc.
VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06) (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: 32
        Region 0: [virtual] Memory at 000001f0 (32-bit, non-prefetchable)
[size=8]
        Region 1: [virtual] Memory at 000003f0 (type 3, non-prefetchable)
[size=1]
        Region 2: [virtual] Memory at 00000170 (32-bit, non-prefetchable)
[size=8]
        Region 3: [virtual] Memory at 00000370 (type 3, non-prefetchable)
[size=1]
        Region 4: I/O ports at d000 [size=16]

00:07.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1
Controller (rev 08) (prog-if 00 [UHCI])
        Subsystem: VIA Technologies, Inc. (Wrong ID) USB Controller
        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: 32, Cache Line Size: 32 bytes
        Interrupt: pin D routed to IRQ 11
        Region 4: I/O ports at d400 [size=32]

00:07.3 Host bridge: VIA Technologies, Inc. VT82C596 Power Management (rev 20)
        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:0f.0 VGA compatible controller: ATI Technologies Inc 3D Rage II+ 215GTB
[Mach64 GTB] (rev 9a) (prog-if 00 [VGA])
        Subsystem: ATI Technologies Inc 3D Rage II+ 215GTB [Mach64 GTB]
        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: 32 (2000ns min), Cache Line Size: 32 bytes
        Region 0: Memory at dc000000 (32-bit, non-prefetchable) [size=16M]
        Region 1: I/O ports at dc00 [size=256]
        Region 2: Memory at e0040000 (32-bit, non-prefetchable) [size=4K]
        [virtual] Expansion ROM at 20000000 [disabled] [size=128K]

00:12.0 Multimedia audio controller: Aureal Semiconductor Vortex 2 (rev fe)
        Subsystem: Aureal Semiconductor AU8830 Vortex 3D Digital Audio
Processor
        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: 32 (1000ns min, 3000ns max), Cache Line Size: 32 bytes
        Interrupt: pin A routed to IRQ 10
        Region 0: Memory at e0000000 (32-bit, non-prefetchable) [size=256K]
        Region 1: I/O ports at e000 [size=8]
        Region 2: I/O ports at e400 [size=8]
        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-

00:13.0 Ethernet controller: ADMtek NC100 Network Everywhere Fast Ethernet
10/100 (rev 11)
        Subsystem: Accton Technology Corporation Unknown device 1216
        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: 32 (63750ns min, 63750ns max), Cache Line Size: 32 bytes
        Interrupt: pin A routed to IRQ 11
        Region 0: I/O ports at e800 [size=256]
        Region 1: Memory at e0042000 (32-bit, non-prefetchable) [size=1K]
        Expansion ROM at de000000 [disabled] [size=128K]
        Capabilities: [c0] 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-

00:14.0 Ethernet controller: Microsoft Corporation Unknown device 0002 (rev 11)
        Subsystem: Microsoft Corporation Unknown device 0002
        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: 32 (16000ns min, 32000ns max), Cache Line Size: 32 bytes
        Interrupt: pin A routed to IRQ 12
        Region 0: I/O ports at ec00 [size=256]
        Region 1: Memory at e0041000 (32-bit, non-prefetchable) [size=1K]
        Expansion ROM at df000000 [disabled] [size=128K]
        Capabilities: [c0] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=100mA
PME(D0+,D1+,D2+,D3hot+,D3cold+)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-



Software Environment:
Hibernate Script 1.93

Linux thursday 2.6.22.5 #1 Thu Aug 23 10:59:50 EDT 2007 i686 GNU/Linux

Gnu C                  4.1.2
Gnu make               3.81
binutils               2.17
util-linux             2.12r
mount                  2.12r
module-init-tools      3.3-pre2
e2fsprogs              1.40-WIP
Linux C Library        2.3.6
Dynamic linker (ldd)   2.3.6
Procps                 3.2.7
Net-tools              1.60
Console-tools          0.2.3
Sh-utils               5.97
udev                   105
Modules Loaded         lp thermal fan button processor ac battery sha1 arc4 ecb
blkcipher cryptomgr ppp_mppe ppp_generic slhc eeprom w83781d hwmon_vid
i2c_viapro i2c_core snd_seq_oss snd_seq_midi_event snd_seq snd_pcm_oss
snd_mixer_oss usbhid snd_au8830 8250_pnp snd_ac97_codec 8250 snd_pcm snd_timer
snd_page_alloc ac97_bus snd_mpu401_uart snd_rawmidi snd_seq_device serial_core
tulip snd uhci_hcd


Problem Description:

The kernel reports an Oops in the tulip driver while hibernating, but not every
time. (It occurs perhaps 30% to 50% of the time.) The system hangs, caps lock
and scroll lock flash, and the computer has to be powered off by holding down
the power button.

The original bug report (before reproducing the problem with swsusp) is on the
Suspend2 bugzilla at: http://bugzilla.suspend2.net/show_bug.cgi?id=294

I am using the hibernate shell script to suspend the system. I will attach a
photo of the Oops report from 2.6.22.5 to this bug, but there are several
additional ones from older kernels on the original bug page.

Speculation: The network card is on a shared interrupt with the USB controller,
so it may be receiving unexpected interrupts generated by USB.

Steps to reproduce:

1. Try suspending to disk.

2. Experience kernel Oops (but not every time).

Here is an Oops report from kernel 2.6.21.1 that I sent in a private mail
concerning the bug:
Clocksource tsc unstable (delta = 4144113840505 ns)
pnp: Device 00:08 activated.
pnp: Device 00:09 activated.
pnp: Device 00:0a activated.
pnp: Failed to activate device 00:0b.
 usbdev1.2_ep00: PM: resume from 0, parent 1-1 still 1
usbhid 1-1:1.0: PM: resume from 1, parent 1-1 still 1
 usbdev1.2_ep01: PM: resume from 0, parent 1-1:1.0 still 1
 usbdev1.2: PM: resume from 0, parent 1-1 still 1
Restarting tasks ... <6>usb 1-1: USB disconnect, address 2
done.
Stopping tasks ... done.
Shrinking memory... -<1>BUG: unable to handle kernel NULL pointer dereference
at virtual address 0000008c
 printing eip:
d883e960
*pde = 00000000
Ooops: 0000 [#1]
Modules linked in: lp thermal fan processor ac battery sha1 arc4 ecb blkcipher
cryptomgr ppp_mppe ppp_generic slhc eeprom w83781d hwmon_vid i2c_isa i2c_viapro
i2c_core usbhid 8250_pnp 8250 serial_core uhci_hcd snd_page_alloc ac97_bus
tulip
CPU: 0
EIP: 0060:[<d883e960>] Not tainted VLI
EFLGS: 00010286 (2.6.21.1 #1)
EIP is at tulip_interrupt+0x29b/0xb37 [tulip]
eax: 00000000 ebx: cfde7aa0 ecx: 0000003c edx: d7c68000
esi: 00000035 edi: d768ca12 ebp: d7c68340 esp: c03c9ee4
ds: 007b es: 007b fs: 00d8 gs: 0000 ss: 0068
Process swapper (pid: 0, ti=c03c8000 task=c03a3380 task.ti=c03c8000)
Stack: ffffffff c03a6b40 c0126d99 6c3a9c20 00003d3f 80750c34 6c776d00 0001e828
d7c68000 0001e800 fc69c0d0 00000000 00000000 00000000 00000019 c011a58f
0000003c 00000000 0000007f d7b28220 00000000 00000000 0000000b c012f8a8
Call Trace:
[<c0126d99>] tick_program_event+0x2a/0x49
[<c011a58f>] run_timer_softirq+0x11/0x12f
[<c012f8a8>] handle_IRQ_event+0x1a/0x3f
[<c01308d4>] handl_level_irq+0x5c/0x94
[<c0105530>] do_IRQ+0x54/0x70
[<c0103cab>] common_interrupt+0x23/0x28
[<c02000d8>] acpi_ds_create_node+0x45/0x55
[<d8c1fe6a>] acpi_processor_idle+0x1a7/0x335 [processor]
[<c0102327>] cpu_idle+0x39/0x4e
[<c03caacb>] start_kernel+0x33b/0x343
[<c03ca42b>] unknown_bootoption+0x0/0x202
Code: 00 8b 80 90 00 00 00 8b 54 24 20 83 c7 12 83 c0 12 89 bb 8c 00 00 00 89
53 14 89 83 90 00 00 00 8b 84 f5 18 01 00 00 8b 4c 24 40 <8b> b0 8c 00 00 00 c1
e9 02 f3 a5 8b 4c 24 40 83 e1 03 74 02 f3
EIP: [<d883e960>] tulip_interrupt+0x29b/0xb37 [tulip] SS:ESP 0068:c03c9ee4
Kernel panic - not syncing: Fatal exception in interrupt


-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


More information about the Bugme-new mailing list