Page 2 of 48 FirstFirst 123412 ... LastLast
Results 11 to 20 of 478

Thread: HOWTO: Kernel Compilation for Newbies

  1. #11
    Join Date
    May 2005
    Location
    Lecce, Italy
    Beans
    6,168
    Distro
    Ubuntu

    Re: HOWTO: Kernel Compilation for Newbies

    Quote Originally Posted by eraclito
    thanks, but i was asking what the patches can do, why i have to use them (sorry but i want undertend what i do, to improve my linux knowledge...)

    eraclito
    You can have a look at Kolivas' webpage: http://members.optusnet.com.au/ckolivas/kernel/

  2. #12
    Join Date
    May 2005
    Location
    Lecce, Italy
    Beans
    6,168
    Distro
    Ubuntu

    Re: HOWTO: Kernel Compilation for Newbies

    Quote Originally Posted by Drifter
    tseliot, when I get to step 8 and type: sudo make-kpkg --initrd --append-to-version=-custom kernel_image kernel_headers modules_image
    I get these errors:kernel/sched.c:1231: error: redefinition of ‘cache_delay’
    kernel/sched.c:1211: error: previous definition of ‘cache_delay’ was here
    kernel/sched.c:1238: error: redefinition of ‘preempt’
    kernel/sched.c:1218: error: previous definition of ‘preempt’ was here
    {standard input}: Assembler messages:
    {standard input}:524: Error: symbol `cache_delay' is already defined
    make[2]: *** [kernel/sched.o] Error 1
    make[1]: *** [kernel] Error 2
    make[1]: Leaving directory `/usr/src/linux-2.6.14cK1'
    make: *** [stamp-build] Error 2

    what am I doing wrong I can never get past this step.
    I haven't tried all the patches Kolivas has made (and I'm terribly busy right now) but I ask you to delete the directory (type sudo rm /usr/src/linux-2.6.14cK1) and try another patch (ck3) because it might work better. I will test it myself as soon as I have some free time (I have complete my thesis during this week)

  3. #13
    Join Date
    Oct 2005
    Beans
    333

    Re: HOWTO: Kernel Compilation for Newbies

    Quote Originally Posted by tseliot
    I haven't tried all the patches Kolivas has made (and I'm terribly busy right now) but I ask you to delete the directory (type sudo rm /usr/src/linux-2.6.14cK1) and try another patch (ck3) because it might work better. I will test it myself as soon as I have some free time (I have complete my thesis during this week)
    It tells me no such file or directory when I type sudo rm /usr/src/linux-2.6.14ck1
    sorry to bother u just let me know when u have time and thanks.

  4. #14
    Join Date
    May 2005
    Location
    Lecce, Italy
    Beans
    6,168
    Distro
    Ubuntu

    Re: HOWTO: Kernel Compilation for Newbies

    Quote Originally Posted by Drifter
    It tells me no such file or directory when I type sudo rm /usr/src/linux-2.6.14ck1
    sorry to bother u just let me know when u have time and thanks.
    Forgive me, my mind is a mess in these days. The right command is:

    sudo rm -r /usr/src/linux-2.6.14ck1

  5. #15
    Join Date
    Oct 2005
    Beans
    333

    Re: HOWTO: Kernel Compilation for Newbies

    Quote Originally Posted by tseliot
    Forgive me, my mind is a mess in these days. The right command is:

    sudo rm -r /usr/src/linux-2.6.14ck1
    It now says this:

    rm: cannot remove `/usr/src/linux-2.6.14ck1': No such file or directory

  6. #16
    Join Date
    Nov 2004
    Beans
    177
    Distro
    Dapper Drake

    Re: HOWTO: Kernel Compilation for Newbies

    Great Howto, thanks very much!

  7. #17
    Join Date
    Nov 2005
    Beans
    2

    Unhappy Re: HOWTO: Kernel Compilation for Newbies

    Hi tseliot,

    I tried the steps but something seems to have gone awry
    > uname -r
    2.6.12-9-386
    > sudo apt-get install linux-tree
    Reading package lists... Done
    Building dependency tree... Done
    E: Couldn't find package linux-tree

    I got the same error for
    > sudo apt-get install kernel-package
    > sudo apt-get install gcc-3.4
    > sudo apt-get install libncurses5-dev

    Have been at it for the last couple of hours but no luck....

  8. #18
    Join Date
    May 2005
    Location
    Lecce, Italy
    Beans
    6,168
    Distro
    Ubuntu

    Re: HOWTO: Kernel Compilation for Newbies

    Quote Originally Posted by joysarba
    Hi tseliot,

    I tried the steps but something seems to have gone awry
    > uname -r
    2.6.12-9-386
    > sudo apt-get install linux-tree
    Reading package lists... Done
    Building dependency tree... Done
    E: Couldn't find package linux-tree

    I got the same error for
    > sudo apt-get install kernel-package
    > sudo apt-get install gcc-3.4
    > sudo apt-get install libncurses5-dev

    Have been at it for the last couple of hours but no luck....
    Please post your /etc/apt/sources.list (copy and paste it here)

  9. #19
    Join Date
    Nov 2005
    Beans
    2

    Re: HOWTO: Kernel Compilation for Newbies

    Quote Originally Posted by tseliot
    Please post your /etc/apt/sources.list (copy and paste it here)
    Thanks for pointing me in the right direction tseliot. I added a couple of new repositories and it worked. Thanks!

  10. #20
    Join Date
    Oct 2005
    Beans
    333

    Re: HOWTO: Kernel Compilation for Newbies

    How do u enable all repositories, or how do u know if you have them enabled

Page 2 of 48 FirstFirst 123412 ... LastLast

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
  •