View Poll Results: Was this helpful to you?

Voters
1159. You may not vote on this poll
Page 22 of 152 FirstFirst ... 1220212223243272122 ... LastLast
Results 211 to 220 of 1518

Thread: Master Kernel Thread

  1. #211
    Join Date
    Feb 2007
    Location
    Port Clinton Ohio
    Beans
    207

    Re: Master Kernel Thread

    can some1 please explain step 9 further. do i look in my usr/src/linux folder and write down the name of the 2 .debs and put their name in place of the asterik in *.deb

    cd .. && dpkg -i name.deb <--and then do i do
    dpkg -i secondname.deb ?

  2. #212
    Join Date
    Dec 2006
    Location
    UK
    Beans
    128
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Lightbulb Re: Master Kernel Thread

    Hi jseiser,

    In step 9: make-kpkg produces two debian packages, located in /usr/src ... these are linux-image-2.6.[version]-[your appended string from make menuconfig]-[your revision from step 8].deb and a similar linux-headers and if you are luckier than me, linux-modules.

    These you can find by issuing the following:
    Code:
    cd /usr/src
    ls
    Then, step nine:
    Code:
    (sudo) dpkg -i *.deb
    You can use sudo if you are not root. Or you can navigate there using nautilus / konqueror and double click the files, using GDebi. Alternatively, use apt-get, aptitude or whatever! Whichever you choose, the packages are installed. Dpkg is the underlying program of the package system.

    These files save you the time of installing everything manually.

    Hope this helps, post again if you have any more questions.

    Hi Dannyboy79,

    I have no idea what the differences are between kernel.org and the site you mentioned, other than the fact that kernel.org patches are usually so you don't have to download the new full kernel source each time, unless you are talking about other patches.

    make menuconfig would work over ssh, xconfig unlikely, although it might.

    OK, regarding your current .config - you have this set up the way you want it. You run make oldconfig, it updates the .config file with any new configurations not in the .config and you now have a working .config file - you don't have to run make menuconfig at all unless you want to change something.

    Regarding kernel updates, yes, dapper will still download kernel updates if they are produced. make-kpkg produces .debs which will show up under synaptic as linux-image-[version]-custom1 under my system. This is different to the -generic kernel. Dapper's downloaded updates won't affect your custom kernel, nor should your custom kernel affect the -generic ones.

    As your custom packages are produced by you, no, unless you compile new kernels and change the revision number appropriately you won't get updates through synaptic.

    As above, hope this helps answer your questions!

    Does anyone have any knowledge on my above post regarding ipw3945/fglrx/SMPs?

    Quark_77
    Last edited by quark_77; March 29th, 2007 at 09:21 PM.
    QUARK_77
    Lenovo R61 | Core2 (x64) | 3GB | nVidia Quadro | SATA || Ubuntu Linux | dm-crypt/LUKS | nv | truecrypt (win)

  3. #213
    Join Date
    Jul 2006
    Beans
    24

    Re: Master Kernel Thread

    Quote Originally Posted by dannyboy79 View Post
    good luck trying to get others to help bunnny!!! I have asked the same questions over and over and despite people keep compiling new kernels NOT 1 person can answer any of my questions. I don't understand why. I have posted on average of 4 to 5 posts a day for the last year helping others and when it comes time for me to try to get some help from others not 1 person can even attempt to help. It's true what most people say about Linux, you'll get back what you put in when you're dealing with the open source community! BUT none-the-less, I love Linux and will keep helping others and hope some1 can help me someday before I compile my new kernel which is going to be very soon! If maybe you can answer any of my q's, check out post 200 and let me know. I would be greatly appreciative!!!
    Well thats not god. Maybe its my turn to try to help others...

    I don't know so much about this but what I have understand make oldconfig should "copy" your old settings from an old .config. When askt in the terminal you are askt to confirm the settings.

    I think you could compile the kernel without using xconfig/menuconfig if you use oldconfig. (I can't complete the compile at all)

    When it comes to the differance between Con Kolivas and Kernel.org I don't realy know, but when I used Gentoo I used special kernels (not kernel.org). I got the understanding that the special kernels where more specialised.

  4. #214
    Join Date
    May 2006
    Location
    Milwaukee,WI
    Beans
    6,282
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: Master Kernel Thread

    Hi quark_77. you sound as though you have a lot knowledge when it comes to compiling a new kernel. I just got a new Core 2 Duo with an ASRock 775-dual VSTA motherboard. I have 1.5gb RAM and a GeForce 6200 128MB DDR RAM. I currently run Dapper, 2.6.15-28-686. I want to get the most out of this CPU and my new setup. I like Dapper a lot and have a lot of things customized but some things not so well. I am thinking about going to Edgy since I know exactly what I would need to do to setup everything similar to my Dapper box but I would be able to get it correct the first time. I have only been in linux for a year. Could I just compile a 2.6.20 kernel and optimize it for my setup and use it within Dapper? Also, I want some of the newer packages like Proftpd, MythTV, etc etc. Would it just be easier to go to Edgy? If I did, would I still need to compile a new kernel to take advantage of my hardware? I do want suspend to ram or hibernate (it's a desktop) to work as my Electric Bill has been outsane!!!! I have WinXP Pro, Ubuntu Desktop, Xubuntu Laptop, and 2 Xbox's running almost always. Well I turn off the xbox's once in awhile, 1 is used as the sytsem backup location for each of my computers (has xbmc and all the goodies on it) and the other has the same but I am also going to run either the Python Script fot MythTV frontend or just install Xebian on it and install MythTV frontend on it.

    I am wondering however what is the difference between using patches provided by Con Kolivas from here: http://members.optusnet.com.au/ckolivas/kernel/
    or just using the patches provided by kernel.org? Also, if I do this, am I going to want to use the current .config that is found within my /usr/src/ sub-folders? I currently have 2.6.15-28-686 installed. Then if I do this over ssh, I will want to use menuconfig and not xconfig correct? Also, I understand by reading Con's guide here (http://ck.kolivas.org/faqs/walkthrough.txt) that I can run:

    make oldconfig

    and this will only prompt you for any new features in the kernel which are usually
    easy enough to understand, but generally if you don't know then choosing the
    default recommended by the script just by pressing enter will do.


    I guess the part that I am unsure on yet, is that the guide at Master Kernel (within this forum) states something about either using menuconfig or xconfig to configure the kernel, do I still need to do this if I use the .config already on my machine? What things are set with this config from Ubuntu that I may be missing or whatnot. Are there any options that I specifically need to look for due to my hardware I have mentioned above?

    Last question: if Dapper still updates kernel versions (not sure if that's the terminology but I know that I have updated from 2.6.15-23 to now 2.6.15-2, which causes me to have to reinstall nvidia and sometimes make sure that grub was updated corectly than why don't they just update to the newest kernel thru synaptic? Also, after I compile and install this new kernel, will I get the updates thru synaptic (example: 2.6.20-xx or whatever) like I did for the 2.6.15 kernel? or will I have to keep compiling new kernels applying the newest patches. If some1 could please answer ALL my questions I would really appreciate it. I can honestly say that out of over 1450 posts that I have made, 95% of them are helping others and I rarely ever ask for help, so please, please help me.

  5. #215
    Join Date
    Dec 2006
    Location
    UK
    Beans
    128
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: Master Kernel Thread

    Hi again,

    Yes, just compile the kernel. It'll appear in grub when you start your computer, select it. You now have the new kernel running, the rest is still "a ubuntu system" if you like.

    Sadly, I'm not much of an expert - I've compiled the kernel enough times by this method to know what happens but as you'll have seen from my post above there are various parts for my hardware I can't get working!

    If you want newer packages, check the backports archive for dapper, looking in /etc/apt/sources.list and enabling them - if they aren't in there then upgrading to edgy might be an idea... it'd give you a more recent kernel anyway.

    Good luck!!

    Quark_77
    QUARK_77
    Lenovo R61 | Core2 (x64) | 3GB | nVidia Quadro | SATA || Ubuntu Linux | dm-crypt/LUKS | nv | truecrypt (win)

  6. #216
    Join Date
    Jul 2006
    Beans
    24

    Re: Master Kernel Thread

    WHY CAN'T I COMPLETE THE COMPILING???

    Is it a packet missing or what...

    Please help

    Following is from the recent try (fresh download)
    ...

    CC fs/partitions/sun.o
    CC fs/partitions/ultrix.o
    CC fs/partitions/efi.o
    CC fs/partitions/karma.o
    In file included from include/linux/mm.h:15,
    from include/linux/pagemap.h:7,
    from fs/partitions/check.h:1,
    from fs/partitions/karma.c:9:
    include/linux/fs.h: In function ‘simple_transaction_set’:
    include/linux/fs.h:1927: error: ‘SIMPLE_TRANSACTION_LIMIT’ undeclared (first use in this function)
    include/linux/fs.h:1927: error: (Each undeclared identifier is reported only once
    include/linux/fs.h:1927: error: for each function it appears in.)
    make[3]: *** [fs/partitions/karma.o] Fel 1
    make[2]: *** [fs/partitions] Fel 2
    make[1]: *** [fs] Fel 2
    make[1]: Leaving directory `/usr/src/linux-2.6.20'
    make: *** [debian/stamp-build-kernel] Fel 2


    please help

  7. #217
    Join Date
    Dec 2006
    Location
    UK
    Beans
    128
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: Master Kernel Thread

    Hi bunnny,

    Can you run me through the steps you have taken?

    In terms of packages, from step one you should have the following:
    Code:
    sudo apt-get install build-essential bin86 kernel-package libqt3-headers libqt3-mt-dev wget libncurses5 libncurses5-dev
    Most important of those is build-essential, a meta-package of the files required to build any program. I assume you have got these, just checking the obvious though.

    Edit: http://lxr.linux.no/source/include/linux/fs.h#L1915 is where this constant is defined, in your source tree it is located /usr/src/linux/include/linux/fs.h - there are no conditional defines here so I don't understand why it wouldn't be defined... will look into it later.

    Hope I can help,

    Quark_77
    Last edited by quark_77; March 30th, 2007 at 10:49 AM.
    QUARK_77
    Lenovo R61 | Core2 (x64) | 3GB | nVidia Quadro | SATA || Ubuntu Linux | dm-crypt/LUKS | nv | truecrypt (win)

  8. #218
    Join Date
    Jul 2006
    Beans
    24

    Re: Master Kernel Thread

    Quote Originally Posted by quark_77 View Post
    Hi bunnny,

    Can you run me through the steps you have taken?

    In terms of packages, from step one you should have the following:
    Code:
    sudo apt-get install build-essential bin86 kernel-package libqt3-headers libqt3-mt-dev wget libncurses5 libncurses5-dev
    Most important of those is build-essential, a meta-package of the files required to build any program. I assume you have got these, just checking the obvious though.

    Edit: http://lxr.linux.no/source/include/linux/fs.h#L1915 is where this constant is defined, in your source tree it is located /usr/src/linux/include/linux/fs.h - there are no conditional defines here so I don't understand why it wouldn't be defined... will look into it later.

    Hope I can help,

    Quark_77
    Thank you for trying to help.

    All should be installed

    Code:
    sudo apt-get install build-essential bin86 kernel-package libqt3-headers libqt3-mt-dev wget libncurses5 libncurses5-dev
    Password:
    Läser paketlistor... Färdig
    Bygger beroendeträd         
    Läser in tillståndsinformation... Färdig
    build-essential är redan den senaste versionen.
    bin86 är redan den senaste versionen.
    kernel-package är redan den senaste versionen.
    libqt3-headers är redan den senaste versionen.
    libqt3-mt-dev är redan den senaste versionen.
    wget är redan den senaste versionen.
    libncurses5 är redan den senaste versionen.
    libncurses5-dev är redan den senaste versionen.
    0 uppgraderade, 0 nyinstallerade, 0 att ta bort och 0 ej uppgraderade.
    And I don't think the error lies in the error-msg, make produces. I get different errors every time.

    I think this have something to do with the original dist-installation, but I have tried to reinstall (edgy-alternate) I few times.

  9. #219
    Join Date
    Dec 2006
    Location
    UK
    Beans
    128
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: Master Kernel Thread

    Hi Bunnny,

    Ok it looks like you have all the packages, so I'm completely lost as to why the kernel doesn't compile, especially as there are different error messages coming out each time.

    One thing you could try is the "check cd for defects" option and check the md5 of the edgy-alternate cd just to make sure - certainly if the md5s don't match, I'd download a new CD.

    I don't know what to suggest in the way of checks for your install - which version of GCC are you using? I'm compiling on 4.1 to my knowledge. The GCC package points to this by default on edgy, although it can be changed to an older version which might work better - don't know if you have tried this already?

    Good luck, I'll let you know if I have any ideas.

    Quark_77
    QUARK_77
    Lenovo R61 | Core2 (x64) | 3GB | nVidia Quadro | SATA || Ubuntu Linux | dm-crypt/LUKS | nv | truecrypt (win)

  10. #220
    Join Date
    Mar 2006
    Location
    The Internet
    Beans
    1,817
    Distro
    Ubuntu

    Re: Master Kernel Thread

    sudo rm -rf linux && sudo ln -s /usr/src/linux-2.6.20 linux && cd /usr/src/linux
    That should be:

    ln -sfn /usr/src/.....

Page 22 of 152 FirstFirst ... 1220212223243272122 ... 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
  •