Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 395429

Summary: app-emulation/virtualbox-modules: need check CONFIG_HZ=value
Product: Gentoo Linux Reporter: megabaks <megagreener>
Component: New packagesAssignee: Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c>
Status: RESOLVED OBSOLETE    
Severity: normal CC: bkohler, kripton, patrick, proxy-maint, swapon
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: example fix

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