DragonFly BSD
DragonFly bugs List (threaded) for 2004-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: kldunload Ratal trap 12: page fault


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Mon, 5 Jan 2004 10:12:38 -0800 (PST)

:Hello All,
:
:I was the poster of this on -stable.  No one replied to me after that post.  I
:still have the kernel.debug and the vmcore.

    It looks like it may be the module release loop on lines 418-432.  I
    suspect that the 'next' pointer is being recursively released and winding
    up invalid, in which case it should be possible to fix by temporarily
    bumping next->refs within the loop, then checking for a ref-count of 1
    and releasing it as appropriate.  I will attempt to reproduce the crash
    and see if that fixes it.

    This could also be the same problem that esmith is reporting.

					-Matt
					Matthew Dillon 
					<dillon@xxxxxxxxxxxxx>

:fault virtual address   = 0xc15e20b8
:fault code              = supervisor read, page not present
:instruction pointer     = 0x8:0xc15e20b8
:..
:
:487             if (dumping++) {
:(kgdb) where
:...
:#6  0xc15e20b8 in ?? ()
:#7  0xc0141358 in linker_file_unload (file=0xc114d100)
:    at /devel/freebsd/src/sys/kern/kern_linker.c:434
:#8  0xc01413b0 in linker_file_unload (file=0xc14e2a80)
:...



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]