Unix Technical Forum

Upgrading the kernel starting from rpm sources

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 ...


Go Back   Unix Technical Forum > Unix Operating Systems > Linux Operating System

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-17-2008, 05:46 PM
Fabio
 
Posts: n/a
Default Upgrading the kernel starting from rpm sources


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



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-17-2008, 05:46 PM
P.T. Breuer
 
Posts: n/a
Default Re: Upgrading the kernel starting from rpm sources

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-17-2008, 05:46 PM
Nico Kadel-Garcia
 
Posts: n/a
Default Re: Upgrading the kernel starting from rpm sources


"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?


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 08:36 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com