[Bug 273418] [panic] Repeating kernel panic on open(/dev/console)
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 273418] [panic] Repeating kernel panic on open(/dev/console)"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 21 Sep 2023 08:41:53 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273418
--- 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=0xfffff804490bf400)
at /data/src/sys/fs/devfs/devfs_devs.c:180
180 KASSERT((cdp->cdp_flags & (CDP_ACTIVE | CDP_ON_ACTIVE_LIST)) ==
0,
(kgdb) l
175 devfs_free(struct cdev *cdev)
176 {
177 struct cdev_priv *cdp;
178
179 cdp = cdev2priv(cdev);
180 KASSERT((cdp->cdp_flags & (CDP_ACTIVE | CDP_ON_ACTIVE_LIST)) ==
0,
181 ("%s: cdp %p (%s) still on active list",
182 __func__, cdp, cdev->si_name));
183 if (cdev->si_cred != NULL)
184 crfree(cdev->si_cred);
(kgdb) p cdp
$2 = (struct cdev_priv *) 0xfffff804490bf400
(kgdb) p *cdp
$3 = {cdp_c = {si_spare0 = 0x0, si_flags = 0, si_atime = {tv_sec = 1695243602,
tv_nsec = 0},
si_ctime = {tv_sec = 1695243602, tv_nsec = 0}, si_mtime = {tv_sec =
1695243602, tv_nsec = 0},
si_uid = 66, si_gid = 68, si_mode = 384, si_cred = 0xfffff8044037dc00,
si_drv0 = 0,
si_refcount = 0, si_list = {le_next = 0xfffff80029050000,
le_prev = 0xffffffff81ac7860 <dead_cdevsw+160>}, si_clone = {le_next =
0x0,
le_prev = 0xfffff80440bd0a30}, si_children = {lh_first = 0x0},
si_siblings = {
le_next = 0x0, le_prev = 0x0}, si_parent = 0x0, si_mountpt = 0x0, si_drv1
= 0x0,
si_drv2 = 0x0, si_devsw = 0x0, si_iosize_max = 65536, si_usecount = 0,
si_threadcount = 0,
__si_u = {__sid_snapdata = 0x0}, si_name = "tun0", '\000' <repeats 251
times>}, cdp_list = {
tqe_next = 0xfffff801ef2fb000, tqe_prev = 0xfffff80017c845e0}, cdp_inode =
203,
cdp_flags = 8, cdp_inuse = 1, cdp_maxdirent = 0, cdp_dirents =
0xfffff804490bf608,
cdp_dirent0 = 0x0, cdp_dtr_list = {tqe_next = 0x0, tqe_prev = 0x0},
cdp_dtr_cb = 0x0,
cdp_dtr_cb_arg = 0x0, cdp_fdpriv = {lh_first = 0x0}, cdp_threadlock =
{lock_object = {
lo_name = 0xffffffff81321590 "devthrd", lo_flags = 16973824, lo_data = 0,
lo_witness = 0xfffff8083fd73680}, mtx_lock = 0}}
--
You are receiving this mail because:
You are the assignee for the bug.