[comp.os.minix] problems in building the boot diskette

deepti@csd4.csd.uwm.edu (DEEPTI SURI) (10/03/90)

Hi,

I am having problems building the boot diskette.I am running version 1.2.
When I boot off from my new diskette, the menu appears but the system does
hangs when I press the = sign.According to the book, it means that my
kernel is crashing during initialization.  I have not introduced any new
print statements either, so it is probably because of some of the code that	I changed.The procedure that I have tampered a little is pick_proc(),so
everything should run fine till before that (line 0971). Will introducing
a print statement at this point to check whether I am getting this far at
least still cause problems? ( Apparently I did that, and the system still 
hangs at the = sign).
Can anybody suggest what should be done? I have started using minix only
recently. Earlier I had built a boot diskette, without changing any of the
code and it worked just fine.

One silly doubt but it is there nevertheless, even after I change the code
and build the new boot disk, I am still using the old rootfile system, this
should not make any difference, isn't it?

I am also having problems understanding the _restart routine, could 
somebody help? The various registers from the proc table are fetched
and all parameters restored to start running the process, but I am unable
to pinpoint the exact place where the instruction is executed ( aand the 
value of pc changed) before the iret.

Thanks a lot for all your help.
Thanks again.
--
deepti