There are a couple problems with the new 2.4.19-gentoo-r3 kernel. 2.4.19-gentoo-r1 works fine for me. http://lists.gentoo.org/pipermail/gentoo-user/2002-May/022770.html also describes this problem. I enabled low latency and disabled preemptive and I get an error compiling: ksyms.c:454: `preempt_schedule' undeclared here (not in a function) ksyms.c:454: initializer element is not constant ksyms.c:454: (near initialization for `__ksymtab_preempt_schedule.value') If I enable preemptive, then the compile has no problems. Once the kernel compiles there is another problem. On bootup I get a kernel panic. I think it's with loading kswapd. It says something about swapper.o, spews out a bunch of registers, and then somthing like kernel panic!! init trying to kill itself. I am have used the same .config from my working kernel, enabled/disabled apm, acpi, low latency, preemptive (which does not work disabled). I still get kernel panic on boot.
This patch should, at least in theory, fix the preempt problem. Untested. What could the kswapd problem be caused by?
Created attachment 874 [details, diff] CONFIG_PREEMPT fix
Yep, that'll fix it. I'll roll out a new kernel soon.
Fixed in gentoo-sources and crypto-sources r4. Now on CVS; will be on rsync soon.
Yep, it's fixed. I'll make my kernel panic a new bug.