From owner-freebsd-current@FreeBSD.ORG Wed May 9 22:11:35 2012 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 929F41065675; Wed, 9 May 2012 22:11:35 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from bigwig.baldwin.cx (bigknife-pt.tunnel.tserv9.chi1.ipv6.he.net [IPv6:2001:470:1f10:75::2]) by mx1.freebsd.org (Postfix) with ESMTP id 68DDE8FC16; Wed, 9 May 2012 22:11:35 +0000 (UTC) Received: from John-Baldwins-MacBook-Air.local (unknown [192.75.139.63]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 79F00B94F; Wed, 9 May 2012 18:11:34 -0400 (EDT) Message-ID: <4FAAEB95.8010605@FreeBSD.org> Date: Wed, 09 May 2012 18:11:33 -0400 From: John Baldwin User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 To: current@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Wed, 09 May 2012 18:11:34 -0400 (EDT) Cc: Neel Natu , Peter Grehan Subject: [PATCH] pciconf -e to list PCI errors X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 May 2012 22:11:35 -0000 So this is a bit hackish, but this patch provides a simple way to see if any PCI errors have occurred on a system. If we grew real AER support in the kernel we might want to then rip this out (which is why I hadn't posted this earlier). However, this might be useful as an intermediate step. http://www.FreeBSD.org/~jhb/patches/pciconf_e.patch -- John Baldwin