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

Re: Strange panic with today's kernel


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Thu, 8 Jan 2004 10:35:13 -0800 (PST)

:>     If you didn't reboot after calling installworld I can tell you what
:>     the issue is... it's simple:  init crashed because you ripped the
:>     binary out from under it and replaced it with a new binary.  The
:>     old already-running init tried to page something in and BANG!
:
:shouldn't something in the kernel prevent such things to happen?
:Something like "text file busy" when writing to the file or such...
:
:besides, I thought install creates a tmp file and renames that to the 
:destination. Then init should still exist on disk, until last reference 
:is closed?
:
:cheers
:   simon

    Yes, there is the text file busy mechanism.  There is something going
    on... it is still possible to overwrite binaries even with tfb, I can
    only assume that that is what is happening somehow.

						-Matt



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