Page 1 of 3 123 LastLast
Results 1 to 10 of 23

Thread: Compiling kernel as I type this, want to make sure.......

  1. #1

    Talking Compiling kernel as I type this, want to make sure.......

    Alright I am compiling the kernel right now, just want to ask some thing about the configuration

    I wanted to use the configuration file of the default kernel so this is what I did

    make mrproper
    zcat /proc/config.gz > .config

    Then I typed in

    make menuconfig

    I didn't do anything and went to exit and clicked that and when it asked to save configuration I did yes.

    Is this enough for the new kernel to have the same options as the old one?

    right now its installing with these commands

    make ; make modules ; make modules_install

    question is power management and wireless and stuff will work just like before with the same options?

    the last thing is when SUSE releases a new kernel then do I upgrade or just leave it alone?

    thanks
    openSUSE 11.0 Kde 3.5.9 Linux kernel 2.6.26.1

    My Blog: http://snake1990.wordpress.com

  2. #2
    Join Date
    Jun 2008
    Location
    Friesland
    Posts
    207

    Default Re: Compiling kernel as I type this, want to make sure......

    did you read this:

    How To Compile A Kernel - The SuSE Way | HowtoForge - Linux Howtos and Tutorials

    it is for opensuse 10.2 but still pretty much valid today, I always found it quite informative.

    When you compile your own kernel and have good reasons for it you obviously do not want to install the stock kernel updates. There are not that many i believe but they will overwrite your custom kernel.

    Do you have special need to compile your own kernel? I am pretty much a tuning masochist and tweak everything until I like it but so far never had to compile my own kernel on desktop systems (unix servers ... yes)?

    stefan
    "The day Microsoft makes something that doesn't suck is the day they make a vacuum cleaner"
    OS: Fedora9, RHEL5, CENTOS5, Arch, OpenSuSe11
    Hardware: Dell Precision M65

  3. #3

    Default Re: Compiling kernel as I type this, want to make sure......

    Quote Originally Posted by stefan1975 View Post
    did you read this:

    How To Compile A Kernel - The SuSE Way | HowtoForge - Linux Howtos and Tutorials

    it is for opensuse 10.2 but still pretty much valid today, I always found it quite informative.

    When you compile your own kernel and have good reasons for it you obviously do not want to install the stock kernel updates. There are not that many i believe but they will overwrite your custom kernel.

    Do you have special need to compile your own kernel? I am pretty much a tuning masochist and tweak everything until I like it but so far never had to compile my own kernel on desktop systems (unix servers ... yes)?

    stefan
    yeah thanks for the reply and yes I did read that, so far I even got an error message

    CC drivers/char/vt_ioctl.o
    drivers/char/vt_ioctl.c: In function ‘vt_ioctl’:
    drivers/char/vt_ioctl.c:1159: internal compiler error: Segmentation fault
    Please submit a full bug report,
    with preprocessed source if appropriate.
    See <http://bugs.opensuse.org/> for instructions.
    make[2]: *** [drivers/char/vt_ioctl.o] Error 1
    make[1]: *** [drivers/char] Error 2
    make: *** [drivers] Error 2
    CHK include/linux/version.h

    compiling is still continuing, should I be worried?
    openSUSE 11.0 Kde 3.5.9 Linux kernel 2.6.26.1

    My Blog: http://snake1990.wordpress.com

  4. #4
    Join Date
    Jun 2008
    Location
    Friesland
    Posts
    207

    Default Re: Compiling kernel as I type this, want to make sure......

    i for one wouldn't trust a segmentation fault when compiling a kernel.
    "The day Microsoft makes something that doesn't suck is the day they make a vacuum cleaner"
    OS: Fedora9, RHEL5, CENTOS5, Arch, OpenSuSe11
    Hardware: Dell Precision M65

  5. #5

    Default Re: Compiling kernel as I type this, want to make sure......

    Quote Originally Posted by stefan1975 View Post
    i for one wouldn't trust a segmentation fault when compiling a kernel.
    yeah, u r right, I just restarted the compiling, lets hope it works better this time or I will change the config file and try making changes to it my self.
    openSUSE 11.0 Kde 3.5.9 Linux kernel 2.6.26.1

    My Blog: http://snake1990.wordpress.com

  6. #6

    Default Re: Compiling kernel as I type this, want to make sure......

    Alright I solved the error problem by typing just "make" alone and its done that but now when I type

    make modules

    it gives this reply

    linux-xw91:/usr/src/linux-2.6.26 # make modules
    CHK include/linux/version.h
    CHK include/linux/utsrelease.h
    CALL scripts/checksyscalls.sh
    Building modules, stage 2.
    MODPOST 2128 modules
    WARNING: modpost: Found 7 section mismatch(es).
    To see full details build your kernel with:
    'make CONFIG_DEBUG_SECTION_MISMATCH=y'
    linux-xw91:/usr/src/linux-2.6.26 #
    openSUSE 11.0 Kde 3.5.9 Linux kernel 2.6.26.1

    My Blog: http://snake1990.wordpress.com

  7. #7

    Default Re: Compiling kernel as I type this, want to make sure......

    Alright I have done it, just went ahead with make modules_install and its worked

    everything is working fine, I am on the new kernel right now, all I need r my webcam drivers, anyone knows where gspcav1 drivers r?
    openSUSE 11.0 Kde 3.5.9 Linux kernel 2.6.26.1

    My Blog: http://snake1990.wordpress.com

  8. #8

    Default Re: Compiling kernel as I type this, want to make sure......

    webcam done as well, everything working fine

    alright wait a sec only 1 issue, apparmor doesn't work anymore, what can I do about that?

    and about hp printers and stuff, do I need to compile anything or does the kernel have its drivers?
    openSUSE 11.0 Kde 3.5.9 Linux kernel 2.6.26.1

    My Blog: http://snake1990.wordpress.com

  9. #9

    Default Re: Compiling kernel as I type this, want to make sure......

    Again I just checked, the printer works fine, I had given it to a family member so souldn't check before so can someone help me with the apparmor problem and is it important for desktop use?
    openSUSE 11.0 Kde 3.5.9 Linux kernel 2.6.26.1

    My Blog: http://snake1990.wordpress.com

  10. #10
    Join Date
    Jun 2008
    Location
    Omaha, NE
    Posts
    526

    Default Re: Compiling kernel as I type this, want to make sure......

    I wouldn't be worried about AppArmor on your personal desktop. There aren't many people out there creating exploits for Linux boxes, but if you were worried about a hacker compromising your system because of a buffer-overflow exploit, etc. then AppArmor would be nice.

Page 1 of 3 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •