Date: Thu, 21 Sep 2023 08:41:53 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 273418] [panic] Repeating kernel panic on open(/dev/console) Message-ID: <bug-273418-227-bXHXvB3zTu@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-273418-227@https.bugs.freebsd.org/bugzilla/> References: <bug-273418-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=3D273418 --- Comment #32 from Eugene Grosbein <eugen@freebsd.org> --- (In reply to Konstantin Belousov from comment #31) (kgdb) frame 5 #5 0xffffffff80a994d2 in devfs_free (cdev=3D0xfffff804490bf400) at /data/src/sys/fs/devfs/devfs_devs.c:180 180 KASSERT((cdp->cdp_flags & (CDP_ACTIVE | CDP_ON_ACTIVE_LIST))= =3D=3D 0, (kgdb) l 175 devfs_free(struct cdev *cdev) 176 { 177 struct cdev_priv *cdp; 178 179 cdp =3D cdev2priv(cdev); 180 KASSERT((cdp->cdp_flags & (CDP_ACTIVE | CDP_ON_ACTIVE_LIST))= =3D=3D 0, 181 ("%s: cdp %p (%s) still on active list", 182 __func__, cdp, cdev->si_name)); 183 if (cdev->si_cred !=3D NULL) 184 crfree(cdev->si_cred); (kgdb) p cdp $2 =3D (struct cdev_priv *) 0xfffff804490bf400 (kgdb) p *cdp $3 =3D {cdp_c =3D {si_spare0 =3D 0x0, si_flags =3D 0, si_atime =3D {tv_sec = =3D 1695243602, tv_nsec =3D 0}, si_ctime =3D {tv_sec =3D 1695243602, tv_nsec =3D 0}, si_mtime =3D {tv_s= ec =3D 1695243602, tv_nsec =3D 0}, si_uid =3D 66, si_gid =3D 68, si_mode =3D 384, si_cred =3D 0xfffff80440= 37dc00, si_drv0 =3D 0, si_refcount =3D 0, si_list =3D {le_next =3D 0xfffff80029050000, le_prev =3D 0xffffffff81ac7860 <dead_cdevsw+160>}, si_clone =3D {le_n= ext =3D 0x0, le_prev =3D 0xfffff80440bd0a30}, si_children =3D {lh_first =3D 0x0}, si_siblings =3D { le_next =3D 0x0, le_prev =3D 0x0}, si_parent =3D 0x0, si_mountpt =3D = 0x0, si_drv1 =3D 0x0, si_drv2 =3D 0x0, si_devsw =3D 0x0, si_iosize_max =3D 65536, si_usecount= =3D 0, si_threadcount =3D 0, __si_u =3D {__sid_snapdata =3D 0x0}, si_name =3D "tun0", '\000' <repeat= s 251 times>}, cdp_list =3D { tqe_next =3D 0xfffff801ef2fb000, tqe_prev =3D 0xfffff80017c845e0}, cdp_= inode =3D 203, cdp_flags =3D 8, cdp_inuse =3D 1, cdp_maxdirent =3D 0, cdp_dirents =3D 0xfffff804490bf608, cdp_dirent0 =3D 0x0, cdp_dtr_list =3D {tqe_next =3D 0x0, tqe_prev =3D 0x0= }, cdp_dtr_cb =3D 0x0, cdp_dtr_cb_arg =3D 0x0, cdp_fdpriv =3D {lh_first =3D 0x0}, cdp_threadlock= =3D {lock_object =3D { lo_name =3D 0xffffffff81321590 "devthrd", lo_flags =3D 16973824, lo_d= ata =3D 0, lo_witness =3D 0xfffff8083fd73680}, mtx_lock =3D 0}} --=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-273418-227-bXHXvB3zTu>