Re: [patch] zfs livelock and thread priorities

From: Artem Belevich <fbsdlist_at_src.cx>
Date: Fri, 24 Apr 2009 18:16:30 -0700
Tried your patch
http://www.wanderview.com/svn/public/misc/zfs_livelock/zfs_thread_priority.diff
with -current as of today and got kernel trap on boot.

kernel trap 12 with interrupts disabled


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address	= 0x200000202
fault code		= supervisor read data, page not present
instruction pointer	= 0x20:0xffffffff803fd572
stack pointer	        = 0x28:0xffffffff80f8b820
frame pointer	        = 0x28:0xffffffff80f8b9a0
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags	= resume, IOPL = 0
current process		= 0 (swapper)
[thread pid 0 tid 100000 ]
Stopped at      strlen+0x2:     cmpb    $0,(%rdi)
db> bt
Tracing pid 0 tid 100000 td 0xffffffff808497e0
strlen() at strlen+0x2
vsnprintf() at vsnprintf+0x2e
kproc_create_stopped() at kproc_create_stopped+0x16e
kproc_create() at kproc_create+0x62
kproc_kthread_add() at kproc_kthread_add+0x12b
idle_setup() at idle_setup+0x81
mi_startup() at mi_startup+0x59
btext() at btext+0x2c
db> reboot

--Artem
Received on Fri Apr 24 2009 - 23:16:39 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:46 UTC