From nobody Thu Nov 9 18:39:35 2023 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 4SR9jM5Clwz50tV0 for ; Thu, 9 Nov 2023 18:39:35 +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 4SR9jM41z8z3BsW for ; Thu, 9 Nov 2023 18:39:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1699555175; 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: in-reply-to:in-reply-to:references:references; bh=DzlY7Q2rJAkRcu0zFGaivSSDzRGoqQJA6sdQZbW3k8U=; b=EwLtqogliGy3wlCCMkN2BhIts05rqcSIn/D44OqYghrVi9JHo+JYz0soNJLgcRL8mhr0FM cUA2OzyJ40f6UrD1+hNpuP+DOwsZu8SJXK/WES8RLfQCsldelbFWAw3bqGNw/M5wFoIk2t 1hrYp2RiDf7RHZqEoILL0nHjEn3oDgbycNWl4jFdRiYTOEXSELAQDsKfObhd7QMDIYafwI 9kSJdbSNY/4fhnDqD5ddxywU55YlABk97hnyiQrB3QvXJphloixEVxkShSJnnxWT4mypjb mx2T0wT8u2IUItmAXeAg0vWzbkkvz6KGiPqPAGW97BMjiUFmUjRsw0kdUAS+RA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1699555175; a=rsa-sha256; cv=none; b=iOvFxQw51fPbjoqngPYXYqSet+Mmx/BHdnsbpfl0ihwoxzAQQvQRMf7lhkUx2em+bsDg/O 9Pkes9cKRiqSYbZLvKSQHVTA9kSdfAC1S2/ryqm3mXORRS8vlhh46w6472AWWpIUKRN27I leyVmzTa3PQ/oZwsX8m19o3CcDDHnRy1XXOgIsJDTRK5BdW7LHJGTZPN5YARPLi+zZb+gD UvTIX73e8R2UUYh2K8I7LfkfOxm7HinKDFtLf8nKKsxfIVk1z22OqHY93+Xp5LnLUjM6Fw toD6Oyr/FpkDp6ji1b+hoQ9XEHZIzjyEjdO93EgZzdz9RTq8XP0eXaOCpWbtqQ== 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 4SR9jM2zWNzBxV for ; Thu, 9 Nov 2023 18:39:35 +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 3A9IdZDn029804 for ; Thu, 9 Nov 2023 18:39:35 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3A9IdZG4029803 for bugs@FreeBSD.org; Thu, 9 Nov 2023 18:39:35 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 274992] automount -c causes panic: invalid vfs_ops count 0 Date: Thu, 09 Nov 2023 18:39:35 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 15.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: trasz@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274992 --- Comment #2 from Edward Tomasz Napierala --- Sorry, another driver messed up my crashdump; had to reboot to clear this u= p.=20 So: #4 0xffffffff80b4fb13 in panic (fmt=3D) at /usr/home/trasz/git/freebsd-src/sys/kern/kern_shutdown.c:894 ap =3D {{gp_offset =3D 16, fp_offset =3D 48,=20 overflow_arg_area =3D 0xfffffe00f5dc0a50,=20 reg_save_area =3D 0xfffffe00f5dc09f0}} #5 0xffffffff80c3c98b in vfs_op_exit_locked (mp=3Dmp@entry=3D0xfffffe00f73= ad000) at /usr/home/trasz/git/freebsd-src/sys/kern/vfs_mount.c:1895 No locals. #6 0xffffffff80c3c9fc in vfs_op_exit (mp=3Dmp@entry=3D0xfffffe00f73ad000) at /usr/home/trasz/git/freebsd-src/sys/kern/vfs_mount.c:1908 No locals. #7 0xffffffff80c3f47f in vfs_domount_update (td=3Dtd@entry=3D0xfffff8000a0= fb000,=20 vp=3D0xfffff8002eeefa80, fsflags=3Dfsflags@entry=3D65536,=20 jail_export=3D, optlist=3Doptlist@entry=3D0xfffffe00f5dc= 0d50) at /usr/home/trasz/git/freebsd-src/sys/kern/vfs_mount.c:1561 export =3D {ex_flags =3D 335806548, ex_root =3D 4, ex_uid =3D 0,=20 ex_ngroups =3D -170128272,=20 ex_groups =3D 0xffffffff81760d00 ,=20 ex_addr =3D 0xfffff8002eeefa80, ex_addrlen =3D 112 'p',=20 ex_mask =3D 0xfffffe00f5dc0c98, ex_masklen =3D 1 '\001',=20 ex_indexfile =3D 0xfffffe00f5dc0c18 "\200w\034\002",=20 ex_numsecflavors =3D -170128184, ex_secflavors =3D {-512, -170128= 360,=20 -512, -170128184, -512}} o2export =3D {ex_flags =3D -2122951984, ex_root =3D 4294967295, ex_= anon =3D { cr_version =3D 787413632, cr_uid =3D 4294965248, cr_ngroups =3D= -512,=20 cr_groups =3D {4294965248, 0, 0, 4124838672, 4294966784,=20 2160297514, 4294967295, 4124838672, 4294966784, 2160222316,=20 4294967295, 129682944, 4294965248, 787413632, 4294965248,=20 4124838936}, {_cr_unused1 =3D 0xfffffe00f5dc0c18,=20 cr_pid =3D -170128360}}, ex_addr =3D 0x1, ex_addrlen =3D 0 '\= 000',=20 ex_mask =3D 0xfffffe00f5dc0c18, ex_masklen =3D 152 '\230',=20 ex_indexfile =3D 0xfffffe00f5dc0ba0 "",=20 ex_numsecflavors =3D -2134672048, ex_secflavors =3D {-1, 78741452= 8,=20 -2048, 4, 0}} mp =3D 0xfffffe00f73ad000 flag =3D 0 vfs_suser_failed =3D error =3D 2 rootvp =3D 0x0 fsid_up_len =3D fsid_up =3D 0xfffff800021c77a0 export_error =3D bufp =3D len =3D i =3D grps =3D #8 0xffffffff80c3b1f9 in vfs_domount (td=3Dtd@entry=3D0xfffff8000a0fb000,= =20 fstype=3Dfstype@entry=3D0xfffff800021c7760 "autofs",=20 fspath=3Dfspath@entry=3D0xfffff800021c7780 "/net",=20 fsflags=3Dfsflags@entry=3D65536, jail_export=3Dfalse,=20 optlist=3Doptlist@entry=3D0xfffffe00f5dc0d50) at /usr/home/trasz/git/freebsd-src/sys/kern/vfs_mount.c:1687 nd =3D {ni_dirp =3D 0xfffff800021c7780 "/net", ni_segflg =3D UIO_SY= SSPACE,=20 ni_rightsneeded =3D 0xffffffff816017d8 ,=20 ni_startdir =3D 0x0, ni_rootdir =3D 0xfffff80007bace00,=20 ni_topdir =3D 0x0, ni_dirfd =3D -100, ni_lcf =3D 0, ni_filecaps = =3D { fc_rights =3D {cr_rights =3D {0, 0}}, fc_ioctls =3D 0x0,=20 fc_nioctls =3D -1, fc_fcntls =3D 0}, ni_vp =3D 0xfffff8002eeefa= 80,=20 ni_dvp =3D 0xfffff800045e7380, ni_resflags =3D 1, ni_debugflags = =3D 3,=20 ni_loopcnt =3D 0, ni_pathlen =3D 1, ni_next =3D 0xfffff80007b9680= 4 "",=20 ni_cnd =3D {cn_flags =3D 335806548, cn_cred =3D 0xfffff80007a0f30= 0,=20 cn_nameiop =3D LOOKUP, cn_lkflags =3D 524288,=20 cn_pnbuf =3D 0xfffff80007b96800 "/net",=20 cn_nameptr =3D 0xfffff80007b96801 "net", cn_namelen =3D 3},=20 ni_cap_tracker =3D {tqh_first =3D 0x0, tqh_last =3D 0xfffffe00f5d= c0cc8},=20 ni_dvp_seqc =3D 2163107909, ni_vp_seqc =3D 8} error =3D vfsp =3D 0x0 vp =3D pathbuf =3D #9 0xffffffff80c39cb2 in vfs_donmount (td=3Dtd@entry=3D0xfffff8000a0fb000,= =20 fsflags=3D, fsflags@entry=3D65536,=20 fsoptions=3D0xfffff80001be3000) at /usr/home/trasz/git/freebsd-src/sys/kern/vfs_mount.c:998 fspath =3D 0xfffff800021c7780 "/net" errmsg =3D 0x0 fspathlen =3D 5 errmsg_len =3D 0 errmsg_pos =3D 3 autoro =3D false optlist =3D 0xfffff800021c77c0 error =3D 0 fstypelen =3D 7 fstype =3D 0xfffff800021c7760 "autofs" has_nonexport =3D jail_export =3D opt =3D tmp_opt =3D #10 0xffffffff80c3936c in sys_nmount (td=3D0xfffff8000a0fb000,=20 uap=3D0xfffff8000a0fb400) at /usr/home/trasz/git/freebsd-src/sys/kern/vfs_mount.c:475 flags =3D 65536 iovcnt =3D auio =3D error =3D 0 #11 0xffffffff810516b3 in syscallenter (td=3D0xfffff8000a0fb000) at /usr/home/trasz/git/freebsd-src/sys/amd64/amd64/../../kern/subr_syscall.c:1= 88 p =3D 0xfffffe00f9df7ac0 sa =3D 0xfffff8000a0fb3f0 error =3D se =3D 0xffffffff816c4ae0 sy_thr_static =3D true traced =3D _audit_entered =3D #12 amd64_syscall (td=3D0xfffff8000a0fb000, traced=3D0) at /usr/home/trasz/git/freebsd-src/sys/amd64/amd64/trap.c:1194 ksi =3D {ksi_link =3D {tqe_next =3D 0xfffffe00f5dc0f30,=20 tqe_prev =3D 0xffffffff81050714 }, ksi_info =3D { si_signo =3D 0, si_errno =3D 0, si_code =3D 548267104, si_pid = =3D 8,=20 si_uid =3D 4124839648, si_status =3D -512,=20 si_addr =3D 0xffffffff80bc4759 , si_value = =3D { sival_int =3D 8, sival_ptr =3D 0x8, sigval_int =3D 8,=20 sigval_ptr =3D 0x8}, _reason =3D {_fault =3D {_trapno =3D 0},= _timer =3D { _timerid =3D 0, _overrun =3D 32768}, _mesgq =3D {_mqd =3D 0= },=20 _poll =3D {_band =3D 140737488355328}, _capsicum =3D {_syscal= l =3D 0},=20 __spare__ =3D {__spare1__ =3D 140737488355328, __spare2__ =3D= { 34377672, -2048, 3, 0, 0, 0, 65536}}}},=20 ksi_flags =3D -2128951196, ksi_sigq =3D 0xfffff8000a0fb000} The mount is: (kgdb) p *mp $1 =3D {mnt_vfs_ops =3D 0, mnt_kern_flag =3D 1073741824, mnt_flag =3D 0, mn= t_pcpu =3D 0xfffffe017332bfb0, mnt_rootvnode =3D 0x0, mnt_vnodecovered =3D 0xfffff8002= eeefe00, mnt_op =3D 0xffffffff8396fa10 , mnt_vfc =3D 0xffffffff8396f9c0 , mnt_mtx =3D {lock_object= =3D {lo_name =3D 0xffffffff81135be2 "struct mount mtx", lo_flags =3D 16973824, = lo_data =3D 0, lo_witness =3D 0xfffff8042e575b00}, mtx_lock =3D 18446735277785329664}, mnt_gen =3D 1, mnt_list =3D {tqe_ne= xt =3D 0xfffffe00f960b100, tqe_prev =3D 0xfffffe00f73eb068}, mnt_syncer =3D 0xfffff8002ebe7540, mnt_ref =3D 3, mnt_nvnodelist =3D { tqh_first =3D 0xfffff8002eeefa80, tqh_last =3D 0xfffff8002ebe7568}, mnt_nvnodelistsize =3D 2, mnt_writeopcount =3D 0, mnt_opt =3D 0xfffff800010= f8c50, mnt_optnew =3D 0x0, mnt_stat =3D {f_version =3D 538182936, f_type =3D 207, f_flags =3D 0, f_bsize =3D 512, f_iosize =3D 0, f_blocks =3D 0, f_bfree= =3D 0, f_bavail =3D 0, f_files =3D 0, f_ffree =3D 0, f_syncwrites =3D 0, f_asyncwr= ites =3D 0, f_syncreads =3D 0, f_asyncreads =3D 0, f_nvnodelistsize =3D 2, f_spare0 =3D 0, f_spare =3D {0, 0, 0, 0, 0, 0, 0, 0, 0}, f_namemax =3D = 255, f_owner =3D 0, f_fsid =3D {val =3D {-822018296, 207}}, f_charspare =3D '\00= 0' , f_fstypename =3D "autofs\000\000\000\000\000\000\000\000\000", f_mntfro= mname =3D "map -hosts", '\000' , f_mntonname =3D "/net", '\00= 0' }, mnt_cred =3D 0xfffff80001c1cc00, mnt_data =3D 0xfffffe00f7a97000, mnt_time =3D 0, mnt_iosize_max =3D 65536, mnt_export =3D 0x0, mnt_label =3D 0x0, mnt_hashseed =3D 1962805827, mnt_loc= kref =3D 1, mnt_secondary_writes =3D 0, mnt_secondary_accwrites =3D 0, mnt_susp_owner =3D 0x0, mnt_exjail =3D 0x0, mnt_gjprovider =3D 0x0, mnt_l= istmtx =3D {lock_object =3D {lo_name =3D 0xffffffff811d93f1 "struct mount vlist mtx", = lo_flags =3D 16973824, lo_data =3D 0, lo_witness =3D 0xfffff8042e586280}, mtx_lock =3D 0}, mnt_lazyvnodelis= t =3D {tqh_first =3D 0x0, tqh_last =3D 0xfffffe00f73ada50}, mnt_lazyvnodelistsize= =3D 0, mnt_upper_pending =3D 0, mnt_explock =3D {lock_object =3D { lo_name =3D 0xffffffff8126d967 "explock", lo_flags =3D 108199936, lo_= data =3D 0, lo_witness =3D 0xfffff8042e586080}, lk_lock =3D 1, lk_exslpfail =3D 0, l= k_pri =3D 64, lk_timo =3D 0}, mnt_uppers =3D {tqh_first =3D 0x0, tqh_last =3D 0xfffffe00f73ada90}, mnt_notify =3D {tqh_first =3D 0x0, tq= h_last =3D 0xfffffe00f73adaa0}, mnt_taskqueue_link =3D {stqe_next =3D 0x0}, mnt_taskqueue_flags =3D 0, mnt_unmount_retries =3D 0} --=20 You are receiving this mail because: You are the assignee for the bug.=