Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jul 1996 00:26:14 +0200
From:      sthaug@nethelp.no
To:        current@freebsd.org
Subject:   panic when ls /kern without KERNFS
Message-ID:  <6182.837555974@verdi.nethelp.no>

next in thread | raw e-mail | index | archive | help
Is this a known bug?

# mount_kernfs /kern /kern
# ls /kern
<panic: Fatal trap 12: page fault while in kernel mode>

when the kernel in question is compiled *without* the KERNFS option.
It's quite reproducible. This is with 2.2-960612-SNAP on AMD 5x86-133,
ASUS PVI-486SP3 board.

With KERNFS, everything works just fine.

I certainly agree that one shouldn't do mount_kernfs without KERNFS
in the kernel - but I'd expect an error message from mount_kernfs, not
a panic from the following ls.

Steinar Haug, Nethelp consulting, sthaug@nethelp.no



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