From roberto@keltia.frmug.fr.net  Sun Dec  4 16:13:32 1994
Received: from ibp.ibp.fr (ibp.ibp.fr [132.227.60.30]) by freefall.cdrom.com (8.6.8/8.6.6) with ESMTP id QAA18089 for <FreeBSD-gnats-submit@freebsd.org>; Sun, 4 Dec 1994 16:12:22 -0800
Received: from blaise.ibp.fr (blaise.ibp.fr [132.227.60.1])
	by ibp.ibp.fr (8.6.8/jtpda-5.0) with SMTP id BAA16072
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 5 Dec 1994 01:14:38 +0100
Received: by blaise.ibp.fr (4.1/SMI-4.1)
	id AA20623; Mon, 5 Dec 94 01:12:51 +0100
Received: (from roberto@localhost) by keltia.frmug.fr.net (8.6.9/keltia-uucp-1.21) id XAA00474; Sun, 4 Dec 1994 23:47:29 GMT
Message-Id: <199412042347.XAA00474@keltia.frmug.fr.net>
Date: Sun, 4 Dec 1994 23:47:29 GMT
From: roberto@keltia.frmug.fr.net
Reply-To: roberto@blaise.ibp.fr
To: FreeBSD-gnats-submit@freebsd.org
Subject: [-current 11/30/94] panic while lkm-loading kernfs ro
X-Send-Pr-Version: 3.2

>Number:         41
>Category:       kern
>Synopsis:       Panic when lkm-loading kernfs read-only
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    core (FreeBSD core team)
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec  4 16:20:01 1994
>Closed-Date:    Thu Jan 12 14:31:10 PST 1995
>Last-Modified:
>Originator:     Ollivier Robert
>Release:        FreeBSD 2.1.0-Development i386
>Organization:
A Happy FreeBSD 1.1.5 Usenet Site
>Environment:

	FreeBSD-current as of 11/30/94, ctm #170.
	486DX-33, 16 MB, 64 MB swap.

        FreeBSD keltia 2.1.0-Development #0: Wed Nov 30 22:33:04  1994
          root@keltia.frmug.fr.net:/usr/src/sys/compile/KELTIA  i386

>Description:

	I added the following line in /etc/fstab

	kern	/kern		kernfs	ro 0 0

	to automatically mount /kern at boot time.

	I then try to mount it by

	mount /kern

	I got that :

	Fatal trap 1: privileged instruction fault while in kernel mode
	instruction pointer	= 0x8:0xf01070d0
	code segment		= base 0x0, limit 0xfffff, type 0x1b
				= DPL 0, pres 1, def32 1, gran 1
	processor eflags	= interrupt enabled, resume, IOPL=0
	current process		= 1918 (modload)
	interrupt mask		=
	panic: privileged instruction fault

>How-To-Repeat:

>Fix:
	Unknown but I just rebooted under a ctm#182 kernel and it seems
	to work fine.

	Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
	kernfs              1        1        0   100%    /kern

	kernfs on /kern (local, read-only)
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: wollman 
State-Changed-When: Thu Jan 12 14:31:10 PST 1995 
State-Changed-Why:  
Ollivier says the problem went away. 
>Unformatted:



