From nobody Wed Oct 12 19:38:57 2022 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MnjdF2YXtz4ZdqZ for ; Wed, 12 Oct 2022 19:38:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MnjdF0Qlxz3l7v for ; Wed, 12 Oct 2022 19:38:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MnjdD6Zvxz1PpR for ; Wed, 12 Oct 2022 19:38:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 29CJcukv052795 for ; Wed, 12 Oct 2022 19:38:56 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 29CJcuYZ052794 for bugs@FreeBSD.org; Wed, 12 Oct 2022 19:38:56 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 266999] panic: make_dev_sv: bad si_name (error=17, si_name=tun3) Date: Wed, 12 Oct 2022 19:38:57 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: p.mousavizadeh@protonmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1665603537; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=QFUwKr7oWNS/ICE/SwHS2XKF3MlhGDEZHm7xmd0yZS0=; b=KlzJ/Eo0vSa6dkV9tYjJaN8DiX2hObHm3k9H8Y50m9SXGDubCN+gaqkRoyexaOLV6V29GS aj+3q5Xdx3PQKd6qnLWS3IuX1CN6EMbSxXyIpASCCNvv9OJqj6nww8qZ0IPyOtZDeSiOJy 04uHUKk/xZnPULiAMTgDvyF+qqkcVcGNdGIA3EouMtyUjjGXdwqaauUS77uSH0RfhhpU9s 8Aka+IQL52JWgWYrUAeD2pgxvxcmEJkf0Ib6bLA0wuu35oIRFyPV1Nu0bKJiP+08Y+NKfM RFIO1YEmawYtdHOdV5N4S4AUQLSiloUpqQXDkPnPa5P/HazuAJzMWRDmHIFw6g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1665603537; a=rsa-sha256; cv=none; b=GR1zcyn+V6cCx/DRZkai95LYOsdXQNwSxgAX6d0RRK6V2AYoYTlgldLUjcPMGXUw72eD67 lQf7ii0KAS3kuBEDAOudrPlZHumbjgurhFuXEx9w27xi/CO4+LYx7yrpVnPhsDxpE0lzU6 wj31jw7V+QeWxpO0sXDtDk1Kb2MNUjyleJzJc9Wi17n3+CxnR6Zxk2ktA4r3RHxgVxJ5mr s73fkEdHdW9agfHmhU6Q0V9A/qiSp3XrWC1dSfogJ/NrOC3LiKgx+PFlyxJrqUw0oMpL2l h8zacZby0+dXdadtDnpPmeYDxEuK+mZBd83w0GpDSdWMYJ8lwLJaSe297blqCQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266999 Bug ID: 266999 Summary: panic: make_dev_sv: bad si_name (error=3D17, si_name=3Dtun3) 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 be= fore panic are not familiar. But the panic message is always the same with excep= tion of the tun* number. panic message: kernel: panic: make_dev_sv: bad si_name (error=3D17, si_name=3Dtun2) kernel: cpuid =3D 0 kernel: time =3D 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: ---<>--- 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=3D) at /usr/src/sys/kern/kern_shutdown= .c:399 #2 0xffffffff80c1b75c in kern_reboot (howto=3D260) at /usr/src/sys/kern/kern_shutdown.c:487 #3 0xffffffff80c1bbce in vpanic ( fmt=3D0xffffffff811f51ab "make_dev_sv: bad si_name (error=3D%d, si_name= =3D%s)",=20 ap=3D) at /usr/src/sys/kern/kern_shutdown.c:920 #4 0xffffffff80c1b9d3 in panic (fmt=3D) at /usr/src/sys/kern/kern_shutdown.c:844 #5 0xffffffff80bb07dd in make_dev_sv (args1=3D,=20 dres=3D0xfffffe00a8557880, fmt=3D, ap=3D) at /usr/src/sys/kern/kern_conf.c:808 #6 0xffffffff80bb03cb in make_dev_s (args=3D,=20 args@entry=3D0xfffffe00a8557620, dres=3D,=20 dres@entry=3D0xfffffe00a8557880, fmt=3D) at /usr/src/sys/kern/kern_conf.c:853 #7 0xffffffff80d3e69b in tun_create_device ( drv=3Ddrv@entry=3D0xffffffff819287e0 , unit=3D4,=20 cr=3Dcr@entry=3D0xfffff80128d22e00, dev=3Ddev@entry=3D0xfffffe00a855788= 0,=20 name=3Dname@entry=3D0xfffffe00a85576d0 "tun4") at /usr/src/sys/net/if_tuntap.c:819 #8 0xffffffff80d3fecc in tunclone (arg=3D, arg@entry=3D0x0,= =20 cred=3Dcred@entry=3D0xfffff80128d22e00, name=3D0xfffffe00a85576d0 "tun4= ",=20 name@entry=3D0xfffffe00a855799c "tun", namelen=3D4,=20 dev=3Ddev@entry=3D0xfffffe00a8557880) at /usr/src/sys/net/if_tuntap.c:6= 08 #9 0xffffffff80ab27d0 in devfs_lookupx (ap=3D,=20 dm_unlock=3D) at /usr/src/sys/fs/devfs/devfs_vnops.c:1115 #10 devfs_lookup (ap=3D,=20 ap@entry=3D) at /usr/src/sys/fs/devfs/devfs_vnops.c:1192 #11 0xffffffff80ce9bfc in VOP_LOOKUP (dvp=3D0xfffff80128c245b8,=20 vpp=3D0xfffffe00a8557d10, cnp=3D0xfffffe00a8557d38) at ./vnode_if.h:65 #12 lookup (ndp=3Dndp@entry=3D0xfffffe00a8557cb8) at /usr/src/sys/kern/vfs_lookup.c:1086 #13 0xffffffff80ce8e29 in namei (ndp=3Dndp@entry=3D0xfffffe00a8557cb8) at /usr/src/sys/kern/vfs_lookup.c:616 #14 0xffffffff80d0e2f3 in vn_open_cred (ndp=3Dndp@entry=3D0xfffffe00a8557cb= 8,=20 flagp=3Dflagp@entry=3D0xfffffe00a8557dd4, cmode=3Dcmode@entry=3D0,=20 vn_open_flags=3D, vn_open_flags@entry=3D16,=20 cred=3D0xfffff80128d22e00, fp=3D0xfffff80128edf6e0) at /usr/src/sys/kern/vfs_vnops.c:327 #15 0xffffffff80d04663 in kern_openat (td=3D0xfffffe00a8eb1720, fd=3D-100,= =20 path=3D0x20b9d6 ,=20 pathseg=3DUIO_USERSPACE, flags=3D3, mode=3D) at /usr/src/sys/kern/vfs_syscalls.c:1159 #16 0xffffffff810b0d55 in syscallenter (td=3D0xfffffe00a8eb1720) at /usr/src/sys/amd64/amd64/../../kern/subr_syscall.c:161 #17 amd64_syscall (td=3D0xfffffe00a8eb1720, traced=3D0) at /usr/src/sys/amd64/amd64/trap.c:1185 #18 #19 0x0000000827f895fa in ?? () Backtrace stopped: Cannot access memory at address 0x8203f8e68 (kgdb)=20 What I configured (it works for at least two weeks): I have multiple FIBs with vnet enabled jails + PF. OpenVPN Clients on diffe= rent FIBs. loaded netgraph ng_{netflow, ksocket, ether} --=20 You are receiving this mail because: You are the assignee for the bug.=