Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755003Ab0KJKkI (ORCPT ); Wed, 10 Nov 2010 05:40:08 -0500 Received: from dallas.jonmasters.org ([72.29.103.172]:47922 "EHLO dallas.jonmasters.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753140Ab0KJKkG (ORCPT ); Wed, 10 Nov 2010 05:40:06 -0500 Subject: Re: PROBLEM: first read of /dev/mcelog fails From: Jon Masters To: andi@firstfloor.org Cc: Linux Kernel Mailing List In-Reply-To: <1289385151.3916.554.camel@constitution.bos.jonmasters.org> References: <1289385151.3916.554.camel@constitution.bos.jonmasters.org> Content-Type: text/plain; charset="UTF-8" Organization: World Organi[sz]ation of Broken Dreams Date: Wed, 10 Nov 2010 05:40:06 -0500 Message-ID: <1289385606.3916.555.camel@constitution.bos.jonmasters.org> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 (2.30.3-1.fc13) Content-Transfer-Encoding: 7bit X-SA-Do-Not-Run: Yes X-SA-Exim-Connect-IP: 74.92.29.237 X-SA-Exim-Mail-From: jonathan@jonmasters.org X-SA-Exim-Scanned: No (on dallas.jonmasters.org); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1010 Lines: 25 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/