Date: Thu, 9 Jul 2009 16:24:25 +0300 From: Maxim Ignatenko <gelraen.ua@gmail.com> To: freebsd-current <freebsd-current@freebsd.org> Subject: Re: panic while configuring vlan on msk Message-ID: <ac42db050907090624m507951daie8064bfa94d2f574@mail.gmail.com> In-Reply-To: <ac42db050907090617v63b6418erd563ade09ffd2743@mail.gmail.com> References: <4A55D83E.4020206@yartv.ru> <ac42db050907090617v63b6418erd563ade09ffd2743@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
2009/7/9 Andrey Groshev <greenx@yartv.ru>: > Hi, again :) > > it was necessary to work with vlan-s, but did not succeed ... > > #ifconfig vlan7 create > #ifconfig vlan7 vlan 7 vlandev msk0 > > panic: mtx_lock() of spin mutex (null) @ /usr/src/sys/dev/e1000/if_em.c:1= 623 > cpuid =3D 1 > KBD: enter: panic > [thread pid 43561 tid 100322 ] > Stopped at =C2=A0 =C2=A0kdb_enter+0x3a: movl =C2=A0 =C2=A0$0,kbd_why > db> bt > Tracing pid 43561 tid 100322 td 0xc9967d80 > kdb_enter(c0cb1978,c0cb1978,c0cb03e4,eab05a70,1,...) at kdb_enter+0x03 > panic(c0cb03e4,0,c0c79470,657,c9967e24,...) at panic+0x136 > _mtx_lock_flags(c60db4e4,0,c0c79470,657,c60d7000,...) at > _mtx_lock_flags+0x9a > em_init(c60d7000) at em_init+0x35 > em_register_vlan(0,c60cd400,7,430,c696fb84,...) at em_register_vlan+0x44 > vlan_config(eab05b16,eab05b16,12,eab05b24,c6978220,...) at vlan_config+0x= 316 > vlan_ioctl(c6135400,80206939,c6978220,c9967d80,eab05bac,...) at > vlan_ioctl+0x2d5 > ifioctl(c9520338,80306939,c6978220,c9967d80,ca243500,...) at ifioctl+0x11= a8 > soo_ioctl(c6d02e38,80206939,c6978220,c65a0b80,c9967d80,...) at > soo_ioctl+0x415 > kern_ioctl(c9967d80,3,80206939,c6978220,8f52d0,...) at kern_ioctl+0x1fd > ioctl(c9967d80,eab05cf8,c,c0cc863f,c0d996dc8,...) at ioctl+0x134 > syscall(eab05d38) at syscall+0x2a3 > Xint0x80_syscall() at Xint0x80_syscall+0x20 > --- syscall (54, FreeBSD ELF32, ioctl), eip =3D 0x33dbda23, esp =3D 0xbfb= fe1ec, > ebp =3D 0xbfbfe208 --- It seems you stepped on the problem described in http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dkern/132715 em_register_vlan was rewritten r194865, but patch in followup to PR quite trivial and can be applied manually.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ac42db050907090624m507951daie8064bfa94d2f574>