From owner-freebsd-questions@FreeBSD.ORG Sat Sep 24 17:52:47 2005 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F17FA16A41F for ; Sat, 24 Sep 2005 17:52:47 +0000 (GMT) (envelope-from norgaard@locolomo.org) Received: from strange.daemonsecurity.com (62-15-75-74.inversas.jazztel.es [62.15.75.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7658E43D48 for ; Sat, 24 Sep 2005 17:52:46 +0000 (GMT) (envelope-from norgaard@locolomo.org) Received: from [192.168.0.16] (unknown [192.168.0.16]) by strange.daemonsecurity.com (Postfix) with ESMTP id 3454E2E01E for ; Sat, 24 Sep 2005 19:52:45 +0200 (CEST) Message-ID: <4335926B.6020501@locolomo.org> Date: Sat, 24 Sep 2005 19:52:43 +0200 From: =?ISO-8859-1?Q?Erik_N=F8rgaard?= Organization: Locolomo.ORG User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050909) X-Accept-Language: en-us, en MIME-Version: 1.0 To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: diskless boot failure after installing xorg 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: Sat, 24 Sep 2005 17:52:48 -0000 Hi, I have just tried to setup 6.0BETA5 for diskless clients - just for the sport :-) I have installed the full system into /var/diskless/FreeBSD. Everything actually went fine, I could boot up, got root mounted and the home dir. So, next step was to install X.Org: chroot into /var/diskless/FreeBSD and install from ports. Now, boot ends after identifying system resources: NFS ROOT: 192.168.0.2:/var/diskless/FreeBSD sis0: link changed to up nfs_getpages: error 13 exec /sbin/init: error 5 sysctl: unknown oid 'kern.bootp_cookie' Interface sis0 IP-Address 192.168.0.16 broadcast 192.168.0.255 mount_nfs: can't update /var/db/mounttab for 192.168.0.2:/var/diskless/FreeBSD nfs server 192.168.0.2:/var/diskless/FreeBSD: not responding nfs server 192.168.0.2:/var/diskless/FreeBSD: not responding ... Booting on the hard drive, I have no problem mounting any of the exported nfs shares. It appears to me that now, somehow the diskless client looses the root device or tries to remount it, the 'kern.bootp_cookie' error seems to suggest that the bootp parameters are nolonger passed correctly to the next boot stage. But I have no idea why this occurs or what has changed. The line mount_nfs... obviously occurs if no writable /var is available when mounting a nfs device. But is not fatal, I had succesfully mounted shares before installing X despite the error. Any ideas? Thanks, Erik PS: Doing the setup, I wrote my own guide for setting up diskless clients which quite detailed describes what I have done: www.daemonsecurity.com/pxe Setup (linewrapping is mine for this mail): showmount -e: Exports list on localhost: /var/diskless/FreeBSD 192.168.0.0 /var/diskless/192.168.0.16/var 192.168.0.16 /home 192.168.0.0 /etc/exports: /home -alldirs -network 192.168.0.0 -mask 255.255.255.0 /var/diskless/FreeBSD -ro -mapall=root:wheel -network 192.168.0.0 -mask 255.255.255.0 /var/diskless/192.168.0.16/var 192.168.0.16 /var/diskless/FreeBSD/etc/fstab: # Device Mount FStype Opt Dump Pass# 192.168.0.2:/var/diskless/FreeBSD / nfs rw 0 0 proc /proc procfs rw 0 0 192.168.0.2:/home /home nfs rw 0 0 192.168.0.2:/var/diskless/192.168.0.16/var /var nfs rw 0 0 I have tried to remove the line for the root device assuming that it would then not be remounted when the other devices are mounted - no result. Also I have tried to remove it completly with no result. /var/diskless/FreeBSD/etc/rc.conf: Basically, disables mfs var and tmp, cron and sendmail and configures the console. -- Ph: +34.666334818 web: http://www.locolomo.org S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt Subject ID: A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9 Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2