Page 10 of 60 FirstFirst ... 8910111220 ... LastLast
Results 91 to 100 of 594

Thread: How To Compile the new 2.6.16 kernel from kernel.org

  1. #91
    Join Date
    Feb 2005
    Location
    Melbourne, Australia
    Beans
    13,505
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: How To Compile the new 2.6.16 kernel from kernel.org

    Quote Originally Posted by Justbill
    .....
    does kernel-image-2.6.16-cks4_ck3_i386.deb need to have permisions changed? and, is that what I want to install?

    Thanks
    Justbill
    Just make sure you type the exact same .deb name in, or make sure you only have your latest compiled .deb in that directory and type:
    Code:
    sudo dpkg -i *deb
    Regards, David.
    Please use the Forum search and Wiki search for immediate help
    Please mark your thread as Solved when appropriate
    New to technical forums?: How To Ask Questions The Smart Way

  2. #92
    Join Date
    Aug 2005
    Beans
    6

    Re: How To Compile the new 2.6.16 kernel from kernel.org

    I can't make xconfig? When I try it puts out this perplexing output:

    root@zim:/usr/src/linux# make xconfig
    scripts/kconfig/qconf arch/i386/Kconfig
    Xlib: connection to ":0.0" refused by server
    Xlib: No protocol specified

    qconf: cannot connect to X server :0.0
    make[1]: *** [xconfig] Error 1
    make: *** [xconfig] Error 2

    No idea why it wouldn't be able to connect to the server. It's running, I'm using it right now.

  3. #93
    Join Date
    Feb 2005
    Location
    Melbourne, Australia
    Beans
    13,505
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: How To Compile the new 2.6.16 kernel from kernel.org

    Quote Originally Posted by MasterChief1234
    ok, I linked to the desktop patch. Should I rewrite the tutorial for the newest kernel or should I wait until a new kernel comes out ?
    Rewrite it so people have to find the latest patch, and then tweak the scripts to use it themselves.
    Regards, David.
    Please use the Forum search and Wiki search for immediate help
    Please mark your thread as Solved when appropriate
    New to technical forums?: How To Ask Questions The Smart Way

  4. #94
    Join Date
    Feb 2005
    Location
    Melbourne, Australia
    Beans
    13,505
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: How To Compile the new 2.6.16 kernel from kernel.org

    Quote Originally Posted by Phlod
    I can't make xconfig? When I try it puts out this perplexing output:

    root@zim:/usr/src/linux# make xconfig
    scripts/kconfig/qconf arch/i386/Kconfig
    Xlib: connection to ":0.0" refused by server
    Xlib: No protocol specified

    qconf: cannot connect to X server :0.0
    make[1]: *** [xconfig] Error 1
    make: *** [xconfig] Error 2

    No idea why it wouldn't be able to connect to the server. It's running, I'm using it right now.
    I believe xconfig is a KDE app, do you have the various kdelibs packages installed?
    Regards, David.
    Please use the Forum search and Wiki search for immediate help
    Please mark your thread as Solved when appropriate
    New to technical forums?: How To Ask Questions The Smart Way

  5. #95
    Join Date
    Jun 2005
    Beans
    18

    Re: How To Compile the new 2.6.16 kernel from kernel.org

    I now have about 6 diffrent Kernels in my menu.lst , but how do i completly remove a old or non working kernel, i figure it might be pretty stupid to something wrong here, and have to it all over again.

    title Ubuntu, kernel 2.6.16-cks3
    kernel /boot/vmlinuz-2.6.16-cks3
    initrd /boot/initrd.img-2.6.16-cks3

    Only these 2 that i have to remove? ill think i need a step by step howto here

  6. #96
    Join Date
    Feb 2006
    Location
    House Springs, Mo. U.S.A.
    Beans
    94
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: How To Compile the new 2.6.16 kernel from kernel.org

    Quote Originally Posted by dcstar
    Just make sure you type the exact same .deb name in, or make sure you only have your latest compiled .deb in that directory and type:
    Code:
    sudo dpkg -i *deb
    Thanks dcstar! One of these days I'll learn to NOT try this stuff when half asleep! Thanks for noticing the typo in my last attempt (do I feel stupid).

    New Kernel is working great!

    Thanks Again!

    Justbill

  7. #97
    Join Date
    Oct 2005
    Beans
    1,887

    Re: How To Compile the new 2.6.16 kernel from kernel.org

    Quote Originally Posted by MasterChief1234
    12. Now we are going to import your current kernel configuration:

    13. Now import it: Make sure to replace the kernel version in this following command from the one from uname -r.

    14. Configure the kernel:
    It seems the imported /boot/config-blabla is not very "compatible" with the latest kernels. It misses a lot of options originally present in Ubuntu's kernel (the output on the terminal when typed "sudo make xconfig" shows the incompatible arguments in .config I guess). And you have to manually go in there and double check everything (which I can't do, bc I'm clueless )

    One example is iptables. The new config made from the old one totally misses the iptables configuration in the kernel. With the new kernel, you don't have a firewall anymore. To fix that, check out: http://ubuntuforums.org/showthread.php?t=151824

  8. #98
    Join Date
    Jan 2006
    Beans
    1,113
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: How To Compile the new 2.6.16 kernel from kernel.org

    Quote Originally Posted by ludzter
    I now have about 6 diffrent Kernels in my menu.lst , but how do i completly remove a old or non working kernel, i figure it might be pretty stupid to something wrong here, and have to it all over again.

    title Ubuntu, kernel 2.6.16-cks3
    kernel /boot/vmlinuz-2.6.16-cks3
    initrd /boot/initrd.img-2.6.16-cks3

    Only these 2 that i have to remove? ill think i need a step by step howto here
    Synaptic. Then search for kernel and find it. The name should be something like "linux-image-2.6.**.*" Where the * are the name then click the box on the left and select "Remove Completly."

  9. #99
    Join Date
    Oct 2005
    Beans
    1,887

    Re: How To Compile the new 2.6.16 kernel from kernel.org

    Quote Originally Posted by MasterChief1234
    Synaptic. Then search for kernel and find it. The name should be something like "linux-image-2.6.**.*" Where the * are the name then click the box on the left and select "Remove Completly."
    just to correct, it will say kernel-image-blabla. Just make sure you're not uninstalling the wrong kernel, and I think you shouldn't uninstall a kernel while you are running on it

    To make sure you're not removing the kernel you're using, use uname -r.

  10. #100
    Join Date
    Mar 2006
    Beans
    55

    Re: How To Compile the new 2.6.16 kernel from kernel.org

    Great thread... however I ran into some problems, which I'm sure are powerpc-related, who knows... I was hoping someone could shed some light on this.

    I followed your directions, except I didn't implement the patch or rename the directory, though I don't think that should matter. After doing "make kpkg-clean", and then the command to "make-kpkg -initrd kernel_image", it starts doing it's thing for quite some time (15-20 min) and then it stops with at the following:


    ld: drivers/built-in.o section .init.text exceeds stub group size
    ld: arch/powerpc/kernel/built-in.o section .init.text exceeds stub group size
    ld: init/built-in.o section .init.text exceeds stub group size
    ld: net/built-in.o section .text exceeds stub group size
    ld: drivers/built-in.o section .text exceeds stub group size
    ld: block/built-in.o section .text exceeds stub group size
    ld: security/built-in.o section .text exceeds stub group size
    ld: ipc/built-in.o section .text exceeds stub group size
    ld: fs/built-in.o section .text exceeds stub group size
    ld: mm/built-in.o section .text exceeds stub group size
    ld: kernel/built-in.o section .text exceeds stub group size
    ld: arch/powerpc/platforms/built-in.o section .text exceeds stub group size
    ld: arch/powerpc/kernel/built-in.o section .text exceeds stub group size
    ld: arch/powerpc/kernel/head_64.o section .text exceeds stub group size
    drivers/built-in.o: In function `.platinumfb_probe':platinumfb.c:(.text+0x84a0c): undefined reference to `.nvram_read_byte'
    :platinumfb.c:(.text+0x84ab0): undefined reference to `.nvram_read_byte'
    drivers/built-in.o: In function `.imsttfb_probe':imsttfb.c:(.text+0x88334): undefined reference to `.nvram_read_byte'
    :imsttfb.c:(.text+0x88358): undefined reference to `.nvram_read_byte'
    drivers/built-in.o: In function `.control_init':controlfb.c:(.init.text+0x52ec): undefined reference to `.nvram_read_byte'
    drivers/built-in.o:controlfb.c:(.init.text+0x54dc): more undefined references to `.nvram_read_byte' follow
    make[1]: *** [.tmp_vmlinux1] Error 1
    make[1]: Leaving directory `/usr/src/linux-2.6.16'
    make: *** [stamp-build] Error 2
    I used the old config from my config-2.6.15-19-powerpc64-smp. And I used gconfig.

Page 10 of 60 FirstFirst ... 8910111220 ... 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
  •