[comp.os.minix] Minix 286 Evans' Protected Mode

charles@hp-sdd.hp.com (Charles Keith) (05/24/89)

In the last few days, I was trying to set up an RS-232 login just like
some other soul here on the net.  It seemed like I was doing the right
things; I could read and write the port, but with a shell on boot it would
hang at the login message.  I am running 1.4a on a 286 clone.  As a
diversion, I decided to install Bruce Evans' tty driver.  I patched
everything, re-made the kernel and on the first boot, my serial port
politely asked me to log in (THANKS BRUCE).

After installing Bruce Evans' tty driver, I decided since the tty was so
easy, why not do 286 protected mode?  Putting together a clean 1.4a source
tree was not too bad (THANKS to check_crc) and only a few files did not
check (tools/at_makefile, tools/message; I traced them back to BUGS, the
source of my 1.3 upgrade).  I experienced the same problem with mpx286.x
that was previously described (too big for patch) and did a similar
workaround.  I have been having problems with kernel/axmakefile however.

From crc-dist:
	29962   8507 kerneldif/axmakefile.cdi
and the file I unshared:
	29962   8507 axmakefile.cdi
patch produces:
	57119   7773 axmakefile
while crc-after says I should have:
	42574   7662 kernel/axmakefile

The makefile has problems like a leading space in front of the defines
up to line 75, and a missing ) on line 123 (target clean:).  If I clean
these up and make the makefile like I think I want it, make hangs without
clues, and though I can kill it easily, there is not much information
left to help me find the problem.  Am I overlooking something stupid?

The order in which things get defined looks like it may be a problem,
and I've been playing with it but haven't got it to go yet.  Anybody else
have similar experiences?  Can anybody post solutions?
---
Charles Keith               TELE: (619) 592-4472
Hewlett-Packard Co.         UUCP: {hplabs|ucsd|hpfcla}!hp-sdd!charles
16399 W. Bernardo Dr.
San Diego, CA 92127         Disclaimer: I am absolutely irresponsible.
---