Gentoo Archives: gentoo-user

From: Ian Zimmerman <itz@×××××××.net>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: Issues with AMD_IOMMU
Date: Mon, 15 May 2017 04:58:32
Message-Id: 20170515041719.2403.20A7B99C@matica.foolinux.mooo.com
In Reply to: Re: [gentoo-user] Issues with AMD_IOMMU by Corbin Bird
1 On 2017-05-14 20:07, Corbin Bird wrote:
2
3 > Background / System Info : 2 systems.
4 > Chipset 990FX, FX-9590 ( -march=bdver2 / Fam15h )
5 > Chipset 790FX, PhenomII 980 ( -march=amdfam10 / Fam10h )
6 > Gentoo x86_64, multilib, Kernel 4.9.x
7 > IOMMU enabled in UEFI, BIOS.
8
9 > General Info : ( if you don't know already ... )
10 >
11 > The 990FX / 790FX Chipset doesn't have a GART / AGP Aperature or IOMMU
12 > in it. The CPU contains the original K8 IOMMU ( v1 ) engineered /
13 > converted from a GART.
14 >
15 > Standard output in '/var/log/dmesg'.
16 >
17 > > [ 0.000000] AGP: No AGP bridge found
18 > > [ 0.926911] PCI-DMA: Disabling AGP.
19 > > [ 0.927142] PCI-DMA: aperture base @ b4000000 size 65536 KB
20 > > [ 0.927263] PCI-DMA: using GART IOMMU.
21 > > [ 0.927376] PCI-DMA: Reserving 64MB of IOMMU area in the AGP aperture
22
23 I know we have been over this in an earlier thread "Another x11
24 problem", but I am still very confused.
25
26 What BIOS do you have, on the computer that is BIOS based? I assume you
27 have one BIOS based and one EFI based, although you don't really say
28 that. I am asking because the setup screen of my BIOS (Award modular)
29 doesn't mention any of these things at all.
30
31 Another source of my confusion is that my computer appears to work _now_
32 without setting any additional kernel options. The problem I had (X11
33 turning the screen all black and never coming back) seems to have fixed
34 itself with an upgrade of either kernel, X11, or radeon firmware, I
35 don't remember which (and I probably never knew for sure which).
36
37 There are some 2 or 3 BIOS upgrades for my motherboard (GA-880GM-D2H)
38 but they are all ancient anyway, from 2011 - the same year I built the
39 computer, and the description Gigabyte gives sounds irrelevant to this
40 stuff, so I never changed the BIOS.
41
42 I have looked at the kernel docs you recommend, but they leave a lot to
43 be desired in the clarity department. For example, the general
44 kernel-parameters doc lists a iommu=pt option, without explanation but
45 tagged with [X86][IA-64]. But the x86_64/boot-options doc doesn't
46 mention this value at all.
47
48 I guess my high-level confusion is that I don't understand the
49 relationships between all these bits of hardware, and I also don't
50 understand why the automatic setup that Linux does wouldn't result in a
51 normally working system. So there's no aperture, so steal 64M of
52 addresses from RAM. Big deal, no? What's the problem?
53
54 Finally, in your last article in that earlier thread you said that I
55 should turn on multiple APICs in the kernel. But I can find no kernel
56 option for that. What's the exact CONFIG_* symbol to tweak?
57
58 Thanks.
59
60 --
61 Please *no* private Cc: on mailing lists and newsgroups
62 Personal signed mail: please _encrypt_ and sign
63 Don't clear-text sign:
64 http://primate.net/~itz/blog/the-problem-with-gpg-signatures.html

Replies

Subject Author
Re: [gentoo-user] Re: Issues with AMD_IOMMU Corbin Bird <corbinbird@×××××××.net>
Re: [gentoo-user] Re: Issues with AMD_IOMMU "Taiidan@×××.com" <Taiidan@×××.com>
Re: [gentoo-user] Re: Issues with AMD_IOMMU "Taiidan@×××.com" <Taiidan@×××.com>