Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 395429 - app-emulation/virtualbox-modules: need check CONFIG_HZ=value
Summary: app-emulation/virtualbox-modules: need check CONFIG_HZ=value
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-20 23:56 UTC by megabaks
Modified: 2017-08-31 17:49 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
example fix (virtualbox-modules.patch,699 bytes, patch)
2011-12-20 23:57 UTC, megabaks
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description megabaks 2011-12-20 23:56:46 UTC
if CONFIG_HZ > 1000 then
>>>>#error "HZ is not a multiple of 1000, the GIP stuff won't work right!"
in
=========
vboxdrv/r0drv/linux/the-linux-kernel.h 
vboxnetadp/r0drv/linux/the-linux-kernel.h 
vboxpci/r0drv/linux/the-linux-kernel.h 
vboxnetflt/r0drv/linux/the-linux-kernel.h
=========
CONFIG_HZ > 1000 actuality for zen/pf-sources from the main gentoo's tree


Reproducible: Always
Comment 1 megabaks 2011-12-20 23:57:40 UTC
Created attachment 296503 [details, diff]
example fix
Comment 2 megabaks 2011-12-21 00:02:18 UTC
or dirty hack ))) :
....
inherit eutils linux-mod linux-info
...
src_prepare() {
....
	sed -e "s|1000|$(linux_chkconfig_string HZ)|" -i \
	vboxdrv/r0drv/linux/the-linux-kernel.h \
	vboxnetadp/r0drv/linux/the-linux-kernel.h \
	vboxpci/r0drv/linux/the-linux-kernel.h \
	vboxnetflt/r0drv/linux/the-linux-kernel.h
....
Comment 3 Ben Kohler gentoo-dev 2017-08-31 17:49:17 UTC
Please reopen if this is still an issue