Date: Fri, 08 Dec 2000 10:06:53 -0800 From: Kent Stewart <kstewart@urx.com> To: Eckart Hofmann <bofh@muenster.de> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: /dev/mem and /dev/io permission problems with 4.2-STABLE and XFree86-4 Message-ID: <3A31233D.161A5F7D@urx.com> References: <200012081536.QAA20369@bbaer.muenster.de>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A31233D.161A5F7D>