From owner-freebsd-hackers Tue Jan 16 10:17:37 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from bsdhome.dyndns.org (unknown [24.25.2.13]) by hub.freebsd.org (Postfix) with ESMTP id 1841837B401 for ; Tue, 16 Jan 2001 10:17:17 -0800 (PST) Received: from vger.bsdhome.com (vger [192.168.220.2]) by bsdhome.dyndns.org (8.11.1/8.11.1) with ESMTP id f0GIHGo03627 for ; Tue, 16 Jan 2001 13:17:16 -0500 (EST) (envelope-from bsd@bsdhome.com) Received: (from bsd@localhost) by vger.bsdhome.com (8.11.1/8.11.1) id f0GIHGb34011 for freebsd-hackers@freebsd.org; Tue, 16 Jan 2001 13:17:16 -0500 (EST) (envelope-from bsd) Date: Tue, 16 Jan 2001 13:17:15 -0500 From: Brian Dean To: freebsd-hackers@freebsd.org Subject: NFS_ROOT not working when using a Netapp server Message-ID: <20010116131715.A33531@vger.bsdhome.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 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 ... ... 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