[comp.os.minix] Got 1.2 from P.H: klib88 wont compile, build wont boot; HELP!

greyham@ausonics.OZ (Greyham Stoney) (11/04/88)

This may have been raised before, but if so I missed it. Anyhow,....

I just got the Minix 1.2 package from Prentice-Hall, and am having LARGE
ammounts of trouble trying to rebuild the kernel to run with an AT hard
disk. Presumably the one I got has xt_wini.c linked in, as it's in 360k
format (9 disk set).

Firstly, klib88.s has a sector of zeros chunked through it and won't assemble.
Not that asld actually TELLS you; it just stops at the zeros and you wind
up with unresolved references. I fixed this by stripping the zeros out and
typing the missing code in as per the book. Eventually, (after plugging in
the extra RAM to get up to 640k ..... sidenote: asld does WEIRD things when
it runs out of RAM) I managed to make the kernel OK, and build a boot disk.
Building a boot disk with the kernel et al from /tools on the distribution
worked OK. It boots fine. Just like the bought one. BUT; with the
recompiled kernel (with at_wini.c) it doesn't. fsck works OK at boot up,
but hitting '=' just hangs the system. Note that everything here is pure,
vanilla, Prentice-Hall 1.2 definitive. No net diffs etc.

I'm sure others have had this problem. It's the *first* thing you have to do
to put the thing on hard disk (I'm getting tired of this one-floppy shuffle!)
and it don't work. What's wrong here?.

	Any help appreciated,
		Greyham

-- 
# Greyham Stoney:      (disclaimer not necessary: I'm obviously irresponsible)
# greyham@ausonics.oz - Ausonics Pty Ltd, Lane Cove.  /* Official Sponsor */
# greyham@utscsd.oz - Uni of Technology, Sydney.