Subject: Re: secondary ide bus....
To: None <darrenr@cyber.com.au>
From: Mike Long <mike.long@analog.com>
List: port-i386
Date: 02/28/1996 01:15:33
>From: Darren Reed <darrenr@cyber.com.au>
>Date: Tue, 27 Feb 1996 01:40:45 +1100 (EST)

>looks interesting :_)
>
>wdc1 at isa0 port 0x170-0x177
>panic: intr_establish: bogus irq or type
>Stopped at      _Debugger+0x4:  leave

You got this because you didn't specify an IRQ for wdc1 in your kernel
config, so the wdc driver passed IRQUNK to isa_intr_establish().
Boom!

Driver gurus: Is it a bug that wdcattach() in /sys/dev/isa/wd.c is
willing to pass IRQUNK to isa_intr_establish() without checking it
first?

>if there is anything else I can provide to help fix this situation (include
>beta test new drivers) let me know - I'm not particularly worried about
>having to rebuild my netbsd partition from scratch (atapi drivers would help
>this situation immensely but :).

In your kernel config file, replace your current wdc1 line with:

wdc1	at isa? port 0x170 irq 15

config, build, boot.
-- 
Mike Long <mike.long@analog.com>     <URL:http://www.shore.net/~mikel>
VLSI Design Engineer         finger mikel@shore.net for PGP public key
Analog Devices, CPD Division          CCBF225E7D3F7ECB2C8F7ABB15D9BE7B
Norwood, MA 02062 USA       (eq (opinion 'ADI) (opinion 'mike)) -> nil