Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jan 2001 13:17:15 -0500
From:      Brian Dean <bsd@bsdhome.com>
To:        freebsd-hackers@freebsd.org
Subject:   NFS_ROOT not working when using a Netapp server
Message-ID:  <20010116131715.A33531@vger.bsdhome.com>

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

Has anyone here sucessfully used a Netapp fileserver as the NFS root
filesystem for FreeBSD clients?

My FreeBSD client basically mounts the Netapp, boots the kernel, but
fails early in /etc/rc because /dev/mem, /dev/kmem, /dev/null (and
friends) are unavailable.

NOTE that this all works fine when a FreeBSD box is used as the NFS
root server, but everything else being the same.  The client is
mounting an image built from -STABLE sources late last week.

Here's what I'm seeing when the client boots -v:

SMAP type=01 base=00000000 00000000 len=00000000 000a0000
SMAP type=01 base=00000000 00100000 len=00000000 07f00000
SMAP type=02 base=00000000 fff80000 len=00000000 00080000
Copyright (c) 1992-2001 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD 4.2-STABLE #1: Tue Jan 16 12:51:42 EST 2001
    root@tribble:/usr/src/sys/compile/DISKLESS
Calibrating clock(s) ... TSC clock: 264902265 Hz, i8254 clock: 1193253 Hz
CLK_USE_I8254_CALIBRATION not specified - using default frequency
Timecounter "i8254"  frequency 1193182 Hz
CLK_USE_TSC_CALIBRATION not specified - using old calibration method
Timecounter "TSC"  frequency 264887585 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (264.89-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x633  Stepping = 3
  Features=0x80f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,MMX>
real memory  = 134217728 (131072K bytes)
Physical memory chunk(s):
0x00001000 - 0x0009ffff, 651264 bytes (159 pages)
0x00361000 - 0x07ff7fff, 130641920 bytes (31895 pages)
avail memory = 127270912 (124288K bytes)
bios32: Found BIOS32 Service Directory header at 0xc00ffe80
bios32: Entry = 0xffe90 (c00ffe90)  Rev = 0  Len = 1
pcibios: PCI BIOS entry at 0xcc1e
pnpbios: Found PnP BIOS data at 0xc00fe2d0
pnpbios: Entry = f0000:e2f4  Rev = 1.0
Other BIOS signatures found:
ACPI: 00000000
Preloaded elf kernel "kernel" at 0xc033b000.
Pentium Pro MTRR support enabled
md0: Malloc disk
Creating DISK md0
Math emulator present

...
<lot's more boot verbosity>
...

Mounting root from nfs:
NFS ROOT: AA.BB.CC.DD:/vol/nfsroot/img3
start_init: trying /sbin/init
crw-rw-rw-  1 root  wheel    0, 0x00080002 Jan 16 11:35 /dev/null
/etc/rc: cannot create /dev/null: no such device or address
Enter full pathname of shell or RETURN for /bin/sh: 
# dmesg
dmesg: /dev/mem: Device not configured
# echo foo >> /dev/null
cannot create /dev/null: no such device or address
# ls -l /dev/null
crw-rw-rw-  1 root  wheel    0, 0x00080002 Jan 16 11:35 /dev/null
# ls -l /dev/mem
crw-r-----  1 root  kmem    0, 0x00080000 Jan 15 13:28 /dev/mem
# df -k .
Filesystem                     1K-blocks     Used    Avail Capacity  Mounted on
AA.BB.CC.DD:/vol/nfsroot/img3   15813736  2746140 13067596    17%    /

I can provide more boot verbosity upon request.  Any ideas as to what
the problem might be?

Thanks,
-Brian
-- 
Brian Dean
bsd@FreeBSD.org
bsd@bsdhome.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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