View previous topic :: View next topic |
Author |
Message |
vm666 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/20891259795c3113df81e87.jpg)
Joined: 24 Oct 2003 Posts: 56
|
Posted: Fri Oct 24, 2003 10:37 am Post subject: Cannot compile Gentoo kernel without "preemptible" |
|
|
When the "Preemtible kernel" is off, the linux-2.4.20-gentoo-r8 kernel does not link:
fs/fs.o(.text+0x15c5d): In function `dput':
: undefined reference to `atomic_dec_and_lock'
(this happened with previous versions too)
So... I just have to enable the option. *But* I have a hsflinmodem on my laptop, and this is incompatible with the "preemptible kernel".
The only workaround I found so far was to use the vanilla kernel sources ![Sad :-(](images/smiles/icon_sad.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
AlterEgo Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/173811519640c8947cd3c4d.gif)
Joined: 25 Apr 2002 Posts: 1619
|
Posted: Fri Oct 24, 2003 10:51 am Post subject: |
|
|
If you've used the pre-empt patch in the past, and now want to create a kernel without it, the safest way to process is:
-save your current kernel-config (.config) somewhere
-cd /usr/src/linux
-make mrproper (cleans out the kernel sources)
-make a new kernel using the saved .config as a template |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
klarnox Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Marvel/Marvel_-_Gambit.gif)
Joined: 28 Jan 2003 Posts: 350 Location: Wisconsin, USA
|
Posted: Fri Oct 24, 2003 1:51 pm Post subject: |
|
|
If you're willing to pay for the full updated hsflinmodem driver it does support preemptible kernels. The price is, if I remember correctly, $15 and they say that includes updates for "at least a year".
I finally broke down and paid for the drivers and they've worked very well so far. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|