Re: [Bug 10732] REGRESSION: 2.6.26-rc2-git4: X server failed startonX61s laptop
From: Gabriel C
Date: Sat May 17 2008 - 14:33:17 EST
Keith Packard wrote:
> On Sat, 2008-05-17 at 09:02 -0700, Pallipadi, Venkatesh wrote:
>
>> I am thinking that may be X is depending on mprotect changes somehow and
>> failing when
>> it cannot change PAT attributes with mprotect call. Keith earlier
>> mentioned that X
>> will not depend on this. May be something to do with earlier X version.
>> Keith?
>
> It looks like we can turn off read/write access, but we can't turn it
> back on. So,
>
> mprotect (map->memory, map->size, PROT_NONE);
> mprotect (map->memory, map->size, PROT_READ|PROT_WRITE);
>
> leaves the memory with no access.
>
> Eric saw this last week; I don't know whether he debugged into it
> further.
>
> Which repository is commit 1c12c4cf in?
It is in linus-git tree , http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=1c12c4cf9411eb130b245fa8d0fbbaf989477c7b
--
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/