* [gentoo-dev] Why is preempt-kernel *required* for building a kernel using gentoo-sources ?
@ 2002-06-02 15:09 Dan Naumov
2002-06-02 15:16 ` Kim Nielsen
0 siblings, 1 reply; 3+ messages in thread
From: Dan Naumov @ 2002-06-02 15:09 UTC (permalink / raw
To: gentoo-dev
Hey.
I just stubled across a very weird problem. I was told that using preempt slows down SETI so I decided to do some benchmarking to see whether it's true. I loaded my kernel config, disabled preempt and ran "make dep clean bzImage modules modules_install", the build failed with:
fs/fs.o: In function `dput':
fs/fs.o(.text+0x11ff5): undefined reference to `atomic_dec_and_lock'
make: *** [vmlinux] Error 1
I go back to menuconfig, add preempt kernel back, save config, recompile again and it works...how come ? Changing the compile optimisations doesn not seem to have any effect on this... According to a thread on Gentoo Forums (http://forums.gentoo.org/viewtopic.php?t=3915), I am not the only have having the problem either.
Sincerely,
Dan Naumov
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-dev] Why is preempt-kernel *required* for building a kernel using gentoo-sources ?
2002-06-02 15:09 [gentoo-dev] Why is preempt-kernel *required* for building a kernel using gentoo-sources ? Dan Naumov
@ 2002-06-02 15:16 ` Kim Nielsen
2002-06-02 23:56 ` Matthew Kennedy
0 siblings, 1 reply; 3+ messages in thread
From: Kim Nielsen @ 2002-06-02 15:16 UTC (permalink / raw
To: gentoo-dev
On Sun, 2002-06-02 at 17:09, Dan Naumov wrote:
> I just stubled across a very weird problem. I was told that using preempt slows down SETI so I decided to do some benchmarking to see whether it's true. I loaded my kernel config, disabled preempt and ran "make dep clean bzImage modules modules_install", the build failed with:
>
> fs/fs.o: In function `dput':
> fs/fs.o(.text+0x11ff5): undefined reference to `atomic_dec_and_lock'
> make: *** [vmlinux] Error 1
>
try coping the .config file somewhere else and do a make mrproper ..
then copy the .config file back and recompile your kernel .. it worked
for me
/Kim
--
I'm the face that stares at you from the shadows.
http://www.insecurity.dk
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-dev] Why is preempt-kernel *required* for building a kernel using gentoo-sources ?
2002-06-02 15:16 ` Kim Nielsen
@ 2002-06-02 23:56 ` Matthew Kennedy
0 siblings, 0 replies; 3+ messages in thread
From: Matthew Kennedy @ 2002-06-02 23:56 UTC (permalink / raw
To: gentoo-dev
Kim Nielsen <kn@insecurity.dk> writes:
> try coping the .config file somewhere else and do a make mrproper ..
> then copy the .config file back and recompile your kernel .. it worked
> for me
I'd just like to add to what Kim said: "make mrproper" is a *really*
good idea before *any* kernel recompile. See the Linux docs in
/usr/src/linux about this.
--
Matthew Kennedy
Gentoo Linux Developer
Bugs go in http://bugs.gentoo.org!
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-06-02 23:51 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-02 15:09 [gentoo-dev] Why is preempt-kernel *required* for building a kernel using gentoo-sources ? Dan Naumov
2002-06-02 15:16 ` Kim Nielsen
2002-06-02 23:56 ` Matthew Kennedy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox