Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jul 1996 11:12:19 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        current@freebsd.org, sthaug@nethelp.no
Subject:   Re: panic when ls /kern without KERNFS
Message-ID:  <199607170112.LAA18225@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
># 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.

There was a fix on 1996/07/02 for ls -l panicing, but plain ls still
panics here with yesterday's kernel.

>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.

No, it should work.  kernfs is an lkm.

Bruce



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