public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Frans Pop <elendil@planet.nl>
To: Dave Airlie <airlied@gmail.com>
Cc: dri-devel@lists.sourceforge.net,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	airlied@linux.ie
Subject: Re: DRM oops while starting second X.org session in chroot
Date: Sun, 15 Mar 2009 07:50:40 +0100	[thread overview]
Message-ID: <200903150750.41006.elendil@planet.nl> (raw)
In-Reply-To: <21d7e9970903141739td91f90sc7f8b2fd8ec06f49@mail.gmail.com>

On Sunday 15 March 2009, Dave Airlie wrote:
> On Sun, Mar 15, 2009 at 12:34 AM, Frans Pop <elendil@planet.nl> wrote:
> > I had the oops below today after I tried to start a second X.org
> > session in a chroot using 'startx -- :1'. I think the problem here is
> > that the driver was loaded, but that the corresponding device did not
> > exist in /dev in the chroot (forgot to bind mount it). If that is the
> > cause, it would be nice if it was handled more gracefully than this
> > :-P
>
> Its a bug in userspace we can't do anything about at this point,
>
> The problem is we attach some information to the device inode and if
> you starting using an alternate inode it screws up, I think Thomas had
> suggested ways aruond this.
> We could probably make it a WARN_ON and fail DRI setup. 

Yes, that's what I'd expect. At least not allow it to hang the primairy X 
session. I understand that you cannot magically make DRI work in this 
situation.

Note that I did start X.Org successfully in the chroot a bit earlier when 
I did have /dev/ bind mounted to /<mychroot>/dev/.

  reply	other threads:[~2009-03-15  6:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-14 14:34 DRM oops while starting second X.org session in chroot Frans Pop
2009-03-15  0:39 ` Dave Airlie
2009-03-15  6:50   ` Frans Pop [this message]
2009-03-19 17:31 ` Mariusz Kozlowski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200903150750.41006.elendil@planet.nl \
    --to=elendil@planet.nl \
    --cc=airlied@gmail.com \
    --cc=airlied@linux.ie \
    --cc=dri-devel@lists.sourceforge.net \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox