From owner-freebsd-questions@FreeBSD.ORG Wed Feb 28 19:14:27 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 233C416A403 for ; Wed, 28 Feb 2007 19:14:27 +0000 (UTC) (envelope-from bsdfan@quirks.mine.nu) Received: from quirks.mine.nu (82-204-21-111.dsl.bbeyond.nl [82.204.21.111]) by mx1.freebsd.org (Postfix) with SMTP id 81DFA13C4B4 for ; Wed, 28 Feb 2007 19:14:25 +0000 (UTC) (envelope-from bsdfan@quirks.mine.nu) Received: (qmail 34243 invoked from network); 28 Feb 2007 18:51:32 -0000 Received: from unknown (HELO ?192.168.2.12?) (192.168.2.12) by mail1.quirks.mine.nu with SMTP; 28 Feb 2007 18:51:32 -0000 Message-ID: <45E5CF5D.9090806@quirks.mine.nu> Date: Wed, 28 Feb 2007 19:52:13 +0100 From: Cor User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: nfs localy ok -> I pxe boot pxe client -> RPC: Timed out ? (nfs localy unresponsive) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Feb 2007 19:14:27 -0000 Hello, I'm trying to get pxe booting working on/with FreeBSD 5.5. # uname -a FreeBSD Moth01.quirks.mine.nu 5.5-RELEASE-p11 FreeBSD 5.5-RELEASE-p11 #0: Sun Feb 25 20:41:52 CET 2007 root@Moth01.quirks.mine.nu:/usr/obj/usr/src/sys/MOTH01 i386 I'm somehow stuck at nfs server which stops responding after a pxe booting client tried to use a nfs share to boot of. I hope hope someone can give me some insight. Any input is apreciated. My exports file looks like this; /A/hdloos -maproot=0 -network 192.168.5 -mask 255.255.255.0 And in /etc/rc.conf I have; rpcbind_enable="YES" rpcbind_flags="-l" nfs_server_enable="YES" nfsd_flags="-u -t -h 192.168.5.1 -n 6" mountd_flags="-r" nfs_client_enable="YES" At first boot nfs server pc everything looks ok; # mount -v 192.168.5.1:/A/hdloos /mnt1 192.168.5.1:/A/hdloos on /mnt1 (nfs, fsid 05ff000404000000) # touch /mnt1/test # ls -l /mnt1 total 2 drwxr-xr-x 4 root wheel 512 Feb 28 16:29 boot -rw-r--r-- 1 root wheel 0 Feb 28 16:40 test # showmount -a All mount points on localhost: Moth01.quirks.mine.nu:/A/hdloos # umount /mnt1 (now I boot my pxe boot client) On the nfs server I see then in my log besides the dhcp lease; Feb 28 16:43:52 Moth01 rpcbind: connect from 192.168.5.150 to getport/addr(mountd) Feb 28 16:44:07 Moth01 rpcbind: connect from 192.168.5.150 to getport/addr(nfs) On the screen of the pxe booting client the pc hangs at pxe_open: server addr: 192.168.5.1 pxe_open: server path: /A/hdloos pxe_open: gateway ip: 192.168.5.1 (looks all ok, except that it stops here) But after this when I go back to the nfs server and try mount nfs share local again: # mount -v 192.168.5.1:/A/hdloos /mnt1 [udp] 192.168.5.1:/A/hdloos: RPCPROG_MNT: RPC: Timed out # showmount -a RPC: Timed out showmount: can't do mountdump rpc So I reboot the nfs server and back at the root prompt I do again; # mount -v 192.168.5.1:/A/hdloos /mnt1 192.168.5.1:/A/hdloos on /mnt1 (nfs, fsid 05ff000404000000) # showmount -a All mount points on localhost: Moth01.quirks.mine.nu:/A/hdloos in my dhcpd.conf I have specific to pxe client; subnet 192.168.5.0 netmask 255.255.255.0 { range 192.168.5.200 192.168.5.250; option domain-name-servers 192.168.5.1; option routers 192.168.5.1; } host hdloze001 { hardware ethernet 00:04:76:1f:7d:b6; server-name "hdloos001.quirks.mine.nu"; fixed-address 192.168.5.150; next-server 192.168.5.1; filename "pxeboot"; option root-path "192.168.5.1:/A/hdloos"; } Thanks for reading this far, Cor