Date: Wed, 26 Sep 2007 10:38:45 -0700 From: "Jack Vogel" <jfvogel@gmail.com> To: "Jon Otterholm" <jon.otterholm@ide.resurscentrum.se> Cc: freebsd-net@freebsd.org Subject: Re: if_em and if_vlan Message-ID: <2a41acea0709261038q1613525avadadfd68c5ab2789@mail.gmail.com> In-Reply-To: <46FA736A.7000206@ide.resurscentrum.se> References: <46FA736A.7000206@ide.resurscentrum.se>
next in thread | previous in thread | raw e-mail | index | archive | help
This is not an issue in my current driver base, I am having our test group do some checking since I am not aware of the specific change that fixed this, I am not sure if the CURRENT code has the problem or not, also being tested. Jack On 9/26/07, Jon Otterholm <jon.otterholm@ide.resurscentrum.se> wrote: > Hi. > > I get "Device busy" when trying to change VLAN-id on a sub-if to em0: > > [root@host /home/user]# ifconfig vlan100 vlan 100 vlandev em0 > ifconfig: SIOCSETVLAN: Device busy > > [root@host /home/user]# dmesg | grep em0 > em0: <Intel(R) PRO/1000 Network Connection Version - 6.2.9> port > 0x4000-0x401f mem 0xee200000-0xee21ffff irq 16 at device 0.0 on pci9 > > [root@host /home/user]# pciconf -vl > em0@pci9:0:0: class=0x020000 card=0x108c15d9 chip=0x108c8086 rev=0x03 > hdr=0x00 > vendor = 'Intel Corporation' > device = 'PRO/1000 PM' > class = network > subclass = ethernet > > [root@host /home/user]# uname -a > FreeBSD host 6.2-STABLE FreeBSD 6.2-STABLE #1: Tue Sep 25 22:29:05 CEST > 2007 user@host:/usr/obj/usr/src/sys/host i386 > > It works if I create a new interface like: > > [root@host /home/user]# ifconfig vlan100 create > > and setting the vid and vlandev: > > [root@host /home/user]# ifconfig vlan100 vlan 100 vlandev em0 > > But when I try to change the setting: > > [root@host /home/user]# ifconfig vlan100 vlan 100 vlandev em1 > ifconfig: SIOCSETVLAN: Device busy > > Even if I destroy the interface and create it again I get "Device busy": > > [root@host /home/user]# ifconfig vlan100 destroy > [root@host /home/user]# ifconfig vlan100 create > [root@host /home/user]# ifconfig vlan100 vlan 100 vlandev em1 > ifconfig: SIOCSETVLAN: Device busy > > Motherboard is Supermicro PDSMi-LN4+ with four em-interfaces. > > How do I solve this? > > //Jon > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2a41acea0709261038q1613525avadadfd68c5ab2789>