Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jun 2003 15:39:23 +0300
From:      Vitaly Markitantov <vm@dics.com.ua>
To:        freebsd-mobile@freebsd.org
Subject:   diskless booting on nitebook
Message-ID:  <20030626123923.GA14985@dics.com.ua>

next in thread | raw e-mail | index | archive | help
 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="01"

 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?

 
P.S.
 I build kernel and with BOOTP, BOOTP_NFSROOT, but kernel goes
 in panic, when don't find network interface.
   
-- 
 Vitaly Markitantov         mailto: vm@dics.com.ua



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030626123923.GA14985>