Subject: Re: /kern boot message
To: Ray Phillips <r.phillips@mailbox.uq.edu.au>
From: R. C. Dowdeswell <elric@mabelode.imrryr.org>
List: port-alpha
Date: 10/25/2001 00:44:39
On 712012881 seconds since the Beginning of the UNIX epoch
Ray Phillips wrote:
>
>Dear NetBSD/alpha:
>
>Why does this message about /kern appear during the boot process?
>
>    Mounting all filesystems...
>    mount_kernfs: kernfs on /kern: Operation not supported by device
>    Clearing /tmp.
>
>This is from a new installation of 1.5.2 but the same thing happened in
>1.5.1, and I think as far back as 1.4.1; possibly earlier.
>
>This is the relevant line from /etc/fstab
>
>   /kern /kern kernfs rw
>
>I assume this shouldn't happen and that the system would be better off if
>the mount worked?  It works in NetBSD/i386.

It (the kernfs) probably isn't configured into your kernel.
Actually, I don't think that it really matters much.  :-) Ah, yes,
it is commented out on alpha.

You can get rid of the message (and get a /kern) by rebuilding your
kernel with the line

#file-system    KERNFS          # Kernel variable file system (/kern)

uncommented.

Another way to get rid of the error would be to remove the line from
/etc/fstab.

For which way to do it, it is a matter of taste.  I believe that
nothing in the system requires that /kern be mounted, so it is an
issue of whether you like to `cat /kern/boottime' or not.  :-)

 == Roland Dowdeswell                      http://www.Imrryr.ORG/~elric/  ==
 == The Unofficial NetBSD Web Pages        http://www.Imrryr.ORG/NetBSD/  ==
 == The NetBSD Project                            http://www.NetBSD.ORG/  ==
 == Ponte, Inc.                                    http://www.ponte.com/  ==