Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 08 Jan 2008 09:59:00 +0100
From:      Matthias Kellermann <matthias@adminlife.net>
To:        freebsd-questions@freebsd.org
Subject:   FreeBSD 6.2, bge devices not coming up (hanging at "link state changed to DOWN")
Message-ID:  <47833B54.1050906@adminlife.net>

next in thread | raw e-mail | index | archive | help
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





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