From owner-freebsd-sparc Thu Nov 28 18:41:12 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6C0C237B401 for ; Thu, 28 Nov 2002 18:41:09 -0800 (PST) Received: from brainlink.com (mail.brainlink.com [66.228.0.129]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9905643EC2 for ; Thu, 28 Nov 2002 18:41:08 -0800 (PST) (envelope-from anthonyv@brainlink.com) Received: from [24.189.7.159] (HELO brainlink.com) by brainlink.com (CommuniGate Pro SMTP 3.5.3) with SMTP id 17252185 for freebsd-sparc@freebsd.org; Thu, 28 Nov 2002 21:51:06 -0500 Message-ID: <3DE6D3BC.4010300@brainlink.com> Date: Thu, 28 Nov 2002 21:41:00 -0500 From: Anthony Volodkin User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.2b) Gecko/20021021 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-sparc@freebsd.org Subject: netbooting an ultra2 into DP2 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, Today I've been trying to boot an ultra2 into freebsd-sparc64 DP2. Unfortunately my machine seems to refuse mount an NFS root fs. Does anyone know what could be wrong? Here is my setup: On one machine I have setup dhcpd/tftpd that serve the ultra2 ip and OpenFirmware loader. Then the machine loads a kernel via NFS from another server and is supposed to mount nfsroot from the very same share it downloaded the kernel from. Below are some config file excerpts and the log of my boot attempt. inetd.conf: tftp dgram udp wait root /usr/libexec/tftpd tftpd -l -s /tftpboot dhcpd.conf: default-lease-time 3000; max-lease-time 90000; option subnet-mask 255.255.255.0; option broadcast-address 192.168.1.255; option routers 192.168.1.1; option domain-name-servers 192.168.1.3, 167.206.112.138, 167.206.7.4; option domain-name "local.non-standard.net"; ddns-update-style ad-hoc; option root-path "/tftpboot"; host divine { hardware ethernet 08:00:20:89:cf:f3; option host-name "divine.local.non-standard.net"; fixed-address 192.168.1.5; always-reply-rfc1048 on; filename "loader.nfs"; next-server 192.168.1.3; option root-path "192.168.1.3:/storage3/sparc64-nfsroot"; } Inside my NFS share i also have an /etc/fstab with the following: 192.168.1.3:/storage3/sparc64-nfsroot / nfs rw 0 0 /etc/exports on the nfs server: /storage3/sparc64-nfsroot -maproot=root 192.168.1.5 BOOT: {0} ok boot net:dhcp,192.168.1.1,loader.nfs Boot device: /sbus/SUNW,hme@e,8c00000:dhcp,192.168.1.1,loader.nfs File and args: 1d400 Console: OpenFirmware console FreeBSD/sparc64 loader bootpath="/sbus@1f,0/SUNW,hme@e,8c00000:dhcp,192.168.1.1,loader.nfs" loaddev=net0: boot: ethernet address: 08:00:20:89:cf:f3 net_open: server addr: 192.168.1.3 net_open: server path: /storage3/sparc64-nfsroot > \ \: unknown command /boot/kernel/kernel data=0x317708+0x48838 syms=[0x8+0x45ab0+0x8+0x36f8f] Hit [Enter] to boot immediately, or any other key for command prompt. Booting [/boot/kernel/kernel]... nothing to autoload yet. jumping to kernel entry at 0xc0038000. stray vector interrupt 2033 Copyright (c) 1992-2002 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 5.0-DP2 #2: Wed Nov 20 15:24:09 GMT 2002 root@foo.baldwin.cx:/usr/obj/usr/src/sys/GENERIC Preloaded elf kernel "/boot/kernel/kernel" at 0xc03e0000. Timecounter "tick" frequency 295986656 Hz cpu0: Sun Microsystems UltraSparc-II Processor (295.99 MHz CPU) Model: SUNW,Ultra-2 cpu1: Sun Microsystems UltraSparc-II Processor (295.99 MHz CPU) FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs Initializing GEOMetry subsystem nexus0: sbus0: clock 25.000 MHz DVMA map: 0xff800000 to 0xffffffff initialializing counter-timer Timecounter "counter-timer" frequency 1000000 Hz sbus0: on nexus0 sbus0: , type (unknown) (no driver attached) sbus0: , type (unknown) (no driver attached) sbus0: , type (unknown) (no driver attached) sbus0: , type block (no driver attached) eeprom0: mem 0x1200000-0x1201fff on sbus0 eeprom0: model mk48t59 eeprom0: hostid 8089cff3 sbus0: , type serial (no driver attached) sbus0: , type serial (no driver attached) sbus0: , type (unknown) (no driver attached) sbus0: , type (unknown) (no driver attached) sbus0: , type scsi (no driver attached) hme0: mem 0x8c07000-0x8c0701f,0x8c06000-0x8c07fff,0x8c04000-0x8c05fff,0x8c02000-0x8c03fff,0x8c00000-0x8c00107 irq 2017 on sbus0 hme0: Ethernet address: 08:00:20:89:cf:f3 miibus0: on hme0 nsphy0: on miibus0 nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto sbus0: , type (unknown) (no driver attached) hme1: mem 0x8c07000-0x8c0701f,0x8c06000-0x8c07fff,0x8c04000-0x8c05fff,0x8c02000-0x8c03fff,0x8c00000-0x8c00107 irq 2012 on sbus0 hme1: Ethernet address: 08:00:20:89:cf:f3 miibus1: on hme1 nsphy1: on miibus1 nsphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto Timecounters tick every 10.000 msec SMP: AP CPU #1 Launched! Mounting root from nfs:192.168.1.3:/storage3/sparc64-nfsroot setrootbyname failed Root mount failed: -1 Manual root filesystem specification: : Mount using filesystem eg. ufs:da0a ? List valid disk boot devices Abort manual input mountroot> Sincerely, Anthony Volodkin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message