Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
virtualbox(soled)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
hedmo
l33t
l33t


Joined: 29 Aug 2009
Posts: 839
Location: halmstad

PostPosted: Mon Sep 05, 2011 5:35 pm    Post subject: virtualbox(soled) Reply with quote

hi all

i belive this will do to understand my topic



make[2]: Entering directory `/usr/src/linux-3.0-mm'
CC [M] /var/tmp/portage/app-emulation/virtualbox-modules-4.1.0-r1/work/vboxpci/linux/VBoxPci-linux.o
CC [M] /var/tmp/portage/app-emulation/virtualbox-modules-4.1.0-r1/work/vboxpci/VBoxPci.o
CC [M] /var/tmp/portage/app-emulation/virtualbox-modules-4.1.0-r1/work/vboxpci/SUPR0IdcClient.o
CC [M] /var/tmp/portage/app-emulation/virtualbox-modules-4.1.0-r1/work/vboxpci/SUPR0IdcClientComponent.o
CC [M] /var/tmp/portage/app-emulation/virtualbox-modules-4.1.0-r1/work/vboxpci/linux/SUPR0IdcClient-linux.o
/var/tmp/portage/app-emulation/virtualbox-modules-4.1.0-r1/work/vboxpci/linux/VBoxPci-linux.c:38:27: fatal error: asm/amd_iommu.h: No such file or directory
compilation terminated.
make[3]: *** [/var/tmp/portage/app-emulation/virtualbox-modules-4.1.0-r1/work/vboxpci/linux/VBoxPci-linux.o] Error 1
make[2]: *** [_module_/var/tmp/portage/app-emulation/virtualbox-modules-4.1.0-r1/work/vboxpci] Error 2
make[2]: Leaving directory `/usr/src/linux-3.0-mm'
make[1]: *** [vboxpci] Error 2
make[1]: Leaving directory `/var/tmp/portage/app-emulation/virtualbox-modules-4.1.0-r1/work/vboxpci'
cp: cannot stat `vboxpci/vboxpci.ko': No such file or directory

>>> Source compiled.
>>> Test phase [not enabled]: app-emulation/virtualbox-modules-4.1.0-r1

>>> Install virtualbox-modules-4.1.0-r1 into /var/tmp/portage/app-emulation/virtualbox-modules-4.1.0-r1/image/ category app-emulation
* Installing vboxdrv module
* Installing vboxnetflt module
* Installing vboxnetadp module
* Installing vboxpci module
install: cannot stat `vboxpci.ko': No such file or directory
!!! doins: vboxpci.ko does not exist
doins failed


i have never had a problem with virtualbox and the only thing i have done is to put iommu away in kernel .

thanks


Last edited by hedmo on Fri Dec 16, 2011 8:17 pm; edited 1 time in total
Back to top
View user's profile Send private message
Randy Andy
Veteran
Veteran


Joined: 19 Jun 2007
Posts: 1063
Location: /dev/koelsch

PostPosted: Mon Sep 05, 2011 5:49 pm    Post subject: Reply with quote

Hi hedmo.

Are the kernel sources installed and does the symlink points to the sources you building virtualbox against?


This Line looks a bit strange for me:
Leaving directory `/usr/src/linux-3.0-mm'

I'd never seen a kernel source directory named like this :?
_________________
If you want to see a Distro done right, compile it yourself!
Back to top
View user's profile Send private message
hedmo
l33t
l33t


Joined: 29 Aug 2009
Posts: 839
Location: halmstad

PostPosted: Mon Sep 05, 2011 5:59 pm    Post subject: Reply with quote

Randy Andy wrote:

I'd never seen a kernel source directory named like this :?



i am running the 3.0.0 kernel with andrew mortons beloved kernel patch

mybox linux # cd ..
mybox src # ls
k10temp linux-2.6.34-xen-r4 linux-3.0-rc5 linux-3.0-rc6-mm linux-3.1-rc3-mm
linux linux-3.0-mm linux-3.0-rc6 linux-3.0-rc6.tar.bz2
mybox src # emerge -av mm-sources

* IMPORTANT: 5 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.


These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild R ] sys-kernel/mm-sources-3.0 USE="-build -symlink" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB

Would you like to merge these packages? [Yes/No] n

Quitting.


* IMPORTANT: 5 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.

mybox src # eselect kernel list
Available kernel symlink targets:
[1] linux-2.6.34-xen-r4
[2] linux-3.0-rc5
[3] linux-3.0-rc6
[4] linux-3.0-rc6-mm
[5] linux-3.0-mm *
[6] linux-3.1-rc3-mm
mybox src #


from http://www.gentoo.org/doc/en/gentoo-kernel.xml


If you really want to live on the edge and you think vanilla-sources are for wussies, then try out mm-sources. Be warned that this kernel is highly experimental and doesn't always work as expected. :twisted:
Back to top
View user's profile Send private message
hedmo
l33t
l33t


Joined: 29 Aug 2009
Posts: 839
Location: halmstad

PostPosted: Thu Sep 08, 2011 6:31 pm    Post subject: Reply with quote

has someone manage to get virtualbox in the 3.x kernel.i have try some but no result
Back to top
View user's profile Send private message
Peter-W
n00b
n00b


Joined: 25 May 2011
Posts: 6

PostPosted: Wed Dec 07, 2011 4:20 pm    Post subject: Reply with quote

hedmo wrote:
has someone manage to get virtualbox in the 3.x kernel.i have try some but no result


I had this issue using the 3.2.0 vanilla kernel, switching to the 3.1.4 gentoo kernel fixed the issue.
Back to top
View user's profile Send private message
DaggyStyle
Advocate
Advocate


Joined: 22 Mar 2006
Posts: 4956

PostPosted: Wed Dec 07, 2011 5:30 pm    Post subject: Reply with quote

see if iommu is enabled in the kernel
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
ProjectFootball
Back to top
View user's profile Send private message
jfp
Apprentice
Apprentice


Joined: 08 Jul 2007
Posts: 275
Location: Virginia, USA

PostPosted: Wed Dec 07, 2011 7:04 pm    Post subject: Reply with quote

I am running VirtualBox 4.1.4 with both tuxonice-sources-3.0.11 (laptop) and gentoo-sources-3.1.0 (desktop)
_________________
jfp
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 32297
Location: 56N 3W

PostPosted: Wed Dec 07, 2011 8:36 pm    Post subject: Reply with quote

hedmo,

virtualbox-modules-4.1.0-r1 isn't even in the portage tree any more.

Take your pick from
Code:
virtualbox-modules-4.1.4.ebuild:KEYWORDS="amd64 ~x86"
virtualbox-modules-4.1.6.ebuild:KEYWORDS="~amd64 ~x86"
you will have to update virtualbox too.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
hedmo
l33t
l33t


Joined: 29 Aug 2009
Posts: 839
Location: halmstad

PostPosted: Fri Dec 16, 2011 8:17 pm    Post subject: Reply with quote

sorry for reply this late.i installed a older version and tha worked , after a time i did update my world an it worked
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum