Page 21 of 21 FirstFirst ... 11192021
Results 201 to 209 of 209

Thread: HOWTO: Kernel compilation

  1. #201
    Join Date
    May 2005
    Location
    Somewhere south of Milan
    Beans
    216

    Re: HOWTO: Kernel compilation

    i swear one of these days im putting a bounty on people building a custom kernel as root in /usr/src

  2. #202
    Join Date
    Sep 2007
    Beans
    1

    Re: HOWTO: Kernel compilation

    I followed the procedure carefully. However, after building is complete, I can not find *.deb file at all in top level kernel tree. In the end of the build, there is following output,

    Thanks in advance,

    Brian Wei
    AGCO Corporation


    ====== making stamp-kernel-image because of ======
    This is kernel package version 10.065ubuntu5.
    echo done > stamp-kernel-image
    ====== making target kernel_image [new prereqs: stamp-configure stamp-build-kernel stamp-kernel-image]======
    This is kernel package version 10.065ubuntu5.
    for module in ; do \
    if test -d $module; then \
    (cd $module; \
    if ./debian/rules KVERS="2.6.20.3-ubuntu1-custom" KSRC="/usr/src/linux" \
    KMAINT="Unknown Kernel Package Maintainer" KEMAIL="unknown@unconfigured.in.etc.kernel-pkg.conf" \
    KPKG_DEST_DIR="/usr/src/linux/.." \
    KPKG_MAINTAINER="Unknown Kernel Package Maintainer" \
    KPKG_EXTRAV_ARG="EXTRAVERSION=.3-ubuntu1-custom" \
    ARCH="i386" \
    KDREV="2.6.20.3-ubuntu1-custom-10.00.Custom" kdist_image; then \
    echo "Module $module processed fine"; \
    else \
    echo "Module $module failed."; \
    if [ "X" != "X" ]; then \
    echo "Perhaps $module does not understand --rootcmd?"; \
    echo "If you see messages that indicate that it is not"; \
    echo "in fact being built as root, please file a bug "; \
    echo "against $module."; \
    fi; \
    echo "Hit return to Continue"; \
    read ans; \
    fi; \
    ); \
    else \
    echo "Module $module does not exist"; \
    echo "Hit return to Continue?"; \
    fi; \
    done

  3. #203
    Join Date
    Dec 2007
    Beans
    2

    Re: HOWTO: Kernel compilation

    Hi,

    I was at step #2:

    sudo apt-get install kernel-package
    and I got the following error:

    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Couldn't find package kernel-package
    I googled but there wasn't much about it, so I figured Ubuntu couldn't download the files. I don't know how to fix it from console but I went to the menu System > Administration > Software Sources.
    In the Ubuntu Software tab, I have enabled Source Code, Canonical-supported and Canonical-maintened. I tried again and it worked.

    I don't knowhow to fix it from console, maybe someone else can post it.

    I guess the problem came from the fact that during Ubuntu installation there was no internet connection, so Ubuntu disabled all the updates through the internet.

    Hope it helps, other then this a very helpful tutorial.

  4. #204
    Join Date
    Dec 2007
    Beans
    2

    Re: HOWTO: Kernel compilation

    I forgot also that:

    sudo apt-get install linux-tree
    gave me the error:

    danilo@danilo-desktop:/usr/src$ sudo apt-get install linux-tree
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Couldn't find package linux-tree
    but the command:

    sudo apt-get install linux-source
    ùworked well and downloaded the source code.

  5. #205
    Join Date
    Feb 2008
    Location
    Fresno, CA, United States
    Beans
    3
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: HOWTO: Kernel compilation

    Thank you, Luca_Linux. With your help, and that of tseliot, I successfully compiled and installed my first kernel, 2.6.24.2 . As I told tseliot, have a double shot cappuccino, and I'll donate the cost to Ubuntu.

    Thanks again.

    JonNicc

  6. #206
    Join Date
    Mar 2008
    Beans
    3

    Please Help

    hi i'am a newb about ubuntu.I need to add a system call to current kernel of to ubuntu 7.10 it may be a very simple task. i made some researchs that tell how to add a system call i need to make some changes at file "entry.s" but i can not find such a file at the adress "arch/i386/kernel/entry.S" can anybody help me i don't know if the file is in another place or the name of the file changed.

    I will be very happy if you can help me thanks a lot.

  7. #207
    Join Date
    May 2008
    Beans
    1

    Re: HOWTO: Kernel compilation

    How to update kernel on Ubuntu Feisty Fawn without internet connection. I have installed ubuntu desktop version 7.04 and they are unable to detect my network IC and i can't seem to find a way to install the driver besides updating the kernel...anyone can help?

  8. #208
    Join Date
    Apr 2006
    Location
    Illinois, USA
    Beans
    1,283
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: HOWTO: Kernel compilation

    Quote Originally Posted by Godslove View Post
    How to update kernel on Ubuntu Feisty Fawn without internet connection. I have installed ubuntu desktop version 7.04 and they are unable to detect my network IC and i can't seem to find a way to install the driver besides updating the kernel...anyone can help?
    You should be able to grab a newer Ubuntu kernel from the repositories or a vanilla from the kernel site and follow this guide.
    If I'm not being clear enough or giving you enough information, just ask

    "But woe to him who is alone when he falls, for he has no one to help him up."

    Smooth scrolling for GTK!

  9. #209
    Join Date
    Mar 2010
    Beans
    1

    Re: HOWTO: Kernel compilation

    Hi Just a quick question, I'm following your howto i need to know something.

    sudo make-kpkg --append-to-version=-custom kernel_image modules_image

    Do i have to type --append-to-version=-custom. Does the append have to be done if i am upgrading the kernel itself to a new one? or will i just type make -kpkg -custom

    You said we can rename -custom to whatever we want but can u tell me what, is kernel_image modules_image a command. Can u help me to understand that command

    Thanks indvance..

Page 21 of 21 FirstFirst ... 11192021

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
  •