[comp.os.minix] Memory manager panic: problem & what does minix 386 offer

KHATUKA%ROSEVC.Rose-Hulman.Edu@uicvm.uic.edu (Aditya Khatuka) (02/07/91)

Hi,

        I have installed minix 1.5 on a Zenith Z386/25 with 150MB hard drive
and 640K + 1024 K entended memory. My partation 3 ( approx 2 MB) contains the
ram disk image while partition 2 is for the rest of the stuff.
        I used the command
/etc/setup_root /dev/hd3 512 113903 12500 2016 22680
                          |    |      |    |     |
                         ram   |    minix  |    minix - (for future use!)
 tried other sizes too <--|   dos        ram image

        for creating root file system.
On rebooting the system, I am getting a flashing error message "Memory manager
panic: not enough memory.  Automatic reboot." (or something like this).
        I have tried different ram size but had no success. I even tried minix
on a PC with 640k with ram size varing from 150k to 300k but always got the
same error here also.
        Any suggestion as where I am goofing up.

Very soon my 386 would be upgraded to 16MB of Ram and I am then thinking of
installing Bruce's 386 version. What I would like to know is what are the
benifits of having the 386 version ?? Does it have

1. Support for paging or swapping.
2. Stack overflow detection.
3 Or does it takes advantage of any other 386 hardware features like any use of
  4 layers of protection offered by 386, use of multitasking hardware, etc.

        Can someone please summerize the features of Bruce's 386 minix; and
finally, are there any other seperate 386 modifications that would add the
above features.

thanks for the help

aditya

grundy@rtf.bt.co.uk (Martin Grundy) (02/08/91)

In article <43907@nigel.ee.udel.edu> KHATUKA%ROSEVC.Rose-Hulman.Edu@uicvm.uic.edu (Aditya Khatuka) writes:
>Hi,
>
>        I have installed minix 1.5 on a Zenith Z386/25 with 150MB hard drive
>and 640K + 1024 K entended memory. My partation 3 ( approx 2 MB) contains the
>ram disk image while partition 2 is for the rest of the stuff.
>        I used the command
>/etc/setup_root /dev/hd3 512 113903 12500 2016 22680
>                          |    |      |    |     |
>                         ram   |    minix  |    minix - (for future use!)
> tried other sizes too <--|   dos        ram image
>
>        for creating root file system.
(rest deleted)

Hi,

I think your problem may be that your blocksize spec for hd3 in the
/etc/setup_root should be 512 instead of 2016. Otherwise, when minix
tries to load the ram disk off /dev/hd3, it tries to load 2016 blocks and you
haven't got that much memory !

Try:
	/etc/setup_root /dev/hd3 512 113903 12500 512 22680

 (I also set my dos partition size to 0. It seems to work).


I am not too sure without looking, whether /etc/setup_root performs
the mkfs for /dev/hd3; if it doesn't, then you have to "mkfs /dev/hd3 512"
beforehand, to make a 512k filesystem on /dev/hd3.

I am sorry but I don't any info on mx386; I am about to try it myself !

--
Martin Grundy                     |  email: grundy@rtf.bt.co.uk
British Telecom Customer Systems  |
Hyperion House                    |  phone: +44 273 762102
96-99 Queens Road                 |  fax:   +44 273 722038 or
Brighton BN1 3XF.                 |         +44 273 762071 (netfax)