From: Johann D. <jo...@Do...> - 2001-10-11 20:53:10
|
On Mon, 8 Oct 2001, James Simmons wrote: > > > I encountered other problems: > > Fixed. Thanks for picking these bugs up. > We are not finished, yet ;) I had to add a few includes to linux/lib/bust_spinlocks.c (asm/smp.h and linux/sched.h). I also had to replace the atomic_set(&global_irq_lock, 0) by global_irq_lock=0 (hmm, is that safe ?). Indeed, atomic_set needs an atomic_t, while global_irq_lock is an integer. Once this was done, I managed to get the bzImage file compiled. Unfortunately, trying to boot it gave nothing at all. It did not even seem to crash, as it hardly started. After choosing the version to boot on in grub, the screen went blank. The keyboard did not seem to respond. I do not even remember seeing the "Uncompressing kernel image ..........." message. The logs show nothing at all, as if the kernel was never booted. My linux box is a bi-PII-333 on an ASUS P2BD. My keyboard is plugged on a PS2 port, and my graphic card is a Matrox G200. I guess the rest of the configuration does not really matter for the moment. The original 2.4.10 kernel works fairly well. Btw, enabling the debug options in "Kernel Hacking" leads to multiple definitions of do_BUG. But I guess I can live with that for now. -- Johann Deneux |