Crash on shutdown
Simon 'corecode' Schubert
corecode at fs.ei.tum.de
Wed Jan 24 22:22:24 PST 2007
Matthew Dillon wrote:
if (panicstr == NULL) {
shutdown_cleanup_proc(curproc);
shutdown_cleanup_proc(&proc0);
- if (initproc)
+ if (initproc) {
+ if (initproc != curproc) {
+ ksignal(initproc, SIGSTOP);
+ tsleep(boot, 0, "shutdn", hz / 20);
+ }
shutdown_cleanup_proc(initproc);
+ }
vfs_cache_setroot(NULL, NULL);
}
oooh. evil. can't we just kill init?
cheers
simon
--
Serve - BSD +++ RENT this banner advert +++ ASCII Ribbon /"\
Work - Mac +++ space for low â¬â¬â¬ NOW!1 +++ Campaign \ /
Party Enjoy Relax | http://dragonflybsd.org Against HTML \
Dude 2c 2 the max ! http://golden-apple.biz Mail + News / \
Attachment:
signature.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgp00027.pgp
Type: application/octet-stream
Size: 252 bytes
Desc: "Description: OpenPGP digital signature"
URL: <http://lists.dragonflybsd.org/pipermail/bugs/attachments/20070124/f92cea5d/attachment-0022.obj>
More information about the Bugs
mailing list