Skip site navigation (1)Skip section navigation (2)
Date:      20 Dec 1998 03:31:52 +0100
From:      Staffan Ulfberg <staffanu@nada.kth.se>
To:        freebsd-stable@FreeBSD.ORG
Subject:   Kernel panic
Message-ID:  <873e6b1r3b.fsf@multivac.fatburen.org>

next in thread | raw e-mail | index | archive | help
Hello,

I had a kernel panic on my 2.2.8 system a few days ago; just thought
I'd tell you about it.  You might think I'm totally stupid after
reading my description of what caused it, and I probably was at the
time: it was sometime around 4.30am...

I was running two programs that both use mmap() on the same 500MB
file.  I killed one of the programs and forgot about the other, and
wanted to delete the file and make a new one with all zeros.  Deleting
the file made it disappear from the directory listing allright, but
didn't free up any disk space, so I couldn't create a new 500MB file
on that partition.  Hmmmm...  What to do?  Well, I did fsck on the
live filesystem and answered yes on the question of whether I wanted
to recover 500MB of "lost" file space.

Then, I suddenly remembered that other program running, and well, of
course I realized why the space for the file hadn't been available
earlier...  Anyway, I killed that other program too, which had the
kernel panic.

I sort of think that a kernel panic is a bug, regardless of the level
of stupidity needed to trigger it.  Any comments?

Staffan

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?873e6b1r3b.fsf>