From owner-freebsd-questions Tue Sep 25 0:45:33 2001 Delivered-To: freebsd-questions@freebsd.org Received: from malkavian.org (malkavian.org [206.136.132.23]) by hub.freebsd.org (Postfix) with ESMTP id C8FBC37B40B for ; Tue, 25 Sep 2001 00:45:29 -0700 (PDT) Received: (from rbw@localhost) by malkavian.org (8.11.6/8.11.1) id f8P7jNO35188 for freebsd-questions@FreeBSD.ORG; Tue, 25 Sep 2001 03:45:23 -0400 (EDT) (envelope-from rbw@myplace.org) Date: Tue, 25 Sep 2001 00:45:23 -0700 From: "brian j. peterson" To: freebsd-questions@FreeBSD.ORG Subject: Re: top(1) and/or /dev/mem problems in 4.4-RELEASE? Message-ID: <20010925004523.B74245@malkavian.org> Mail-Followup-To: freebsd-questions@FreeBSD.ORG References: <20010924233446.Z74245@malkavian.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010924233446.Z74245@malkavian.org>; from rbw@myplace.org on Mon, Sep 24, 2001 at 11:34:46PM -0700 X-URL: http://rbw.myplace.org/ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG well, it looks like i'm really not insane... http://docs.freebsd.org/cgi/getmsg.cgi?fetch=21930+0+current/freebsd-alpha for the record, i did have my securelevel raised to 2; rebooting with the "kern_securelevel*" lines commented out in rc.conf solved the problem. thanks, bright! -brian On Mon, Sep 24, 2001 at 11:34:46PM -0700, brian j. peterson wrote: > since upgrading to 4.4-R, i have not been able to run top(1). the helpful > folks on EFnet #FreeBSDhelp asked me a few questions, but were unable to > solve my problem, so now i turn to the mailing lists... > > top(1) worked earlier this morning when i was still at 4.3-RELEASE-p17, > but now... > > # top > kvm_open: /dev/mem: Operation not permitted > # > > because this info might be helpful in solving the problem... > > # id > uid=0(root) gid=0(wheel) groups=0(wheel), 2(kmem), 3(sys), 4(tty), 5(operator), 20(staff), 31(guest) > # uname -a > FreeBSD nikita 4.4-RELEASE FreeBSD 4.4-RELEASE #3: Mon Sep 24 11:21:02 MST 2001 root@nikita:/usr/obj/usr/src/sys/HARLOT alpha > # ls -al /usr/bin/top > -r-xr-sr-x 1 root kmem 52416 Sep 24 09:19 /usr/bin/top > # ls -al /dev/mem > crw-r----- 1 root kmem 2, 0 Sep 24 09:42 /dev/mem > # ls -al /dev/kmem > crw-r----- 1 root kmem 2, 1 Sep 24 09:42 /dev/kmem > # > > any guesses as to what caused this or what i can do to fix it? if any > more info is needed, please let me know. > > thanks, > brian > > > -- > --===-----=======-----------=============-----------------=================== > rbw aka bjp | and did you exchange a walk on part in the war > rbw@myplace.org | for a lead role in a cage? > ===================-----------------=============-----------=======-----===-- > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- --===-----=======-----------=============-----------------=================== rbw aka bjp | and did you exchange a walk on part in the war rbw@myplace.org | for a lead role in a cage? ===================-----------------=============-----------=======-----===-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message