Subject: Re: nfs root booting process..
To: None <port-dreamcast@netbsd.org>
From: andrew culver <prez@codeninja.ca>
List: port-dreamcast
Date: 12/06/2001 13:34:50
This is a multi-part message in MIME format.
------=_NextPart_000_004D_01C17E5A.C7A7BDA0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
There is no error message.
When I load the kernel, I'm prompted for root device, dump device, fs =
type, where I enter "rtk0", nothing, and "nfs" respectively.
Then it does the DHCP stuff, and spits out the information it got from =
my lab's DHCP server, (dhcpd.conf is appended)
After that, it spits out the line:
root on 192.168.1.4:/usr/export/spellcast
then does nothing. Any ideas?
- Andrew
[ttyp0 prez@devstyle:~/code]> cat /etc/dhcpd.conf
option domain-name "lab";
option domain-name-servers 24.153.22.67, 24.153.23.66;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.1.255;
option routers 192.168.1.1;
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.10 192.168.1.20;
}
host spellcast {
hardware ethernet 00:D0:F1:02:96:D4;
option host-name "spellcast";
fixed-address 192.168.1.6;
next-server 192.168.1.4;
option root-path "/usr/export/spellcast";
}
--
"You must be the change you wish to see in the world." - Gandhi.
----- Original Message -----=20
From: Ryan Nelson=20
To: andrew culver=20
Cc: port-dreamcast@netbsd.org=20
Sent: Thursday, December 06, 2001 1:14 PM
Subject: Re: nfs root booting process..
What happens when you load the kernel?=20
What error message are you getting?=20
=20
andrew culver wrote:=20
Everything seems to be up and running fine, and since I've never =
used a NFS for a root filesystem before, I'm a little clueless. Surely =
this must be an over asked or previously answered question, but I beg =
you to suffer my ignorance. After DHCP configuration, which goes very =
smooth, my dreamcast is proud to annouce to me this: root on =
192.168.1.4:/usr/export/spellcast where /usr/export/spellcast (the root =
fs) looks more or less like this: [ttyp0 =
prez@devstyle:/usr/export/spellcast]> ls=20
altroot dev etc mnt sbin sys usr=20
bin dist home root stand tmp varI'm curious: =
In the normal booting process, what is my Dreamcast supposed to be doing =
next? What have I missed? Regards, - Andrew.=20
--=20
"You must be the change you wish to see in the world." - Gandhi.
-----------------------------
=20
------=_NextPart_000_004D_01C17E5A.C7A7BDA0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2614.3500" name=3DGENERATOR></HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>
<DIV><FONT face=3DArial size=3D2>There is no error message.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>When I load the kernel, I'm prompted =
for root=20
device, dump device, fs type, where I enter "rtk0", nothing, and "nfs"=20
respectively.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Then it does the DHCP stuff, and spits =
out the=20
information it got from my lab's DHCP server, (dhcpd.conf is=20
appended)</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>After that, it spits out the =
line</FONT><FONT=20
face=3DArial size=3D2>:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>root on=20
192.168.1.4:/usr/export/spellcast</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>then does nothing. Any =
ideas?</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2> - Andrew</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>[ttyp0 prez@devstyle:~/code]> cat=20
/etc/dhcpd.conf</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>option domain-name "lab";<BR>option=20
domain-name-servers 24.153.22.67, 24.153.23.66;<BR>option subnet-mask=20
255.255.255.0;<BR>option broadcast-address 192.168.1.255;<BR>option =
routers=20
192.168.1.1;</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>subnet 192.168.1.0 netmask =
255.255.255.0=20
{<BR> range 192.168.1.10 192.168.1.20;<BR>}</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>host spellcast {<BR> hardware =
ethernet=20
00:D0:F1:02:96:D4;<BR> option host-name "spellcast";<BR> =20
fixed-address 192.168.1.6;<BR> next-server 192.168.1.4;<BR> =
option=20
root-path "/usr/export/spellcast";<BR>}</FONT></DIV>
<DIV></FONT><BR>--<BR>"You must be the change you wish to see in the =
world." -=20
Gandhi.</DIV></DIV>
<BLOCKQUOTE=20
style=3D"BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: =
0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">
<DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV=20
style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
<A href=3D"mailto:ryan@riacs.edu" title=3Dryan@riacs.edu>Ryan =
Nelson</A> </DIV>
<DIV style=3D"FONT: 10pt arial"><B>To:</B> <A =
href=3D"mailto:prez@codeninja.ca"=20
title=3Dprez@codeninja.ca>andrew culver</A> </DIV>
<DIV style=3D"FONT: 10pt arial"><B>Cc:</B> <A=20
href=3D"mailto:port-dreamcast@netbsd.org"=20
title=3Dport-dreamcast@netbsd.org>port-dreamcast@netbsd.org</A> </DIV>
<DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Thursday, December 06, =
2001 1:14=20
PM</DIV>
<DIV style=3D"FONT: 10pt arial"><B>Subject:</B> Re: nfs root booting=20
process..</DIV>
<DIV><BR></DIV>What happens when you load the kernel?=20
<P>What error message are you getting? <BR> =20
<P>andrew culver wrote:=20
<BLOCKQUOTE TYPE=3D"CITE">
<STYLE></STYLE>
<FONT face=3DArial><FONT size=3D-1>Everything seems to be up and =
running fine,=20
and since I've never used a NFS for a root filesystem before, I'm a =
little=20
clueless. Surely this must be an over asked or previously answered =
question,=20
but I beg you to suffer my ignorance. After DHCP configuration, =
which goes=20
very smooth, my dreamcast is proud to annouce to me=20
this:</FONT></FONT> <FONT face=3DArial><FONT =
size=3D-1> root on=20
192.168.1.4:/usr/export/spellcast</FONT></FONT> <FONT =
face=3DArial><FONT=20
size=3D-1>where /usr/export/spellcast (the root fs) looks more or =
less like=20
this:</FONT></FONT> <FONT face=3DArial><FONT =
size=3D-1> [ttyp0=20
prez@devstyle:/usr/export/spellcast]> ls</FONT></FONT> <BR><FONT=20
face=3DArial><FONT size=3D-1> altroot =
dev =20
etc mnt =20
sbin sys usr</FONT></FONT> =
<BR><FONT face=3DArial><FONT size=3D-1> =
bin =20
dist home root =
stand tmp varI'm curious: In the =
normal=20
booting process, what is my Dreamcast supposed to be doing next? =
What have I=20
missed?</FONT></FONT> <FONT face=3DArial><FONT =
size=3D-1>Regards, -=20
Andrew.</FONT></FONT> <BR><FONT face=3DArial><FONT =
size=3D-1>--</FONT></FONT>=20
<BR><FONT face=3DArial><FONT size=3D-1>"You must be the change you =
wish to see=20
in the world." - =
Gandhi.</FONT></FONT></BLOCKQUOTE><PRE>-----------------------------</PRE=
> </BLOCKQUOTE></BODY></HTML>
------=_NextPart_000_004D_01C17E5A.C7A7BDA0--