From owner-freebsd-sparc Tue Nov 19 7:40:35 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0046F37B401 for ; Tue, 19 Nov 2002 07:40:31 -0800 (PST) Received: from amun.isnic.is (amun.isnic.is [193.4.58.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 46A3643E42 for ; Tue, 19 Nov 2002 07:40:30 -0800 (PST) (envelope-from oli@amun.isnic.is) Received: from amun.isnic.is (oli@localhost [127.0.0.1]) by amun.isnic.is (8.12.3/8.12.3/isnic) with ESMTP id gAJFeRed054379; Tue, 19 Nov 2002 15:40:27 GMT (envelope-from oli@amun.isnic.is) Received: (from oli@localhost) by amun.isnic.is (8.12.3/8.12.3/Submit) id gAJFeR7b054378; Tue, 19 Nov 2002 15:40:27 GMT (envelope-from oli) Date: Tue, 19 Nov 2002 15:40:27 +0000 From: Olafur Osvaldsson To: Thomas Moestl Cc: freebsd-sparc@FreeBSD.ORG Subject: Re: network errors Message-ID: <20021119154027.GQ19604@isnic.is> Mail-Followup-To: Thomas Moestl , freebsd-sparc@FreeBSD.ORG References: <20021119131950.GM19604@isnic.is> <20021119135732.GA308@crow.dom2ip.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021119135732.GA308@crow.dom2ip.de> User-Agent: Mutt/1.3.28i Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Thomas, On Tue, 19 Nov 2002, Thomas Moestl wrote: > Can you please provide the ifconfig output in both cases, the exact > rc.conf line you were using and the relevant dmesg excerpts for hme0? === System info === Netra t1 (UltraSPARC-IIi 440MHz), No Keyboard OpenBoot 3.10.24 ME, 512 MB memory installed, Serial #14270042. Ethernet address 8:0:20:d9:be:5a, Host ID: 80d9be5a. ================ Working network: ================ dmesg: ... hme0: mem 0xe0000000-0xe0007fff irq 33 at device 1.1 on pci2 hme0: Ethernet address: 08:00:20:d9:be:5a miibus0: on hme0 ukphy0: on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto ukphy1: on miibus0 ukphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto ... Doing initial network setup: hostname. hme0: flags=8843 mtu 1500 inet 130.208.16.22 netmask 0xffffff00 broadcast 130.208.16.255 ether 08:00:20:d9:be:5a media: Ethernet autoselect (100baseTX) status: active lo0: flags=8049 mtu 16384 inet 127.0.0.1 netmask 0xff000000 ... [root@fundinn oli]# grep ifconfig /etc/rc.conf ifconfig_hme0="inet 130.208.16.22 netmask 255.255.255.0" [root@fundinn oli]# ifconfig -a hme0: flags=8843 mtu 1500 inet 130.208.16.22 netmask 0xffffff00 broadcast 130.208.16.255 ether 08:00:20:d9:be:5a media: Ethernet autoselect (100baseTX) status: active lo0: flags=8049 mtu 16384 inet 127.0.0.1 netmask 0xff000000 [root@fundinn /root]# ping -qc2 127.0.0.1 PING 127.0.0.1 (127.0.0.1): 48 data bytes --- 127.0.0.1 ping statistics --- 2 packets transmitted, 2 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.152/0.246/0.340/0.094 ms [root@fundinn /root]# ping -qc2 130.208.16.22 PING 130.208.16.22 (130.208.16.22): 48 data bytes --- 130.208.16.22 ping statistics --- 2 packets transmitted, 2 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.150/0.284/0.419/0.135 ms [root@fundinn /root]# ping -qc2 130.208.16.1 PING 130.208.16.1 (130.208.16.1): 48 data bytes --- 130.208.16.1 ping statistics --- 2 packets transmitted, 2 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.740/0.805/0.871/0.066 ms ==================== NON-Working network: ==================== dmesg: ... hme0: mem 0xe0000000-0xe0007fff irq 33 at device 1.1 on pci2 hme0: Ethernet address: 08:00:20:d9:be:5a miibus0: on hme0 ukphy0: on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto ukphy1: on miibus0 ukphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto ... Doing initial network setup: hostname. atalk 33488.16 range 33488-33488 phase 2 hme0: flags=8843 mtu 1500 inet 130.208.16.22 netmask 0xffffff00 broadcast 130.208.16.255 ether 08:00:20:d9:be:5a media: Ethernet 100baseTX (100baseTX) status: active lo0: flags=8049 mtu 16384 inet 127.0.0.1 netmask 0xff000000 ... [root@fundinn /root]# grep ifconfig /etc/rc.conf ifconfig_hme0="inet 130.208.16.22 netmask 255.255.255.0 media 100baseTX mediaopt full-duplex" [root@fundinn /root]# ifconfig -a hme0: flags=8843 mtu 1500 inet 130.208.16.22 netmask 0xffffff00 broadcast 130.208.16.255 ether 08:00:20:d9:be:5a media: Ethernet 100baseTX (100baseTX) status: active lo0: flags=8049 mtu 16384 inet 127.0.0.1 netmask 0xff000000 [root@fundinn /root]# ping -qc2 127.0.0.1 PING 127.0.0.1 (127.0.0.1): 48 data bytes --- 127.0.0.1 ping statistics --- 2 packets transmitted, 2 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.151/0.238/0.326/0.088 ms [root@fundinn /root]# ping -qc2 130.208.16.22 PING 130.208.16.22 (130.208.16.22): 48 data bytes --- 130.208.16.22 ping statistics --- 2 packets transmitted, 2 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.149/0.256/0.362/0.106 ms [root@fundinn /root]# ping -qc2 130.208.16.1 PING 130.208.16.1 (130.208.16.1): 48 data bytes --- 130.208.16.1 ping statistics --- 2 packets transmitted, 0 packets received, 100% packet loss [root@fundinn /root]# ============================================ No changes were made between reboot except in rc.conf ifconfig_hme0 line. As noted before I can then change the interface to be fixed 100-FD after logging in (after a successful boot) and doing: [root@fundinn /root]# ifconfig hme0 media 100baseTX mediaopt full-duplex atalk 0.0 range 0-0 phase 2 Then the interface is fixed to this speed and duplex: [root@fundinn /root]# ifconfig -a hme0: flags=8843 mtu 1500 inet 130.208.16.22 netmask 0xffffff00 broadcast 130.208.16.255 ether 08:00:20:d9:be:5a media: Ethernet 100baseTX status: active lo0: flags=8049 mtu 16384 inet 127.0.0.1 netmask 0xff000000 Now the interface is fully functional and not in autosense mode. Changing the interface in the same manner to AUTO after a unsuccessful boot does not give the same results, the ifconfig output changes but the interface does not work. /Oli -- Olafur Osvaldsson Systems Administrator Internet a Islandi hf. Tel: +354 525-5291 Email: oli@isnic.is To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message