Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#499623: [virtualbox-ose-source] does not build against 2.6.27

1 view
Skip to first unread message

gregor herrmann

unread,
Sep 20, 2008, 12:50:16 PM9/20/08
to
Package: virtualbox-ose-source
Version: 1.6.2-dfsg-6
Severity: normal

Today I built a 2.6.27-rc6 kernel (from the Debian kernel team's
trunk repository). Afterwards building virtualbox-ose-source with
module-assistant fails:

In file included from /usr/src/modass/usr_src/modules/virtualbox-ose/linux/SUPDrv-linux.c:35:
/usr/src/modass/usr_src/modules/virtualbox-ose/SUPDRV.h:99:30: error: asm/semaphore.h: No such file or directory
kmk[2]: *** [/usr/src/modass/usr_src/modules/virtualbox-ose/linux/SUPDrv-linux.o] Error 1

Grepping through the kernel sources shows:
./linux-source-2.6.25/include/asm-$ARCH/semaphore.h
./linux-source-2.6.26/include/asm-$ARCH/semaphore.h
./linux-source-2.6.26/include/linux/semaphore.h
./linux-source-2.6.27-rc6/include/linux/semaphore.h

#include linux/semaphore.h instead of asm/semaphore.h leads to the
following errors:

/usr/src/modass/usr_src/modules/virtualbox-ose/r0drv/linux/mp-r0drv-linux.c:198:74: error: macro "on_each_cpu" passed 4 arguments, but takes just 3
/usr/src/modass/usr_src/modules/virtualbox-ose/r0drv/linux/mp-r0drv-linux.c: In function 'RTMpOnAll':
/usr/src/modass/usr_src/modules/virtualbox-ose/r0drv/linux/mp-r0drv-linux.c:198: error: 'on_each_cpu' undeclared (first use in this function)
/usr/src/modass/usr_src/modules/virtualbox-ose/r0drv/linux/mp-r0drv-linux.c:198: error: (Each undeclared identifier is reported only once
/usr/src/modass/usr_src/modules/virtualbox-ose/r0drv/linux/mp-r0drv-linux.c:198: error: for each function it appears in.)
/usr/src/modass/usr_src/modules/virtualbox-ose/r0drv/linux/mp-r0drv-linux.c:232:80: error: macro "smp_call_function" passed 4 arguments, but takes just 3
/usr/src/modass/usr_src/modules/virtualbox-ose/r0drv/linux/mp-r0drv-linux.c: In function 'RTMpOnOthers':
/usr/src/modass/usr_src/modules/virtualbox-ose/r0drv/linux/mp-r0drv-linux.c:232: error: 'smp_call_function' undeclared (first use in this function)
/usr/src/modass/usr_src/modules/virtualbox-ose/r0drv/linux/mp-r0drv-linux.c:285:102: error: macro "smp_call_function_single" passed 5 arguments, but takes just 4
/usr/src/modass/usr_src/modules/virtualbox-ose/r0drv/linux/mp-r0drv-linux.c: In function 'RTMpOnSpecific':
/usr/src/modass/usr_src/modules/virtualbox-ose/r0drv/linux/mp-r0drv-linux.c:285: error: 'smp_call_function_single' undeclared (first use in this function)
kmk[2]: *** [/usr/src/modass/usr_src/modules/virtualbox-ose/r0drv/linux/mp-r0drv-linux.o] Error 1


Cheers,
gregor

-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (990, 'unstable'), (500, 'oldstable'), (500, 'experimental'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26.200809141904
Locale: LANG=C, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages virtualbox-ose-source depends on:
ii bzip2 1.0.5-1 high-quality block-sorting file co
ii debhelper 7.0.17 helper programs for debian/rules
ii dpatch 2.0.30 patch maintenance system for Debia
ii kbuild 1:0.1.3svn1610-1 framework for writing simple makef

Versions of packages virtualbox-ose-source recommends:
ii module-assistant 0.10.11.0 tool to make module package creati

virtualbox-ose-source suggests no packages.

-- no debconf information

--
.''`. Home: http://info.comodo.priv.at/{,blog/} / GPG Key ID: 0x00F3CFE4
: :' : Debian GNU/Linux user, admin, & developer - http://www.debian.org/
`. `' Member of VIBE!AT, SPI Inc., fellow of FSFE | http://got.to/quote/
`-

signature.asc

Patrick Winnertz

unread,
Sep 20, 2008, 1:10:06 PM9/20/08
to
gregor herrmann wrote on Saturday 20 September 2008 at 18:35:00:
> Package: virtualbox-ose-source
> Version: 1.6.2-dfsg-6
> Severity: normal
>
> Today I built a 2.6.27-rc6 kernel (from the Debian kernel team's
> trunk repository). Afterwards building virtualbox-ose-source with
> module-assistant fails:
>
> In file included from
> /usr/src/modass/usr_src/modules/virtualbox-ose/linux/SUPDrv-linux.c:35:
> /usr/src/modass/usr_src/modules/virtualbox-ose/SUPDRV.h:99:30: error:
> asm/semaphore.h: No such file or directory kmk[2]: ***
> [/usr/src/modass/usr_src/modules/virtualbox-ose/linux/SUPDrv-linux.o] Error
> 1
>
> Grepping through the kernel sources shows:
> ./linux-source-2.6.25/include/asm-$ARCH/semaphore.h
> ./linux-source-2.6.26/include/asm-$ARCH/semaphore.h
> ./linux-source-2.6.26/include/linux/semaphore.h
> ./linux-source-2.6.27-rc6/include/linux/semaphore.h
>
> #include linux/semaphore.h instead of asm/semaphore.h leads to the
> following errors:
Well.. then on_each_cpu has changed from 2.6.26 to 2.6.27-rc6 because
asm/semaphore.h is deprecated for quite some time. (It was only a onliner
with: #include <linux/semaphore.h>

I'll have a look on it.

Greetings
Winnie

--
. '' ` . Patrick Winnertz <win...@debian.org>
: :' : proud Debian developer, author, administrator, and user
`. `'` http://people.debian.org/~winnie - http://www.der-winnie.de
`- Debian - when you have better things to do than fixing systems

signature.asc

Patrick Winnertz

unread,
Sep 21, 2008, 4:40:10 PM9/21/08
to
Hey,

>
> Today I built a 2.6.27-rc6 kernel (from the Debian kernel team's
> trunk repository). Afterwards building virtualbox-ose-source with
> module-assistant fails:

I've tried to build virtualbox-ose 1.6.6 with 2.6.27-rc6 and it builds very
fine. So this bug will be fixed soon in unstable. Hope this helps.

signature.asc

gregor herrmann

unread,
Sep 21, 2008, 6:30:14 PM9/21/08
to
On Sun, 21 Sep 2008 22:27:07 +0200, Patrick Winnertz wrote:

> > Today I built a 2.6.27-rc6 kernel (from the Debian kernel team's
> > trunk repository). Afterwards building virtualbox-ose-source with
> > module-assistant fails:
> I've tried to build virtualbox-ose 1.6.6 with 2.6.27-rc6 and it builds very
> fine. So this bug will be fixed soon in unstable. Hope this helps.

Great, thanks!


Cheers,
gregor

--
.''`. Home: http://info.comodo.priv.at/{,blog/} / GPG Key ID: 0x00F3CFE4
: :' : Debian GNU/Linux user, admin, & developer - http://www.debian.org/
`. `' Member of VIBE!AT, SPI Inc., fellow of FSFE | http://got.to/quote/

`- NP: Sting: When We Dance

signature.asc
0 new messages