From owner-freebsd-questions Fri Dec 8 10: 7: 4 2000 From owner-freebsd-questions@FreeBSD.ORG Fri Dec 8 10:07:02 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from 2711.dynacom.net (2711.dynacom.net [206.107.213.3]) by hub.freebsd.org (Postfix) with ESMTP id A9E9C37B400 for ; Fri, 8 Dec 2000 10:07:01 -0800 (PST) Received: from urx.com (dsl1-160.dynacom.net [206.159.132.160]) by 2711.dynacom.net (Build 101 8.9.3/NT-8.9.3) with ESMTP id KAA00158; Fri, 08 Dec 2000 10:06:53 -0800 Message-ID: <3A31233D.161A5F7D@urx.com> Date: Fri, 08 Dec 2000 10:06:53 -0800 From: Kent Stewart Reply-To: kstewart@urx.com Organization: Dynacom X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Eckart Hofmann Cc: freebsd-questions@FreeBSD.ORG Subject: Re: /dev/mem and /dev/io permission problems with 4.2-STABLE and XFree86-4 References: <200012081536.QAA20369@bbaer.muenster.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Eckart Hofmann wrote: > > Hi, > > I have got a 4.2-STABLE box, cvsup'ed the last time 3 hours ago the > whole world and the ports collection. After building the world and the > kernel, "make KERNEL=MYKERNEL installkernel" (in multiuser mode, but I > am the one and only user at this time) fails with an "operation not > permitted" error executing "chflags noschg /kernel" as root. > Rebooting in single user mode, make installkernel, reboot to single user, > make installworld, mergemaster works fine. > After this I rebooted again (into multiuser), built the latest XFree86-4, > but can't get it to work. Sounds like you are trying to do forbidden tasks because of your security level. Kent > xf86cfg fails because a fatal X server error occurs: > > (WW) checkDevMem: failed to open "/dev/mem" (Operation not permitted) > [...] > Fatal server error: > xf86EnableIO: Failed to open /dev/io for extended I/O > > (I started xf86cfg as root) > The manpages for io(4) and mem(4) didn't give me a hint what happened, > the search on deja.com and freebsd-(stable|questions) was unsuccessful. > Running xf86cfg or startx within truss also didn't show some helpful > output. > > Another problem in the same category (I think): > I tried to copy a file with "mcopy foo a:" (as root) and got > Can't open /dev/rfd0: Operation not permitted. > > All 3 device files (/dev/io, /dev/mem, /dev/rfd0) are read-writable for > root. > > Any hints appreciated. > > Regards, > Eckart > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- Kent Stewart Richland, WA mailto:kbstew99@hotmail.com http://kstewart.urx.com/kstewart/index.html FreeBSD News http://daily.daemonnews.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message