Booting diskless vaxstations

Kurt J. Lidl lidl at eng.umd.edu
Sun Aug 19 16:04:30 AEST 1990


In article <1990Aug17.035622.1732 at eng.umd.edu> I wrote:
>For various weird reasons, I need to boot up a gaggle of diskless
>VaxStation 2000's...
>
>So basically I need help in setting up a diskless environment -- ideally
>booting off a vax (mop_mom'ing the initial code) and then continuing
>off the sun4 for root, swap and so forth.  Ideas, pointers and
>experience gratefully accepted.

Well, I got two responses from my last message(*), but that got me far
enough to at least boot the machine (sorta -- see below).  I figured
that I would try a simple boot first -- give it an IP address,
boot up a standard kernel, etc and work my way up from there.

So I copied /usr/sys/sas.net/vmunix into the place where I told
getnode to boot my kernel.  This worked fine.  The kernel came up
fine.  Then when I started poking around, I figured out that there
was a filesystem around that *did* *not* exist on disk anyplace.
After talking about this with some of my co-workers, we looked
around in the kernal that we just booted -- sure enough, the
filesystem was wrapped *INSIDE* of that kernel.

At any rate, if anyone has any information on exactly how this special
kernel was created, or how more of the same type of kernel could be
created, I would really like to hear from you.

On other fronts, if I try to compile a kernel for the same workstation,
and boot it, it loads itself in and then right after it gets done
autoconfig'ing the devices and reports the swap space, it dies with
the following error.

clntkudp_create: socket bind problem, [repeated once], 49trap type 8, \
code = 4, pc = 8001ed81

This is followed by a register and stack dump.

So if anyone knows the magical things that need to be done to get an
Ultrix kernel to work with a diskless workstation (precisely, a
monochrome vs2000 with 6 megs of ram, no local disks, and a FPA),
I'd love to hear from you.

Finally, an easy question.  In the secondary bootstrap loader, there
are two fields for "root file descriptor" and the "swap file descriptor" --
are these two fields actually used in the system somehow?  If so, 
what is their format?  If is a nfs-type mount (ie /path/to/file at hostname)
or is it something else?  I'd like to know if I'm just wasting my
time frobbing these parameters when these aren't booting.

(*) Many thanks to: peterb at cwi.nl (Peter Bosch) and
    Richard Seymour <seymour at milton.u.washington.edu>

The vmunix that exists in /sys/SAS.net/vmunix is really strange...
(Upon loading the vmunix into emacs...)

"Isn't that a shell script?" - Dave
"Yeah, kinda sticks out like a sore thumb in the middle of a kernel" - me

(Actually, if someone can tell me how to make a funky kernel like
that one, we've got a really sicko hack on how to boot-strap the 
rest of the stuff we need into the ram on the vaxstation.)

							-Kurt

--
/* Kurt J. Lidl (lidl at eng.umd.edu) | Unix is the answer, but only if you */
/* UUCP: uunet!eng.umd.edu!lidl    | phrase the question very carefully. */



More information about the Comp.unix.ultrix mailing list