From owner-freebsd-current@FreeBSD.ORG Thu Sep 16 14:21:25 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E0ECC16A4CE for ; Thu, 16 Sep 2004 14:21:25 +0000 (GMT) Received: from aposerv.p-i-n.com (aposerv.p-i-n.com [145.253.185.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id E51B643D4C for ; Thu, 16 Sep 2004 14:21:22 +0000 (GMT) (envelope-from rabe@p-i-n.com) Received: from p-i-n.com (inside.p-i-n.com [129.10.9.21]) by aposerv.p-i-n.com (8.12.11/8.12.11) with ESMTP id i8GELKaU057932 for ; Thu, 16 Sep 2004 16:21:20 +0200 (CEST) (envelope-from rabe@p-i-n.com) Received: (from rabe@localhost) by p-i-n.com (8.11.6/8.11.6) id i8GELJC36494 for freebsd-current@freebsd.org; Thu, 16 Sep 2004 16:21:19 +0200 (CEST) (envelope-from rabe) Date: Thu, 16 Sep 2004 16:21:19 +0200 From: "Raphael H. Becker" To: freebsd-current@freebsd.org Message-ID: <20040916162119.A55054@p-i-n.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Organization: PHOENIX Pharmahandel AG & Co KG, Mannheim, Deutschland Subject: ifconfig bge0 resets the device (BETA4) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Sep 2004 14:21:26 -0000 Hi all, I wanted to check some parameters of my bge0 on one of our Dell PE2650-Boxes, running fresh BETA4. The command "ifconfig" lists all network devices, works fine. The command "ifconfig bge0" resetted the interface, the ssh-shell was stalled for a second or two, ifconfig produced "status: no carrier". The shell is running in a screen environment, ifconfig terminated and the interface got up again, shell is alive. root@pinserv5:~# ifconfig bge0: flags=8843 mtu 1500 options=1a inet 10.101.240.55 netmask 0xffffff00 broadcast 10.101.240.255 inet6 fe80::20d:56ff:febb:9c25%bge0 prefixlen 64 scopeid 0x1 ether 00:0d:56:bb:9c:25 media: Ethernet autoselect (1000baseTX ) status: active bge1: flags=8802 mtu 1500 options=1a ether 00:0d:56:bb:9c:26 media: Ethernet autoselect (none) status: no carrier lo0: flags=8049 mtu 16384 inet 127.0.0.1 netmask 0xff000000 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 root@pinserv5:~# ifconfig bge0 bge0: flags=8843 mtu 1500 options=1a inet 10.101.240.55 netmask 0xffffff00 broadcast 10.101.240.255 inet6 fe80::20d:56ff:febb:9c25%bge0 prefixlen 64 scopeid 0x1 ether 00:0d:56:bb:9c:25 media: Ethernet autoselect (1000baseTX ) status: no carrier ^^^^^^^^^^^^^^^^^^ The logfile: Sep 16 15:58:46 pinserv5 kernel: bge0: gigabit link up Same thing on a similar box (PE2650, BETA4) without screen: root@pinserv4:~# dmesg | grep bge0 ; ifconfig bge0 bge0: mem 0xfcf10000-0xfcf1ffff irq 28 at device 6.0 on pci3 miibus0: on bge0 bge0: Ethernet address: 00:0d:56:b9:d8:55 bge0: gigabit link up bge0: flags=8843 mtu 1500 options=1a inet 10.101.240.54 netmask 0xffffff00 broadcast 10.101.240.255 Another one, with screen: root@pinserv6:~# ifconfig bge0 bge0: flags=8843 mtu 1500 options=1a inet 10.101.240.56 netmask 0xffffff00 broadcast 10.101.240.255 <-- stalled here --> inet6 fe80::20d:56ff:febb:9c27%bge0 prefixlen 64 scopeid 0x1 ether 00:0d:56:bb:9c:27 media: Ethernet autoselect (1000baseTX ) status: active ^^^^^^^^^^^^^^ Whats wrong? Regards Raphael Becker