Re: diskless booting on nitebook

From: Vitaly Markitantov <vm_at_dics.com.ua>
Date: Fri, 27 Jun 2003 09:19:14 +0300
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: <Realtek 8139 10/100BaseTX CardBus> 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_at_dics.com.ua
Received on Thu Jun 26 2003 - 21:19:30 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:13 UTC