Subject: Re: New snapshot (20000505)
To: Ben Harris <bjh21@cam.ac.uk>
From: Leo Smiers <L.Smiers@cable.A2000.nl>
List: port-arm26
Date: 05/06/2000 00:08:45
In <URL:news:local.port-arm26> on Fri 05 May, Ben Harris wrote:
> On Fri, 5 May 2000, Leo Smiers wrote:
>
> > In <URL:news:local.port-arm26> on Fri 05 May, Ben Harris wrote:
> > > Usual place. Not many changes except to make the "ea" driver admit
> > > responsibility for interrupts. This will probably be the last snapshot
> > > for a while as I work out merging with NetBSD proper.
> > >
> > I have already downloaded this new kernel. The problem with the ea interrupt
> > seems solved, it is now first trying nfs_boot and after three timeouts it
> > switches to RARP (and RPC/bootparam). Well done.
>
> Cool. Have you tried running tcpdump on another machine on the same
> network to check it's actually transmitting what it thinks it is?
>
> > Now comes the hard part for me. I have to setup a server from which my
> > A310 will mount its root file system. As a server I want to use linux (I
> > know wrong os 8-), but this is the one that is up 7/24). Can you give me
> > any pointers how to set it up? It is no problem if these are for netbsd.
>
> diskless(8) is traditional. Alternatively, you may like to look at
> <URL:http://www.netbsd.org/Documentation/network/netboot/>. Note that you
> only need an NFS server and either a DHCP server or a RARP/bootparam
> server.
>
> FWIW, my setup here is that trafalgar (my PC) exports /export/arm26/root
> to finisterre (my A3000) and runs the dhcpd that comes with NetBSD. The
> relevant fragment of dhcpd.conf is:
>
> --------8<--------
> host finisterre {
> hardware ethernet 00:00:a4:00:06:04;
> fixed-address 172.17.11.27;
> next-server trafalgar;
> option root-path "/export/arm26/root";
> }
> -------->8--------
>
> I'd recommend using DHCP rather than RARP/bootparams -- IMLE it's rather
> less pain to get going (one fewer daemon to misconfigure, for a start).
I have setup a dhcpd on my linux machine. further more I have setup a
directory structure as described on the netboot page (actual dir =
/usr/export/arm26). I have not yet configured the client files as directed
by the netboot page.
The dhcpd.conf file is:
subnet 192.168.0.0 netmask 255.255.0.0 {
}
subnet 62.108.22.0 netmask 255.255.254.0 {
deny unknown-clients;
}
host mozart {
hardware ethernet 00:02:07:01:1a:40;
fixed-address 192.168.0.2;
next-server portier;
option root-path "/usr/export/arm26/root";
}
When I try to boot the kernel displays:
root on ea0
mountroot: trying nfs...
nfs_boot: trying DHCP/BOOTP
nfs_boot: wrong xid
nfs_boot: wrong xid
nfs_boot: wrong xid
nfs_boot: wrong xid
nfs_boot: wrong xid
nfs_boot: timeout...
nfs_boot: wrong xid
nfs_boot: timeout...
nfs_boot: timeout...
nfs_boot: trying RARP (and RPC/bootparam)
revarp failed, error=51
mountroot: trying ffs...
no file system for ea0
cannot mount root, error = 79
Ben do you have any suggestions?
Leo
>
--
Leo Smiers
System specialist FB/SP bv Nederland Haarlem
!PDF 0.73a | !Flash 0.49b http://people.a2000.nl/lsmiers