Re: PROBLEM: first read of /dev/mcelog fails

From: Jon Masters
Date: Wed Nov 10 2010 - 05:40:20 EST


On Wed, 2010-11-10 at 05:32 -0500, Jon Masters wrote:

> I recently took some time to look at the daemon side of mcelog. I found
> a few issues with that[0] that I will detail in a separate mail, but I
> am more concerned that in recent kernels, the first read() of the mcelog
> device performed by mcelog after boot always fails. 100% reproducible on
> several machines - mcelog client always bombs out in process() due to
> getting a "no such device" error from the kernel read attempt.
> The /dev/mcelog device exists, but the first read fails.
>
> Can you do a fresh boot, run mcelog, and see what I mean?

(most distros won't see this because they still run mcelog in a cron
script - as mentioned in your recent paper - and ignore the error)

Thanks,

Jon.


--
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/