Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Apr 2001 23:58:32 +0200
From:      Sven Huster <sven.huster@mailsurf.com>
To:        freebsd-stable@freebsd.org
Subject:   error with mfs
Message-ID:  <5.0.2.1.0.20010411234537.037a9c70@mx01.mailsurf.com>

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

i installed a diskless machine
just after reboot i did:

login: root
Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994
         The Regents of the University of California.  All rights reserved.

test# top -bS
last pid:   355;  load averages:  0.12,  0.03,  0.01  up 0+00:00:52    22:55:07
22 processes:  1 running, 21 sleeping

Mem: 6392K Active, 5032K Inact, 7564K Wired, 160K Cache, 6448K Buf, 195M Free
Swap:


   PID USERNAME PRI NICE  SIZE    RES STATE    TIME   WCPU    CPU COMMAND
   318 root       2   0  2152K  1364K select   0:00  0.00%  0.00% sshd
   350 root      18   0  1304K   904K pause    0:00  0.00%  0.00% csh
   274 root       2   0   916K   552K select   0:00  0.00%  0.00% syslogd
   196 root      10   0 33448K  1364K mfsidl   0:00  0.00%  0.00% mount_mfs
   174 root      10   0  1668K  1128K mfsidl   0:00  0.00%  0.00% mount_mfs
   313 root       2   0  1044K   724K select   0:00  0.00%  0.00% inetd
   355 root      28   0  1856K   884K RUN      0:00  0.00%  0.00% top
     1 root      10   0   528K   316K wait     0:00  0.00%  0.00% init
   278 root       2 -12  1244K   776K select   0:00  0.00%  0.00% ntpd
   315 root      10   0   968K   684K nanslp   0:00  0.00%  0.00% cron
   282 root       2   0   908K   588K select   0:00  0.00%  0.00% ypbind
   280 daemon     2   0   936K   624K select   0:00  0.00%  0.00% portmap
   288 root      10   0   208K    76K nfsidl   0:00  0.00%  0.00% nfsiod
    75 root       2   0   516K   348K select   0:00  0.00%  0.00% dhclient
     5 root      18   0     0K     0K syncer   0:00  0.00%  0.00% syncer
     2 root     -18   0     0K     0K psleep   0:00  0.00%  0.00% pagedaemon
     0 root     -18   0     0K     0K sched    0:00  0.00%  0.00% swapper
     4 root     -18   0     0K     0K psleep   0:00  0.00%  0.00% bufdaemon

test# mount
/dev/md0c on / (ufs, local)
mfs:174 on /conf/etc (mfs, asynchronous, local)
/conf/etc on /etc (null, local)
procfs on /proc (procfs, local)
mfs:196 on /var (mfs, asynchronous, local)
/var/tmp on /tmp (null, local)
10.254.0.3:/vol/vol0/pxeroot/usr on /usr (nfs, read-only)
10.254.0.3:/vol/vol0/home on /home (nfs)
test# df
Filesystem                       1K-blocks     Used    Avail 
Capacity  Mounted on
/dev/md0c                            34687    23109    11578    67%    /
mfs:174                                959      816       67    92% 
/conf/etc
/conf/etc                              959      816       67    92%    /etc
procfs                                   4        4        0   100%    /proc
mfs:196                              31743       58    29146     0%    /var
/var/tmp                             31743       58    29146     0%    /tmp
10.254.0.3:/vol/vol0/pxeroot/usr 127105232 50518528 76586704    40%    /usr
10.254.0.3:/vol/vol0/home        127105232 50518528 76586704    40%    /home
test# uname -a
FreeBSD test.mailsurf.com 4.3-BETA FreeBSD 4.3-BETA #1: Fri Mar  9 00:03:34 
GMT 2001     root@mnt01.mailsurf.com:/usr/obj/usr/src/sys/MAILSURF  i386
test# dd if=/dev/zero of=/tmp/test bs=1m count=10


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

Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0xc4
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc024c370
stack pointer           = 0x10:0xd15e2acc
frame pointer           = 0x10:0xd15e2ad0
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         = 196 (mount_mfs)
interrupt mask          = none
    kernel: type 12 trap, code=0
db>

error is reproduceable.

root fs is a mfs root loaded via nfs, machine boot via pxe
machine config according to rc.diskless*
no swap configure, but should be not a problem here.
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.0.2.1.0.20010411234537.037a9c70>