1 |
On Wednesday, August 24, 2011 01:10:14 PM Mark Knecht wrote: |
2 |
> On Wed, Aug 24, 2011 at 12:55 PM, Paul Hartman |
3 |
> |
4 |
> <paul.hartman+gentoo@×××××.com> wrote: |
5 |
> > On Wed, Aug 24, 2011 at 2:13 PM, Mark Knecht <markknecht@×××××.com> wrote: |
6 |
> >> http://cateee.net/lkddb/web-lkddb/IOMMU_SUPPORT.html |
7 |
> >> |
8 |
> >> which seem to indicate that I should see an IOMMU option somewhere in |
9 |
> >> the drivers section of the kernel config. I do not, however, find that |
10 |
> >> right now which is why I came here to ask. |
11 |
> > |
12 |
> > It looks to me like the specific option CONFIG_IOMMU_SUPPORT was just |
13 |
> > added for kernel 3.1, so you won't see it until then. It even mentions |
14 |
> > it on the page you linked to:: "found in Linux kernels: 3.1-rc+HEAD" |
15 |
> > |
16 |
> > It appears virtualbox-modules 4.1.0 doesn't check this. Maybe 4.1.2 is |
17 |
> > developed against the 3.1 kernel... Maybe you should switch to the |
18 |
> > latest git kernel, if you dare, or maybe you could mask the vbox |
19 |
> > modules 4.1.2 and use 4.1.0 instead? I'm not a virtualbox user so I |
20 |
> > have no idea if that's a reasonable suggestion or not, but I'm just |
21 |
> > throwing it out there. :) |
22 |
> |
23 |
> Thanks for the insights Paul. I'll roll back to a slightly earlier |
24 |
> version of Virtualbox which will likely solve the problem. |
25 |
> |
26 |
> Cheers, |
27 |
> Mark |
28 |
|
29 |
I just checked on my system and with Virtualbox 4.0.4, it works. (ok, it's |
30 |
older :) |
31 |
|
32 |
# " zcat /proc/config.gz | grep IOMMU " gives: |
33 |
** |
34 |
# CONFIG_CALGARY_IOMMU is not set |
35 |
# CONFIG_AMD_IOMMU is not set |
36 |
CONFIG_IOMMU_HELPER=y |
37 |
# CONFIG_IOMMU_API is not set |
38 |
# CONFIG_IOMMU_STRESS is not set |
39 |
** kernel = gentoo-sources-2.6.34-r6 |
40 |
|
41 |
I can succesfully run 64 and 32bit clients on this machine. CPU is Intel Xeon |
42 |
|
43 |
On my other machine (with Virtualbox 4.0.12 and AMD Phenom CPU I get the |
44 |
following for the same command: |
45 |
** |
46 |
CONFIG_GART_IOMMU=y |
47 |
CONFIG_CALGARY_IOMMU=y |
48 |
CONFIG_CALGARY_IOMMU_ENABLED_BY_DEFAULT=y |
49 |
CONFIG_AMD_IOMMU=y |
50 |
CONFIG_AMD_IOMMU_STATS=y |
51 |
CONFIG_IOMMU_HELPER=y |
52 |
CONFIG_IOMMU_API=y |
53 |
# CONFIG_IOMMU_DEBUG is not set |
54 |
# CONFIG_IOMMU_STRESS is not set |
55 |
** kernel = gentoo-sources-2.6.36-r5 |
56 |
|
57 |
I should probably disable some stuff, but not sure why the CALGARY got enabled |
58 |
by default. |
59 |
|
60 |
I haven't gotten round to testing 4.1.2 yet. |
61 |
|
62 |
-- |
63 |
Joost |