Menu

#74 Tulip driver freezes with kernel 2.4.26 and LNE100

Crashes
closed-rejected
General (32)
5
2004-08-17
2004-08-07
Anonymous
No

Bug reported by Daniel Wagenaar,
wagenaar@alice.caltech.edu.

[Using format as per
http://www.kernel.org/pub/linux/docs/lkml/reporting-bugs.html.\]

1. Summary: Tulip driver freezes with kernel 2.4.26 and
Linksys Network Everywhere Fast Ethernet 10/100 model
NC100 (rev 17).

2. Details: Insmodding the tulip.o driver into 2.4.26
causes my (Athlon) computer to freeze. This doesn't
happen always instantly, but always within a second or
so. The computer is connected to a LAN. Previous
versions of the kernel (2.4.18) did not suffer from
this problem. I encountered this problem after
installing gentoo, but could reproduce it by compiling
2.4.26 under redhat. Intriguingly, the version of the
tulip driver at www.scyld.com/tulip.html, but not the
version in the 2.4.26 kernel tree, worked fine under a
previous version of gentoo, but caused a freeze under
latest version. Following data was obtained in a redhat
environment, with a kernel direct from www.kernel.org.

3. Keywords: network driver, tulip, module, 2.4.26.

4. Kernel version: 2.4.26

5. Oops: System freezes without oops.

6. Reproduce: "insmod tulip.o"

7.1 ver_linux:

Linux mea 2.4.26 #1 Fri Aug 6 17:50:58 PDT 2004 i686
unknown

Gnu C 2.96
Gnu make 3.79.1
util-linux 2.11n
mount 2.11n
modutils 2.4.14
e2fsprogs 1.27
reiserfsprogs 3.x.0j
quota-tools 3.01.
PPP 2.4.1
isdn4k-utils 3.1pre1
Linux C Library 2.2.5
Dynamic linker (ldd) 2.2.5
Procps 2.0.7
Net-tools 1.60
Console-tools 0.3.3
Sh-utils 2.0.11
Modules Loaded

7.2 /proc/cpuinfo:

processor : 0
vendor_id : AuthenticAMD
cpu family : 6
model : 8
model name : AMD Athlon(tm) XP 2700+
stepping : 1
cpu MHz : 2171.627
cache size : 256 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8
apic sep mtrr pge mca cmov
pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow
bogomips : 4338.48

7.3 /proc/modules: no modules

7.4.a /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 : ide1
01f0-01f7 : ide0
0376-0376 : ide1
03c0-03df : vga+
03f6-03f6 : ide0
03f8-03ff : serial(auto)
0cf8-0cff : PCI conf1
d000-dfff : PCI Bus #01
d000-d0ff : Linksys Network Everywhere Fast
Ethernet 10/100 model NC100
d400-d4ff : Linksys Network Everywhere Fast
Ethernet 10/100 model NC100 (#2)
d800-d81f : Creative Labs SB Live! EMU10k1
dc00-dc07 : Creative Labs SB Live! MIDI/Game Port
e000-e01f : nVidia Corporation nForce2 SMBus (MCP)
f000-f00f : nVidia Corporation nForce2 IDE

7.4.b /proc/iomem:

00000000-0009fbff : System RAM
0009fc00-0009ffff : reserved
000a0000-000bffff : Video RAM area
000c0000-000c7fff : Video ROM
000f0000-000fffff : System ROM
00100000-1ffeffff : System RAM
00100000-002a4a8e : Kernel code
002a4a8f-00342afb : Kernel data
1fff0000-1fff2fff : ACPI Non-volatile Storage
1fff3000-1fffffff : ACPI Tables
e0000000-e3ffffff : PCI device 10de:01e0 (nVidia
Corporation)
e4000000-e5ffffff : PCI Bus #02
e4000000-e5ffffff : nVidia Corporation NV5M64 [RIVA
TNT2 Model 64/Model 64 Pro]
e6000000-e7ffffff : PCI Bus #02
e6000000-e6ffffff : nVidia Corporation NV5M64 [RIVA
TNT2 Model 64/Model 64 Pro]
e8000000-e9ffffff : PCI Bus #01
e9000000-e90003ff : Linksys Network Everywhere Fast
Ethernet 10/100 model NC100
e9001000-e90013ff : Linksys Network Everywhere Fast
Ethernet 10/100 model NC100 (#2)
ea000000-ea000fff : nVidia Corporation nForce2 USB
Controller
ea001000-ea001fff : nVidia Corporation nForce2 USB
Controller (#2)
ea001000-ea001fff : usb-ohci
ea002000-ea0020ff : nVidia Corporation nForce2 USB
Controller
ea002000-ea0020ff : ehci_hcd
fec00000-fec00fff : reserved
fee00000-fee00fff : reserved
ffff0000-ffffffff : reserved

7.5 lspci -vvv:

00:00.0 Host bridge: nVidia Corporation: Unknown
device 01e0 (rev a2)
Control: I/O- Mem+ BusMaster+ SpecCycle-
MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr-
DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Region 0: Memory at e0000000 (32-bit,
prefetchable) [size=64M]
Capabilities: [40] AGP version 2.0
Status: RQ=31 SBA+ 64bit- FW+ Rate=x1,x2
Command: RQ=0 SBA- AGP- 64bit- FW-
Rate=x1
Capabilities: [60] #08 [2001]

00:00.1 RAM memory: nVidia Corporation: Unknown
device 01eb (rev a2)
Subsystem: nVidia Corporation: Unknown device
0c17
Control: I/O- Mem- BusMaster- SpecCycle-
MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66Mhz+ UDF- FastB2B- ParErr-
DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-

00:00.2 RAM memory: nVidia Corporation: Unknown
device 01ee (rev a2)
Subsystem: nVidia Corporation: Unknown device
0c17
Control: I/O- Mem- BusMaster- SpecCycle-
MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66Mhz+ UDF- FastB2B- ParErr-
DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-

00:00.3 RAM memory: nVidia Corporation: Unknown
device 01ed (rev a2)
Subsystem: nVidia Corporation: Unknown device
0c17
Control: I/O- Mem- BusMaster- SpecCycle-
MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66Mhz+ UDF- FastB2B- ParErr-
DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-

00:00.4 RAM memory: nVidia Corporation: Unknown
device 01ec (rev a2)
Subsystem: nVidia Corporation: Unknown device
0c17
Control: I/O- Mem- BusMaster- SpecCycle-
MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66Mhz+ UDF- FastB2B- ParErr-
DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-

00:00.5 RAM memory: nVidia Corporation: Unknown
device 01ef (rev a2)
Subsystem: nVidia Corporation: Unknown device
0c17
Control: I/O- Mem- BusMaster- SpecCycle-
MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66Mhz+ UDF- FastB2B- ParErr-
DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-

00:01.0 ISA bridge: nVidia Corporation: Unknown
device 0060 (rev a3)
Subsystem: nVidia Corporation: Unknown device
0c11
Control: I/O+ Mem+ BusMaster+ SpecCycle+
MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr-
DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Capabilities: [48] #08 [01e1]

00:01.1 SMBus: nVidia Corporation: Unknown device
0064 (rev a2)
Subsystem: nVidia Corporation: Unknown device
0c11
Control: I/O+ Mem- BusMaster- SpecCycle-
MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr-
DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Interrupt: pin A routed to IRQ 5
Region 0: I/O ports at e000 [size=32]
Capabilities: [44] 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:02.0 USB Controller: nVidia Corporation: Unknown
device 0067 (rev a3) (prog-if 10 [OHCI])
Subsystem: nVidia Corporation: Unknown device
0c11
Control: I/O+ Mem+ BusMaster- SpecCycle-
MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr-
DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Interrupt: pin A routed to IRQ 10
Region 0: Memory at ea000000 (32-bit,
non-prefetchable) [size=4K]
Capabilities: [44] 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:02.1 USB Controller: nVidia Corporation: Unknown
device 0067 (rev a3) (prog-if 10 [OHCI])
Subsystem: nVidia Corporation: Unknown device
0c11
Control: I/O+ Mem+ BusMaster+ SpecCycle-
MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr-
DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0 (750ns min, 250ns max)
Interrupt: pin B routed to IRQ 11
Region 0: Memory at ea001000 (32-bit,
non-prefetchable) [size=4K]
Capabilities: [44] 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:02.2 USB Controller: nVidia Corporation: Unknown
device 0068 (rev a3) (prog-if 20 [EHCI])
Subsystem: nVidia Corporation: Unknown device
0c11
Control: I/O- Mem+ BusMaster+ SpecCycle-
MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr-
DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0 (750ns min, 250ns max)
Interrupt: pin C routed to IRQ 3
Region 0: Memory at ea002000 (32-bit,
non-prefetchable) [size=256]
Capabilities: [44] #0a [2080]
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:08.0 PCI bridge: nVidia Corporation: Unknown
device 006c (rev a3) (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle-
MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
Status: Cap- 66Mhz+ UDF- FastB2B+ ParErr-
DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Bus: primary=00, secondary=01,
subordinate=01, sec-latency=32
I/O behind bridge: 0000d000-0000dfff
Memory behind bridge: e8000000-e9ffffff
Prefetchable memory behind bridge:
fff00000-000fffff
BridgeCtl: Parity- SERR+ NoISA- VGA- MAbort-
>Reset- FastB2B-

00:09.0 IDE interface: nVidia Corporation: Unknown
device 0065 (rev a2) (prog-if 8a [Master SecP PriP])
Subsystem: nVidia Corporation: Unknown device
0c11
Control: I/O+ Mem- BusMaster+ SpecCycle-
MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr-
DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0 (750ns min, 250ns max)
Region 4: I/O ports at f000 [size=16]
Capabilities: [44] 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:1e.0 PCI bridge: nVidia Corporation: Unknown
device 01e8 (rev a2) (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: 32
Bus: primary=00, secondary=02,
subordinate=02, sec-latency=32
I/O behind bridge: 0000f000-00000fff
Memory behind bridge: e6000000-e7ffffff
Prefetchable memory behind bridge:
e4000000-e5ffffff
BridgeCtl: Parity- SERR+ NoISA- VGA+ MAbort-
>Reset- FastB2B-

01:06.0 Ethernet controller: Linksys Network
Everywhere Fast Ethernet 10/100 model NC100 (rev 11)
Subsystem: Linksys: Unknown device 0574
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 08
Interrupt: pin A routed to IRQ 10
Region 0: I/O ports at d000 [size=256]
Region 1: Memory at e9000000 (32-bit,
non-prefetchable) [size=1K]
Expansion ROM at <unassigned> [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-

01:07.0 Ethernet controller: Linksys Network
Everywhere Fast Ethernet 10/100 model NC100 (rev 11)
Subsystem: Linksys: Unknown device 0574
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 08
Interrupt: pin A routed to IRQ 11
Region 0: I/O ports at d400 [size=256]
Region 1: Memory at e9001000 (32-bit,
non-prefetchable) [size=1K]
Expansion ROM at <unassigned> [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-

01:08.0 Multimedia audio controller: Creative Labs SB
Live! EMU10k1 (rev 08)
Subsystem: Creative Labs CT4832 SBLive! Value
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 (500ns min, 5000ns max)
Interrupt: pin A routed to IRQ 5
Region 0: I/O ports at d800 [size=32]
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-

01:08.1 Input device controller: Creative Labs SB
Live! MIDI/Game Port (rev 08)
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: 32
Region 0: I/O ports at dc00 [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-

02:00.0 VGA compatible controller: nVidia Corporation
NV6 [Vanta] (rev 15) (prog-if 00 [VGA])
Subsystem: Unknown device 17f2:8010
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 (1250ns min, 250ns max)
Interrupt: pin A routed to IRQ 11
Region 0: Memory at e6000000 (32-bit,
non-prefetchable) [size=16M]
Region 1: Memory at e4000000 (32-bit,
prefetchable) [size=32M]
Expansion ROM at <unassigned> [disabled]
[size=64K]
Capabilities: [60] 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-
Capabilities: [44] AGP version 2.0
Status: RQ=31 SBA- 64bit- FW- Rate=x1,x2
Command: RQ=0 SBA- AGP- 64bit- FW-
Rate=<none>

7.6 /proc/scsi/scsi

Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: PIONEER Model: DVD-RW DVR-104 Rev: 1.41
Type: CD-ROM ANSI SCSI
revision: 02

7.7 Other info: -

X. Other notes: In 2.4.18, all is well. In
/proc/ioports, the tulip driver is seen to grab the device:

d000-d0ff : Linksys Network Everywhere Fast Ethernet
10/100 model NC100
d000-d0ff : tulip
d400-d4ff : Linksys Network Everywhere Fast Ethernet
10/100 model NC100 (#2)
d400-d4ff : tulip

and same in /proc/iomem:

e9000000-e90003ff : Linksys Network Everywhere Fast
Ethernet 10/100 model NC100
e9000000-e90003ff : tulip
e9001000-e90013ff : Linksys Network Everywhere Fast
Ethernet 10/100 model NC100 (#2)
e9001000-e90013ff : tulip

It happily shares IRQs: /proc/interrupts says:

CPU0
0: 85528 XT-PIC timer
1: 4 XT-PIC keyboard
2: 0 XT-PIC cascade
3: 0 XT-PIC ehci-hcd
8: 1 XT-PIC rtc
10: 9 XT-PIC usb-ohci, eth0
11: 2102 XT-PIC usb-ohci, eth1
12: 20 XT-PIC PS/2 Mouse
14: 4983 XT-PIC ide0
15: 30 XT-PIC ide1
NMI: 0
LOC: 0
ERR: 0
MIS: 0

Discussion

  • Jeff Garzik

    Jeff Garzik - 2004-08-17

    Logged In: YES
    user_id=17443

    This bug tracker has been deprecated, please use the official bug
    tracker at bugme.osdl.org.

     
  • Jeff Garzik

    Jeff Garzik - 2004-08-17
    • assigned_to: nobody --> jgarzik
    • status: open --> closed-rejected
     

Log in to post a comment.