Date: Tue, 17 May 2005 12:55:57 +0300 (EEST) From: "Dmitry Sergienko" <dmitry@trifle.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: kern/81147: em0 reinitialization while adding aliases to interface Message-ID: <200505170955.j4H9tvx4064635@www.trifle.net> Resent-Message-ID: <200505171000.j4HA0PK3058981@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 81147 >Category: kern >Synopsis: em0 reinitialization while adding aliases to interface >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue May 17 10:00:25 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Dmitry Sergienko >Release: FreeBSD 5.4-RELEASE i386 >Organization: Trifle Co., Ltd. >Environment: >Description: Network card looses link while adding an alias to interface em0. This affects only em0 - neither vlans with vlandev em0, nor fxp0. Problem was detected on two different machines with the same netcards >How-To-Repeat: Initial state: root@www:/home/trooper# ifconfig em0 em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=4b<RXCSUM,TXCSUM,VLAN_MTU,POLLING> inet 195.24.128.164 netmask 0xfffffff0 broadcast 195.24.128.175 inet 195.24.128.72 netmask 0xffffffe0 broadcast 195.24.128.95 ether 00:0e:0c:33:c7:a8 media: Ethernet autoselect (1000baseTX <full-duplex>) status: active root@www:/home/trooper# dmesg root@www:/home/trooper# Now let's add an alias to interface em0: root@www:/home/trooper# ifconfig em0 alias 85.198.128.1/24 ; while true; do date +%H:%M:%S; ifconfig em0 | egrep '(media|status)' ; sleep 1s; done 15:44:14 media: Ethernet autoselect status: no carrier 15:44:15 media: Ethernet autoselect status: no carrier 15:44:16 media: Ethernet autoselect status: no carrier 15:44:17 media: Ethernet autoselect (1000baseTX <full-duplex>) status: active root@www:/home/trooper# ifconfig em0 em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=4b<RXCSUM,TXCSUM,VLAN_MTU,POLLING> inet 195.24.128.164 netmask 0xfffffff0 broadcast 195.24.128.175 inet 195.24.128.72 netmask 0xffffffe0 broadcast 195.24.128.95 inet 85.198.128.1 netmask 0xffffff00 broadcast 85.198.128.255 ether 00:0e:0c:33:c7:a8 media: Ethernet autoselect (1000baseTX <full-duplex>) status: active root@www:/home/trooper# dmesg em0: Link is up 1000 Mbps Full Duplex root@www:/home/trooper# Alias has been added, but interface was reinitialized. >Fix: No fix currently found. >Release-Note: >Audit-Trail: >Unformatted: >System: FreeBSD www.trifle.net 5.4-RELEASE FreeBSD 5.4-RELEASE #3: Mon May 16 18:59:05 EEST 2005 trooper@www.trifle.net:/usr/obj/usr/src/sys/TRIFLE i386 Machine ~~~~~~~ CPU: Athlon 1700 XP+ M/B: ASUS A7N8X Netcard: em0: <Intel(R) PRO/1000 Network Connection, Version - 1.7.35> port 0x9800-0x983f mem 0xd9120000-0xd913ffff,0xd9100000-0xd911ffff irq 5 at device 9.0 on pci1; device = '82547EI Gigabit Ethernet Controller' OS ~~ This bug affects both 4.10-RELEASE and 5.4-RELEASE.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200505170955.j4H9tvx4064635>