From owner-freebsd-questions Thu Nov 14 10:54:20 2002 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 152E437B401 for ; Thu, 14 Nov 2002 10:54:16 -0800 (PST) Received: from ns.webvolution.net (ns.webvolution.net [64.173.23.219]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4F59343E75 for ; Thu, 14 Nov 2002 10:54:15 -0800 (PST) (envelope-from jpedras@webvolution.net) Received: from ns.webvolution.net (localhost [127.0.0.1]) by ns.webvolution.net (8.12.6/8.12.6) with ESMTP id gAEIs75J079264; Thu, 14 Nov 2002 18:54:07 GMT (envelope-from jpedras@webvolution.net) Received: (from nobody@localhost) by ns.webvolution.net (8.12.6/8.12.6/Submit) id gAEIs6xh079263; Thu, 14 Nov 2002 18:54:06 GMT X-Authentication-Warning: ns.webvolution.net: nobody set sender to jpedras@webvolution.net using -f To: Rob Evers Subject: Re: advice on fine tuning diskless boot Message-ID: <1037300046.3dd3f14e464d2@mail.webvolution.net> Date: Thu, 14 Nov 2002 18:54:06 +0000 (WET) From: Joao Pedras Cc: freebsd-questions@freebsd.org References: <1037146648.3dd19a183ee31@mail.webvolution.net> <3DD3AC53.10805@debank.tv> <1037289077.3dd3c675e6a72@mail.webvolution.net> <3DD3CCE1.5080900@debank.tv> In-Reply-To: <3DD3CCE1.5080900@debank.tv> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Webvolution Networks webmail Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Rob, I am sure it is the kernel since kernel messages are in a quite obvious color : options SC_KERNEL_CONS_ATTR="(FG_GREEN|BG_BLACK)" Nevertheless I will look into the behaviour without fstab. Thanks! Quoting Rob Evers : > No it's not your kernel talking there it's the init script already, > try putting the fstab file in: > ${diskless_root}/conf/defaults/etc/ > I have no fstab in ${diskless_root}/conf/base/etc > or in ${diskless_root}/conf/etc > > Good luck > > Rob > > Joao Pedras wrote: > > >Greetings Rob, > > > >here's my /etc/fstab. This initially resides in /conf before clone_root > copies > >it to /diskless_root/conf. > > > >192.168.200.3:/usr /usr nfs ro 0 > 0 > >proc /proc procfs rw 0 > 0 > > > >I grep'ed all the files and checked the cpio's that clonet_root creates > and > >there is no reference of /dev/ad0s1a. I am assuming that it is the > kernel that > >tries to mount this by default. > > > >In fact this message is spit out by the kernel. > > > >Please cc: future replies to me as I am not subscribed to this list. > > > >Thanks for you help. > > > >Joao > > > >Quoting User Rob : > > > > > > > >>Looks to me your rc.diskless script is usig the fstab you created in > >>making the root file system > >>look in man diskless for /conf/default/etc/fstab > >>I think you'll find what you need there. > >> > >> > >> > >>Rob > >> > >> Joao Pedras wrote: > >> > >> > >> > >>>Hello all! > >>> > >>>Two small issues... > >>> > >>>1) After sucessfully configuring a set of systems which come up > >>> > >>> > >>diskless (thank > >> > >> > >>>you for the fine documentation), these still try to mount root from > >>> > >>> > >>/dev/ad0s1a: > >> > >> > >>>. > >>>. > >>>Adjusted interface xl0 > >>>Mounting root from ufs:/dev/ad0s1a > >>>no such device 'ad' > >>>setrootbyname failed > >>>ffs_mountroot: can't find rootvp > >>>Root mount failed: 6 > >>>Mounting root from nfs: > >>>NFS ROOT: 192.168.200.3:/diskless_root > >>>NFS SWAP: 192.168.200.3:/diskless_swap > >>>. > >>>. > >>> > >>>After this the system comes up fine. > >>> > >>>The kernel is compiled without ata and friends. Should a kernel > option > >>> > >>> > >>like > >> > >> > >>>ROOTDEVNAME be used ? > >>> > >>>I checked the 'loader' and 'pxeboot' documentation, the mailing > lists > >>> > >>> > >>and it is > >> > >> > >>>not obvious how to "fix" this. > >>> > >>>2. do you see any inconvenient in totally removing all UFS options > from > >>> > >>> > >>the > >> > >> > >>>kernel ? These systems have no hard drives... > >>> > >>>That's all for now. Thank you for time. > >>> > >>>Joao > >>> > >>>To Unsubscribe: send mail to majordomo@FreeBSD.org > >>>with "unsubscribe freebsd-questions" in the body of the message > >>> > >>> > >>> > >>> > >>> > >> > >> > >> > > > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message