Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 2518 - Broken gentoo-sources-2.4.19-r3
Summary: Broken gentoo-sources-2.4.19-r3
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Daniel Robbins (RETIRED)
Depends on:
Reported: 2002-05-07 04:47 UTC by Matt Boehlig
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---

CONFIG_PREEMPT fix (preempt-fix.patch,533 bytes, patch)
2002-05-07 07:17 UTC, Joachim Blaabjerg (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Boehlig 2002-05-07 04:47:54 UTC
There are a couple problems with the new 2.4.19-gentoo-r3 kernel.  2.4.19-gentoo-r1 works fine for me. 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.
Comment 1 Joachim Blaabjerg (RETIRED) gentoo-dev 2002-05-07 07:16:42 UTC
This patch should, at least in theory, fix the preempt problem. Untested. What
could the kswapd problem be caused by?
Comment 2 Joachim Blaabjerg (RETIRED) gentoo-dev 2002-05-07 07:17:23 UTC
Created attachment 874 [details, diff]
Comment 3 Daniel Robbins (RETIRED) gentoo-dev 2002-05-08 00:12:35 UTC
Yep, that'll fix it.  I'll roll out a new kernel soon.
Comment 4 Daniel Robbins (RETIRED) gentoo-dev 2002-05-08 00:52:14 UTC
Fixed in gentoo-sources and crypto-sources r4.  Now on CVS; will be on rsync soon.
Comment 5 Matt Boehlig 2002-05-08 14:04:11 UTC
Yep, it's fixed.  I'll make my kernel panic a new bug.