lkml.org 
[lkml]   [2005]   [Nov]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: PageReserved removal woes: vbetool, suspend-to-ram breakage
On Tue, 22 Nov 2005, Matthew Garrett wrote:
> Dominik Brodowski <linux@dominikbrodowski.net> wrote:
>
> > Just wanted to let you know that the warning introduced in
> > [PATCH] core remove PageReserved
>
> It's not much of a warning, it seems to stop vbetool from working (which
> may explain a few complaints about ACPI suspend being broken in 2.6.15 -
> it's not, but vbetool is...)
>
> vbetool (well, strictly it's LRMI, but...) needs to access real-mode
> memory. On the other hand, it's probably a bad idea to let it actually
> scribble over RAM that the kernel may be using. So
> MAP_PRIVATE|PROT_WRITE seems to be the correct thing to do. This
> certainly /seemed/ to work in older kernels, but doesn't any more. What
> should I be doing instead?
>
> (I'm also not quite sure why the error claims that it's deprecated,
> whereas in fact it doesn't actually work at all. Breaking userspace
> without warning isn't terribly nice)

Sorry about that, we really didn't expect that it was being used.
And sorry I didn't get the fixes ready in time for 2.6.15-rc2.
But they've gone into Linus' git tree a couple of hours ago.
Please let me know if tomorrow's 2.6.15-rc2-git3 does not work for you.

Hugh
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-11-22 20:54    [W:0.030 / U:1.916 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site