Subject: On to =?iso-8859-1?Q?=22Error 13=22?=
To: None <port-dreamcast@netbsd.org>
From: Alex Kirk <alex@schnarff.com>
List: port-dreamcast
Date: 08/07/2002 17:20:02
I was hoping I'd not have to bother this list again, but I've run up against 
more oddness that the archives don't seem to cover properly. 

I've now set up my DC to boot via NFS; basically, I select "rtk0", "", and 
"nfs" as my startup options. After telling it to use NFS, it goes into the 
DHCP/BOOTP process, where it gets itself the correct IP address, broadcast, 
etc. After obtaining that info, I get the follwing message: 

nfs_boot: mountd '192.168.2.69:/home/alex/dreamcast/fs', error = 13
cannot mount root, error = 13 

192.168.2.69 is the address of my DCHP/BOOTP server, which has dhcpd, 
mountd, and nfsd all running properly; /home/alex/dreamcast/fs is where I 
untarred *.tgz from the sh3 port. Its config files are as follows: 

/etc/exports:
/home/alex/dreamcast/fs -network 192.168.2 -mask 255.255.255.0 

/etc/dhcpd.conf:
 ------------------------------------------------------------------
shared-network LOCAL-NET {
       option  domain-name "kirknet.net";
       option  domain-name-servers 66.92.163.1, 216.231.41.2;
       default-lease-time 604800; 

       subnet 192.168.2.0 netmask 255.255.255.0 {
               option routers 192.168.2.69; 

               range 192.168.2.70 192.168.2.99; 

               host dreamcast {
                       hardware ethernet 00:D0:F1:02:AE:B1;
                       fixed-address 192.168.2.42;
                       option host-name "dreamcast";
                       next-server 192.168.2.69;
                       option dhcp-max-message-size 1024;
                       option broadcast-address 192.168.2.255;
                       option domain-name-servers 66.92.159.2;
                       option domain-name "kirknet.net";
                       option root-path "/home/alex/dreamcast/fs";
               }
       } 

}
 ------------------------------------------------------------------ 

My /var/log/daemon log isn't telling me much useful, either; here's an 
example of the output from the last request: 

 ------------------------------------------------------------------
Aug  6 22:48:03 homegate dhcpd: DHCPDISCOVER from 00:d0:f1:02:ae:b1 via ne3
Aug  6 22:48:03 homegate dhcpd: DHCPOFFER on 192.168.2.42 to 
00:d0:f1:02:ae:b1 via ne3
Aug  6 22:48:03 homegate dhcpd: DHCPREQUEST for 192.168.2.42 from 
00:d0:f1:02:ae:b1 via ne3
Aug  6 22:48:03 homegate dhcpd: DHCPACK on 192.168.2.42 to 00:d0:f1:02:ae:b1 
via ne3
 ------------------------------------------------------------------ 

My suspicion, after reading the archives, is that I have one of two 
problems: either the permissions on my files are wrong, or I have the wrong 
files altogether there. Thus, let me pass along info on that: 

$ls -l /home/alex/dreamcast/fs/
 ------------------------------------------------------------------
total 8820
drwxr-xr-x   2 alex  alex      512 Dec 30  1999 altroot
drwxr-xr-x   2 alex  alex      512 Dec 30  1999 bin
 -rwxr--r--   1 alex  alex  1488021 Aug  6 11:29 bsd
drwxr-xr-x   3 alex  alex     4096 Aug  2 17:24 dev
 -rw-r--r--   1 alex  alex       69 Aug  6 11:43 diskless-howto
drwxr-xr-x   9 alex  alex     1536 Aug  2 17:19 etc
drwxr-xr-x   2 alex  alex      512 Dec 30  1999 home
drwxr-xr-x   2 alex  alex      512 Dec 30  1999 mnt
 -rwxr--r--   1 alex  alex  1488021 Aug  2 19:05 netbsd
 -rw-r--r--   1 alex  alex  1488021 Jul 30  2001 netbsd.1.5R
drwxr-xr-x   2 alex  alex      512 Aug  2 17:19 root
drwxr-xr-x   2 alex  alex     1536 Dec 30  1999 sbin
drwxr-xr-x   2 alex  alex      512 Dec 30  1999 stand
lrwxr-xr-x   1 alex  alex       11 Aug  2 17:14 sys -> usr/src/sys
drwxr-xr-x   2 alex  alex      512 Dec 30  1999 tmp
drwxr-xr-x  13 alex  alex      512 Dec 30  1999 usr
drwxr-xr-x  19 alex  alex      512 Dec 30  1999 var
 ------------------------------------------------------------------
Note: netbsd and bsd there are kernels I found on ftp.netbsd.org under the 
sh3 port area. 

In case it helps in determining what files I have or don't have, I posted an 
ls -lR on /home/alex/dreamcast/fs to my web server at 
www.schnarff.info/dc-lslR.txt 

Thanks for your help. 

Alex