From owner-freebsd-current@FreeBSD.ORG Thu Jun 26 23:19:30 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0458C37B401; Thu, 26 Jun 2003 23:19:30 -0700 (PDT) Received: from foxbat.del.donetsk.ua (foxbat.del.donetsk.ua [212.66.35.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id F1B7243FD7; Thu, 26 Jun 2003 23:19:23 -0700 (PDT) (envelope-from vix@foxbat.del.donetsk.ua) Received: from foxbat.del.donetsk.ua (localhost [127.0.0.1]) by foxbat.del.donetsk.ua (8.12.6/8.12.6) with ESMTP id h5R6JFHS019084; Fri, 27 Jun 2003 09:19:15 +0300 (EEST) (envelope-from vix@foxbat.del.donetsk.ua) Received: (from vix@localhost) by foxbat.del.donetsk.ua (8.12.6/8.12.6/Submit) id h5R6JFhe019083; Fri, 27 Jun 2003 09:19:15 +0300 (EEST) (envelope-from vix) Date: Fri, 27 Jun 2003 09:19:14 +0300 From: Vitaly Markitantov To: freebsd-mobile@freebsd.org, freebsd-current@freebsd.org Message-ID: <20030627061914.GA18862@dics.com.ua> Mail-Followup-To: Vitaly Markitantov , freebsd-mobile@freebsd.org, freebsd-current@freebsd.org References: <20030626123923.GA14985@dics.com.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <20030626123923.GA14985@dics.com.ua> Subject: Re: diskless booting on nitebook X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jun 2003 06:19:30 -0000 On Thu, Jun 26, 2003 at 03:39:23PM +0300, Vitaly Markitantov wrote: > I'm trying to boot diskless my notebook. > I create boot floppy disk on which i place > kernel.gz > boot/loader > boot/loader.rc > boot/device.hints > > (it's just modified kern.flp from 5.1-RELEASE distro with > my own kernel) > > Kernel on that disk built with options > options NFSCLIENT > options NFS_ROOT > > and > device cbb > device pccard > device cardbus > device miibus > device rl > > In /boot/loader.rc i place lines: > > set boot.netif.ip="172.16.0.9" > set boot.netif.netmask="255.255.255.192" > set boot.netif.gateway="172.16.0.1" > set boot.netif.hwaddr="00:a0:0c:90:90:06" > set boot.nfsroot.server="172.16.0.8" > set boot.nfsroot.path="/backup/nfsroot" > set boot.nfsroot.nfshandle="X68X" > > Kernel loads from that floppy, it's starts. But shows next error: > > ... > Timecounters tick every 10.000 msec > nfs_diskless: no interface > rl0: port 0x1000-0x10ff mem 0x88002000-0x880021ff irq 11 at device 0.0 on cardbus1 > ... > > So, it looks like NFSCLIENT tryes to detect boot interface before > cardbus Realtek-based pccard is initialised. > > What can i do, for normal disskless booting? Ok, sorry for my error, i just must enter nfs when kernel asks for mountroot> But, system doesn't starts, it can't find init. It say's error: ... NFS ROOT: 172.16.0.8:/backup/nfsroot exec /sbin/init: error 70 exec /sbin/oinit: error 70 exec /sbin/initbak: error 70 ... and then panics. As seen in src/sys/sys/errno.h error 70 is #define ESTALE 70 /* Stale NFS file handle */ So, what is my error. I incorrectly set's set boot.nfsroot.nfshandle="X68X" in loader.rc or what? What can i do? -- Vitaly Markitantov mailto: vm@dics.com.ua