Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755634Ab0KTXoj (ORCPT ); Sat, 20 Nov 2010 18:44:39 -0500 Received: from mail-qw0-f46.google.com ([209.85.216.46]:54675 "EHLO mail-qw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755561Ab0KTXoh (ORCPT ); Sat, 20 Nov 2010 18:44:37 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=bjNYfLueHLsq+8qnjp5S8f1RTUUAhj4fIihl6uMktRW68qEZu46VlSAL/YJRWeHWu6 ZQ0L55kktmJqTNfiB0QGqLeXSrhIAvQVp/9pOqaxIG+hr6ogx6wytyj2ted+Qz5dnfJx YH4cfeaHHshlEqxUViYAQ6g/EGxUjmpr9oIeM= MIME-Version: 1.0 In-Reply-To: <4CE7CF95.2040608@teksavvy.com> References: <1290154233-28695-1-git-send-email-ying.huang@intel.com> <4CE7CF95.2040608@teksavvy.com> Date: Sun, 21 Nov 2010 07:44:36 +0800 Message-ID: Subject: Re: [PATCH 0/2] Generic hardware error reporting support From: huang ying To: Mark Lord Cc: Linus Torvalds , Huang Ying , Len Brown , linux-kernel@vger.kernel.org, Andi Kleen , linux-acpi@vger.kernel.org, Peter Zijlstra , Andrew Morton , Ingo Molnar , Mauro Carvalho Chehab , Borislav Petkov , Thomas Gleixner Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1445 Lines: 35 On Sat, Nov 20, 2010 at 9:39 PM, Mark Lord wrote: > On 10-11-20 02:11 AM, huang ying wrote: >> >> I think the BIOS error should be reported to hardware vendor instead >> of software vendor. Do you think so? > > If you (and the code) are absolutely certain that a particular error > instance > is totally due to the BIOS, then stick the words "BIOS ERROR" into the > printk(). > > Problem solved. > > And in the even that the diagnosis is wrong, the rest of us will still > have the complete picture of what happened from dmesg, rather than seeing > random kernel errors (from other code) happen later without knowing there > was some kind of BIOS or hardware fault that triggered it. > > Having them all in one place is rather useful. > And you can still configure rsyslogd to _also_ send the BIOS/hardware > errors to a separate destination, if that turns out to be useful. I have no objection to report hardware errror with printk too. But we need a user space hardware error daemon too, which needs a tool-oriented interface. Do you think printk is a good interface for tool to extract and parse error records? I think it is mainly human oriented. Best Regards, Huang Ying -- 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/