On Wed, Feb 20, 2002 at 09:35:30PM +0100, Damien Genet wrote: > how can i make oskit-mach, not to reboot after an error message ? so i > can see what happenned
OSKit-Mach used to show a dump and wait for the user when it crashed. I think this was when I used earlier versions of the OSKit and that this problem is some unfixed bug in the 20010214 snapshort of OSKit or in OSKit-Mach itself which triggered by the new version. (Just like the previous problems with the new version, I recall it was the interrupt code and it might be related) I don't really remember in what function I made the change and I deleted the change when cleaning up my directories of sources. I think it was in one of the following files: In $(oskit)/libc/gen/panic.c (this is the OSKit, not OSKit-Mach) there is a call to getchar(). It should wait for you pressing a key. For some reason this doesn't work. In $(oskit)/kern/x86/pc/base_console_init.c the fuction our_exit() is called. You could add a call to getchar() here. In $(oskit-mach)/oskit/x86/main.c (Note that this OSKit-Mach and not the OSKit) the function my_exit() is called before rebooting IIRC. You could also add a call to getchar() here. Remember that OSKit-Mach is still experimental and gnumach should be used when possible, unless you don't care about kernel crashes and you like kernel debugging. This also counts for building OSKit-Mach (and OSKit). There is some documentation, http://www.etherhogz.org/doc/oskit-mach.html, but I don't know how up-to-date it is. In the future (read: when we have a good console in OSKit-Mach) there will probably just a debian package like gnumach at the moment. Jeroen Dekkers -- Jabber supporter - http://www.jabber.org Jabber ID: [EMAIL PROTECTED] Debian GNU supporter - http://www.debian.org http://www.gnu.org IRC: jeroen@openprojects
msg02972/pgp00000.pgp
Description: PGP signature