Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 May 2024 08:01:45 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 279195] kernel panic while re-configuring if_vlan(4) vlan id
Message-ID:  <bug-279195-227-YWyez8ncCP@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-279195-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-279195-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=3D279195

--- Comment #1 from Zhenlei Huang <zlei@FreeBSD.org> ---
Backtrace:

```
Unread portion of the kernel message buffer:
panic: vlan_remhash: vlan not found

cpuid =3D 1
time =3D 1716278185
KDB: stack backtrace:
#0 0xffffffff80b9009d at kdb_backtrace+0x5d
#1 0xffffffff80b431a2 at vpanic+0x132
#2 0xffffffff80b43063 at panic+0x43
#3 0xffffffff80c72553 at vlan_remhash+0x63
#4 0xffffffff80c7414d at vlan_config+0xdd
#5 0xffffffff80c73bea at vlan_ioctl+0x41a
#6 0xffffffff80c60723 at ifhwioctl+0x883
#7 0xffffffff80c62843 at ifioctl+0x913
#8 0xffffffff80bb15a5 at kern_ioctl+0x255
#9 0xffffffff80bb12e3 at sys_ioctl+0x123
#10 0xffffffff8100d119 at amd64_syscall+0x109
#11 0xffffffff80fe43db at fast_syscall_common+0xf8
Uptime: 47s
Dumping 696 out of 16207 MB:..3%..12%..21%..33%..42%..51%..63%..72%..81%..9=
2%

(kgdb) bt
#0  __curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:57
#1  doadump (textdump=3D<optimized out>) at /usr/src/sys/kern/kern_shutdown=
.c:405
#2  0xffffffff80b42d37 in kern_reboot (howto=3D260) at
/usr/src/sys/kern/kern_shutdown.c:526
#3  0xffffffff80b4320f in vpanic (fmt=3D0xffffffff81150b30 "%s: vlan not
found\n", ap=3Dap@entry=3D0xfffffe00f9bcd9c0) at
/usr/src/sys/kern/kern_shutdown.c:970
#4  0xffffffff80b43063 in panic (fmt=3D<unavailable>) at
/usr/src/sys/kern/kern_shutdown.c:894
#5  0xffffffff80c72553 in vlan_remhash (trunk=3D<optimized out>,
ifv=3Difv@entry=3D0xfffff8032f2c9d80) at /usr/src/sys/net/if_vlan.c:480
#6  0xffffffff80c7414d in vlan_config (ifv=3Difv@entry=3D0xfffff8032f2c9d80,
p=3Dp@entry=3D0xfffff80003ba7800, vid=3D111, proto=3D<optimized out>) at
/usr/src/sys/net/if_vlan.c:1719
#7  0xffffffff80c73bea in vlan_ioctl (ifp=3D0xfffff8036582e000, ifp@entry=
=3D<error
reading variable: value is not available>, cmd=3D<unavailable>,=20
    cmd@entry=3D<error reading variable: value is not available>,
data=3D<unavailable>, data@entry=3D<error reading variable: value is not
available>)
    at /usr/src/sys/net/if_vlan.c:2264
#8  0xffffffff80c60723 in ifhwioctl (cmd=3Dcmd@entry=3D2149607737,
ifp=3D0xfffff8036582e000, data=3Ddata@entry=3D0xfffffe00f9bcdd50 "vlan0",
td=3Dtd@entry=3D0xfffffe00fae223a0)
    at /usr/src/sys/net/if.c:2757
#9  0xffffffff80c62843 in ifioctl (so=3D0xfffff8000ae773c0, so@entry=3D<err=
or
reading variable: value is not available>, cmd=3D2149607737,=20
    cmd@entry=3D<error reading variable: value is not available>,
data=3D0xfffffe00f9bcdd50 "vlan0", data@entry=3D<error reading variable: va=
lue is
not available>,=20
    td=3D0xfffffe00fae223a0, td@entry=3D<error reading variable: value is n=
ot
available>) at /usr/src/sys/net/if.c:3070
#10 0xffffffff80bb15a5 in fo_ioctl (fp=3D0xfffff800039b5640, com=3D21496077=
37,
data=3D<unavailable>, active_cred=3D<unavailable>, td=3D0xfffffe00fae223a0)=
 at
/usr/src/sys/sys/file.h:366
#11 kern_ioctl (td=3Dtd@entry=3D0xfffffe00fae223a0, fd=3D<optimized out>,
com=3Dcom@entry=3D2149607737, data=3D<unavailable>, data@entry=3D0xfffffe00=
f9bcdd50
"vlan0")
    at /usr/src/sys/kern/sys_generic.c:805
#12 0xffffffff80bb12e3 in sys_ioctl (td=3D0xfffffe00fae223a0,
uap=3D0xfffffe00fae227a0) at /usr/src/sys/kern/sys_generic.c:713
#13 0xffffffff8100d119 in syscallenter (td=3D0xfffffe00fae223a0) at
/usr/src/sys/amd64/amd64/../../kern/subr_syscall.c:187
#14 amd64_syscall (td=3D0xfffffe00fae223a0, traced=3D0) at
/usr/src/sys/amd64/amd64/trap.c:1197
#15 <signal handler called>
#16 0x0000178be8b75e0a in ?? ()
Backtrace stopped: Cannot access memory at address 0x178be401c0a8
(kgdb)=20
```

--=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-279195-227-YWyez8ncCP>