Date: Mon, 16 Sep 2019 08:24:13 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 240609] [iflib] [panic] with INVARIANTS: sleeping in an epoch section (12.1-pre-QA) (vlan + lagg involved) Message-ID: <bug-240609-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D240609 Bug ID: 240609 Summary: [iflib] [panic] with INVARIANTS: sleeping in an epoch section (12.1-pre-QA) (vlan + lagg involved) Product: Base System Version: 12.0-STABLE Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: bugzilla.freebsd@omnilan.de Hello, here's a iflib related panic I get on my real-world cold-standby setup with 12.1-prerelease and debug kernel. It happens when creating a vlan(4) child with if_igb(4) pair as lagg(4) par= ent: <6>vlan0: link state changed to UP panic: sleeping in an epoch section cpuid =3D 1 time =3D 1568620268 KDB: stack backtrace:=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe000058b= 380=20=20 vpanic() at vpanic+0x19d/frame 0xfffffe000058b3d0 panic() at panic+0x43/frame 0xfffffe000058b430 _sleep() at _sleep+0x466/frame 0xfffffe000058b4d0 pause_sbt() at pause_sbt+0x10f/frame 0xfffffe000058b510 e1000_reset_hw_82580() at e1000_reset_hw_82580+0x1cc/frame 0xfffffe000058b5= 50 em_if_stop() at em_if_stop+0x1b/frame 0xfffffe000058b570 iflib_stop() at iflib_stop+0xc3/frame 0xfffffe000058b5c0 iflib_vlan_register() at iflib_vlan_register+0xad/frame 0xfffffe000058b600 lagg_register_vlan() at lagg_register_vlan+0xda/frame 0xfffffe000058b660 vlan_config() at vlan_config+0x50b/frame 0xfffffe000058b6c0 vlan_clone_create() at vlan_clone_create+0x29b/frame 0xfffffe000058b730 if_clone_createif() at if_clone_createif+0x4a/frame 0xfffffe000058b780 ifioctl() at ifioctl+0x6fe/frame 0xfffffe000058b850 kern_ioctl() at kern_ioctl+0x2b0/frame 0xfffffe000058b8b0 sys_ioctl() at sys_ioctl+0x15d/frame 0xfffffe000058b980 amd64_syscall() at amd64_syscall+0x276/frame 0xfffffe000058bab0 fast_syscall_common() at fast_syscall_common+0x101/frame 0xfffffe000058bab0 --- syscall (54, FreeBSD ELF64, sys_ioctl), rip =3D 0x80047439a, rsp =3D 0x7fffffffe348, rbp =3D 0x7fffffffe350 --- KDB: enter: panic #9 0xffffffff805cf4ca in vpanic (fmt=3D<value optimized out>, ap=3D<value optimized out>) at /usr/local/share/deploy-tools/RELENG_12/src/sys/kern/kern_shutdown.c= :866 #10 0xffffffff805cf273 in panic (fmt=3D<value optimized out>) at /usr/local/share/deploy-tools/RELENG_12/src/sys/kern/kern_shutdown.c= :804 #11 0xffffffff805da0b6 in _sleep (ident=3D0xffffffff80ef0941, lock=3D0x0, priority=3D0, wmesg=3D<value optimized out>, sbt=3D42949672,=20 pr=3D0, flags=3D256) at /usr/local/share/deploy-tools/RELENG_12/src/sys/kern/kern_synch.c:150 #12 0xffffffff805da4af in pause_sbt (wmesg=3D<value optimized out>, sbt=3D4= 2949672, pr=3D<value optimized out>,=20 flags=3D<value optimized out>) at /usr/local/share/deploy-tools/RELENG_12/src/sys/kern/kern_synch.c:332 #13 0xffffffff81b3e7cc in e1000_reset_hw_82580 (hw=3D0xfffffe004b7eb008) at RELENG_12/src/sys/dev/e1000/e1000_osdep.h:97 #14 0xffffffff81b0c86b in em_if_stop (ctx=3D<value optimized out>) at /usr/local/share/deploy-tools/RELENG_12/src/sys/dev/e1000/if_em.c:18= 67 #15 0xffffffff806f74f3 in iflib_stop (ctx=3D0xfffff8000291f800) at ifdi_if.= h:268 #16 0xffffffff80704e3d in iflib_vlan_register (arg=3D0xfffff8000291f800, ifp=3D0xfffff8000295a800, vtag=3D232) at /usr/local/share/deploy-tools/RELENG_12/src/sys/net/iflib.c:3883 #17 0xffffffff806eb94a in lagg_register_vlan (arg=3D<value optimized out>, ifp=3D<value optimized out>, vtag=3D<value optimized out>) at /usr/local/share/deploy-tools/RELENG_12/src/sys/net/if_lagg.c:452 #18 0xffffffff806f68fb in vlan_config (ifv=3D0xfffff80002555c00, p=3D0xfffff80002895000, vid=3D<value optimized out>) at /usr/local/share/deploy-tools/RELENG_12/src/sys/net/if_vlan.c:1431 #19 0xffffffff806f596b in vlan_clone_create (ifc=3D0xfffff800024dec00, name=3D0xfffffe000058b8d0 "vlan0", len=3D18446735277655190528,=20 params=3D<value optimized out>) at /usr/local/share/deploy-tools/RELENG_12/src/sys/net/if_vlan.c:1066 #20 0xffffffff806e1c3a in if_clone_createif (ifc=3D0xfffff800024dec00, name=3D0xfffffe000058b8d0 "vlan0", len=3D16,=20 params=3D0x22db40 <Address 0x22db40 out of bounds>) at /usr/local/share/deploy-tools/RELENG_12/src/sys/net/if_clone.c:229 #21 0xffffffff806d90be in ifioctl (so=3D<value optimized out>, cmd=3D322334= 9628, data=3D0xfffffe000058b8d0 "vlan0",=20 td=3D0xfffff800037a55e0) at /usr/local/share/deploy-tools/RELENG_12/src/sys/net/if.c:3097 ---Type <return> to continue, or q <return> to quit--- #22 0xffffffff8063d870 in kern_ioctl (td=3D0xfffff800037a55e0, fd=3D<value optimized out>, com=3D3223349628,=20 data=3D<value optimized out>) at RELENG_12/src/sys/sys/file.h:337 #23 0xffffffff8063d54d in sys_ioctl (td=3D0xfffff800037a55e0, uap=3D0xfffff800037a59a0) at /usr/local/share/deploy-tools/RELENG_12/src/sys/kern/sys_generic.c:7= 12 #24 0xffffffff8093abe6 in amd64_syscall (td=3D0xfffff800037a55e0, traced=3D= 0) at RELENG_12/src/sys/amd64/amd64/../../kern/subr_syscall.c:135 #25 0xffffffff80912550 in fast_syscall_common () at /usr/local/share/deploy-tools/RELENG_12/src/sys/amd64/amd64/exception.S:581 #26 0x000000080047439a in ?? () Previous frame inner to this frame (corrupt stack?) It's almost identical to https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D232362 Only this line/function istn't listed with the new hardware (then Kawela, 8= 2576 =E2=80=93> now StonyLake, i350: #13 0xffffffff80569511 in e1000_disable_pcie_master_generic (hw=3D0xfffffe0000790008) I'll mark the old one as duplicate. Thanks, -harry --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-240609-227>