View Poll Results: Was this helpful to you?

Voters
1159. You may not vote on this poll
Page 133 of 152 FirstFirst ... 3383123131132133134135143 ... LastLast
Results 1,321 to 1,330 of 1518

Thread: Master Kernel Thread

  1. #1321
    Join Date
    Jan 2008
    Beans
    17

    Re: Master Kernel Thread

    Quote Originally Posted by colo505 View Post
    What are 4096 processors? Mine is an Opteron-165 dual core, 939-pin..
    Four thousand and ninety-six CPU "farms"--some of these guys have serious hardware!

    Also, it appears kernel.org has removed the pages that Kernelcheck was parsing to get the kernel versions on August 26th, switching to some xml based RSS feed.

    I've managed to kludge a version of the app that uses internal (local) versions of the HTML files to build a 2.6.31 kernel, but I need to work on those files some more to get them working better than the Frankenstein lurch they do now.
    Last edited by stevenpusser; September 17th, 2009 at 05:36 AM.

  2. #1322
    Join Date
    Sep 2006
    Location
    Londinium
    Beans
    602

    Re: Master Kernel Thread

    I am trying to compile newest kernel (2.6.31) and use powertop but to do that, I need to enable CONFIG_TIMER_STATS before compilation.

    However, I this option is nowhere to be found under xconfig, nor in the .config file itself.

    Why?
    ThinkPad W500: C2D 2,5GHz, 8GB ram, GPU Intel & ATI, Middleton BIOS, SSD + UltraBay HDD, USB 3.0 ExpressCard, BTRFS + full disk encryption.

  3. #1323
    Join Date
    Sep 2009
    Beans
    14

    Re: Master Kernel Thread

    the guide gave me several files in boot folder , since i dont use grub , the lilo didnt update itself so what file is the real kernel that i should boot from?

    first :

    is an archive
    initrd.img-2.6.30.5-mk-xxxx-std-ipv4-64
    file in it: initrd.img-2.6.30

    second :
    vmlinuz-2.6.30.5-mk-xxxx-std-ipv4-64

    third :

    System.map-2.6.30.5-mk-xxxx-std-ipv4-64

    fourth:

    config-2.6.30.5-mk-xxxx-std-ipv4-64

    edit: installed grub and it sorted everything
    Last edited by exww; September 21st, 2009 at 12:13 PM. Reason: fixd

  4. #1324
    Join Date
    May 2008
    Location
    Relativity
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Master Kernel Thread

    Quote Originally Posted by stevenpusser View Post
    Also, it appears kernel.org has removed the pages that Kernelcheck was parsing to get the kernel versions on August 26th, switching to some xml based RSS feed.

    I've managed to kludge a version of the app that uses internal (local) versions of the HTML files to build a 2.6.31 kernel, but I need to work on those files some more to get them working better than the Frankenstein lurch they do now.
    If you come up with a hack for the main.py script in KCheck to parse the rss xml feed .. feel free to post it here.
    JonDo
    'Weird magic happens here' Error: Success

  5. #1325
    Join Date
    Jan 2007
    Beans
    Hidden!

    Re: Master Kernel Thread

    http://www.feedparser.org/
    Install it ( throught Synaptic - "python-feedparser" ) and it gives you function to parse RSS.

    Sample code:
    Code:
    #! /usr/bin/env python
    # -*- coding: utf-8 -*-
    ##############################################################
    # parse RSS feed
    # RSS.py rss.url no._of_entry_to_parse
    ##############################################################
    
    import sys
    import feedparser
    d = feedparser.parse(sys.argv[1])
    print
    print d.entries[int(sys.argv[2])].title
    print
    print d.entries[int(sys.argv[2])].description
    print
    quit()
    using:
    Code:
    #:~ RSS.py http://www.kernel.org/kdist/rss.xml 0
    
    next-20090925: linux-next
    
    <table>
    
    <tr align="left">
        <td>linux-next:</td>
        <td><strong>next-20090925</strong></td>
        <td>2009-09-25</td>
        <td></td>
        <td>[<a href="http://www.kernel.org/pub/linux/kernel/v2.6/next/patch-v2.6.31-next-20090925.bz2">Patch</a>]</td>
        <td>[<a href="http://www.kernel.org/diff/diffview.cgi?file=/pub/linux/kernel/v2.6/next/patch-v2.6.31-next-20090925.bz2">View Patch</a>]</td>
        <td></td>
        <td>[<a href="http://git.kernel.org/?p=linux/kernel/git/next/linux-next.git;a=summary">Gitweb</a>]</td>
        <td></td>
    </tr>
    </table>
    
    #:~$ RSS.py http://www.kernel.org/kdist/rss.xml 1
    
    2.6.31-git16: snapshot
    
    <table>
    
    <tr align="left">
        <td>snapshot:</td>
        <td><strong>2.6.31-git16</strong></td>
        <td>2009-09-25</td>
        <td></td>
        <td>[<a href="http://www.kernel.org/pub/linux/kernel//v2.6/snapshots/patch-2.6.31-git16.bz2">Patch</a>]</td>
        <td>[<a href="http://www.kernel.org/diff/diffview.cgi?file=/pub/linux/kernel//v2.6/snapshots/patch-2.6.31-git16.bz2">View Patch</a>]</td>
        <td></td>
        <td></td>
        <td></td>
    </tr>
    </table>
    
    #:~$ RSS.py http://www.kernel.org/kdist/rss.xml 2
    
    2.6.31: mainline
    
    <table>
    
    <tr align="left">
        <td>mainline:</td>
        <td><strong>2.6.31</strong></td>
        <td>2009-09-09</td>
        <td>[<a href="http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.31.tar.bz2">Full Source</a>]</td>
        <td>[<a href="http://www.kernel.org/pub/linux/kernel/v2.6/patch-2.6.31.bz2">Patch</a>]</td>
        <td>[<a href="http://www.kernel.org/diff/diffview.cgi?file=/pub/linux/kernel/v2.6/patch-2.6.31.bz2">View Patch</a>]</td>
        <td></td>
        <td>[<a href="http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=summary">Gitweb</a>]</td>
        <td>[<a href="http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.31">Changelog</a>]</td>
    </tr>
    </table>
    
    #:~$ RSS.py http://www.kernel.org/kdist/rss.xml 3
    
    2.6.31.1: stable
    
    <table>
    
    <tr align="left">
        <td>stable:</td>
        <td><strong>2.6.31.1</strong></td>
        <td>2009-09-24</td>
        <td>[<a href="http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.31.1.tar.bz2">Full Source</a>]</td>
        <td>[<a href="http://www.kernel.org/pub/linux/kernel/v2.6/patch-2.6.31.1.bz2">Patch</a>]</td>
        <td>[<a href="http://www.kernel.org/diff/diffview.cgi?file=/pub/linux/kernel/v2.6/patch-2.6.31.1.bz2">View Patch</a>]</td>
        <td></td>
        <td>[<a href="http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.31.y.git;a=summary">Gitweb</a>]</td>
        <td>[<a href="http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.31.1">Changelog</a>]</td>
    </tr>
    </table>
    
    #o:~$ RSS.py http://www.kernel.org/kdist/rss.xml 4
    
    2.6.30.8: stable
    
    <table>
    
    <tr align="left">
        <td>stable:</td>
        <td><strong>2.6.30.8</strong></td>
        <td>2009-09-24</td>
        <td>[<a href="http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.30.8.tar.bz2">Full Source</a>]</td>
        <td>[<a href="http://www.kernel.org/pub/linux/kernel/v2.6/patch-2.6.30.8.bz2">Patch</a>]</td>
        <td>[<a href="http://www.kernel.org/diff/diffview.cgi?file=/pub/linux/kernel/v2.6/patch-2.6.30.8.bz2">View Patch</a>]</td>
        <td>[<a href="http://www.kernel.org/diff/diffview.cgi?file=/pub/linux/kernel/v2.6/incr/patch-2.6.30.7-8.bz2">View Inc.</a>]</td>
        <td>[<a href="http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.30.y.git;a=summary">Gitweb</a>]</td>
        <td>[<a href="http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.30.8">Changelog</a>]</td>
    </tr>
    </table>
    of course now you have to clean HTML code out but it should be easy...
    Linux Debian Sid (Minted) x86_64/3.12.10, Conky 2.0_pre, Xorg 7.7/1.15.0, KDE 4.11.5, Lenovo T61, Intel X3100, HITACHI HTS722010K9SA00 100GB, WDC_WD5000BEVT 500GB
    Linux user No.: 483055 | My Conky Pitstop corner | One4All project

  6. #1326
    Join Date
    May 2008
    Location
    Relativity
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Master Kernel Thread

    For those that like doing it the old fashioned way, here's a little script I came across and hacked to do everything KC does.Adjust values accordingly. Make executable & Run from /usr/src. Enjoy.

    Code:
    #! /bin/sh
    
    # Build_Kernel Ver.00000000000000001
    # Run under /usr/src. Adjust <whatever-kernel>.
    
    #Dependency Check
    sudo apt-get install -y --force-yes build-essential bin86 kernel-package libqt3-headers libqt3-mt-dev wget libncurses5 libncurses5-dev
    #Wget the kernel
    wget http://www.kernel.org/pub/linux/kernel/v2.6/testing/linux-<whatever-kernel>.tar.bz2
    #Untar the kernel
    sudo tar -xvjf linux-<whatever-kernel>.tar.bz2
    #Symbolic link the kernel directory 
    sudo ln -s /usr/src/linux-<whatever-kernel> linux
    #Apply any patches here. Repeat a Wget for the patch itself but they offer fully patched kernels now. Sweet.
    #sudo cp <whatever-patch>.patch linux
    cd linux
    #Copy the previously used config for re-use in the new kernel.
    sudo cp /boot/config-<whatever-kerenel-ver> .config
    #Apply any patches here. 'patch -p1 < <whatever-patch>'
    #sudo patch -p1 < <whatever-patch>.patch
    #Make the Menu. Adjust options -> Save.
    sudo make xconfig
    #Place a comment here / Only useful if rebuilding 
    #sudo make-kpkg clean
    #Build the new kernel.Adjust Concurrency to the CPU cores +1. Install if the build completed successfully.
    #Add a break here if the build didn't complete successfully. We can just move out of the directory if the stage is successful.
    sudo CONCURRENCY_LEVEL=2 make-kpkg --initrd --append-to-version=-candela kernel_image kernel_headers modules_image && cd ..
    #Back out of the linux directory
    #cd ..
    #Install the image and headers
    sudo dpkg -i *.deb
    #Remove the Kernel Directory and downloaded bz2s.
    sudo rm -rf /usr/src/linux-<whatever-kernel> && sudo rm *.bz2
    #Symbolic Link the *new* headers directory to /lib/modules/<whatever-kernel>/build & source
    #First remove bad links if there are any.
    sudo rm /lib/modules/<whatever-new-kernel>/build && sudo rm /lib/modules/<whatever-new-kernel>/source
    #Now synbolic link the new header directory.
    sudo ln -s /usr/src/linux-headers-<whatever-new-kernel> /lib/modules/<whatever-kernel>/build && sudo ln -s /usr/src/linux-headers-<whatever-new-kernel> /lib/modules/<whatever-kernel>/source
    #Reinstall any video,etc drivers after reboot or add a stage for envyng or something like that yourself.;)
    Last edited by Dizzle7677; January 27th, 2010 at 11:39 PM.
    JonDo
    'Weird magic happens here' Error: Success

  7. #1327
    Join Date
    Jan 2007
    Beans
    Hidden!

    Re: Master Kernel Thread

    It is wrong. It will result in non working or half-working kernel.
    You must do "make oldconfig" before "make xconfig". None could make good working config out of the blue. It's better to modify working one than to make it from scratch.
    Linux Debian Sid (Minted) x86_64/3.12.10, Conky 2.0_pre, Xorg 7.7/1.15.0, KDE 4.11.5, Lenovo T61, Intel X3100, HITACHI HTS722010K9SA00 100GB, WDC_WD5000BEVT 500GB
    Linux user No.: 483055 | My Conky Pitstop corner | One4All project

  8. #1328
    Join Date
    May 2008
    Location
    Relativity
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Master Kernel Thread

    Quote Originally Posted by dk75 View Post
    It is wrong. It will result in non working or half-working kernel.
    You must do "make oldconfig" before "make xconfig". None could make good working config out of the blue. It's better to modify working one than to make it from scratch.
    So I just built a half-working kernel? Or maybe it's 65.9% working ... Imagine that.
    PEACE OUT!
    JonDo
    'Weird magic happens here' Error: Success

  9. #1329
    Join Date
    Jan 2007
    Beans
    Hidden!

    Re: Master Kernel Thread

    No.
    In some circumstances such kernel might work without any issues, in other circumstances it will not work at all ( errors during boot ) and in other circumstances it will bootup, it will work but then you will see some strange errors wit your software that you won't recognize as broken kernel.

    The thing is that your old kernel might have settings that have been removed from new kernel and new kernel might have new features that without "make oldconfig" won't be set and won't be even shown in "make xconfig" to configure.
    Linux Debian Sid (Minted) x86_64/3.12.10, Conky 2.0_pre, Xorg 7.7/1.15.0, KDE 4.11.5, Lenovo T61, Intel X3100, HITACHI HTS722010K9SA00 100GB, WDC_WD5000BEVT 500GB
    Linux user No.: 483055 | My Conky Pitstop corner | One4All project

  10. #1330
    Join Date
    Sep 2009
    Location
    TX
    Beans
    199
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Master Kernel Thread

    Quote Originally Posted by dk75 View Post
    No.
    In some circumstances such kernel might work without any issues, in other circumstances it will not work at all ( errors during boot ) and in other circumstances it will bootup, it will work but then you will see some strange errors wit your software that you won't recognize as broken kernel.

    The thing is that your old kernel might have settings that have been removed from new kernel and new kernel might have new features that without "make oldconfig" won't be set and won't be even shown in "make xconfig" to configure.
    Ok, so I just followed these directions verbatim, and im watching it compile... I see a few warnings.... I don't know alot about linux but I would want to assume any errors during compilation would be a bad thing..? Its not stopping it etc...

    Now, lets say I need to do the makeoldconfig... How can I restart this without redownloading everything, or do I need to start over at step one/2 etc? let me know how to fix this before I install this kernel thanks

Page 133 of 152 FirstFirst ... 3383123131132133134135143 ... LastLast

Tags for this Thread

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
  •