The "Out of IOMMU space" error and the "Please enable the IOMMU option" option



Occasionally, we get errors like these:

Jun 9 00:56:35 [kernel] [18020.416620] PCI-DMA: Out of IOMMU space for 12288 bytes at device 0000:03:01.0

and it looks like it might have something to do with these messages (after updating and setting BIOS as below):

Jun 15 16:38:54 [kernel] [ 0.000000] Checking aperture...
Jun 15 16:38:54 [kernel] [ 0.000000] CPU 0: aperture @ 0 size 256 MB
Jun 15 16:38:54 [kernel] [ 0.000000] No AGP bridge found
Jun 15 16:38:54 [kernel] [ 0.000000] Your BIOS doesn't leave a aperture memory hole
Jun 15 16:38:54 [kernel] [ 0.000000] Please enable the IOMMU option in the BIOS setup
Jun 15 16:38:54 [kernel] [ 0.000000] This costs you 64 MB of RAM
Jun 15 16:38:54 [kernel] [ 0.000000] Mapping aperture over 65536 KB of RAM @ 8000000

The box is a dual Opteron 250 with an Arima HDAMA Rev. D motherboard.

The updated BIOS options are (with * for current setting)
MTRR mapping method [Continuous, Discrete*]
Memhole mapping [Software, Hardware*]
4 GB memory hole adjust [Disabled, Manual, Auto*]
4 GB memory hole size [128 MB]
IOMMU [Disabled, Enabled*]
Size [multiple sizes, 256 MB*]

Initially, I was booting kernel 2.6.16.1 with iommu=merge, but the above message still occur when I booted without any iommu kernel parameters.

First, am I correct to assume that I'm not getting the 256 MB?

Second, is the the case the BIOS is lying?

Third, what could be a workaround to get enough memory for the PCI card that causes the out of space error (3Ware 8506)?
--

Maurice Volaski, mvolaski@xxxxxxxxxxxx
Computing Support, Rose F. Kennedy Center
Albert Einstein College of Medicine of Yeshiva University
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: Which ASUS mobos support memory hole remap?
    ... the first thing you need is a chipset and processor that support memory hole remapping; the "memory hole" being that invisible region occupied by devices. ... Even with supporting chipset and processor, the BIOS has to provide the option to turn the feature on. ...
    (alt.comp.periphs.mainboard.asus)
  • Re: ACPI BIOS Errors
    ... Not all boards have the memory hole option, some boards automatically shift the addresses without needing user intervention. ... If you did "play" with the BIOS options perhaps you should set the BIOS back to its default settings. ... Being that the board is populated with a full 4GB of RAM and that you are using a Windows 32-bit client operating system you must open a hole for the hardware devices in the lower 4GB arena and allow the BIOS to shift some of the RAM addresses above the 4GB barrier. ...
    (microsoft.public.windowsxp.general)
  • Re: AMD 64x2 4400+ 4G ram apprears only 2G on XP SP2
    ... Sorry it seems that the forum link never ... > I emailed the main support, and also the European site last night. ... > that the BIOS default is for 64 bit processor and 64 bit O/S and that you ... When I installed the BIOS, and disabled the memory hole, XP now ...
    (microsoft.public.windowsxp.general)
  • Re: Asus A8N32-SLI (bios 0903) reports: 2288 MB out of 4096 MB usuable ? (Skybucks Dream PC 2006
    ... It says to enable the memory hole. ... However my soundblaster x-fi elite pro is now causing random sound ... I should have not update the bios and first tried this memory hole ... Bios 1103 causing sound problems with X-Fi Elite Pro soundcard ...
    (alt.comp.periphs.mainboard.asus)

Loading