Subject: Re: net installing to an IPX
To: Bill Studenmund <wrstuden@nas.nasa.gov>
From: Martin Sillence <M.Sillence@ftel.co.uk>
List: port-sparc
Date: 07/23/1999 09:26:59
Hi,

Thanks for all the replies.

Bill Studenmund wrote:
> 
> On Wed, 21 Jul 1999, Martin Sillence wrote:
> 
> > Hi,
> >
> > I guess I haven't explained properly.
> >
> > I have set up tftp, boot prarmd and nfs
> > The binaries are in /export/root
> > The tftp boot file gets loaded then instigates a nfs mount to get the
> > kernel.
> > I symlinked the kernel in /export/root as it was looking for a different
> > name from the one extracted from the kernel in sets.
> >
> > Then I see the kernel messages and it panics on /sbin/init which is
> > definatly in /export/root/sbin/init
> > I was guessing that its mounting /export/root as /export/root and this /
> > has no sbin off it?
> 
> What does the stack trace look like? If you get dropped into the debugger,
> type "t" at that point. Also, what do the messages look like just before
> it? You should have seen some "root is ..." messages which indicate
> exactly where root's mounted from.

No debugger it quickly reboots...

> Also, showmount <nfs server> should show all the mounts of your server's
> fs's. It should tell you what the server thinks the client mounted.

showmount doesn't seem to come with Linux.

Anyway heres the stack and some config info hope this is of interest to
someone.....
I got it installed via the 1.4.1 miniroot the 1.4 miniroot just wouldn't
boot.

-----------------------------------------------------------------------------------

a script to bring up the demons
also reconfigs the ethernet as the netbsd seems to do a broadcast on
10.255.255.255 .... but then why not it is a class a address? even if
people do subnet it.

#!/bin/bash
ifconfig eth0 10.10.10.1 netmask 255.0.0.0 broadcast 10.255.255.255
rarp -s 10.10.10.3 08:00:20:0c:94:ea
rpc.bootparamd -s
/etc/rc.d/init.d/nfs start

#/etc/hosts
10.10.10.1              linux
10.10.10.3              ipx2

#/etc/bootparams
ipx2    root=10.10.10.1:/export/client/root hostname=ipx2
gateway=10.10.10.1:ffffff00

#/etc/exports
/export/client/root     ipx2(rw,no_root_squash,anonuid=0,anongid=0)
/export/client/swap     ipx2(rw,no_root_squash,anonuid=0,anongid=0)
/export/client/usr      ipx2(rw,root_squash)
/export/client/home     ipx2(rw,root_squash)

#/export/client/root/etc/fstab
10.10.10.1:/export/client/swap  none    swap    sw,nfsmntpt=/swap
10.10.10.1:/export/client/root  /       nfs     rw      0       0
10.10.10.1:/export/client/usr   /usr    nfs     rw      0       0
10.10.10.1:/export/client/home  /home   nfs     rw      0       0


new version 1.4.1
with the netbsd 1.4.1 tftp image boot image and base extracted

root on 10.10.10.1:/export/client/root
booting netbsd @ 0x4000
.....
standard messages
....
nfs_boot: trying RARP (and RPC/bootparm)
nfs_boot: client_addr=0x0a0a0a03
nfs_boot: server_addr=0x0a0a0a01
nfs_boot: hostname=ipx2
root on 10.10.10.1:/export/client/root
WARNING: clock lost 10590 days -- check and reset the date
root file system type: nfs
exec /sbin/init: error 27
init: not found
panic: no init
syncing disks... done
Frame pointer is at 0xf197fd88
call traceback:
pc=0xf195094 args = (0x900000e5, 0x90000fe5, 0x0, 0x0, 0xf197fea0,
0x909000e5, 0xf197fdf0) fp = 0xf197fdf0
pc=0xf004ecd8 args = (0x100, 0x0, 0x0, 0x0, 0xf197ff08, 0x909000e6,
0xf197fe58) fp = 0xf197fe58
pc=0xf00393a0 args = (0xf00391c0, 0x100, 0x2, 0xf000a1a4, 0x0,
0xf02e1980, 0xf197fec0) fp = 0xf197fec0
pc=0xf000a158 args = (0xf198000, 0xf0201780, 0xf00021b8, 0xf1983000,
0x3052e0, 0x2ff9d0, 0xf197ff50) fp = 0xf197ff50
and then zero addresses
....
rebooting



with the netbsd 1.4 tftp image boot image and base extracted
stable version 1.4
same as above with the below stack trace:
pc=0xf0191e9c args = (0x900000e5, 0x90000fe5, 0x0, 0x0, 0xf197fea0,
0x909000e5, 0xf197fdf0) fp = 0xf197bdf0
pc=0xf004eae8 args = (0x100, 0x0, 0x0, 0x0, 0xf197ff08, 0x909000e6,
0xf197fe58) fp = 0xf197fe58
pc=0xf00393a0 args = (0xf00391c0, 0x100, 0x2, 0xf000a1a4, 0x0,
0xf02e1980, 0xf197fec0) fp = 0xf197fec0
pc=0x2ff998 args = (0xf197c000, 0xf01fd760, 0xf00021b8, 0xf197f000,
0x3052e0, 0x2ff998, 0xf197bf50) fp = 0xf197f50
and then zero addresses

----------------------------------------------------------------------------------------

I'm going to be away for a few weeks so I wont be responding to my
email.

Thanks,
M