From owner-freebsd-hackers@FreeBSD.ORG Wed Dec 31 09:41:43 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C71C816A4CE for ; Wed, 31 Dec 2003 09:41:43 -0800 (PST) Received: from mail.isg.siue.edu (mail.isg.siue.edu [146.163.5.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7349C43D41 for ; Wed, 31 Dec 2003 09:41:42 -0800 (PST) (envelope-from wgrim@cougar.isg.siue.edu) Received: from WEBSHIELD2.isg.siue.edu (webshield2.isg.siue.edu [146.163.5.150])id LAA24560 for ; Wed, 31 Dec 2003 11:41:28 -0600 (CST) Received: From cougar ([146.163.5.29]) by WEBSHIELD2.isg.siue.edu (WebShield SMTP v4.5 MR1a); id 1072892487441; Wed, 31 Dec 2003 11:41:27 -0600 Date: Wed, 31 Dec 2003 11:41:27 -0600 (CST) From: William Michael Grim To: John Baldwin In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: hackers@freebsd.org Subject: RE: pciconf -lv - /dev/pci error X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Dec 2003 17:41:43 -0000 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 University at Edwardsville Unix Network Administrator, SIUE, Computer Science dept. Phone: (217) 341-6552 Email: wgrim@siue.edu On Wed, 31 Dec 2003, John Baldwin wrote: > > 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: > > > > [root@snow 09:12:42 root]# pciconf -lv > > pciconf: /dev/pci: Operation not permitted > > > > [root@snow 09:15:41 root]# ls -l /dev/pci > > crw-r--r-- 1 root wheel 251, 0 Nov 2 05:09 /dev/pci > > > > So, as you can see, the permissions are correct. Perhaps I don't have > > something compiled into my kernel? I can attach a dmesg and kernel config > > if it's necessary. > > > > Thanks in advance. > > Do you have securelevel raised? > > -- > > John Baldwin <>< http://www.FreeBSD.org/~jhb/ > "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" >