On Wed, Jan 25, 2006 at 10:23:48AM +0000, Sylvain Briole
wrote:
> Hi all!
>
> I have a old Pentium1 computer with 2 network-cards
(DEC EtherWorks 3, DE205) on
> ISA bus.
> I would like to use this computer as a gateway.
> I have a old Linux (2.4) distribution which is
currently running on it, but I
> would like to upgrade and try NetBSD 3.0.
>
> The configuration on Linux :
>
> # insmod -o ewrk3a ewrk3 io=0x300 irq=5
> eth0: DE205-AB at 0x300, h/w address 08:00:2b:3e:21:09,
> has a 2k RAM window at 0xd0000 and requires IRQ5
>
> # insmod -o ewrk3b ewrk3 io=0x340 irq=10
> eth1: DE205-AB at 0x340, h/w address 08:00:2b:92:ad:fb,
> has a 2k RAM window at 0xd0800 and requires IRQ10
>
> The routing between the two networks (between eth0 and
eth1) works perfectly.
>
> I install NetBSD 3.0 : none of the cards is recognized.
> I decide to create a custom kernel from the GENERIC
kernel.
> I make a copy of /usr/src/sys/arch/i386/conf/GENERIC.
>
> The cards are sharing the same lc driver :
> lc0 at isa? port 0x320 iomem ? irq ? # DEC
EtherWORKS III (LEMAC)
> I try to comment this line and replace with
> lc0 at isa? port 0x300 iomem ? irq 5 # DEC
EtherWORKS III (LEMAC)
> I recompile and reboot : it works, only for the first
card (what I expected).
> Then, I try the following :
> lc0 at isa? port 0x300 iomem ? irq 5 # DEC
EtherWORKS III (LEMAC)
> lc1 at isa? port 0x340 iomem ? irq 10 # DEC
EtherWORKS III (LEMAC)
> I recompile and reboot : it does not work: only the
first card is recognized.
> Then, I try the following :
> lc* at isa? port ? iomem ? irq ? # DEC EtherWORKS
III (LEMAC)
> I recompile and reboot : it does not work: none of the
cards is recognized.
>
> What do I need to do in the configuration file in order
to have the two cards
> recognized from the kernel?
>
> I thank you in advance for your help,
Please post dmesg output in each case.
--
Quentin Garnier - cube cubidou.net - cube NetBSD.org
"When I find the controls, I'll go where I like, I'll
know where I want
to be, but maybe for now I'll stay right here on a silent
sea."
KT Tunstall, Silent Sea, Eye to the Telescope, 2004.
|