From owner-freebsd-stable@FreeBSD.ORG Fri Sep 10 07:10:50 2010 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F27AF1065675 for ; Fri, 10 Sep 2010 07:10:50 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (agora.rdrop.com [IPv6:2607:f678:1010::34]) by mx1.freebsd.org (Postfix) with ESMTP id CBF698FC17 for ; Fri, 10 Sep 2010 07:10:50 +0000 (UTC) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id o8A7AnpX040718 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 10 Sep 2010 00:10:49 -0700 (PDT) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.12.9/Submit) with UUCP id o8A7An6r040717; Fri, 10 Sep 2010 00:10:49 -0700 (PDT) Received: from fbsd61 by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA12100; Fri, 10 Sep 10 00:06:21 PDT Date: Thu, 09 Sep 2010 23:55:15 -0700 From: perryh@pluto.rain.com To: bsd@lordcow.org Message-Id: <4c89d653.UyUz1Sv9zPckJnig%perryh@pluto.rain.com> References: <20100909125400.GA18723@lordcow.org> <20100909131340.GA75829@icarus.home.lan> <20100909132519.GB21535@lordcow.org> <20100909140224.GA76889@icarus.home.lan> <20100909142226.GA25370@lordcow.org> <20100909142455.GA77677@icarus.home.lan> <20100909142928.GA25877@lordcow.org> <20100909143357.GG34314@home.opsec.eu> <20100909145457.GH34314@home.opsec.eu> <20100909150012.GA27370@lordcow.org> In-Reply-To: <20100909150012.GA27370@lordcow.org> User-Agent: nail 11.25 7/29/05 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: stable@freebsd.org Subject: Re: MSIX failure X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Sep 2010 07:10:51 -0000 Gareth de Vaux wrote: > On Thu 2010-09-09 (16:54), Kurt Jaeger wrote: > > -c asks for pci device capabilities, which are read in > > > > /usr/src/usr.sbin/pciconf/pciconf.c:177 with O_RDWR > > Ah. I'll have to schedule a reboot then .. or hack on pciconf.c to not request more permission than it needs. It is arguably a bug to open O_RDWR when only examining things.