Upgrading the kernel starting from rpm sources

Upgrading the kernel starting from rpm sources

Post by Fabi » Sun, 23 Nov 2003 19:32:31



Hi all,
I have a mandrake 9.0 and I would like to install a newer (2.4.22)
kernel. If I start from the standard kernel, everything is fine,
but for this little problem: my sound card (on board) is recognized
(by the original kernel) via alsa, which is integrated in the mdk
kernel. With the new standard kernel, there is no alsa support,
but the sound card still works using the via82cxxx_audio.
Since, of course, the

alias sound-slot-0 snd-via82xxx

line of modules.conf doesn't work any longer, I must load the
module "manually", inserting th line

modprobe via82cxxx_audio

in my rc.local.

With this exception everything is fine.
Since I do not want to recompile the latest alsa, I thought I could
do the following: download the kernel-source of mdk9.2, install them
(they have alsa integrated by mdk) and recompiled. Naively I guessed
there should be no problem, since the package is just the
/usr/src/linux tree...
Yet it complains for wrong dependencies: it wants glibc-2.3.
I am surprised of this: why? Will I have (m)any problem forcing
installation and recompiling even if that dependence is not fullfilled?

TIA

Fabio
 
 
 

Upgrading the kernel starting from rpm sources

Post by ptb » Sun, 23 Nov 2003 20:00:25


Well, add alsa support then.


Well, you'd better. It's a 10 minute job.

Peter

 
 
 

Upgrading the kernel starting from rpm sources

Post by Nico Kadel » Mon, 24 Nov 2003 03:04:06


Use a distinct script, not rc.local, if you don't want future upgrades to
break your little custom modifications. You can also check if such a module
exists for the kernel you are running at boot time: something like:

find /lib/modules/`uname -r` -name via82cxxx.o && modprobe
via82cxxx_audio`


Because kernels require specific or sufficiently recent libc's, due to bugs
fixed or features added to support new types of hardware function calls.

Where exactly does the error happen? When you run "make", or when you try to
install the kernel-source RPM?