Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 Jul 2019 18:14:52 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 234985] kernel panic when destroying epair interface of vnet jail after using ifconfig inside the jail
Message-ID:  <bug-234985-227-emCuyzrXBZ@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-234985-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-234985-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D234985

Alexander Leidinger <netchild@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |netchild@FreeBSD.org

--- Comment #3 from Alexander Leidinger <netchild@FreeBSD.org> ---
With r349853 I don't get a panic with your script, but if I assign an IP in=
side
the jail (jexec <id> ifconfig inet 1.2.3.4) instead of just listing the
interfaces, it panics on destroy.

(kgdb) #0  __curthread () at /space/system/usr_src/sys/amd64/include/pcpu.h=
:246
#1  doadump (textdump=3D1) at /space/system/usr_src/sys/kern/kern_shutdown.=
c:392
#2  0xffffffff8050cf70 in kern_reboot (howto=3D260)
    at /space/system/usr_src/sys/kern/kern_shutdown.c:479
#3  0xffffffff8050d3e9 in vpanic (fmt=3D<optimized out>, ap=3D<optimized ou=
t>)
    at /space/system/usr_src/sys/kern/kern_shutdown.c:905
#4  0xffffffff8050d123 in panic (fmt=3D<unavailable>)
    at /space/system/usr_src/sys/kern/kern_shutdown.c:832
#5  0xffffffff807e758c in trap_fatal (frame=3D0xfffffe01598227c0, eva=3D0)
    at /space/system/usr_src/sys/amd64/amd64/trap.c:943
#6  0xffffffff807e698c in trap (frame=3D0xfffffe01598227c0)
    at /space/system/usr_src/sys/amd64/amd64/trap.c:221
#7  <signal handler called>
#8  0xffffffff805f2045 in strncmp (s1=3D<optimized out>, s2=3D<optimized ou=
t>,
    n=3D<optimized out>) at /space/system/usr_src/sys/libkern/strncmp.c:44
#9  0xffffffff80605d31 in ifunit_ref (name=3D0xfffffe0159822a20 "panic_test=
1b")
    at /space/system/usr_src/sys/net/if.c:2434
#10 0xffffffff80607ef8 in ifioctl (so=3D0xfffff809a1afd368, cmd=3D322334953=
6,
    data=3D0xfffffe0159822a20 "panic_test1b", td=3D0xfffff8014c83e5a0)
    at /space/system/usr_src/sys/net/if.c:3093
#11 0xffffffff8057658d in fo_ioctl (fp=3D<optimized out>, com=3D3223349536,
    data=3D0xfffff800020e2180, active_cred=3D0x0, td=3D0xfffff8014c83e5a0)
    at /space/system/usr_src/sys/sys/file.h:333
#12 kern_ioctl (td=3D0xfffff8014c83e5a0, fd=3D3, com=3D3223349536,
    data=3D0xfffff800020e2180 "")
    at /space/system/usr_src/sys/kern/sys_generic.c:800
#13 0xffffffff805762ad in sys_ioctl (td=3D0xfffff8014c83e5a0,
    uap=3D0xfffff8014c83e968) at /space/system/usr_src/sys/kern/sys_generic=
.c:712
#14 0xffffffff807e801a in syscallenter (td=3D0xfffff8014c83e5a0)
    at /space/system/usr_src/sys/amd64/amd64/../../kern/subr_syscall.c:135
#15 amd64_syscall (td=3D0xfffff8014c83e5a0, traced=3D0)
    at /space/system/usr_src/sys/amd64/amd64/trap.c:1181

--=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-234985-227-emCuyzrXBZ>