Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 May 2011 14:38:40 -0700 (PDT)
From:      Doug Ambrisko <ambrisko@ambrisko.com>
To:        Alexander Leidinger <Alexander@leidinger.net>
Cc:        Pawel Jakub Dawidek <pjd@freebsd.org>, Arnaud Lacombe <lacombar@gmail.com>, "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>
Subject:   Re: NFS mount inside jail fails
Message-ID:  <201105192138.p4JLceuH053381@ambrisko.com>
In-Reply-To: <20110519231641.0000242f@unknown>

next in thread | previous in thread | raw e-mail | index | archive | help
Alexander Leidinger writes:
| On Thu, 19 May 2011 10:24:59 -0700 (PDT) Doug Ambrisko
| <ambrisko@ambrisko.com> wrote:
| 
| > doesn't have access to it anymore either.  Running an X server in a
| > vimage has some issues.  Most are pretty easy to over-come.
| 
| Are you using my patch
| (http://www.leidinger.net/FreeBSD/current-patches/0_jail.diff) + a
| custom devfs.rules to get the 2D part (the last time I tried the DRI
| part of my patch, it paniced the machine) of the X server working in a
| jail, or did you come up with something yourself? If it is the later, I
| would be interested how you did it.

Nope, didn't know about it when I played with it.  I should try it.
I added
	case PRIV_IO:
		return (0);

to kern_jail.c to get X to work.  This was with the Intel graphics.
The main problem I have now is on resume the X server dies and restarts.
I use xdm.  Without jail with vimage then it works okay.

My laptop can use either Intel or ATI graphics.  I just switched it to
ATI to see what happens.  I should try some more tests.  It seems
my BIOS likes to reset this setting and enable both :-(

I don't seem to have panics.  This is with a month or so old -current.

Doug A.



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