[Bug 266999] panic: make_dev_sv: bad si_name (error=17, si_name=tun3)
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 266999] panic: make_dev_sv: bad si_name (error=17, si_name=tun3)"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 266999] tun(4): kernel: panic: make_dev_sv: bad si_name (error=17, si_name=tun2) in in make_dev_sv > tun_create_device > tunclone"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 12 Oct 2022 19:38:57 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266999 Bug ID: 266999 Summary: panic: make_dev_sv: bad si_name (error=17, si_name=tun3) Product: Base System Version: 13.1-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: p.mousavizadeh@protonmail.com FreeBSD Version: % freebsd-version -ku 13.1-RELEASE-p2 13.1-RELEASE-p2 Steps to reproduce: I do not know why this is happens. This happened multiple times and logs before panic are not familiar. But the panic message is always the same with exception of the tun* number. panic message: kernel: panic: make_dev_sv: bad si_name (error=17, si_name=tun2) kernel: cpuid = 0 kernel: time = 1665591262 kernel: KDB: stack backtrace: kernel: #0 0xffffffff80c694a5 at kdb_backtrace+0x65 kernel: #1 0xffffffff80c1bb5f at vpanic+0x17f kernel: #2 0xffffffff80c1b9d3 at panic+0x43 kernel: #3 0xffffffff80bb07dd at make_dev_sv+0x3fd kernel: #4 0xffffffff80bb03cb at make_dev_s+0x3b kernel: #5 0xffffffff80d3e69b at tun_create_device+0xdb kernel: #6 0xffffffff80d3fecc at tunclone+0x25c kernel: #7 0xffffffff80ab27d0 at devfs_lookup+0x600 kernel: #8 0xffffffff80ce9bfc at lookup+0x45c kernel: #9 0xffffffff80ce8e29 at namei+0x259 kernel: #10 0xffffffff80d0e2f3 at vn_open_cred+0x533 kernel: #11 0xffffffff80d04663 at kern_openat+0x283 kernel: #12 0xffffffff810b0d55 at amd64_syscall+0x775 kernel: #13 0xffffffff81087e8b at fast_syscall_common+0xf8 kernel: Uptime: 8m18s kernel: Dumping 337 out of 4054 MB:..5%..15%..24%..34%..43%..53%..62%..72%..81%..91% kernel: Dump complete kernel: Automatic reboot in 15 seconds - press a key on the console to abort kernel: Rebooting... kernel: ---<<BOOT>>--- kernel: Copyright (c) 1992-2021 The FreeBSD Project. kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 kernel: The Regents of the University of California. All rights reserved. kernel: FreeBSD is a registered trademark of The FreeBSD Foundation. kernel: FreeBSD 13.1-RELEASE-p2 GENERIC amd64 kernel: FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) kernel: VT(vga): text 80x25 kernel: CPU: QEMU Virtual CPU version 2.5+ (1995.51-MHz K8-class CPU) Detailed: % cat /var/crash/core.txt.3 | grep -A 60 curth __curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:55 55 /usr/src/sys/amd64/include/pcpu_aux.h: No such file or directory. (kgdb) #0 __curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:55 #1 doadump (textdump=<optimized out>) at /usr/src/sys/kern/kern_shutdown.c:399 #2 0xffffffff80c1b75c in kern_reboot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:487 #3 0xffffffff80c1bbce in vpanic ( fmt=0xffffffff811f51ab "make_dev_sv: bad si_name (error=%d, si_name=%s)", ap=<optimized out>) at /usr/src/sys/kern/kern_shutdown.c:920 #4 0xffffffff80c1b9d3 in panic (fmt=<unavailable>) at /usr/src/sys/kern/kern_shutdown.c:844 #5 0xffffffff80bb07dd in make_dev_sv (args1=<optimized out>, dres=0xfffffe00a8557880, fmt=<optimized out>, ap=<optimized out>) at /usr/src/sys/kern/kern_conf.c:808 #6 0xffffffff80bb03cb in make_dev_s (args=<unavailable>, args@entry=0xfffffe00a8557620, dres=<unavailable>, dres@entry=0xfffffe00a8557880, fmt=<unavailable>) at /usr/src/sys/kern/kern_conf.c:853 #7 0xffffffff80d3e69b in tun_create_device ( drv=drv@entry=0xffffffff819287e0 <tuntap_drivers>, unit=4, cr=cr@entry=0xfffff80128d22e00, dev=dev@entry=0xfffffe00a8557880, name=name@entry=0xfffffe00a85576d0 "tun4") at /usr/src/sys/net/if_tuntap.c:819 #8 0xffffffff80d3fecc in tunclone (arg=<optimized out>, arg@entry=0x0, cred=cred@entry=0xfffff80128d22e00, name=0xfffffe00a85576d0 "tun4", name@entry=0xfffffe00a855799c "tun", namelen=4, dev=dev@entry=0xfffffe00a8557880) at /usr/src/sys/net/if_tuntap.c:608 #9 0xffffffff80ab27d0 in devfs_lookupx (ap=<optimized out>, dm_unlock=<optimized out>) at /usr/src/sys/fs/devfs/devfs_vnops.c:1115 #10 devfs_lookup (ap=<unavailable>, ap@entry=<error reading variable: value is not available>) at /usr/src/sys/fs/devfs/devfs_vnops.c:1192 #11 0xffffffff80ce9bfc in VOP_LOOKUP (dvp=0xfffff80128c245b8, vpp=0xfffffe00a8557d10, cnp=0xfffffe00a8557d38) at ./vnode_if.h:65 #12 lookup (ndp=ndp@entry=0xfffffe00a8557cb8) at /usr/src/sys/kern/vfs_lookup.c:1086 #13 0xffffffff80ce8e29 in namei (ndp=ndp@entry=0xfffffe00a8557cb8) at /usr/src/sys/kern/vfs_lookup.c:616 #14 0xffffffff80d0e2f3 in vn_open_cred (ndp=ndp@entry=0xfffffe00a8557cb8, flagp=flagp@entry=0xfffffe00a8557dd4, cmode=cmode@entry=0, vn_open_flags=<optimized out>, vn_open_flags@entry=16, cred=0xfffff80128d22e00, fp=0xfffff80128edf6e0) at /usr/src/sys/kern/vfs_vnops.c:327 #15 0xffffffff80d04663 in kern_openat (td=0xfffffe00a8eb1720, fd=-100, path=0x20b9d6 <error: Cannot access memory at address 0x20b9d6>, pathseg=UIO_USERSPACE, flags=3, mode=<optimized out>) at /usr/src/sys/kern/vfs_syscalls.c:1159 #16 0xffffffff810b0d55 in syscallenter (td=0xfffffe00a8eb1720) at /usr/src/sys/amd64/amd64/../../kern/subr_syscall.c:161 #17 amd64_syscall (td=0xfffffe00a8eb1720, traced=0) at /usr/src/sys/amd64/amd64/trap.c:1185 #18 <signal handler called> #19 0x0000000827f895fa in ?? () Backtrace stopped: Cannot access memory at address 0x8203f8e68 (kgdb) What I configured (it works for at least two weeks): I have multiple FIBs with vnet enabled jails + PF. OpenVPN Clients on different FIBs. loaded netgraph ng_{netflow, ksocket, ether} -- You are receiving this mail because: You are the assignee for the bug.