This is a discussion on Upgrading the kernel starting from rpm sources within the Linux Operating System forums, part of the Unix Operating Systems category; --> Hi all, I have a mandrake 9.0 and I would like to install a newer (2.4.22) kernel. If I ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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 |
| |||
| Fabio <dk@clerville.fr> wrote: > 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. Well, add alsa support then. > Since I do not want to recompile the latest alsa, I thought I could Well, you'd better. It's a 10 minute job. Peter |
| ||||
| "Fabio" <dk@clerville.fr> wrote in message news:slrnbruf6p.k8g.dk@dns.unife.it... > > 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. 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` > 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? 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? |