Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Has anyone successfully done bootp for kernal and nfs root?
@ 1997-09-25 10:29 Jim. Shipman
  0 siblings, 0 replies; 4+ messages in thread
From: Jim. Shipman @ 1997-09-25 10:29 UTC (permalink / raw)


I'm trying to boot a PC164 from a bootp server and mount an NFS root.  I
can boot from floppy with milo/ARC and NFS root works, but I just can't get
the system to boot the kernal using bootp and SRM!  I've read all the docs,
howto's, minihowto's etc. to no avail.  Does anyone know how to get this to
work?

So far I can't even get aboot to work from a floppy.  It uncompresses the
kernal and starts initializing, but it can't find any floppy controllers
(its there), and when it gets to the SCSI interface it again looks like it
initializes correctly, but can't find any SCSI devices and hangs looking
(they're there too).

I built a kernal without SCSI and it just hangs after intializing the
ethernet.  Looks like the same symptom to me.

Thanks,
Jim

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Has anyone successfully done bootp for kernal and nfs root?
       [not found] <3.0.3.32.19970925032915.0092e100@pop4.ibm.net>
@ 1997-09-28 18:39 ` jestabro
  1997-10-05 20:51   ` Has anyone successfully done bootp for kernal and nfs Jim. Shipman
  0 siblings, 1 reply; 4+ messages in thread
From: jestabro @ 1997-09-28 18:39 UTC (permalink / raw)


>>> "Jim. Shipman" said:
>
> I'm trying to boot a PC164 from a bootp server and mount an NFS root.  I
> can boot from floppy with milo/ARC and NFS root works, but I just can't get
> the system to boot the kernal using bootp and SRM!  I've read all the docs,
> howto's, minihowto's etc. to no avail.  Does anyone know how to get this to
> work?

First off, it will be much easier to forgo MILO and just boot a kernel
directly from SRM via BOOTP. You'll need to build the kernel specifying
that SRM console will be used, during "make config".

Second, to build the BOOTP image, do "make boot" followed by "make
bootpfile", then look for the BOOTP image as arch/alpha/boot/bootpfile. For
this, you'll need to use the alpha-patches-2.0.30-0.[12].gz that are
available on gatekeeper.dec.com, applied to stock 2.0.30 sources (*not*
the RH kernel sources RPM!!!).

Third, you'll prolly need to fiddle a bit with the "ewa0*" envvars, so that
the correct protocol and such are used. At minimum, you'll need to do:

	>>> set ewa0_mode <whatever-is-correct>
	>>> set ewa0-protocols BOOTP

> So far I can't even get aboot to work from a floppy.  It uncompresses the
> kernal and starts initializing, but it can't find any floppy controllers
> (its there), and when it gets to the SCSI interface it again looks like it
> initializes correctly, but can't find any SCSI devices and hangs looking
> (they're there too).

It's the kernel that can't find the floppy and SCSI disks, right? That's
because, if the kernel is built for running under MILO and you run it
directly from SRM (via "aboot"), the interrupts will be delivered in a way
that the kernel isn't expecting.

--Jay++

-------------------------------------------------------------------------------
  American Non Sequitur Society: we don't make sense, but we do like pizza...

Jay A Estabrook                         Alpha Migration Tools - LINUX Project
Digital Equipment Corp.                 (508) 952-4202 or (DTN) 227-4202
151 Taylor Street - TAY1-2              enet: jestabro@amt.tay1.dec.com
Littleton, MA 01460-1407                decnet: tallis::jestabro
-------------------------------------------------------------------------------

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Has anyone successfully done bootp for kernal and nfs root?
       [not found] <3.0.3.32.19971005135124.00925c40@pop4.ibm.net>
@ 1997-10-05 15:18 ` jestabro
  0 siblings, 0 replies; 4+ messages in thread
From: jestabro @ 1997-10-05 15:18 UTC (permalink / raw)


>>> "Jim. Shipman" said:
> 
> I've created a bootpfile and loaded it onto my bootp server, but when I try
> to use bootp to load my bootpfile, my server says it is "ignoring a request
> for server 0.0.0.0 from client 0.0.0.0".  I've added server address' for
> every possible server and it still gives me the same message.  When I load
> linux off of diskette and use nfsroot, the bootp requests are accepted, but
> nfsroot doesn't ask for a server.
> 
> I know the bootpd server has a database entry for the client ethernet card
> because I use bootp from that very same server and client to load the
> nfsroot when I boot off of diskette.
> 
> What do I need to either get SRM to not ask for a server, or to get linux
> bootpd to give a reply for that request?

Here's the settings of all the ewa0* envvars on my CABRIO that will boot
fine from my PC164 server; note that only a few of these were actually set
by me, and that some simply hold the last used value. I'll mark the ones
I *know* I set by +, and the ones I'm not sure I set by ?...

>>>show ewa0*
ewa0_arp_tries          3
ewa0_bootp_file                         
ewa0_bootp_server                       
ewa0_bootp_tries        3
ewa0_def_ginetaddr      0.0.0.0         
ewa0_def_inetaddr       0.0.0.0         
ewa0_def_inetfile                       
ewa0_def_sinetaddr      0.0.0.0         
ewa0_ginetaddr          0.0.0.0         
?ewa0_inet_init          bootp           
?ewa0_inetaddr           192.168.0.1     
?ewa0_inetfile           /tftpboot       
ewa0_loop_count         3e8
ewa0_loop_inc           a
ewa0_loop_patt          ffffffff
ewa0_loop_size          2e
ewa0_lp_msg_node        1
+ewa0_mode               Twisted-Pair    
+ewa0_protocols          BOOTP           
?ewa0_sinetaddr          192.168.0.2     
ewa0_tftp_tries         3

To set the "empty" string, do:

	>>> set ewa0_bootp_server ""

Good luck.

--Jay++

-------------------------------------------------------------------------------
  American Non Sequitur Society: we don't make sense, but we do like pizza...

Jay A Estabrook                         Alpha Migration Tools - LINUX Project
Digital Equipment Corp.                 (508) 952-4202 or (DTN) 227-4202
151 Taylor Street - TAY1-2              enet: jestabro@amt.tay1.dec.com
Littleton, MA 01460-1407                decnet: tallis::jestabro
-------------------------------------------------------------------------------

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Has anyone successfully done bootp for kernal and nfs
  1997-09-28 18:39 ` Has anyone successfully done bootp for kernal and nfs root? jestabro
@ 1997-10-05 20:51   ` Jim. Shipman
  0 siblings, 0 replies; 4+ messages in thread
From: Jim. Shipman @ 1997-10-05 20:51 UTC (permalink / raw)


At 11:39 PM 9/28/97 +0500, you wrote:
>Second, to build the BOOTP image, do "make boot" followed by "make
>bootpfile", then look for the BOOTP image as arch/alpha/boot/bootpfile. For
>this, you'll need to use the alpha-patches-2.0.30-0.[12].gz that are
>available on gatekeeper.dec.com, applied to stock 2.0.30 sources (*not*
>the RH kernel sources RPM!!!).

I've gotten the stock sources, patched, and built an SRM compatable kernel
which I can load from diskette and runs Ok.  Thanks.  

I've created a bootpfile and loaded it onto my bootp server, but when I try
to use bootp to load my bootpfile, my server says it is "ignoring a request
for server 0.0.0.0 from client 0.0.0.0".  I've added server address' for
every possible server and it still gives me the same message.  When I load
linux off of diskette and use nfsroot, the bootp requests are accepted, but
nfsroot doesn't ask for a server.

I know the bootpd server has a database entry for the client ethernet card
because I use bootp from that very same server and client to load the
nfsroot when I boot off of diskette.

What do I need to either get SRM to not ask for a server, or to get linux
bootpd to give a reply for that request?

Almost there, thanks,
Jim

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1997-10-05 20:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <3.0.3.32.19970925032915.0092e100@pop4.ibm.net>
1997-09-28 18:39 ` Has anyone successfully done bootp for kernal and nfs root? jestabro
1997-10-05 20:51   ` Has anyone successfully done bootp for kernal and nfs Jim. Shipman
     [not found] <3.0.3.32.19971005135124.00925c40@pop4.ibm.net>
1997-10-05 15:18 ` Has anyone successfully done bootp for kernal and nfs root? jestabro
1997-09-25 10:29 Jim. Shipman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox