Page 1 of 5 123 ... LastLast
Results 1 to 10 of 50

Thread: Kernel Upgrade - OpenSUSE 11.1

  1. #1
    Join Date
    Jun 2008
    Location
    Somerset. UK
    Posts
    111

    Default Kernel Upgrade - OpenSUSE 11.1

    I need to upgrade my kernel to enable my TV card to work. The kernel version needs to be 2.6.28 or above.

    I would be grateful for advice on which is the best kernel version to use (functionality v. hassle), and for any other guidance, since I'm a kernel upgrade virgin!

    Thanks in advance

  2. #2

    Default Re: Kernel Upgrade - OpenSUSE 11.1

    Dear virgin

    You can update your kernel by adding this repo:

    Index of /repositories/Kernel:/HEAD/openSUSE_11.1

    Mind that this is a "work in progress" kernel, i didn't see anywhere a "stable" kernel.
    How does a linux geek make love??

    - rtfm; unzip; strip; touch; finger; mount; fsck; more; yes; umount; zip; sleep;

  3. #3
    Join Date
    Mar 2008
    Location
    S.E.Asia
    Posts
    26,468
    Blog Entries
    36

    Default Re: Kernel Upgrade - OpenSUSE 11.1

    I know next to nothing about kernel upgrades (beyound the very basic ones that Novell/SuSE-GmbH provide) so I can not offer much.

    I do note that there is a high probability your drivers will be broken when you change from the 2.6.27 to the 2.6.28 (or higher) kernel. Specifically your graphics, webcam, wireless, audio drivers could be impacted unfavourably, forcing you to custom compile those drivers.

    Now if you are not in to custom compiling your own kernel, you could try to install some one else's pre-compiled kerenel for openSUSE-11.1.

    If you do a search on web pin for kernel you will find this:
    Webpin search for precompiled kernels

    I note several 2.6.31/2.6.30 and 2.6.29 precompiled kernels. I do not see any 2.6.28's. I suspect the move from 2.6.27 to 2.6.31 may be too big, with additional complexity (but someone who knows more than I must chime in here and correct me). So if it were me, and if I was committed to this path of action of installing a non-Novell/SuSE-GmbH packaged kernel, then I would likly try a 2.6.29 pre-compiled kernel first.

    Note if installing someone' elses kernel packaged as an rpm, you could install it and keep your old kernel.

    If it were me, I would
    • backup /boot/grub/menu.lst file
    • type: rpm -qa | grep kernel #to see what rpms I had installed for my kernel
    • download (not install yet) to my hard drive all the appropriate rpms to replace the rpms noted above;
    • install the above rpms with the command: rpm -ivh kernel-<1st>.rpm kernel-<2nd>.rpm kernel-<3rd>.rpm kernel-source<4th>.rpm kernel-syms<4th>.rpm # ...etc ... ensureing I obtained sufficient rpms that I could compile my drivers aftward - note do NOT use rpm -Uvh as that will replace instead of keep the old kernel;
    • BEFORE rebooting, check my updated (by the rpm install) /boot/grub/menu.lst file to ensure it allowed booting between either kernel. If ok, then reboot; if not then fix the /boot/grub/menu.lst file via hand edits;
    • boot to the new kernel to see how much is broken
    • start rebuilding drivers, in the knowledge that for every driver that I custom compile for the new kernel, will likely break that same driver functionality on the older kernel

    and thats pretty much the limit/sum of my knowlege.

    I am now going to go into lurking mode on this thread, as in truth I do not know much, and I have more to learn here, than to offer.

  4. #4

    Default Re: Kernel Upgrade - OpenSUSE 11.1

    Listen to oldcpu, he's the guru around here (no, seriously, he is a guru around here)
    How does a linux geek make love??

    - rtfm; unzip; strip; touch; finger; mount; fsck; more; yes; umount; zip; sleep;

  5. #5
    Join Date
    Jun 2008
    Location
    Somerset. UK
    Posts
    111

    Default Re: Kernel Upgrade - OpenSUSE 11.1

    Oh, I know! It's oldcpu's advice that has got me this far

    I have just found a text copy of great "how to" from early 2007, by Snakedriver on installing a parallel kernel, which has given me more confidence. I don't know if it's still around somewhere, but I could post it if anyone wants it.

    I certainly want to install any new kernel in parallel to the old one, for safety, and I am in the process of backing up EVERYTHING to a USB hard drive right now!

    Thanks for your help, everyone. Stand by for screams of panic!!!!

  6. #6

    Default Re: Kernel Upgrade - OpenSUSE 11.1

    You may always install the 2.6.30 and not from openSUSE. It's as easy as make, make modules_install make install

    And you can always customize it
    How does a linux geek make love??

    - rtfm; unzip; strip; touch; finger; mount; fsck; more; yes; umount; zip; sleep;

  7. #7
    Join Date
    Jun 2008
    Location
    Somerset. UK
    Posts
    111

    Default Re: Kernel Upgrade - OpenSUSE 11.1

    Thanks, BBR

    I'm getting quite excited about this project now!

    I'll probably try the pre-compiled route first, then have a go at compiling as you suggest.

    It's vital, though, that the original kernel stays intact, since this is my main machine. Can you confirm that the method you describe does this (i.e. provides another boot option)?

    I would also be very grateful for more detail of this method if you have time. A step-by-step would be fantastic!

    Thanks again

  8. #8

    Default Re: Kernel Upgrade - OpenSUSE 11.1

    First install qt3-devel (customizing the kernelin GUI)
    then, get the kernel source from kernel.org, unpack it somewhere in your home (we need to have write permissions).

    open terminal where your kernel is and type make xconfig.

    There you can customize the kernel to suit your system.

    Some tips:

    check what modules you have right now with lsmod and search for them while in that GUI (some modules are named a bit different), remove specific modules you don't need, if not sure leave it at least as module. If you know that something will definitely be loaded (sound module, usb etc. make it built in), the rest leave as modules.

    After compiling it will install it and create a boot entry

    Move that source folder to /usr/src/

    and create symlink to this with ln -s /usr/src/<your custom kernel folder> /usr/src/linux (it may and will happen that there already is a symlink then just remove it).
    How does a linux geek make love??

    - rtfm; unzip; strip; touch; finger; mount; fsck; more; yes; umount; zip; sleep;

  9. #9
    Join Date
    Jun 2008
    Location
    /dev/belgium
    Posts
    1,946

    Default Re: Kernel Upgrade - OpenSUSE 11.1

    you can parallel install kernels (and other apps) by enabling this in /etc/zypp/zypp.conf - look for the multiversion variable

    Easy as pie

  10. #10
    Join Date
    Jun 2008
    Location
    Somerset. UK
    Posts
    111

    Default Re: Kernel Upgrade - OpenSUSE 11.1

    Thanks everyone. I'll keep you posted!

Page 1 of 5 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
  •