Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 May 2020 19:21:27 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 246819] Kernel panic with ifconfig destroy
Message-ID:  <bug-246819-227@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 246819
           Summary: Kernel panic with ifconfig destroy
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: lrx337@gmail.com

$ uname -a=20
FreeBSD somebox 13.0-CURRENT FreeBSD 13.0-CURRENT #0 r361562M: Wed May 27
19:54:22 EDT 2020     user@somebox:/usr/obj/usr/src2/amd64.amd64/sys/MYKERN=
=20
amd64

Steps to reproduce:

# Create a wlan interface with ifconfig:
ifconfig wlan7 create wlandev run0
ifconfig wlan7 inet6 ifdisabled
ifconfig wlan7 mode 11ng channel 9 -ampdutx -ampdurx
ifconfig wlan7 inet6 -ifdisabled
ifconfig wlan7 inet6 accept_rtadv
ifconfig wlan7 inet6 accept_rtadv up

# Do some activity on the network (open a website?)

# destroy the wlan interface
ifconfig wlan7 destroy

# kernal panics!


Unread portion of the kernel message buffer from crash report:

__curthread () at /usr/src2/sys/amd64/include/pcpu_aux.h:55
55      /usr/src2/sys/amd64/include/pcpu_aux.h: No such file or directory.
(kgdb) #0  __curthread () at /usr/src2/sys/amd64/include/pcpu_aux.h:55
#1  doadump (textdump=3D1) at /usr/src2/sys/kern/kern_shutdown.c:394
#2  0xffffffff80ac1670 in kern_reboot (howto=3D260)
    at /usr/src2/sys/kern/kern_shutdown.c:481
#3  0xffffffff80ac1aca in vpanic (fmt=3D<optimized out>, ap=3D<optimized ou=
t>)
    at /usr/src2/sys/kern/kern_shutdown.c:913
#4  0xffffffff80ac1823 in panic (fmt=3D<unavailable>)
    at /usr/src2/sys/kern/kern_shutdown.c:839
#5  0xffffffff80f29a67 in trap_fatal (frame=3D0xfffffe001d742400, eva=3D0)
    at /usr/src2/sys/amd64/amd64/trap.c:919
#6  0xffffffff80f29b09 in trap_pfault (frame=3D0xfffffe001d742400,=20
    usermode=3D<optimized out>, signo=3D<optimized out>, ucode=3D<optimized=
 out>)
    at /usr/src2/sys/amd64/amd64/trap.c:736
#7  0xffffffff80f29105 in trap (frame=3D0xfffffe001d742400)
    at /usr/src2/sys/amd64/amd64/trap.c:400
#8  <signal handler called>
#9  0xffffffff80ce307d in ip6_output (m0=3D<optimized out>,=20
    opt=3D<optimized out>, ro=3D<optimized out>, flags=3D0, im6o=3D0x0, ifp=
p=3D0x0,=20
    inp=3D0xfffff801ea6b8b70) at /usr/src2/sys/netinet6/ip6_output.c:790
#10 0xffffffff80ca829c in tcp_output (tp=3D0xfffffe00b1dd2850)
    at /usr/src2/sys/netinet/tcp_output.c:1420
#11 0xffffffff80cae5f1 in tcp_drop (tp=3D0xfffffe00b1dd2850, errno=3D60)
    at /usr/src2/sys/netinet/tcp_subr.c:1882
#12 0xffffffff80cb6bf6 in tcp_timer_keep (xtp=3D0xfffffe00b1dd2850)
    at /usr/src2/sys/netinet/tcp_timer.c:506
#13 0xffffffff80add28f in softclock_call_cc (c=3D0xfffffe00b1dd2b48,=20
    cc=3D0xffffffff81a97a40 <cc_cpu>, direct=3D0)
    at /usr/src2/sys/kern/kern_timeout.c:703
#14 0xffffffff80add64b in softclock (arg=3D0xffffffff81a97a40 <cc_cpu>)
    at /usr/src2/sys/kern/kern_timeout.c:823
#15 0xffffffff80a81ff9 in intr_event_execute_handlers (p=3D<optimized out>,=
=20
    ie=3D0xfffff800037a4e00) at /usr/src2/sys/kern/kern_intr.c:1153
#16 ithread_execute_handlers (p=3D<optimized out>, ie=3D0xfffff800037a4e00)
    at /usr/src2/sys/kern/kern_intr.c:1166
#17 ithread_loop (arg=3D<optimized out>) at /usr/src2/sys/kern/kern_intr.c:=
1254
#18 0xffffffff80a7eb40 in fork_exit (
    callout=3D0xffffffff80a81d80 <ithread_loop>, arg=3D0xfffff80003775280,=
=20
    frame=3D0xfffffe001d742b00) at /usr/src2/sys/kern/kern_fork.c:1053
#19 <signal handler called>
(kgdb)

--=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-246819-227>