Subject: Re: Kernel and world files available, and a quick setup guide!
To: Josh Tolbert <hemi@scoundrelz.net>
From: Andy R <quadreverb@yahoo.com>
List: port-dreamcast
Date: 08/31/2002 22:48:24
--- Josh Tolbert <hemi@scoundrelz.net> wrote:
> Hi Andy,
> 	It might also be worth the trouble to try
> rebuilding all the
> device files in /dev.
> 	My swap file is 600 and I don't have any problems
> with it. Are you
> sure your NFS stuff is correct? I had to specify
> -alldirs, cause I was
> NFS-mounting a file below the mount point for the
> device.

Ok. I must be missing something stupid. Here's the
setup on my dchpd/nfsd "server" machine:

/etc/exports:
/home/dreamcast/dc -maproot=root dreamcast
/home/dreamcast/dcswap -maproot=root -alldirs
dreamcast

/etc/dhcpd.conf:
deny unknown-clients;
ddns-update-style none;

subnet 192.168.1.0 netmask 255.255.255.0 {
   range 192.168.1.8;
   option routers 192.168.1.254;
   option domain-name-servers 68.2.16.30;
   option domain-name "andy.com";

   host dreamcast {
      hardware ethernet 00:d0:f1:02:89:7f;
      fixed-address 192.168.1.8;          
      option host-name "dreamcast";       
      next-server 192.168.1.7;            
      option root-path "/home/dreamcast/dc"; 
      }
}

swap file:
roadrunner# pwd
/home/dreamcast/dcswap
roadrunner# ls -l
total 65576
-rw-------  1 root  wheel  67108864 Aug 31 22:13 swap

dreamcast's /etc/fstab:
192.168.1.7:/home/dreamcast/dc / nfs rw,auto 0 0
192.168.1.7:/home/dreamcast/dcswap/swap none swap
sw,nfsmntpt=/swap 0 0
/kern /kern kernfs rw
/proc /proc procfs rw 0 0
/dev/gdrom0c /mnt/gdrom cd9660 ro,noauto 0 0

dreamcast's swap directory:
dreamcast# pwd
/
dreamcast# ls -ld swap
drwx------  2 root  wheel  512 Aug 28 21:38 swap

Any ideas? I'm sure it could be possible that I missed
something simple, but I've never done this swap thing
over NFS so I'm a newbie...

Thanks for your help so far Josh, how cool is this
stuff? Maybe sometime we can get it squared away
enough to build binary packages from pkgsrc for this
thing!

Andy

__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com