Bug 9468
Summary: | r8169, swiotlb, 4GB RAM, breakage | ||
---|---|---|---|
Product: | Drivers | Reporter: | Alistair Strachan (alistair) |
Component: | Network | Assignee: | Francois Romieu (romieu) |
Status: | CLOSED CODE_FIX | ||
Severity: | normal | CC: | bunk, chocolov33, romieu |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 2.6.24-rc3 | Subsystem: | |
Regression: | No | Bisected commit-id: | |
Attachments: | pci_unmap unbalance |
Description
Alistair Strachan
2007-11-28 13:43:47 UTC
No change with 2.6.25-rc5. Disabling the IOMMU still works around the problem (albeit at the loss of half my RAM). Still a problem with 2.6.26-rc2. Same here with 2.6.25-r4 ( gentoo-sources) but on the different system -AMD Phenom with 4GB RAM. Interesting things are: If I take out phenom 9850 and plug in X2 6000+, IOMMU error vanishes and system works perfectly normally - on Phenom workaround is to use smaller MTU. I had mtu 7200 which was pro9blematic, so I have lowered it. It seems that anything up to 3600 works fine for me, but I use 2048 just to be sure.... As I tried to explain in my original report, my problem is with the swiotlb support, NOT the AMD hardware IOMMU. My Intel chipset does not support any hardware IOMMU. Unless you're explicitly disabling GART IOMMU on AMD, I can't imagine your problem is the same as mine. Of course, it would be really interesting if it were. Do you see exactly the same messages? Could I see your dmesg? Other posters have mentioned the lower MTU, but I still have problems (packet loss, unreliability) even at 1500, it just won't crash the machine (but who knows, maybe it just takes 5-6 times longer to do so). Created attachment 17344 [details]
pci_unmap unbalance
Alistair, can you give the attached patch a try agaisnt 2.6.27-rc ?
--
Ueimor
Thanks a LOT. This patch seems to fix the issue completely and I'm running with my swiotlb once again in 2.6.27-rc3. Transferred >4GB data over the link with 7.2k frames, which is the most I've ever been able to do with the r8169 driver + Intel + 4GB RAM, no warnings to dmesg. I think you've plugged this particular leak. Well done! Tested-by: Alistair John Strachan <alistair@devzero.co.uk> fixed by commit a866bbf6aacf95f849810079442a20be118ce905 how would I use this patch for linux mint 11 x64? (In reply to comment #8) > how would I use this patch for linux mint 11 x64 ? Your distribution claims to be 2.6.38 based. If so the patch is already included in it. Please contact your distribution vendor. -- Ueimor |