Subject: kern/18646: ne1 fails to work in 1.6 where it worked in 1.5.3
To: None <gnats-bugs@gnats.netbsd.org>
From: None <nemo@red-bean.com>
List: netbsd-bugs
Date: 10/13/2002 19:13:18
>Number:         18646
>Category:       kern
>Synopsis:       ne1 fails in 1.6
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Oct 13 16:14:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Joel N. Weber II
>Release:        NetBSD 1.6
>Organization:
Gratuitous Organization for Gratuitous Software Enhancement
>Environment:
GENERIC 1.6 kernel
Architecture: i386
Machine: i386
Userland is 1.5.3, if that matters.  (I'll upgrade userland to 1.6 just
as soon as I get a working 1.6 kernel.)
>Description:
On a machine with the particular hardware config I have, which includes an
ISA ethernet card, using a 1.6 GENERIC kernel fails with ne1: device timeout
(everything except the network appears to work fine).

1.5.3 GENERIC worked fine.

Here's the /var/log/messages data, for both a boot of the 1.6 kernel, and
of the 1.5.3 kernel.  I've taken a single contiguous slice of the log, without
omitting anything between the start and end times.  (I may have changed the
timezone from pacific to eastern in here somewhere, though.)


Oct 13 12:49:57 tsukiji /netbsd: NetBSD 1.6 (GENERIC) #0: Sun Sep  8 19:43:40 UTC 2002
Oct 13 12:49:57 tsukiji /netbsd:     autobuild@tgm.daemon.org:/autobuild/i386/OBJ/autobuild/src/sys/arch/i386/compile/GENERIC
Oct 13 12:49:57 tsukiji /netbsd: cpu0: AMD K5 (586-class), 89.82 MHz
Oct 13 12:49:57 tsukiji /netbsd: cpu0: features 21bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
Oct 13 12:49:57 tsukiji /netbsd: cpu0: features 21bf<PGE>
Oct 13 12:49:57 tsukiji /netbsd: total memory = 65148 KB
Oct 13 12:49:57 tsukiji /netbsd: avail memory = 53956 KB
Oct 13 12:49:57 tsukiji /netbsd: using 839 buffers containing 3356 KB of memory
Oct 13 12:49:57 tsukiji /netbsd: BIOS32 rev. 0 found at 0xf6f20
Oct 13 12:49:57 tsukiji /netbsd: mainbus0 (root)
Oct 13 12:49:57 tsukiji /netbsd: pci0 at mainbus0 bus 0: configuration mode 1
Oct 13 12:49:57 tsukiji /netbsd: pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
Oct 13 12:49:57 tsukiji /netbsd: pchb0 at pci0 dev 0 function 0
Oct 13 12:49:57 tsukiji /netbsd: pchb0: Intel 82437FX System Controller (TSC) (rev. 0x02)
Oct 13 12:49:57 tsukiji /netbsd: pcib0 at pci0 dev 7 function 0
Oct 13 12:49:57 tsukiji /netbsd: pcib0: Intel 82371FB PCI-to-ISA Bridge (PIIX) (rev. 0x02)
Oct 13 12:49:57 tsukiji /netbsd: pciide0 at pci0 dev 7 function 1: Intel 82371FB IDE controller (PIIX) (rev. 0x02)
Oct 13 12:49:57 tsukiji /netbsd: pciide0: bus-master DMA support present
Oct 13 12:49:57 tsukiji /netbsd: pciide0: primary channel wired to compatibility mode
Oct 13 12:49:57 tsukiji /netbsd: wd0 at pciide0 channel 0 drive 0: <ST340823A>
Oct 13 12:49:57 tsukiji /netbsd: wd0: drive supports 16-sector PIO transfers, LBA addressing
Oct 13 12:49:57 tsukiji /netbsd: wd0: 38166 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 78165360 sectors
Oct 13 12:49:57 tsukiji /netbsd: wd0: 32-bit data port
Oct 13 12:49:57 tsukiji /netbsd: wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
Oct 13 12:49:57 tsukiji /netbsd: pciide0: primary channel interrupting at irq 14
Oct 13 12:49:57 tsukiji /netbsd: wd0(pciide0:0:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)
Oct 13 12:49:57 tsukiji /netbsd: pciide0: secondary channel wired to compatibility mode
Oct 13 12:49:57 tsukiji /netbsd: atapibus0 at pciide0 channel 1: 2 targets
Oct 13 12:49:57 tsukiji /netbsd: cd0 at atapibus0 drive 0: <TOSHIBA CD-ROM XM-5702B, 1200206973, 2826> type 5 cdrom removable
Oct 13 12:49:57 tsukiji /netbsd: cd0: 32-bit data port
Oct 13 12:49:57 tsukiji /netbsd: cd0: drive supports PIO mode 3, DMA mode 1
Oct 13 12:49:57 tsukiji /netbsd: cd1 at atapibus0 drive 1: <CD-ROM CDU76E, , 1.0c> type 5 cdrom removable
Oct 13 12:49:57 tsukiji /netbsd: cd1: 32-bit data port
Oct 13 12:49:57 tsukiji /netbsd: pciide0: secondary channel interrupting at irq 15
Oct 13 12:49:57 tsukiji /netbsd: cd0(pciide0:1:0): using PIO mode 0, DMA mode 1 (using DMA data transfers)
Oct 13 12:49:57 tsukiji /netbsd: cd1(pciide0:1:1): using PIO mode 0
Oct 13 12:49:57 tsukiji /netbsd: cmpci0 at pci0 dev 8 function 0: C-Media Electronics Inc CMI8738/C3DX PCI Audio Device (rev. 0x10)
Oct 13 12:49:57 tsukiji /netbsd: cmpci0: interrupting at irq 11
Oct 13 12:49:57 tsukiji /netbsd: audio0 at cmpci0: full duplex, mmap, independent
Oct 13 12:49:57 tsukiji /netbsd: opl at cmpci0 not configured
Oct 13 12:49:57 tsukiji /netbsd: mpu at cmpci0 not configured
Oct 13 12:49:57 tsukiji /netbsd: isa0 at pcib0
Oct 13 12:49:57 tsukiji /netbsd: ne1 at isa0 port 0x300-0x31f irq 10
Oct 13 12:49:57 tsukiji /netbsd: ne1: NE2000 Ethernet
Oct 13 12:49:57 tsukiji /netbsd: ne1: Ethernet address 00:40:33:54:7a:8f
Oct 13 12:49:57 tsukiji /netbsd: com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
Oct 13 12:49:57 tsukiji /netbsd: com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
Oct 13 12:49:57 tsukiji /netbsd: pckbc0 at isa0 port 0x60-0x64
Oct 13 12:49:57 tsukiji /netbsd: pckbd0 at pckbc0 (kbd slot)
Oct 13 12:49:57 tsukiji /netbsd: pckbc0: using irq 1 for kbd slot
Oct 13 12:49:57 tsukiji /netbsd: wskbd0 at pckbd0: console keyboard
Oct 13 12:49:57 tsukiji /netbsd: vga0 at isa0 port 0x3b0-0x3df iomem 0xa0000-0xbffff
Oct 13 12:49:57 tsukiji /netbsd: wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation), using wskbd0
Oct 13 12:49:57 tsukiji /netbsd: wsmux1: connecting to wsdisplay0
Oct 13 12:49:57 tsukiji /netbsd: lpt0 at isa0 port 0x378-0x37b irq 7
Oct 13 12:49:57 tsukiji /netbsd: pcppi0 at isa0 port 0x61
Oct 13 12:49:57 tsukiji /netbsd: midi0 at pcppi0: PC speaker
Oct 13 12:49:57 tsukiji /netbsd: sysbeep0 at pcppi0
Oct 13 12:49:57 tsukiji /netbsd: isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
Oct 13 12:49:57 tsukiji /netbsd: npx0 at isa0 port 0xf0-0xff: using exception 16
Oct 13 12:49:57 tsukiji /netbsd: fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
Oct 13 12:49:57 tsukiji /netbsd: fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
Oct 13 12:49:57 tsukiji /netbsd: isapnp0: read port 0x203
Oct 13 12:49:57 tsukiji /netbsd: isapnp0: <ESS ES1868 Plug and Play AudioD, ESS0000, , > port 0x800/8 not configured
Oct 13 12:49:57 tsukiji /netbsd: ess0 at isapnp0 port 0x220/16,0x388/4,0x330/2 irq 5 drq 1,0
Oct 13 12:49:57 tsukiji /netbsd: ess0:: ESS Technology ES1868 [version 0x688b]
Oct 13 12:49:57 tsukiji /netbsd: ess0: audio1 interrupting at irq 5
Oct 13 12:49:57 tsukiji /netbsd: audio1 at ess0: half duplex, mmap, independent
Oct 13 12:49:58 tsukiji /netbsd: opl0 at ess0: model OPL3
Oct 13 12:49:58 tsukiji /netbsd: midi1 at opl0: ESS Yamaha OPL3
Oct 13 12:49:58 tsukiji /netbsd: joy0 at isapnp0 port 0x201/1
Oct 13 12:49:58 tsukiji /netbsd: joy0: ESS ES1868 Plug and Play AudioD 
Oct 13 12:49:58 tsukiji /netbsd: joy0: joystick not connected
Oct 13 12:49:58 tsukiji /netbsd: wdc2 at isapnp0 port 0x168/8,0x36e/2 irq 10
Oct 13 12:49:58 tsukiji /netbsd: wdc2: ESS ES1868 Plug and Play AudioD 
Oct 13 12:49:58 tsukiji /netbsd: biomask f745 netmask f745 ttymask f7c7
Oct 13 12:49:58 tsukiji /netbsd: Kernelized RAIDframe activated
Oct 13 12:49:58 tsukiji /netbsd: boot device: wd0
Oct 13 12:49:58 tsukiji /netbsd: root on wd0a dumps on wd0b
Oct 13 12:49:58 tsukiji /netbsd: root file system type: ffs
Oct 13 12:49:58 tsukiji /netbsd: ne1: device timeout
Oct 13 12:49:57 tsukiji savecore: no core dump
Oct 13 12:50:02 tsukiji ntpd[176]: ntpd 4.0.99i Thu Jun 13 05:29:48 CEST 2002 (1)
Oct 13 12:50:02 tsukiji ntpd[176]: precision = 8 usec
Oct 13 12:50:02 tsukiji ntpd[176]: using kernel phase-lock loop 0040
Oct 13 12:50:41 tsukiji last message repeated 7 times
Oct 13 12:52:30 tsukiji last message repeated 4 times
Oct 13 12:58:58 tsukiji last message repeated 8 times
Oct 13 13:00:00 tsukiji syslogd: restart
Oct 13 13:00:02 tsukiji /netbsd: ne1: device timeout
Oct 13 13:00:11 tsukiji newsyslog[209]: log file turned over
Oct 13 13:00:11 tsukiji newsyslog[209]: log file turned over
Oct 13 13:00:11 tsukiji syslogd: restart
Oct 13 13:01:06 tsukiji /netbsd: ne1: device timeout
Oct 13 13:01:09 tsukiji /netbsd: ne1: device timeout
Oct 13 13:03:19 tsukiji last message repeated 4 times
Oct 13 13:13:55 tsukiji last message repeated 11 times
Oct 13 13:22:34 tsukiji last message repeated 3 times
Oct 13 13:39:34 tsukiji /netbsd: ne1: device timeout
Oct 13 13:39:38 tsukiji /netbsd: ne1: device timeout
Oct 13 13:56:41 tsukiji last message repeated 2 times
Oct 13 14:13:41 tsukiji /netbsd: ne1: device timeout
Oct 13 14:13:44 tsukiji /netbsd: ne1: device timeout
Oct 13 14:30:50 tsukiji last message repeated 2 times
Oct 13 14:47:50 tsukiji /netbsd: ne1: device timeout
Oct 13 14:47:53 tsukiji /netbsd: ne1: device timeout
Oct 13 15:04:56 tsukiji /netbsd: ne1: device timeout
Oct 13 15:21:59 tsukiji /netbsd: ne1: device timeout
Oct 13 15:33:00 tsukiji /netbsd: pckbc: cmd failed
Oct 13 15:33:34 tsukiji reboot: rebooted by root
Oct 13 15:33:35 tsukiji syslogd: exiting on signal 15
Oct 13 15:35:03 tsukiji syslogd: restart
Oct 13 15:35:03 tsukiji /netbsd: NetBSD 1.5.3 (GENERIC) #34: Mon Jul  1 21:36:06 CEST 2002
Oct 13 15:35:03 tsukiji /netbsd:     he@hamster.urc.uninett.no:/usr/src/sys/arch/i386/compile/GENERIC
Oct 13 15:35:03 tsukiji /netbsd: cpu0: AMD K5 (586-class), 89.82 MHz
Oct 13 15:35:03 tsukiji /netbsd: total memory = 65152 KB
Oct 13 15:35:03 tsukiji /netbsd: avail memory = 55004 KB
Oct 13 15:35:03 tsukiji /netbsd: using 840 buffers containing 3360 KB of memory
Oct 13 15:35:03 tsukiji /netbsd: BIOS32 rev. 0 found at 0xf6f20
Oct 13 15:35:03 tsukiji /netbsd: mainbus0 (root)
Oct 13 15:35:03 tsukiji /netbsd: pci0 at mainbus0 bus 0: configuration mode 1
Oct 13 15:35:03 tsukiji /netbsd: pci0: i/o space, memory space enabled
Oct 13 15:35:03 tsukiji /netbsd: pchb0 at pci0 dev 0 function 0
Oct 13 15:35:03 tsukiji /netbsd: pchb0: Intel 82437FX System Controller (TSC) (rev. 0x02)
Oct 13 15:35:03 tsukiji /netbsd: pcib0 at pci0 dev 7 function 0
Oct 13 15:35:03 tsukiji /netbsd: pcib0: Intel 82371FB PCI-to-ISA Bridge (PIIX) (rev. 0x02)
Oct 13 15:35:03 tsukiji /netbsd: pciide0 at pci0 dev 7 function 1: Intel 82371FB IDE controller (PIIX) (rev. 0x02)
Oct 13 15:35:03 tsukiji /netbsd: pciide0: bus-master DMA support present
Oct 13 15:35:03 tsukiji /netbsd: pciide0: primary channel wired to compatibility mode
Oct 13 15:35:03 tsukiji /netbsd: wd0 at pciide0 channel 0 drive 0: <ST340823A>
Oct 13 15:35:03 tsukiji /netbsd: wd0: drive supports 16-sector pio transfers, lba addressing
Oct 13 15:35:03 tsukiji /netbsd: wd0: 38166 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 78165360 sectors
Oct 13 15:35:03 tsukiji /netbsd: wd0: 32-bit data port
Oct 13 15:35:03 tsukiji /netbsd: wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5
Oct 13 15:35:03 tsukiji /netbsd: pciide0: primary channel interrupting at irq 14
Oct 13 15:35:03 tsukiji /netbsd: wd0(pciide0:0:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)
Oct 13 15:35:03 tsukiji /netbsd: pciide0: secondary channel wired to compatibility mode
Oct 13 15:35:03 tsukiji /netbsd: atapibus0 at pciide0 channel 1
Oct 13 15:35:03 tsukiji /netbsd: cd0 at atapibus0 drive 0: <TOSHIBA CD-ROM XM-5702B, 1200206973, 2826> type 5 cdrom removable
Oct 13 15:35:03 tsukiji /netbsd: cd0: 32-bit data port
Oct 13 15:35:03 tsukiji /netbsd: cd0: drive supports PIO mode 3, DMA mode 1
Oct 13 15:35:03 tsukiji /netbsd: cd1 at atapibus0 drive 1: <CD-ROM CDU76E, , 1.0c> type 5 cdrom removable
Oct 13 15:35:03 tsukiji /netbsd: cd1: 32-bit data port
Oct 13 15:35:03 tsukiji /netbsd: pciide0: secondary channel interrupting at irq 15
Oct 13 15:35:03 tsukiji /netbsd: cd0(pciide0:1:0): using PIO mode 0, DMA mode 1 (using DMA data transfers)
Oct 13 15:35:03 tsukiji /netbsd: cd1(pciide0:1:1): using PIO mode 0
Oct 13 15:35:03 tsukiji /netbsd: cmpci0 at pci0 dev 8 function 0: CMI8738 PCI Audio Device
Oct 13 15:35:03 tsukiji /netbsd: cmpci0: interrupting at irq 11
Oct 13 15:35:03 tsukiji /netbsd: audio0 at cmpci0: full duplex, mmap, independent
Oct 13 15:35:03 tsukiji /netbsd: isa0 at pcib0
Oct 13 15:35:04 tsukiji /netbsd: ne1 at isa0 port 0x300-0x31f irq 10
Oct 13 15:35:04 tsukiji /netbsd: ne1: NE2000 Ethernet
Oct 13 15:35:04 tsukiji /netbsd: ne1: Ethernet address 00:40:33:54:7a:8f
Oct 13 15:35:04 tsukiji /netbsd: com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
Oct 13 15:35:04 tsukiji /netbsd: com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
Oct 13 15:35:04 tsukiji /netbsd: pckbc0 at isa0 port 0x60-0x64
Oct 13 15:35:04 tsukiji /netbsd: pckbd0 at pckbc0 (kbd slot)
Oct 13 15:35:04 tsukiji /netbsd: pckbc0: using irq 1 for kbd slot
Oct 13 15:35:04 tsukiji /netbsd: wskbd0 at pckbd0: console keyboard
Oct 13 15:35:04 tsukiji /netbsd: vga0 at isa0 port 0x3b0-0x3df iomem 0xa0000-0xbffff
Oct 13 15:35:04 tsukiji /netbsd: wsdisplay0 at vga0: console (80x25, vt100 emulation), using wskbd0
Oct 13 15:35:04 tsukiji /netbsd: lpt0 at isa0 port 0x378-0x37b irq 7
Oct 13 15:35:04 tsukiji /netbsd: pcppi0 at isa0 port 0x61
Oct 13 15:35:04 tsukiji /netbsd: midi0 at pcppi0: PC speaker
Oct 13 15:35:04 tsukiji /netbsd: sysbeep0 at pcppi0
Oct 13 15:35:04 tsukiji /netbsd: isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
Oct 13 15:35:04 tsukiji /netbsd: npx0 at isa0 port 0xf0-0xff: using exception 16
Oct 13 15:35:04 tsukiji /netbsd: fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
Oct 13 15:35:04 tsukiji /netbsd: fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
Oct 13 15:35:04 tsukiji /netbsd: isapnp0: read port 0x203
Oct 13 15:35:04 tsukiji /netbsd: isapnp0: <ESS ES1868 Plug and Play AudioD, ESS0000, , > port 0x800/8 not configured
Oct 13 15:35:04 tsukiji /netbsd: ess0 at isapnp0 port 0x220/16,0x388/4,0x330/2 irq 5 drq 1,0
Oct 13 15:35:04 tsukiji /netbsd: ess0:: ESS Technology ES1868 [version 0x688b]
Oct 13 15:35:04 tsukiji /netbsd: ess0: audio1 interrupting at irq 5
Oct 13 15:35:04 tsukiji /netbsd: audio1 at ess0: half duplex, mmap, independent
Oct 13 15:35:04 tsukiji /netbsd: opl0 at ess0: model OPL3
Oct 13 15:35:04 tsukiji /netbsd: midi1 at opl0: ESS Yamaha OPL3
Oct 13 15:35:04 tsukiji /netbsd: joy0 at isapnp0 port 0x201/1
Oct 13 15:35:04 tsukiji /netbsd: joy0: ESS ES1868 Plug and Play AudioD 
Oct 13 15:35:04 tsukiji /netbsd: joy0: joystick not connected
Oct 13 15:35:04 tsukiji /netbsd: isapnp0: <ESS ES1868 Plug and Play AudioD, ESS0002, , > port 0x168/8,0x36e/2 irq 10 not configured
Oct 13 15:35:04 tsukiji /netbsd: biomask f345 netmask f745 ttymask f7c7
Oct 13 15:35:04 tsukiji /netbsd: boot device: wd0
Oct 13 15:35:04 tsukiji /netbsd: root on wd0a dumps on wd0b
Oct 13 15:35:04 tsukiji /netbsd: root file system type: ffs
Oct 13 15:35:09 tsukiji ntpd[179]: ntpd 4.0.99i Thu Jun 13 05:29:48 CEST 2002 (1)
Oct 13 15:35:09 tsukiji ntpd[179]: precision = 10 usec
Oct 13 15:35:09 tsukiji ntpd[179]: using kernel phase-lock loop 0040

>How-To-Repeat:
Boot the 1.6 GENERIC kernel on the hardware I happen to have.  Watch network
not work at all, and ne1 timeout messages appear.
>Fix:
Run 1.5.3, or possibly replace the network card with something that uses
a different driver (haven't tried the latter yet, new OS versions shouldn't
gratuitously require hardware upgrades, if I wanted that, I'd run Linux.)
>Release-Note:
>Audit-Trail:
>Unformatted: