Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Nov 2000 15:29:25 -0800
From:      Drew Tomlinson <drewt@writeme.com>
To:        "FreeBSD Questions (E-mail)" <freebsd-questions@FreeBSD.org>
Subject:   What Is config> During Boot?
Message-ID:  <BA5D0CE1CBB2D411B6AA00A0CC3F02390AF70C@ldcmsx01.lc.ca.gov>

next in thread | raw e-mail | index | archive | help
Sorry for the long message but I want to be as explicit as I can regarding
the steps I have taken.  Thanks for your time!

I am still attempting to get a 2nd NIC working in my box I can connect to an
external DSL modem and do NAT.  Here's the situation:

1. I have 2 identical LinkSys ISA 10-baseT cards that are NE2000 compatible.
One (ed0) has been in the system and working reliably since I built the
system this summer.  It is set to IRQ 9 and address 240H.  My system in not
PnP.

The second (ed1) was added yesterday and has never worked properly in this
system but was working fine in the Windows 2000 system it was removed from.
It is set to IRQ 11 and address 260H.  Both cards passed all tests in the
configuration software.

2. The original kernel config that was created during installation showed
ed0 as "device          ed0 at isa? port 0x280 irq 10 iomem 0xd8000" but was
configured as IRQ 9 and address 240H.  I don't know where the 0xd8000 came
from and there are no settings available in the setup software that resemble
that number.  However, the card still worked and always has worked.

I edited the original "device ed0" line to reflect the correct settings.
Then I copied and edited for ed1.  So the lines were as follows:

device          ed0     at isa? port 0x240 irq 9 iomem 0xd8000
device          ed1     at isa? port 0x260 irq 11 iomem 0xd8000

3. I also edited /etc/rc.conf to include ed1:

network_interfaces="ed0 ed1 lo0"
ifconfig_ed0="inet 192.168.0.2  netmask 255.255.255.0"
ifconfig_ed1="inet 192.168.0.3  netmask 255.255.255.0"
defaultrouter="192.168.0.1"

4. Then I recompiled and restarted the system.  Upon restart, I get the
following message:

Nov 10 11:47:48 blacksheep /kernel: ed1: device timeout

dmesg reports the following:

...
ed0 at port 0x240-0x25f iomem 0xd8000 irq 9 drq 0 on isa0
ed0: address 00:40:05:66:b2:55, type NE2000 (16 bit)
ed1 at port 0x260-0x27f iomem 0xd0000 irq 11 on isa0
ed1: address 00:40:05:66:b2:52, type NE2000 (16 bit)
...
Mounting root from ufs:/dev/ad0s1a
ed1: device timeout
ed1: device timeout

ifconfig -a shows:

...
ed0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.0.2 netmask 0xffffff00 broadcast 192.168.0.255
        inet6 fe80::240:5ff:fe66:b255%ed0 prefixlen 64 scopeid 0x2
        ether 00:40:05:66:b2:55
ed1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.0.3 netmask 0xffffff00 broadcast 192.168.0.255
        inet6 fe80::240:5ff:fe66:b252%ed1 prefixlen 64 scopeid 0x3
        ether 00:40:05:66:b2:52
...

5. ed0 continues to work.  ed1 does not.  Someone earlier pointed out that
the iomem addresses of 0xd8000 were the same so I switched ed1 to be 0xd0000
and recompiled.  Same errors as above.

Then thinking that "at isa?" means "probe and see what you find", I removed
everything after "at isa?" and recompiled again.  This time only ed0 was
found but it still worked.

So now I'm looking things over and see that at the beginning of dmesg, there
lines like this:

...
config> en ed0
config> po ed0 0x240
config> ir ed0 9
config> iom ed0 0xd8000
config> f ed0 0
config> q
...

What is "config>" and should there be something there for ed1 as well?  Is
this my problem?  I'd appreciate any help, thoughts, nudges, etc.  I'm new
to both Unix and FBSD so I may be missing something really basic.

Thanks!

Drew



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BA5D0CE1CBB2D411B6AA00A0CC3F02390AF70C>