Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Apr 2001 12:19:47 +0200
From:      Sven Huster <sven.huster@mailsurf.com>
To:        freebsd-stable@freebsd.org
Subject:   4.3-RC mount_null problem on diskless machine
Message-ID:  <5.1.0.14.0.20010418121945.02580930@mx01.mailsurf.com>

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

i got a big problem with mount_null in FreeBSD.
the /etc/rc.diskless* scripts use moun_null to mount their mfs mounted dirs 
over /etc and /tmp,
but often when i try to write on /tmp or /etc i get a panic.

like as i tried to temp change the root passwd on the machine

Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x6d
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0x6d
stack pointer           = 0x10:0xd03d5c64
frame pointer           = 0x10:0xd03d5cf4
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         = 109 (mount_mfs)
interrupt mask          = none
kernel: type 12 trap, code=0
Stopped at      0x6d:

Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x6d
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc0250388
stack pointer           = 0x10:0xd03d5acc
frame pointer           = 0x10:0xd03d5ad0
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         = 109 (mount_mfs)
interrupt mask          = none
    kernel: type 12 trap, code=0

/ is mounted via nfs + /etc/rc.diskless* scripts run normally at startup

i know mount_null is not declared stable (in the man page), but
if its like this why is this thing in /etc/rc.diskless*?

i fixed /tmp by changing it to a symlink, but not 100% sure what to do with 
/etc.

test# uname -a
FreeBSD test.mailsurf.com 4.3-RC FreeBSD 4.3-RC #1: Tue Apr 17 12:16:14 GMT 
2001     root@test.mailsurf.com:/usr/obj/usr/src/sys/MAILSURF  i386

any suggestions?
regards

Sven Huster
Senior IT Systems Administrator
*BSD, Linux, Solaris


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?5.1.0.14.0.20010418121945.02580930>