[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <7794bbcd-5d5a-4e81-87fd-68b0aa17a556@email.android.com>
Date: Mon, 11 Feb 2013 11:44:12 -0800
From: "H. Peter Anvin" <hpa@...or.com>
To: Borislav Petkov <bp@...en8.de>,
Dave Hansen <dave@...ux.vnet.ibm.com>
CC: linux-kernel@...r.kernel.org, linux-mm@...ck.org, mingo@...nel.org,
tglx@...utronix.de
Subject: Re: [PATCH 1/2] add helper for highmem checks
Oh, craptastic. X used to hash /dev/mem to get a random seed. It should have stopped that long ago, and used /dev/[u]random.
Borislav Petkov <bp@...en8.de> wrote:
>On Mon, Feb 11, 2013 at 09:32:41AM -0800, Dave Hansen wrote:
>> That's crazy. Didn't expect that at all.
>>
>> I guess X is happier getting an error than getting random pages back.
>
>Yeah, I think this is something special only this window manager wdm
>does. The line below has appeared repeatedly in the logs earlier:
>
>Feb 5 23:02:02 a1 wdm: Cannot read randomFile "/dev/mem", errno = 14
>
>This happens when wdm starts so I'm going to guess it uses it for
>something funny, "randomFile" it calls it??
>
>With the WARN_ON check added and booting 3.8-rc6, it would choke wdm
>somehow and it wouldn't start properly so that even the error out above
>doesn't happen. Oh well ...
>
>> I'm working on a set of patches now that should get it _working_
>> instead of just returning an error.
>
>Yeah, send them on and I'll run them.
>
>Thanks.
--
Sent from my mobile phone. Please excuse brevity and lack of formatting.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists