This may have already been discussed, but if it has I haven’t been able to find it. I want to install the 2.6.26 kernel on one of my opensuse boxes so I can use my Happauge WinTV PVR 950 easily. The new kernel comes with support for it by default. However, I can’t seem to find an official version of this kernel available from opensuse. There are versions available in the vanilla repository for factory, 10.2, and 10.3 but the only copies of that kernel that I can find for 11.0 are from user repositories, which I would prefer to avoid for something as important as the kernel. I know I can compile myself, but that sort of defeats the purpose of using opensuse in the first place. So is the kernel there and I am just missing it? If not, why isn’t it there and is there any plan to add it in the near future?
I’m presuming that you don’t want the Factory kernel from kernel:Head repository?
openSUSE never updates the kernel version that is issued with that release -
thus 10.3 still uses v2.6.22, etc.
A distro is much more than a kernel. I keep the distributed kernel around just
for emergencies, but I always run a more current kernel - I’m using 2.6.26 now.
Just go to kernel.org and get the “official” kernel sources - that is where
openSUSE starts. You can use the same configuration as the official one. A
compressed version of it is at /proc/config.gz and build a new one. When you
start the make, there will be some new configuration options, but the default
answer is probably correct. Once make finishes, issue a ‘sudo make
install_modules install’ command and reboot into your new kernel. You will see
the startup commands rather than the SUSE splash screen, but that is what I want
anyway.
Larry
openSUSE never updates the kernel version that is issued with that release -
thus 10.3 still uses v2.6.22, etc.
10.2 and 10.3 both have 2.6.26 vanilla kernels available here:
Index of /repositories/Kernel:/Vanilla
I’m presuming that you don’t want the Factory kernel from kernel:Head repository?
Is the factory kernel compatible with an 11.0 installation? If so that will do nicely.
Factory kernel deleted my video driver and, more importantly, the ivtv kernel module, and there does not appear to be a factor version of that module. Looks like someone compiled a separate driver that should hopefully work with my tuner, I will try that instead.
I just compiled my own kernel, may be u should just do that cause it works cool
The only reason I wanted the kernel was for the tv tuner driver. Now that I appear to have that there is really no reason.
its very stable as well
Is there any advantage/disadvantage to running a vanilla kernel?
Advantage is more hardware support and newer version may be faster and more stable.
Disadvantage is no support for kernel from SUSE and u will have to update and do security updates on your own.
OK snakeman, you convinced me :D.
Is there an easy tutorial that you followed, I’m scared :S
don’t u mean snakeeyes?
Here u r, I read from both of them and learnt
http://www.suseblog.com/?cat=36
How To Compile A Kernel - The SuSE Way | HowtoForge - Linux Howtos and Tutorials
Here is my thread on kernel compiling which I recently did my self, it may help
Compiling kernel as I type this, want to make sure… - openSUSE Forums
Not at all.
Couple of things to remember.
- one of the above guides tells you to copy your new System.map twice, one under the full name with a kernel suffix and the other as the plain System.map name. To keep things neat, just use the suffix version, the only change required is when you run mkinitrd supply the map name with the -M switch, e.g.
mkinitrd -k vmlinuz-version -i initrd-version -M /boot/System.map-version
-
The vanilla kernel sources won’t have the apparmor stuff in, remember to sort that out (i’m about to go learning, i’ll post here when i have more info)
-
Don’t forget to point the /usr/src/linux symlink to the new kernel you’re running
You can keep you old kernel & the new one too by renaming the old kernel to vmlinuz.previous and the old initrd to initrd.previous. See: Update To Jengelh’s Kernel-2.6.17-7 Howto - Page 2 - openSUSE Forums, post #1.
You can do the same using the kernel repo @ Index of /repositories/Kernel:/Vanilla & your version.
I read somewhere that you can have up to eight:\
As promised, a report back on apparmor. The general detail can be found in AppArmor Geeks - openSUSE but the instructions seem to need a bit of a tweak. You can grab the kernel patches from Novell AppArmor - apparmor using the 2.3beta1 link called 2.6.26-AA2.3.tgz. Once downloaded, unpack them in your home directory and then cd to your kernel sources under /usr/src/linux-2.6.26xxxx and type
ln -s ~/patches
If you do an ll now you should see a symlink from the kernel source dir back to patches in your own home dir. Now type
quilt push -a
to apply all the patches, note, quilt may be missing, if so grab it from the repos.
Once done type
make menuconfig
and check under Security Options to see if AppArmor is selected and the AppArmor boot parameter default value is 1.
Although the docs say compile as a module, this wasn’t available to me, inbuilt or go away, so naturally i accepted, you may have better luck.
Once that snippet is done, after unpacking your sources and zcat /proc/config.gz > /usr/src/linus-2.6.26xxx/.config for those unsure, but prior to building the kernel, you are now ready for the
make && make modules && make modules_install
commands. Good luck.