Subject: boot() problems..
To: None <port-hp300@sun-lamp.cs.berkeley.edu>
From: jason downs <downsj@CSOS.ORST.EDU>
List: port-hp300
Date: 07/16/1994 01:43:35
i'm having problems with reboot not syncing the disk, and am attempting
to track it down.
the reboot program is definately calling the reboot syscall without
RB_NOSYNC set; the reboot syscall is passing that on to boot() without
modifications, so i'm attempting to debug boot().
without much success. if i add the following code to boot() [machdep.c],
directly after the 'boothowto' assignment, not only does it not
print anything, but it hangs rather than enter the debugger.
/* DEBUG */
if(howto & RB_NOSYNC)
printf("RB_NOSYNC!\n");
if(waittime >= 0)
printf("waittime = %d!\n", waittime);
Debugger();
is there some magic about debugging boot() that i'm missing?
--
----------------------------------------
-------------------// jason downs // downsj@CSOS.ORST.EDU //------------------
---------------------------------------- JD105
http://www.CSOS.ORST.EDU/downsj/index.html
"what i used to think was me is just a fading memory..." -- NiN/PHM
------------------------------------------------------------------------------