From owner-freebsd-questions Fri Nov 10 15:29:33 2000 Delivered-To: freebsd-questions@freebsd.org Received: from lcmail2.lc.ca.gov (lcmail2.lc.ca.gov [165.107.12.11]) by hub.freebsd.org (Postfix) with ESMTP id E0CBC37B479 for ; Fri, 10 Nov 2000 15:29:29 -0800 (PST) Received: from CONVERSION-DAEMON by lcmail2.lc.ca.gov (PMDF V5.2-27 #40821) id <0G3U0040118JSZ@lcmail2.lc.ca.gov> for freebsd-questions@FreeBSD.org; Fri, 10 Nov 2000 15:29:08 -0800 (PST) Received: from tagalong ([165.107.42.185]) by lcmail2.lc.ca.gov (PMDF V5.2-27 #40821) with SMTP id <0G3U003LD18JIA@lcmail2.lc.ca.gov> for freebsd-questions@FreeBSD.org; Fri, 10 Nov 2000 15:29:07 -0800 (PST) Date: Fri, 10 Nov 2000 15:29:25 -0800 From: Drew Tomlinson Subject: What Is config> During Boot? To: "FreeBSD Questions (E-mail)" Message-id: MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2910.0) Content-type: text/plain; charset="iso-8859-1" Content-transfer-encoding: 7bit Importance: Normal X-Priority: 3 (Normal) X-MSMail-priority: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 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 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