RE: pciconf -lv - /dev/pci error

2003-12-31 Thread John Baldwin
On 31-Dec-2003 William Michael Grim wrote: Hey! I have 5.1-RELEASE installed on my system, and I've never needed to do a pciconf -lv to probe the system before. However, I tried doing it earlier today after logging in through SSH and doing su - to become superuser. I received this error:

RE: pciconf -lv - /dev/pci error

2003-12-31 Thread William Michael Grim
Good call; I do in fact have securelevel enabled. I would like to keep it enabled if possible. Is there any way to get to /dev/pci while in securelevel 2, or do I have to temporarily drop the securelevel through sysctl? Many thanks in advance. William Michael Grim Student, Southern Illinois

Re: pciconf -lv - /dev/pci error

2003-12-31 Thread Robert Watson
On Wed, 31 Dec 2003, William Michael Grim wrote: I have 5.1-RELEASE installed on my system, and I've never needed to do a pciconf -lv to probe the system before. However, I tried doing it earlier today after logging in through SSH and doing su - to become superuser. I received this error:

RE: pciconf -lv - /dev/pci error

2003-12-31 Thread John Baldwin
On 31-Dec-2003 William Michael Grim wrote: Good call; I do in fact have securelevel enabled. I would like to keep it enabled if possible. Is there any way to get to /dev/pci while in securelevel 2, or do I have to temporarily drop the securelevel through sysctl? Many thanks in advance.

Re: pciconf -lv - /dev/pci error

2003-12-31 Thread John Baldwin
On 31-Dec-2003 Robert Watson wrote: On Wed, 31 Dec 2003, William Michael Grim wrote: I have 5.1-RELEASE installed on my system, and I've never needed to do a pciconf -lv to probe the system before. However, I tried doing it earlier today after logging in through SSH and doing su - to

Re: pciconf -lv - /dev/pci error

2003-12-31 Thread Dimitry Andric
On 2003-12-31 at 19:01:06 Robert Watson wrote: superuser. I received this error: [EMAIL PROTECTED] 09:12:42 root]# pciconf -lv pciconf: /dev/pci: Operation not permitted pciconf -lv appears to cause pciconf to open /dev/pci writable: 731 pciconf CALL open(0x8049a55,0x2,0) 731

Re: pciconf -lv - /dev/pci error

2003-12-31 Thread Robert Watson
On Wed, 31 Dec 2003, John Baldwin wrote: History is in PR 32677. I do think your patch might be ok if it only applies to the -l case. If so, then it should probably be committed and MFC'd (along with the kernel pci_user.c change) so the PR can be closed. Well, this patch changes only the