Linux Kernel 3.9 RCX has Been Released To Test - Post Your Comments Here!

Tonight I find that our next kernel version 3.9-rc1 has been released for testing. https://www.kernel.org/pub/linux/kernel/v3.x/testing/linux-3.9-rc1.tar.bz2

And here is what Linus said last on its release: https://lkml.org/lkml/2013/3/3/168

Here are more important links for you to use:

Kernel Web Site for the latest Kernel Version: The Linux Kernel Archives

S.A.K.C. - SUSE Automated Kernel Compiler - Version 2.78: https://forums.opensuse.org/blogs/jdmcdaniel3/s-k-c-suse-automated-kernel-compiler-version-2-50-34/

S.A.K.R. - SUSE Automated Kernel Remover - Version 1.0.4: https://forums.opensuse.org/blogs/jdmcdaniel3/s-k-r-suse-automated-kernel-remover-version-1-0-0-111/

S.G.T.B. - SuSE Git Kernel Tarball Creator - Version 1.86: https://forums.opensuse.org/blogs/jdmcdaniel3/sgtb-suse-git-kernel-tarball-creator-version-1-31-53/

Since Grub2 always makes the latest kernel installed the default, you can change that behavior with my bash script grub2cmd, just updated to work with openSUSE 12.3:

GNU Grub2 Command Help/Config Editor - Version: 1.95: https://forums.opensuse.org/blogs/jdmcdaniel3/gnu-grub2-command-listing-helper-help-input-106/

I am compiling the 3.8-rc1 kernel right now and so I don’t know what it will work with or not, concerning nVIDIA or VirtualBox. On my next post I will let you know how that is working out.

Thank You for using openSUSE,

Well for the good news. Kernel 3.9-rc1 compiles & Installs OK and it starts up OK. Further, nVIDIA proprietary video driver version 310.32 also compiles & installs against kernel 3.9-rc1 OK. But alas, VirtualBox 4.2.8 does not compile and install properly again kernel 3.9-rc1, so it looks like we got two out of three tonight. We will be looking for a patch to VirtualBox it would seem but you nVIDIA users wanting to test kernel 3.9 should be good.

Thank You,

On 03/03/2013 08:56 PM, jdmcdaniel3 wrote:
>
> Well for the good news. Kernel 3.9-rc1 compiles & Installs OK and it
> starts up OK. Further, nVIDIA proprietary video driver version 310.32
> also compiles & installs against kernel 3.9-rc1 OK. But alas,
> VirtualBox 4.2.8 does not compile and install properly again kernel
> 3.9-rc1, so it looks like we got two out of three tonight. We will be
> looking for a patch to VirtualBox it would seem but you nVIDIA users
> wanting to test kernel 3.9 should be good.

The fix for VirtualBox is trivial. One of the kernel headers is no longer
included by default and must be included explicitly. The patch is

Index: vboxhost/vboxdrv/r0drv/linux/thread2-r0drv-linux.c
===================================================================
--- vboxhost.orig/vboxdrv/r0drv/linux/thread2-r0drv-linux.c
+++ vboxhost/vboxdrv/r0drv/linux/thread2-r0drv-linux.c
@@ -34,6 +34,7 @@
#include <iprt/assert.h>
#include <iprt/thread.h>
#include <iprt/err.h>
+#include <linux/sched/rt.h>
#include "internal/thread.h"

So I had trouble getting your patch to patch the right file, but perhaps it was due to the code tags you placed it in did not work. I edited your message and placed the patch in code tags, but it did not help. Since I could see this is a one line patch, I recreated the patch, which seems to patch VirtualBox OK. I must boot into kernel 3.8 again and see if it works.

Index: vboxhost/vboxdrv/r0drv/linux/thread2-r0drv-linux.c
===================================================================
*** vboxhost.org/vboxdrv/r0drv/linux/thread2-r0drv-linux.c    Fri Feb  8 06:50:54 2013
--- vboxhost/vboxdrv/r0drv/linux/thread2-r0drv-linux.c    Mon Mar  4 16:44:11 2013
***************
*** 34,39 ****
--- 34,40 ----
  #include <iprt/assert.h>
  #include <iprt/thread.h>
  #include <iprt/err.h>
+ #include <linux/sched/rt.h>
  #include "internal/thread.h"
  
  

I pasted the above text into kwrite and saved it as the file vbox.patch in my $HOME/Documents folder. I then opened up a terminal session and typed in the following commands.

cd /usr/share/virtualbox/src
sudo patch -p0 <$HOME/Documents/vbox.patch

I will reboot next and see if it works, but I want to post the details while I had them at hand.

Thank You,

So the VirtualBox patch as I listed above and executed does work OK with Kernel 3.9-rc1 and VirtualBox 4.2.8, but after the patch is applied, VirtualBox will no longer compile into kernel 3.8.2 I have found and so it seems to work one way only, so beware of using this VirtualBox patch unless you are sticking with kernel 3.9.

Thank You,

On 03/04/2013 05:56 PM, jdmcdaniel3 wrote:
>
> So the VirtualBox patch as I listed above and executed does work OK with
> Kernel 3.9-rc1 and VirtualBox 4.2.8, but after the patch is applied,
> VirtualBox will no longer compile into kernel 3.8.2 I have found and so
> it seems to work one way only, so beware of using this VirtualBox patch
> unless you are sticking with kernel 3.9.

Sorry, I did not test with the earlier version. A version that will work for all
kernel versions is

Index: vboxhost/vboxdrv/r0drv/linux/thread2-r0drv-linux.c

— vboxhost.orig/vboxdrv/r0drv/linux/thread2-r0drv-linux.c
+++ vboxhost/vboxdrv/r0drv/linux/thread2-r0drv-linux.c
@@ -34,6 +34,9 @@
#include <iprt/assert.h>
#include <iprt/thread.h>
#include <iprt/err.h>
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,9,0))
+#include <linux/sched/rt.h>
+#endif
#include “internal/thread.h”

So when I try to use your patch Larry, which I saved as vbox.patch in my $HOME/Downloads area, then I open up terminal and run these commands, here is what I get:

cd /usr/share/virtualbox/src
sudo patch -p0 <$HOME/Documents/vbox.patch

patching file vboxhost/vboxdrv/r0drv/linux/thread2-r0drv-linux.c
patch: **** unexpected end of file in patch

So I modified the patch file I had created to say this:

Index: vboxhost/vboxdrv/r0drv/linux/thread2-r0drv-linux.c
===================================================================
*** vboxhost.org/vboxdrv/r0drv/linux/thread2-r0drv-linux.c
--- vboxhost/vboxdrv/r0drv/linux/thread2-r0drv-linux.c
***************
*** 34,39 ****
--- 34,42 ----
  #include <iprt/assert.h>
  #include <iprt/thread.h>
  #include <iprt/err.h>
+ #if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,9,0))
+ #include <linux/sched/rt.h>
+ #endif
  #include "internal/thread.h"
  
  

I again open up terminal and run these command with no error message:

cd /usr/share/virtualbox/src
sudo patch -p0 </home/james/Documents/vbox.patch

patching file vboxhost/vboxdrv/r0drv/linux/thread2-r0drv-linux.c

I can see you have a conditional statement, to be used only with kernel 3.9 and I am using your exact code fix you wrote but the patch file format is just not working for me, but I don’t understand why that is. After you make the patch, you can force a VirtualBox recompile to make sure VirtualBox will still compile by opening up terminal and executing these commands:

su -

/etc/init.d/vboxdrv setup
Stopping VirtualBox kernel modules                                                                                                                               done
Uninstalling old VirtualBox DKMS kernel modules                                                                                                                  done
Trying to register the VirtualBox kernel modules using DKMS                                                                                                      done
Starting VirtualBox kernel modules                                                                                                                               done

If you get the same result, VirtualBox recompiling is working.

Thank You,

On 03/04/2013 07:36 PM, jdmcdaniel3 wrote:
>
> So when I try to use your patch Larry, which I saved as vbox.patch in my
> $HOME/Downloads area, then I open up terminal and run these commands,
> here is what I get:
>
>
> Code:
> --------------------
> cd /usr/share/virtualbox/src
> sudo patch -p0 <$HOME/Documents/vbox.patch
>
> patching file vboxhost/vboxdrv/r0drv/linux/thread2-r0drv-linux.c
> patch: **** unexpected end of file in patch
> --------------------
>
>
> So I modified the patch file I had created to say this:
>
>
> Code:
> --------------------
> Index: vboxhost/vboxdrv/r0drv/linux/thread2-r0drv-linux.c
> ===================================================================
> *** vboxhost.org/vboxdrv/r0drv/linux/thread2-r0drv-linux.c
> — vboxhost/vboxdrv/r0drv/linux/thread2-r0drv-linux.c
> ***************
> *** 34,39 ****
> — 34,42 ----
> #include <iprt/assert.h>
> #include <iprt/thread.h>
> #include <iprt/err.h>
> + #if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,9,0))
> + #include <linux/sched/rt.h>
> + #endif
> #include “internal/thread.h”
>
>
>
> --------------------
>
>
> I again open up terminal and run these command with no error message:
>
>
> Code:
> --------------------
> cd /usr/share/virtualbox/src
> sudo patch -p0 </home/james/Documents/vbox.patch
>
> patching file vboxhost/vboxdrv/r0drv/linux/thread2-r0drv-linux.c
> --------------------
>
>
> I can see you have a conditional statement, to be used only with kernel
> 3.9 and I am using your exact code fix you wrote but the patch file
> format is just not working for me, but I don’t understand why that is.
> After you make the patch, you can force a VirtualBox recompile to make
> sure VirtualBox will still compile by opening up terminal and executing
> these commands:
>
>
> Code:
> --------------------
> su -
>
> /etc/init.d/vboxdrv setup
> Stopping VirtualBox kernel modules done
> Uninstalling old VirtualBox DKMS kernel modules done
> Trying to register the VirtualBox kernel modules using DKMS done
> Starting VirtualBox kernel modules done
> --------------------
>
>
> If you get the same result, VirtualBox recompiling is working.

What you do not see is that there are two lines at the end of the patch that
have only a single space at the beginning of the line.

When I asked about this problem in the back room it was suggested the we were missing blank lines at the end though I did not understand we needed a space there too. It makes me think we just need to use SUSE Paste (for me at least) or otherwise post it online to keep the end of the file intact. I know that you have also posted the text files into an online link, though I don’t recall what service you use to provide that here. Let me say that it is my desire to post such patches in a manner that anyone could use them and if it is OK, I shall repost your patch into SuSE Paste if not already in an online patch format.

One thing is for sure Larry, I appreciate your help with this information, like the very quick production of the VirtualBox patch, and can’t thank you enough for your assistance here.

Thank You,

Kernel 3.9-rc2 was released today.https://www.kernel.org/pub/linux/kernel/v3.x/testing/linux-3.9-rc2.tar.bz2

Thanks for the link ryanbach. I have just finished installing kernel 3.9-rc2 into openSUSE 12.3 with no problem. I used our previous listed patch for VirtualBox 4.2.8 so it would compile and install into openSUSE 12.3.

I can say that anyone wishing to use dkms with VirtualBox in openSUSE 12.3, must continue to use my dkms patch to get dkms to work for VirtualBox. Same goes for my after.local file fix as after.local still does not run by default as far as I can see. Both are due to changes in the usage of systemd in openSUSE and the issues are not new to openSUSE 12.3, but just continue as before. For help with dkms and the after.local script, have a look at these blogs on the subject:

systemd and using the after.local script in openSUSE 12.1/12.2/12.3: https://forums.opensuse.org/blogs/jdmcdaniel3/systemd-using-after-local-script-opensuse-12-1-12-2-12-3-71/

AND

DKMS, systemd & Virtual Box - How to get Dynamic Kernel Module Support to work in openSUSE 12.2/12.3: https://forums.opensuse.org/blogs/jdmcdaniel3/dkms-systemd-virtual-box-how-get-dynamic-kernel-module-support-work-opensuse-12-2-12-3-100/

Thank You,

On Tuesday 3-12-13, kernel.org switched to posting kernel source file tarballs to the tar.xz format. You can see a short announcement here on the subject: https://www.kernel.org/xz-by-default-and-json.html

In order to handle the change in format, S.A.K.C. has been upgraded to version 2.80 and now supports both tar.xz and tar.bz2 with a link to the latest version below:

S.A.K.C. - SUSE Automated Kernel Compiler - Version 2.80: https://forums.opensuse.org/blogs/jdmcdaniel3/s-k-c-suse-automated-kernel-compiler-version-2-80-34/

I can’t say why so many would request the format change unless its due to better compression perhaps. When I compare kernel version 3.9-rc1 at 82.0 MiB using tar.bz2 to kernel 3.9-rc2 at 67.7 MiB using tar.xz format, there is a better than 17% reduction in size, not accounting for any difference between the two versions. I suspect a lot of scripts out there will now be broken after this switch has been made. Any improvements due to reduced size will be lost on many systems due to the capacity already on hand, but saving disk space is not a bad thing to do.

If anyone has a problem with the latest S.A.K.C. and tar.xz files, please let me know.

Thank You,

It is just change of default offered on main page. tar.bz2 still can be downloaded just fine.

Thanks for your comments and I understand the old format is still there, but SAKC has to handle what you get by default without removing supported for the previous default version. My SGTB bash script still outputs tar.bz2 files as well until I feel the need to make a change in the default tar format.

Thank You,

mainline: 3.9-rc3 2013-03-17 tar.xz]

Downloading now

Thanks for the heads up Dale. I have downloaded the latest kernel-3.9-rc3 tonight, compiled the new style tar.xz file using SAKC 2.80 and all is well with the world. I do wish the new kernel did not wait to near bed time on Sunday night to come out. It does not give much time before bed to play with the latest kernel. But it does work just fine so far.

Thank You,

Well I find that tonight, on Saturday night, we got our next release of the 3.9 kernel at rc4 you can find at the following link:

https://www.kernel.org/pub/linux/kernel/v3.x/testing/linux-3.9-rc4.tar.xz

You can see what Linus had to say about it here: https://lkml.org/lkml/2013/3/23/147

It compiled and installed like a champ on my test machine. I can say I was happy to see it come on Saturday instead on Sunday night as I can play with it on Sunday on more than one PC. And, its been a good night as I am fully upgraded to openSUSE 12.3 now and I purchased a killer CD today I am playing right now from Justin Timberlake called JT - The 20/20 Experience, special edition with two extra songs, one of which is killer called Dress On. Even though not as young as most around here, I do dig JT a lot, you got to git it.

Happy kernel testing to all in the openSUSE forum …:slight_smile:

Thank You for using openSUSE,

On 03/23/2013 11:56 PM, jdmcdaniel3 wrote:
>
> Well I find that tonight, on Saturday night, we got our next release of
> the 3.9 kernel at rc4 you can find at the following link:
>
> http://tinyurl.com/bwkfgsd
>
> You can see what Linus had to say about it here:
> https://lkml.org/lkml/2013/3/23/147

For users of rtl8192cu, rc4 has a very important patch. It will be backported to
all stable versions in the near future.

http://www.h-online.com/open/imgs/45/1/0/0/1/8/3/2/comingin39_1_kicker-2815b70d37a527e2.png

Filesystems and storage

by Thorsten Leemhuis

The Linux kernel can now be set up to use SSDs as cache for hard drives; Btrfs has native RAID 5 and 6 support. The kernel development team has also resolved two performance problems caused by previous changes.

On Sunday, Linus Torvalds released the fourth pre-release version of Linux kernel 3.9. In his release notes, he noted that development has not yet settled down and called for testing of the RC.

As usual, Torvalds and his the other kernel developers merged all of the major changes planned for Linux 3.9 into the kernel in the two weeks following the release of version 3.8. We are currently in the stabalisation phase and major changes during this phase are rare allowing the Kernel Log to provide a comprehensive overview of the major new features to be expected in the new Linux version, which is expected to be released in late April.

This overview will be provided by a series of articles dealing with various facets of the kernel. The series opens with a description of new features in the areas of storage technology and filesystems. Over the next few weeks, further articles will deal with graphics drivers, kernel infrastructure, networking, processor/platform support and drivers for other hardware.

Read More: Kernel Log: Coming in 3.9 (part 1) – Filesystems and storage - The H Open: News and Features

Copyright © 2013 Heise Media UK Ltd.

Thank You for using openSUSE,

And another release candidatekernel 3.9rc5
What phoronix has to sayI have to say I have it up and running for a few minutes now. I used jdmcdaniel3’s sakc to compile and install using the standard compile process and the build was fast, about the speed of turbo
That is 44 minutes as opposed to close to 4 hours