Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Sep 2019 09:40:11 +0000
From:      bugzilla-noreply@freebsd.org
To:        fs@FreeBSD.org
Subject:   [Bug 240853] Any moderate I/O panics the kernel when MAC_BIBA + multilabel is enabled
Message-ID:  <bug-240853-3630-fL5KL9mebB@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-240853-3630@https.bugs.freebsd.org/bugzilla/>
References:  <bug-240853-3630@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=3D240853

--- Comment #3 from kayront <realkay@mailbox.org> ---
- Exact FreeBSD version (uname -a)

FreeBSD fbsdtest 12.0-RELEASE-p10 FreeBSD 12.0-RELEASE-p10 GENERIC  amd64

- /var/run/dmesg.boot output (as an attachment)

Will attach.

- Check and confirm that the file system is clean (fsck -fy in single user)=
, or
report back if it is not

/dev/vtbd0p2: FILE SYSTEM CLEAN; SKIPPING CHECKS

- See if you can obtain a kernel panic backtrace [1], and in particular try=
 to
catch the initial "panic message"

It is: softdep_deallocate_dependencies: dangling deps

Funnily (or tragically, I guess) enough with dumps enabled it then proceeds=
 to
panic while writing the crash summary:

Writing crash summary to /var/crash/core.txt.0.
panic: softdep_deallocate_dependencies: dangling deps
cpuid =3D 0
time =3D 1569663157
KDB: stack backtrace:
#0 0xffffffff80be78d7 at kdb_backtrace+0x67
#1 0xffffffff80b9b4b3 at vpanic+0x1a3
#2 0xffffffff80b9b303 at panic+0x43
#3 0xffffffff80e979f6 at softdep_deallocate_dependencies+0x76
#4 0xffffffff80c4a27f at brelse+0x16f
#5 0xffffffff80c4e7fd at buf_recycle+0x2ad
#6 0xffffffff80c4ee57 at bufspace_daemon+0xe7
#7 0xffffffff80b5be83 at fork_exit+0x83
#8 0xffffffff8105061e at fork_trampoline+0xe
Uptime: 9s
Dumping 102 out of 472 MB:..16%..32%..47%..63%..78%..94%


- Clarify whether or not the panic is reproducible *without* MAC_BIBA and/or
multilabel enabled (test each combination)

Just tested, and:

root@fbsdtest:~ # kldstat | grep biba
root@fbsdtest:~ # mount|grep label
/dev/vtbd0p2 on / (ufs, local, noatime, journaled soft-updates, multilabel,
acls)
devfs on /dev (devfs, local, multilabel)

Ran a find /, installed some packages, and no problem; this seems to make s=
ense
if you look at the original message, which included:

#17 0xffffffff826abbf6 at biba_vnode_create_extattr+0x126

(this is not present if the module is not loaded)

Without multilabel is how I had the system before and it was fine, so I did=
 not
test again, but let me know if that would add any new useful information.

--=20
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-240853-3630-fL5KL9mebB>