MSIX failure
Jeremy Chadwick
freebsd at jdc.parodius.com
Thu Sep 9 14:02:27 UTC 2010
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 at parodius.com |
| Parodius Networking http://www.parodius.com/ |
| UNIX Systems Administrator Mountain View, CA, USA |
| Making life hard for others since 1977. PGP: 4BD6C0CB |
More information about the freebsd-stable
mailing list