Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Sep 2004 16:21:19 +0200
From:      "Raphael H. Becker" <rabe@p-i-n.com>
To:        freebsd-current@freebsd.org
Subject:   ifconfig bge0 resets the device (BETA4)
Message-ID:  <20040916162119.A55054@p-i-n.com>

next in thread | raw e-mail | index | archive | help
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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=1a<TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
        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 <full-duplex>)
        status: active
bge1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        options=1a<TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
        ether 00:0d:56:bb:9c:26
        media: Ethernet autoselect (none)
        status: no carrier
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> 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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=1a<TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
        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 <full-duplex>)
        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: <Broadcom BCM5703 Gigabit Ethernet, ASIC rev. 0x1002> mem 0xfcf10000-0xfcf1ffff irq 28 at device 6.0 on pci3
miibus0: <MII bus> on bge0
bge0: Ethernet address: 00:0d:56:b9:d8:55
bge0: gigabit link up
bge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=1a<TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
        inet 10.101.240.54 netmask 0xffffff00 broadcast 10.101.240.255
<Connection died here>

Another one, with screen:
root@pinserv6:~# ifconfig bge0
bge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=1a<TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
        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 <full-duplex>)
        status: active
        ^^^^^^^^^^^^^^

Whats wrong?


Regards
Raphael Becker



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