Professional Web Applications Themes

Upgrading the kernel starting from rpm sources - Linux Setup, Configuration & Administration

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 via82c_audio. Since, of course, the alias sound-slot-0 snd-via82 line of modules.conf doesn't work any longer, I must load the module "manually", inserting th line modprobe via82c_audio in my rc.local. With ...

  1. #1

    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 via82c_audio.
    Since, of course, the

    alias sound-slot-0 snd-via82

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

    modprobe via82c_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 Guest

  2. #2

    Default Re: Upgrading the kernel starting from rpm sources

    Fabio <fr> wrote: 

    Well, add alsa support then.
     

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

    Peter
    P.T. Guest

  3. #3

    Default Re: Upgrading the kernel starting from rpm sources


    "Fabio" <fr> wrote in message
    news:unife.it... 

    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 via82c.o && modprobe
    via82c_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?


    Nico Guest

Similar Threads

  1. RH9.0 - kernel source directory and kernel config ?
    By Marcio in forum Linux Setup, Configuration & Administration
    Replies: 7
    Last Post: October 12th, 08:49 AM
  2. Replies: 2
    Last Post: September 12th, 04:47 AM
  3. Newbie Q: Where are my kernel sources?
    By Johann in forum Debian
    Replies: 16
    Last Post: August 14th, 11:30 PM
  4. kernel-source versus kernel-patch
    By Ismael Valladolid Torres in forum Debian
    Replies: 1
    Last Post: July 14th, 06:20 PM
  5. Upgrading the kernel
    By Kristian Peters in forum Debian
    Replies: 1
    Last Post: July 2nd, 05:00 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139