Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 108909 - x86_64 pageattr flush bug
Summary: x86_64 pageattr flush bug
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Daniel Drake (RETIRED)
URL: http://www.kernel.org/git/gitweb.cgi?...
Whiteboard:
Keywords:
: 109303 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-10-11 11:51 UTC by Volker Hemmann
Modified: 2005-10-26 03:11 UTC (History)
4 users (show)

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


Attachments
patch vor 7174 driver on AMD64 (NVIDIA_kernel-1.0-7174-1386866.diff.txt,2.43 KB, patch)
2005-10-11 11:52 UTC, Volker Hemmann
Details | Diff
patch for 7676 driver on AMD64 (NVIDIA_kernel-1.0-7676-1386866.diff.txt,2.43 KB, patch)
2005-10-11 11:52 UTC, Volker Hemmann
Details | Diff
fix against kernel 2.6.13-gentoo-r3 (amd64_fix_change_page_attr_cache_flushing.diff,418 bytes, patch)
2005-10-11 15:43 UTC, Andreas Arens
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Volker Hemmann 2005-10-11 11:51:16 UTC
Hi,  
  
today a new patch for the 7174 and 7676 kernel-drivers was posted by zander on the nvnews  
forum. 
He wrote, that this is an important update: 
http://www.nvnews.net/vbulletin/showthread.php?t=57990 

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Volker Hemmann 2005-10-11 11:52:01 UTC
Created attachment 70390 [details, diff]
patch vor 7174 driver on AMD64
Comment 2 Volker Hemmann 2005-10-11 11:52:49 UTC
Created attachment 70391 [details, diff]
patch for 7676 driver on AMD64
Comment 3 Andreas Arens 2005-10-11 15:42:23 UTC
This in reality is a 2.6 kernel bug. I suggest using the fix which is already 
in 2.6.14-rc4 from Andi Kleen / Terence Ripperda instead. 
 
Original comment: 
Undo wrong change in global_flush_tlb. We need to flush the caches in all 
cases, not just when pages were reverted. This was a bogus optimization added 
earlier, but it was wrong. 
 
I'll attach a patch against 2.6.13-gentoo-r3 (which I currently use). 
 
Comment 4 Andreas Arens 2005-10-11 15:43:45 UTC
Created attachment 70422 [details, diff]
fix against kernel 2.6.13-gentoo-r3
Comment 5 Volker Hemmann 2005-10-11 16:13:19 UTC
Hi, 
 
not everybody using the 7174/7676 drivers also uses the latest (gentoo)-kernels. 
 
IMHO it would be better to add the patches to the nvidia-kernel.ebuilds to cover that users 
too. 
 
but I am just a user, so don't listen ;) 
Comment 6 Simon Stelling (RETIRED) gentoo-dev 2005-10-12 01:18:32 UTC
i disagree, the error should always get fixed at its root. rather fix
gentoo-sources and let nvidia-kernel depend on a version that is fixed
Comment 7 Daniel Gryniewicz (RETIRED) gentoo-dev 2005-10-14 13:57:21 UTC
*** Bug 109303 has been marked as a duplicate of this bug. ***
Comment 8 Daniel Drake (RETIRED) gentoo-dev 2005-10-26 03:11:31 UTC
Fixed in gentoo-sources-2.6.13-r5