*BSD News Article 5958


Return to BSD News archive

Path: sserve!manuel!munnari.oz.au!uunet!portal!lll-winken!sun-barr!ames!haven.umd.edu!darwin.sura.net!Sirius.dfn.de!math.fu-berlin.de!hrz.tu-chemnitz.de!wutcd
From: wutcd@chemnitz.guug.de (Joerg Wunsch)
Newsgroups: comp.unix.bsd
Subject: Re: Moving ethernet card from IRQ2 to IRQ5 in 386BSD
Keywords: Ethernet card, IRQ, 386BSD
Message-ID: <wutcd.718056376@hadrian>
Date: 2 Oct 92 20:06:16 GMT
References: <1992Oct1.162506.18691@debbie.cc.nctu.edu.tw>
Sender: bin@hrz.tu-chemnitz.de (Owner of all binaries)
Organization: tu-chemnitz
Lines: 40

u8011841@cc.nctu.edu.tw () writes:

>...
>   My quesion is: When I moved the NE2000 ethernet card from IRQ 2 to IRQ 5,
>the kernel can still detect the presence of the card but report

>   ne0 ethernet address 00:.... at 0x300 irq 9 on isa 
>                                         ^^^^^
Thats a problem of ISA bus, refer to Bills article in DDJ. The driver
is unable to detect the real IRQ and thus assumes IRQ being set as
configured in the systems file.

>   In fact, the FAQ mentioned that "Ken Raeburn report that simply rebuilding
>the kernel from supplied sources will get rid of it".
Yes, that it is. You MUST reconfigure and rebuild your kernel.

>But we prefered our
>486 work for DOS & 386BSD.  And IRQ set to 2 will halt the computer when run
>the clarkson packet driver.  It seems that VGA adapter use IRQ 2 too.
I didn't get any problems on irq 2 with the packet drivers. Most VGA
cards allow to disable their interrupt generation. It's only an old
compatibity hack to have it (EGA), but as far as i know this int is very
useless (occurs during vertical retrace).
>   So, How do I tell the kernel that the ethernet card had been moved from
>the default IRQ 2 to IRQ 5? Can somebody kindly to give me some help?
As mentioned above, _reconfigure_ your kernel, then rebuild - everything
will be nice.

	J"org

> 
>   Thanks in advance

>Shun-Jee Liu 
>liu@cmibm4.nctu.edu.tw
--
J"org Wunsch, TCD GmbH Dresden, R"ahnitzgasse 18, D-O-8060 Dresden
                                                              \     ~.~. 
	joerg_wunsch%bonnie@hadrian.hrz.tu-chemnitz.de         \   ~  | ~ 
	voice: +49-351-5965 137                                 \    ===