From: James S. <jsi...@tr...> - 2001-10-12 17:31:22
|
> > 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). Ah!! Okay. I put a new file into CVS. Lets see if that works. 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. You got a good point. Let me look... Ug! The problem is global_irq_lock is atomic on some platforms and a spinlock on others. > 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. I will test it tonight. > 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. Really strange. > bi-PII-333 Try it without SMP support. > 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. Will fix tonight. |