Date: Fri, 10 Sep 2010 07:57:49 -0400 From: John Baldwin <jhb@freebsd.org> To: freebsd-stable@freebsd.org Cc: bsd@lordcow.org, perryh@pluto.rain.com Subject: Re: MSIX failure Message-ID: <201009100757.49777.jhb@freebsd.org> In-Reply-To: <4c89d653.UyUz1Sv9zPckJnig%perryh@pluto.rain.com> References: <AANLkTikvd09fw3fUhxsXDhMoWE-kvMoPjXPSTfzYY73T@mail.gmail.com> <20100909150012.GA27370@lordcow.org> <4c89d653.UyUz1Sv9zPckJnig%perryh@pluto.rain.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Friday, September 10, 2010 2:55:15 am perryh@pluto.rain.com wrote: > Gareth de Vaux <bsd@lordcow.org> 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. You have to have RDWR permission to issue the ioctl to read config registers which pciconf does when examining capabilities. -- John Baldwin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009100757.49777.jhb>