Bug #2142
closedkernel crash - Fatal trap 12 - softdep related
0%
Description
With recent(*) master I get kernel crash during boot.
This is i386 SMP kernel on UP system.
Turning softdep off (tunefs -n disable FS) on all file systems is work around.
After mounting a FS R/W with softdep enabled, crash is seen after
writing to FS: one small file didn't trigger, more/bigger files did.
- october 8th 2011, e.g. commit 4a568af990f84a14cd90c5fbe6b6f1709d41ca82.
Problem seems to be in TRIM commit e0fb398bfbef1fb6d12dfb8308cdc83ce663cbc2,
as I didn't experience problem a few commits before.
- kernel crash; core dump not possible
Fatal trap 12: supervisor read, page not present
..
page fault while in kernel mode
..
- trace
ffs_blkfree+0x18
process_worklist_item+0x17a
softdep_process_worklist+0xb8
bio_ops_sync+0x34
syncer_thread+0xf9
kthread_exit
- another crash had first line in trace different
ffs_blkfree+0x1e
Files
Updated by Anonymous about 13 years ago
Sorry about this. I should have, but didn't test on i386. I'm firing up a i386
VM to see if I can reproduce this.
Updated by thomas.nikolajsen about 13 years ago
Same crash is seen on x86_64.
This is on SMP kernel on MP system.
'cpdup /etc /mnt/etc' crashes almost immediately,
with /mnt a FS with softdep enabled.
Updated by thomas.nikolajsen about 13 years ago
It works (both on i386 & x86_64);
thank you!
Btw: I didn't test any TRIM functionality yet
(have to install SSD first).
Updated by swildner about 13 years ago
On Mon, 10 Oct 2011 22:11:26 +0200, Thomas Nikolajsen (via DragonFly issue
tracker) <sinknull@leaf.dragonflybsd.org> wrote:
Thomas Nikolajsen <thomas.nikolajsen@mail.dk> added the comment:
It works (both on i386 & x86_64);
thank you!
OK, I've pushed it. Thanks, Tim!
Updated by sjg about 13 years ago
Committed: efe855e1e1c712fefc8aa7279059bc7fc3a9f149