From owner-freebsd-questions@FreeBSD.ORG Tue Jan 8 09:11:01 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BBE4C16A419 for ; Tue, 8 Jan 2008 09:11:01 +0000 (UTC) (envelope-from matthias@adminlife.net) Received: from mx.adminlife.net (mx.adminlife.net [89.149.221.68]) by mx1.freebsd.org (Postfix) with ESMTP id 92FFC13C46E for ; Tue, 8 Jan 2008 09:11:01 +0000 (UTC) (envelope-from matthias@adminlife.net) Received: from [192.168.0.51] (p548805FD.dip0.t-ipconnect.de [84.136.5.253]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx.adminlife.net (Postfix) with ESMTP id BDBA9AB0D9 for ; Tue, 8 Jan 2008 09:51:34 +0100 (CET) Message-ID: <47833B54.1050906@adminlife.net> Date: Tue, 08 Jan 2008 09:59:00 +0100 From: Matthias Kellermann User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: freebsd-questions@freebsd.org X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Subject: FreeBSD 6.2, bge devices not coming up (hanging at "link state changed to DOWN") X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jan 2008 09:11:01 -0000 Hi list, I'm using FreeBSD 6.2 on a IBM x236 dual Xeon server. This device has two network interfaces working with the bge driver. pciconf -v -l output: bge0@pci2:1:0: class=0x020000 card=0x026f1014 chip=0x16a714e4 rev=0x02 hdr=0x00 vendor = 'Broadcom Corporation' device = 'BCM5703X NetXtreme Gigabit Ethernet' class = network subclass = ethernet bge1@pci2:2:0: class=0x020000 card=0x026f1014 chip=0x16a714e4 rev=0x02 hdr=0x00 vendor = 'Broadcom Corporation' device = 'BCM5703X NetXtreme Gigabit Ethernet' class = network subclass = ethernet My problem is using both interfaces at the same time. If I will give them both an ip address in the rc.conf with: ifconfig_bge0="192.168.0.210/24" ifconfig_bge0_alias0="10.0.2.1/32" ifconfig_bge0_alias1="10.0.2.2/32" ifconfig_bge0_alias2="10.0.2.10/32" ifconfig_bge1="192.168.1.10/24" the system won't come up properly. I can see the messages: bge0: link state changed to DOWN bge1: link state changed to DOWN The system is hanging at this state forever. I have to do a hard reset. If I don't assign bge1 an ip address the system is coming up. If I boot in safe mode the system is coming up, too. Plugging out all the cables or booting with ACPI disabled won't work. If I change the rc.conf to: ifconfig_bge0="192.168.0.210/24 media 100baseTX mediaopt full-duplex" [...] ifconfig_bge1="192.168.1.10/24 media 100baseTX mediaopt full-duplex" interface bge0 will come up (and is ping-able) but system will hang at bge1: bge0: link state changed to DOWN bge0: link state changed to UP bge1: link state changed to DOWN Any ideas whats wrong here? How can I investigate further? Why does it work in safe mode? Thanks, Matthias