Page 48 of 48 FirstFirst ... 38464748
Results 471 to 478 of 478

Thread: HOWTO: Kernel Compilation for Newbies

  1. #471
    Join Date
    Jul 2005
    Location
    Sacramento, CA
    Beans
    78

    Re: HOWTO: Kernel Compilation for Newbies

    Help! I've tried the instructions twice and get the same reults both times:

    robin@deathstar-toshiba:~$ sudo apt-get install linux-tree
    Reading package lists... Done
    Building dependency tree... Done
    E: Couldn't find package linux-tree
    robin@deathstar-toshiba:~$

    Here's my sources.list:

    deb http://archive.ubuntu.com/ubuntu/ dapper main restricted
    deb-src http://archive.ubuntu.com/ubuntu/ dapper main restricted

    ## Major bug fix updates produced after the final release of the
    ## distribution.
    deb http://archive.ubuntu.com/ubuntu/ dapper-updates main restricted
    deb-src http://archive.ubuntu.com/ubuntu/ dapper-updates main restricted

    ## Uncomment the following two lines to add software from the 'universe'
    ## repository.
    ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    ## team, and may not be under a free licence. Please satisfy yourself as to
    ## your rights to use the software. Also, please note that software in
    ## universe WILL NOT receive any review or updates from the Ubuntu security
    ## team.
    deb http://archive.ubuntu.com/ubuntu/ dapper universe multiverse
    deb-src http://archive.ubuntu.com/ubuntu/ dapper universe multiverse

    ## Uncomment the following two lines to add software from the 'backports'
    ## repository. ## N.B. software from this repository may not have been tested as
    ## extensively as that contained in the main release, although it includes
    ## newer versions of some applications which may provide useful features.
    ## Also, please note that software in backports WILL NOT receive any review
    ## or updates from the Ubuntu security team.
    #deb http://archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse
    #deb-src http://archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse
    #deb http://security.ubuntu.com/ubuntu dapper-security main restricted
    #deb-src http://security.ubuntu.com/ubuntu dapper-security main restricted
    #deb http://security.ubuntu.com/ubuntu dapper-security universe multiverse
    #deb-src http://security.ubuntu.com/ubuntu dapper-security universe multiverse

    deb http://security.ubuntu.com/ubuntu dapper-security main restricted
    deb-src http://security.ubuntu.com/ubuntu dapper-security main restricted
    deb http://security.ubuntu.com/ubuntu dapper-security universe multiverse
    deb-src http://security.ubuntu.com/ubuntu dapper-security universe multiverse

    ## dapper-commercial by canonical
    ## currently has realplay (realplayer 10) and opera (opera 9)
    deb http://archive.canonical.com/ubuntu dapper-commercial main

    ## Cipherfunk multimedia packages (GPG key: 33BAC1B3)
    #deb ftp://cipherfunk.org/pub/packages/ubuntu/ dapper main
    #deb-src ftp://cipherfunk.org/pub/packages/ubuntu/ dapper main

    ## Bleeding edge (official) wine repository for Dapper
    ## only uncomment it if you need it
    ## deb http://wine.budgetdedicated.com/apt dapper main
    ## deb-src http://wine.budgetdedicated.com/apt dapper main

    Also, there's nothing in /usr/src

  2. #472
    Join Date
    May 2006
    Location
    bloomington, in
    Beans
    35
    Distro
    Kubuntu 6.06

    Re: HOWTO: Kernel Compilation for Newbies

    robins_web
    while I am no expert trying this 1st time now, looks like you're following old instructions.
    For Dapper there is new link in the very 1st post of the thread,
    no more
    sudo apt-get install linux-tree
    there

  3. #473
    Join Date
    May 2006
    Location
    bloomington, in
    Beans
    35
    Distro
    Kubuntu 6.06

    Re: HOWTO: Kernel Compilation for Newbies

    Quote Originally Posted by tseliot View Post
    cd /usr/src/linux (or the path to your kernel source)

    sudo make menuconfig

    get to "Processor type and features"

    and look for "Timer frequency"

    There you can set it to 250
    thanks, I'll try that

  4. #474
    Join Date
    Jul 2005
    Location
    Sacramento, CA
    Beans
    78

    Re: HOWTO: Kernel Compilation for Newbies

    while I am no expert trying this 1st time now, looks like you're following old instructions.

    Oh, duh! Thanks.

  5. #475
    Join Date
    May 2006
    Location
    bloomington, in
    Beans
    35
    Distro
    Kubuntu 6.06

    Re: HOWTO: Kernel Compilation for Newbies

    I compiled 2.6.17.8 from kernel.org according to present instruction and all went smooth.

    system booted without hassle (grub needed little editing).

    I forgot to compile modules with kernel and added them separate later, ndiswrapper and fuse.

    fuse was fine, but
    dpkg ndiswrapper*.deb
    was giving me error: present ndiswrapper requieres
    ndiswrapper-utils >=1.8-1
    while the one is repository was 1.8-0ubuntu2, older version apparently.

    anyway, my high C-states were not resolved by this, so won't be using that kernel anyway.

    but the guide by tseliot is good.

  6. #476
    Join Date
    May 2006
    Location
    London
    Beans
    23
    Distro
    Dapper Drake Testing/

    Re: HOWTO: Kernel Compilation for Newbies

    Hi guys,

    Am trying to compile via the patch on kernel.org and when doing the following:

    sudo tar --bzip2 -xvf patch-2.6.17.11.bz2 /usr/src

    get the following error:

    tar: This does not look like a tar archive
    tar: Skipping to next header
    tar: Archive contains obsolescent base-64 headers
    tar: /usr/src: Not found in archive
    tar: Error exit delayed from previous errors

    I have been trying to compile the kernel for approx 3months via the instructions posted here and on http://www.ubuntuforums.org/showthre...light=firewall

    but keep failing so I thought I would try the kernel patch from kernel.org instead but still failing!!!

    Please help.

  7. #477
    Join Date
    Jan 2006
    Beans
    1,113
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: HOWTO: Kernel Compilation for Newbies

    Quote Originally Posted by ravpaul View Post
    Hi guys,

    Am trying to compile via the patch on kernel.org and when doing the following:

    sudo tar -xvjf patch-2.6.17.11.bz2 /usr/src

    get the following error:

    tar: This does not look like a tar archive
    tar: Skipping to next header
    tar: Archive contains obsolescent base-64 headers
    tar: /usr/src: Not found in archive
    tar: Error exit delayed from previous errors

    I have been trying to compile the kernel for approx 3months via the instructions posted here and on http://www.ubuntuforums.org/showthre...light=firewall

    but keep failing so I thought I would try the kernel patch from kernel.org instead but still failing!!!

    Please help.
    That should work...

    and if not...

    sudo mv kernel.2.5.6.whatever /location/directory
    cd /location/directory
    sudo tar -xvjf patch-2.6.17.11.bz2

  8. #478
    Join Date
    Aug 2005
    Location
    Canada
    Beans
    1,081

    Re: HOWTO: Kernel Compilation for Newbies

    Edit: Please Ignore. I determined the problem was something caused by something else entirely and reposted in the appropriate forum.
    Last edited by 5-HT; April 27th, 2007 at 09:57 AM.

Page 48 of 48 FirstFirst ... 38464748

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
  •