Date: Thu, 9 Sep 2010 07:02:24 -0700 From: Jeremy Chadwick <freebsd@jdc.parodius.com> To: Gareth de Vaux <bsd@lordcow.org> Cc: stable@freebsd.org Subject: Re: MSIX failure Message-ID: <20100909140224.GA76889@icarus.home.lan> In-Reply-To: <20100909132519.GB21535@lordcow.org> References: <20100906155350.GA50151@lordcow.org> <AANLkTinOxtfJ_BhJape3LDowynx1eOpOW7zCPTime%2BYi@mail.gmail.com> <AANLkTik1WUDxOR2g6TMDx1NrrniJr_qULMJxzVVe90Ur@mail.gmail.com> <AANLkTikdGGgpGhy4MJF_K-ttLvjQOBj%2BAb5r-a2uhJ_Y@mail.gmail.com> <20100908094050.GA73841@lordcow.org> <AANLkTikvd09fw3fUhxsXDhMoWE-kvMoPjXPSTfzYY73T@mail.gmail.com> <20100909125400.GA18723@lordcow.org> <20100909131340.GA75829@icarus.home.lan> <20100909132519.GB21535@lordcow.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Sep 09, 2010 at 03:25:19PM +0200, Gareth de Vaux wrote: > On Thu 2010-09-09 (06:13), Jeremy Chadwick wrote: > > Can you add the "-c" flag to your pciconf command? Thanks. > > Forbidden? > > # pciconf -lvc > pciconf: /dev/pci: Operation not permitted > # pciconf -lc > pciconf: /dev/pci: Operation not permitted > # ls -l /dev/pci > crw-r--r-- 1 root wheel 0, 9 Sep 9 11:55 /dev/pci You need to be root to use the -c flag. Despite your prompt, I don't think you're root. Reproduction: $ id uid=1000(jdc) gid=1000(users) groups=1000(users),0(wheel) $ pciconf -lv | wc -l 114 $ pciconf -lc pciconf: /dev/pci: Permission denied $ sudo -i box# id uid=0(root) gid=0(wheel) groups=0(wheel),5(operator) box# pciconf -lc | wc -l 73 -- | Jeremy Chadwick jdc@parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100909140224.GA76889>