Your message dated Sat, 13 Jul 2013 17:42:51 +0200
with message-id <[email protected]>
and subject line Re: Bug#704616: Bug #704616: virtualbox-dkms: Fails to build 
against kernel 3.9-rc5 due to MAX_PRIO being moved
has caused the Debian Bug report #704616,
regarding virtualbox-dkms: Fails to build against kernel 3.9-rc5 due to 
MAX_PRIO being moved
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
704616: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=704616
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: virtualbox-dkms
Version: 4.1.18-dfsg-2.1
Severity: normal
Tags: patch

Hi,

the version in experimental contains patches to build with kernel 3.7
and 3.8, but changes in the kernel break building on 3.9 again, because
some defines were moved.

Here's a trivial patch to fix building against 3.9-rc5:

--- a/thread2-r0drv-linux.c
+++ b/thread2-r0drv-linux.c
@@ -34,9 +34,6 @@
 #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 haven't tried building against older kernels, but it seems trivial that it
should still work there.

The offending upstream commit is:

commit 8bd75c77b7c6a3954140dd2e20346aef3efe4a35
Author: Clark Williams <[email protected]>
Date:   Thu Feb 7 09:47:07 2013 -0600

    sched/rt: Move rt specific bits into new header file

This commit was first included in 3.9-rc1.

Gr.

Matthijs

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.9.0-rc5 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages virtualbox-dkms depends on:
ii  dkms        2.2.0.3-1.2
ii  dpkg        1.16.9
ii  virtualbox  4.1.18-dfsg-2.1

virtualbox-dkms recommends no packages.

virtualbox-dkms suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Version: 4.2.10-dfsg-1

On 07.07.2013 17:59, Aron Xu wrote:
> It would be nice to get this fixed in updates because 3.9 kernel is
> now in wheezy-backports, which makes virtualbox-dkms fails to work.

I don't think this is suitable for a stable update.
Feel free to backport virtualbox though.

Felix

--- End Message ---

Reply via email to