Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Nov 2004 11:26:11 -0500
From:      Louis LeBlanc <FreeBSD@keyslapper.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: MAC
Message-ID:  <20041114162611.GD98021@keyslapper.org>
In-Reply-To: <20041114132900.1da7af59@tobaccofarm.concepts.nl>
References:  <20041113191448.403523c0.pharmsen@horizon.nl> <20041113190320.GB90723@keyslapper.org> <20041114132900.1da7af59@tobaccofarm.concepts.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
I beg your pardon.  I completely misunderstood the whole point of the
problem.  Sorry, I was just a little excited over getting my own setup
going just recently :)

I don't know if it will help, but it looks to me like the memory
restrictions in your login.conf are giving problems with startx.

Try turning on the xdm in /etc/ttys.  If it's run as root, you can 
then log into X with the memory already allocated (by root).

Just a guess, since I've not gotten to the point of needing MAC yet, 
but I hope it helps.

Lou

On 11/14/04 01:29 PM, Peter Harmsen sat at the `puter and typed:
> I'm trying to implement a Mandatory Access Controll setup, just like
> the one in the example of the FreeBSD handbook:15.14 Implementing a
> Secure Environment with MAC".The graphics card setup itself is very
> straight forward and didn't cause any problem(s).When i run "startx"
> i get the following mesage:xf86Vidmem:Address  0xde601000 outside
> allowed range.
> This must be a configure / policy error.What keeps me busy is the
> spot where to change or add something in order to increase the
> allowable memory range which is clearly regulated to much for
> getting xfree86 to work.
> 
> kind regards,
> 
> Peter
> 
> 
> On Sat, 13 Nov 2004 14:03:20 -0500
> Louis LeBlanc <FreeBSD@keyslapper.org> wrote:
> 
> > On 11/13/04 07:14 PM, Peter Harmsen sat at the `puter and typed:
> > > I have added an additional login class (the insecure class from the
> > > FreeBSD handbook example) to "/etc/login.conf".In /boot/loader.conf
> > > i entered all the necesary modules that should be loaded according
> > > to the FreeBSD handbook.
> > > Allmost everything works execpt Xorg with nvidia driver installed.
> > > I get the following mesage when running startx: ' xf86Vidmem:Address
> > > 0xde601000 outside range '.Is something regulating or restricting
> > > the memory addresses, or should i add something to the example
> > > /etc/policy.contexts ?
> > 
> > 
> > I'm using Xorg with NVIDIA and I'm having no trouble at all.  Not to
> > say it was easy.
> > 
> > What's your Card config?
> > 
> > I doubt mine will apply directly to your setup, since I'm using a dual
> > head setup, but the card itself is configured as follows:
> > 
> > Section "Device"
> >         Identifier "NV AGP TwinView"
> >         VendorName  "nVidia Corporation"
> >         Driver "nvidia"
> >         # update this with the PCI id of your card.  Consult the output
> >         # of the 'lspci' command. The  BusID is usually optional when
> >         # only using one graphics card.
> >         BusID       "PCI:1:0:0"
> >         BoardName   "NV34 [GeForce FX 5200]"
> > 
> >         # sample twinview setup
> >         Option "TwinView"
> >         Option "SecondMonitorHorizSync" "31-80"
> >         Option "SecondMonitorVertRefresh"       "56-75"
> >         Option "TwinViewOrientation"    "RightOf"
> >         Option "MetaModes"      "1280x1024,1280x1024; 1024x768,1024x768"
> >         Option "ConnectedMonitor"       "crt,crt"
> > EndSection
> > 
> > It should be fairly easy to figure out which options are related to
> > the dual setup (all of the "Option" entries, actually).  Notice I
> > don't have any memory info defined.  The driver will detect that
> > automagically:
> > 
> > (--) NVIDIA(0): VideoRAM: 131072 kBytes
> > 
> > This is from /var/log/Xorg.0.log, and it indicates the available
> > memory was probed.
> > 
> > HTH & Good luck
> > Lou
> > -- 
> > Louis LeBlanc               FreeBSD@keyslapper.org
> > Fully Funded Hobbyist, KeySlapper Extrordinaire :)
> > http://www.keyslapper.org                     ԿԬ
> > 
> > Commitment, n.:
> >   [The difference between involvement and] Commitment can be
> >   illustrated by a breakfast of ham and eggs.  The chicken was
> >   involved, the pig was committed.
> > _______________________________________________
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
> 
> 

-- 
Louis LeBlanc               FreeBSD@keyslapper.org
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
http://www.keyslapper.org                     ԿԬ

Ginsburg's Law:
  At the precise moment you take off your shoe in a shoe store, your
  big toe will pop out of your sock to see what's going on.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041114162611.GD98021>