*BSD News Article 19868


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!ariel.ucs.unimelb.EDU.AU!werple.apana.org.au!hal9000!apanix!apanix!not-for-mail
From: hart@apanix.apana.org.au (Leigh Hart)
Newsgroups: comp.os.386bsd.misc
Subject: Re: Three ESDI drives possible?
Date: 22 Aug 1993 17:13:48 +1030
Organization: APANIX Public Access Unix, Australia, +61-8-373-5485 (3 lines)
Lines: 35
Message-ID: <2574j5$65u@olivaw.apanix.apana.org.au>
References: <1993Aug20.023013.19454@sserve.cc.adfa.oz.au> <1993Aug20.115055.20044@cnplss5.cnps.philips.nl> <1993Aug20.155651.18766@leland.Stanford.EDU>
NNTP-Posting-Host: olivaw.apanix.apana.org.au

yergeau@leland.Stanford.EDU (Dan Yergeau) writes:

>Where did you get this wd driver?  I'm running in a similar
>configuration (second controller on 0x170 and irq 15) with a homebrew
>merge of Helbekkmo's changes and patchkit-0.2.4.  I tend to get a fair
>number of "wdc[01]: extra interrupt" and "stray interrupts" for IRQ 7(???).
>Performance is good, and everything seems to work OK, but I would like
>to eliminate these messages.

I'm not sure what the "wdc[01]: extra interrupt" error is as I don't run
a dual control system - but the stray interrupts you are getting on
IRQ 7 is your printer driver.

In your config file (/sys/i386/conf/MACHINE_NAME), change the lines:
#
# Interruptless printer driver
#
device		lpa0	at isa? port "IO_LPT1" tty

to read like the following lines:
#
# Interrupt driven printer driver? perhaps :)
#
device		lpt0	at isa? port "IO_LPT1" tty irq 7 vector lptintr

then just reconfig and recompile and reinstall your kernel.  You will never
get stray interrupts on IRQ 7 again :)


Cheers

Leigh
--
386BSD On a monochrome 16Mhz 386-SX with 6MB Ram & 2 40MB Drives.
It works, but hey, don't install ingres or oracle on this baby!