Subject: Re: silly question...
To: Peter Stewart <peter.stewart@sun.com>
From: Andy Michaels <lego@apollo.gti.net>
List: port-dreamcast
Date: 07/10/2001 22:58:34
okay, I got the DC to boot from the network. I followed the diskless
howto, but I can't get out of single-user mode. When I exit, It starts
the network, but then when it gets to either checking quotas or looking
for coredumps, it reboots. Not sure what I did wrong. Has anyone else
experienced this? I'm not sure what info to give, but here's some:
On the NFS server, I exported the entire HPCSH distro as one FS:
/usr/export/client/root
I also exported a swapfile (per the HOWTO)
/usr/export/client/swap (it mounts at /swap on the DC)
the root FS mounts, and swapctl is able to mount the swap space.
Do I need to enable certain TTY's?
If anyone has any idea as to what's happening, let me know what info you
need, and I can provide it. thanks,
Andy
/*
** A N D Y . M I C H A E L S
**
** L E G O AT G T I DOT N E T
**
** http://www.gti.net/lego
*/
On Tue, 10 Jul 2001, Peter Stewart wrote:
> The kernel has started, it cant find the mount point for nfs.
> Your /etc/dhcpd.conf should look like:
>
>
> #This is from www.wrong.org
>
> ddns-update-style ad-hoc;
>
> subnet xxx.xxx.xxx.0 netmask 255.255.255.0 {
> # default gateway
> option routers xxx.xxx.xxx.xxx;
> option subnet-mask 255.255.255.0;
> option domain-name "xxxxxxx.xxx.xxx";
> option domain-name-servers xxx.xxx.xxx.xxx;
> default-lease-time 21600;
> max-lease-time 43200;
>
> host dreamcast {
> hardware ethernet xx:xx:xx:xx:xx:xx;
> option host-name "dreamcast";
> fixed-address xxx.xxx.xxx.xxx;
> option root-path "/usr/local/home/dreamcast/netbsd/root";
> option dhcp-max-message-size 1024;
>
> }
>
> }
>
> Where the "host dreamcast" section is set appropriately.
>
> and change all the xxx's to something appropriate.
>
> "dreamcast" has an entry in my hosts file...eg the ip of your dreamcast.
>
> and your /etc/exports:
>
> /usr/local/home/dreamcast/netbsd/root (rw,no_root_squash)
>
>
> and dont forget to start nfs. (easiest - "/etc/rc.d/init.d/nfs start")
>
>
>
> Andy Michaels wrote:
> >
> > Okay, I set up an NFS server/DHCP server. When I boot the DC, I get:
> >
> > <snip>
> > nfs_boot:DHCP server: 192.168.2.1
> > nfs_boot:my_domain=drew.com
> > nfs_boot:my_addr=192.168.2.5
> > nfs_boot:my_mask=255.255.255.0
> > nfs_boot:getfh - no pathname
> > cannot mount root, error = 5
> > root device (default md0a):
> > </snip>
> >
> > I'm assuming that the getfh is "get file handle". Is it looking for the
> > kernel, or a path to the kernel? I'm a little new to NFS and DHCP, so
> > I've most likely misconfigured something there. Any suggestions? If this
> > is an RTFM, which FM should I R?
> >
> > Andy
> >
> > /*
> > ** A N D Y . M I C H A E L S
> > **
> > ** L E G O AT G T I DOT N E T
> > **
> > ** http://www.gti.net/lego
> > */
>