Subject: Re: kern/18646: ne1 fails to work in 1.6 where it worked in 1.5.3
To: None <nemo@red-bena.com>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-bugs
Date: 10/14/2002 22:36:38
On Sun, Oct 13, 2002 at 07:13:18PM -0400, nemo@red-bean.com wrote:
> [...]
> >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: 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: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 15:35:03 tsukiji /netbsd: NetBSD 1.5.3 (GENERIC) #34: Mon Jul  1 21:36:06 CEST 2002
> 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: isapnp0: <ESS ES1868 Plug and Play AudioD, ESS0002, , > port 0x168/8,0x36e/2 irq 10 not configured

You have 2 ISA devices on the same IRQ, which is not recommended (it sometimes
works, but not always). It works in 1.5.3 because the kernel doesn't include
a driver for the second device, where 1.6 does.
Try to mark IRQ 10 a "used by ISA device" so that it's not assigned to
a ISApnp one.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
--