On Sat, Feb 08, 2003 at 02:04:56PM -0800, Kris Kennaway wrote:

> OK, I suspected that.
> 
> tjr was looking into this last night and proposed the following patch:
> 
> http://people.freebsd.org/~tjr/kf.diff

OK, I got another panic with this patch in place, so I guess that's
not enough.  Maybe I should try Alfred's suggestion of changing the
locks to exclusive locks.

Fatal trap 12: page fault while in kernel mode
cpuid = 1; lapic.id = 00000000
fault virtual address   = 0x14
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc01a1e2d
stack pointer           = 0x10:0xe3639c74
frame pointer           = 0x10:0xe3639cbc
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 97943 (sh)
kernel: type 12 trap, code=0
Stopped at      fork1+0x3fd:    cmpl    %ebx,0x14(%eax)
db> trace
fork1(ca1458c0,14,0,e3639cd4,ca179068) at fork1+0x3fd
fork(ca1458c0,e3639d10,c03445dc,407,0) at fork+0x52
syscall(2f,2f,2f,0,80fe000) at syscall+0x28e
Xint0x80_syscall() at Xint0x80_syscall+0x1d
--- syscall (2, FreeBSD ELF32, fork), eip = 0x807bd63, esp = 0xbfbff9fc, ebp = 
0xbfbffa28 ---
db>

Kris

Attachment: msg52354/pgp00000.pgp
Description: PGP signature

Reply via email to