[comp.os.minix] minix '286 patches

woodman@sumax.UUCP (David Woodman) (05/20/89)

I almost had the '286 patches done and was compiling build & fsck
when I received an 'out of memory' error on fsck.c
 It's 2 in the morning, If I am overlooking something, please forgive
me otherwise, what next ?

jds@mimsy.UUCP (James da Silva) (05/21/89)

In article <589@sumax.UUCP> woodman@sumax.UUCP (David Woodman) writes:
>I almost had the '286 patches done and was compiling build & fsck
>when I received an 'out of memory' error on fsck.c
> It's 2 in the morning, If I am overlooking something, please forgive
>me otherwise, what next ?

I had no trouble compiling build and fsck after applying Bruce's diffs.
Where did you get the error exactly?  From asld, the compiler, or make?
I've got the 1.2 compiler; I suppose those with the 1.1 compiler might have
more trouble.

I had a bit of trouble with the kernel patches because I had previously
installed Bruce's replacement tty driver.  It turns out that I had to back
up to the vanilla 1.3d versions of clock.c, const.h and main.c, then apply
the new diffs.  Same for device.c and pipe.c in fs.

Also, patch kept running out of memory trying to create the new file
klib88.x (which Bruce sent as one big patch).  This was with 600K+ free on
/tmp.  I ended up running it through sed, then hand editing to remove the
diff header.

You have to take care to correctly set up kernel/axmakefile; there are
several possible options, you must uncomment the proper ones for your
setup.

Unfortunately, Bruce's rs232 io doesn't work for me yet (it didn't work
before the pmode diffs, either).  Specifically, when using term to talk to
my external modem, I can see that it is sending chars just fine, and the
modem is echoing chars back.  But term never sees the echoed chars; it
hangs on the first read from the tty port.  Anyone seen a similar problem?

Tty problems aside, it sure is wonderful to see the following on startup:

   Memory size = 2560K   MINIX = 125k   RAM disk = 720K   Available = 1715K

I think we owe Bruce Evans a standing ovation.  THANK YOU, BRUCE!

Jaime
...........................................................................
: domain: jds@mimsy.umd.edu				     James da Silva
: path:   uunet!mimsy!jds

jdeitch@pnet01.cts.com (Jim Deitch) (05/22/89)

> Unfortunately, Bruce's rs232 io doesn't work for me yet (it didn't work 
> before the pmode diffs, either).  Specifically, when using term to talk to
> my external modem, I can see that it is sending chars just fine, and the
> modem is echoing chars back.  But term never sees the echoed chars; it
> hangs on the first read from the tty port.  Anyone seen a similar problem?

What type UART are you using?  I have seen this problem under other O/S's when
using a 16450 or 16550.  The easiest thing to try is put :
  echo " " > /dev/tty1
  echo " " > /dev/tty2
in your etc/rc file.  It seems to "jump start" the UARTS.  If you are using
the 16550 then you might want to add a line at the end of rs232.c that 

outputs to port 3FA (for port 1) or 2FA (port 2) a 0xC7.  This sets up the
built in FIFO for an interupt level of 14 bytes.  Speeds things up a bit.  As
a matter of fact, you should include these outputs anyway, because these ports
are unwritable on 8250's and 16450's so they will just ignore it.  This is
what cleared up the problem on my end.

Jim

UUCP: {nosc ucsd hplabs!hp-sdd}!crash!pnet01!jdeitch
ARPA: crash!pnet01!jdeitch@nosc.mil
INET: jdeitch@pnet01.cts.com

dxt5638@acf5.nyu.edu (Donghsuan Tseng) (05/25/89)

In message <589@sumax.UUCP>, it said he had some trouble about make fsck.
The error message is "out of memory". I got the error message too. It happened
in cem & cpp are running, even I use flag -F. 

I got the protected version by patching v1.3, not 1.3d. Is there any
problem? Is there any one who can tell me where I can get the patches to
1.3d from 1.3. Thanks in advance.

					Tseng.