Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 459780 - sys-kernel/vanilla-sources-3.8 - DMA: Out of SW-IOMMU space for xxxxx bytes at device xxxx:xx:xx.x
Summary: sys-kernel/vanilla-sources-3.8 - DMA: Out of SW-IOMMU space for xxxxx bytes a...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard: linux-bugzilla-pending
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-28 19:55 UTC by RedEyedMan
Modified: 2013-04-03 15:28 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
dmesg of failing system (dmesg.log,120.35 KB, text/plain)
2013-02-28 19:55 UTC, RedEyedMan
Details
hdd1.log (smarthdd1.log,4.68 KB, text/plain)
2013-02-28 20:00 UTC, RedEyedMan
Details
hdd2.log (smarthdd2.log,5.00 KB, text/plain)
2013-02-28 20:00 UTC, RedEyedMan
Details
hdd3.log (smarthdd3.log,4.45 KB, text/plain)
2013-02-28 20:01 UTC, RedEyedMan
Details
kernel config used for 3.8 and 3.6.11 (kernel-config,127.89 KB, text/plain)
2013-02-28 20:02 UTC, RedEyedMan
Details
dmidecode (dmidecode.log,9.46 KB, text/plain)
2013-02-28 20:03 UTC, RedEyedMan
Details
emerge --info (emerge-info.log,3.97 KB, text/plain)
2013-02-28 20:06 UTC, RedEyedMan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description RedEyedMan 2013-02-28 19:55:58 UTC
Created attachment 340548 [details]
dmesg of failing system

I just tried 3.8 kernel because in often cases official gentoo-sources annoying for me with soft resetting link on all my drives. But it is not helps for me =\


I've add now:

* dmesg output

* hdd's smart

* kernel-config

* emerge --info

* and dmidecode's output
Comment 1 RedEyedMan 2013-02-28 20:00:21 UTC
Created attachment 340550 [details]
hdd1.log
Comment 2 RedEyedMan 2013-02-28 20:00:46 UTC
Created attachment 340552 [details]
hdd2.log
Comment 3 RedEyedMan 2013-02-28 20:01:17 UTC
Created attachment 340554 [details]
hdd3.log
Comment 4 RedEyedMan 2013-02-28 20:02:13 UTC
Created attachment 340556 [details]
kernel config used for 3.8 and 3.6.11
Comment 5 RedEyedMan 2013-02-28 20:03:47 UTC
Created attachment 340560 [details]
dmidecode
Comment 6 RedEyedMan 2013-02-28 20:06:12 UTC
Created attachment 340562 [details]
emerge --info
Comment 7 RedEyedMan 2013-02-28 20:14:24 UTC
It happen very randomly, I already changed one of my drives, I changed sata cables and even power supply.

I don't know what it happen only on gentoo system, and I never seen that weird cases on another distros, like debian, ubuntu or opensuse =\ 

Someone confirmed that my motherboard have issue or I so loser ?

Latest bios firmware so old, it is from 2008.
Comment 8 RedEyedMan 2013-03-01 17:44:15 UTC
Now I downgraded to 3.6.11 and  it seems everything are look fine. I don't know why...
Comment 9 Arisu Tachibana Gentoo Infrastructure gentoo-dev 2013-04-03 15:11:39 UTC
/*
* Ran out of IOMMU space for this operation. This is very bad.
* Unfortunately the drivers cannot handle this operation properly.
* unless they check for dma_mapping_error (most don't)
* When the mapping is small enough return a static buffer to limit
* the damage, or panic when the transfer is too big.
*/

https://github.com/torvalds/linux/blob/2ef14f465b9e096531343f5b734cffc5f759f4a6/lib/swiotlb.c#L673

and the drives as seen in SMART is old


Please report the problem at http://bugzilla.kernel.org and write the link to the upstream bug.