On Wed, Feb 20, 2013 at 02:18:25PM -0000, Tomas Vanderka wrote:
> I don't think the patch from #31 will fix this because X is really
> getting EACCESS (0xfffffff3) not EAGAIN as can be seen in #22

No it will; I don't check for EAGAIN specifically yet, but just a
non-zero return.  I want to make it check for specific error codes but
want to see what actually is coming through when the patch's code gets
hit.  I agree that while the kernel guys say it should be EAGAIN, the
data I've seen so far suggests a different error code (maybe EACCESS).
 
> I also think this is probably an issue in plymouth because plymouth is
> told to quit and release drm before X starts but it somehow does not
> allways do this in time. Maybe there should be "plymouth --wait quit"
> instead of "plymouth quit" in /etc/init/plymouth-stop.conf? I tried to
> find how exactly "plymouth quit" is handled (especially if the plymouth
> daemon really releases drm before that command returns) but I never got
> to the answer.

Well maybe, however we've seen people disable plymouth but still hit the
race condition.  My goal with this patch is to fix it on the X side so
it'll work in the general case of anything holding the drm device too
long.
 
> You can try to change the X patch in #31 to spin also on EACCESS (bad
> solution imho) or plymouth should be fixed to really release drm when
> told to quit.
> 
> And I also had this problem in Fedora, someone else reported it at
> https://bugzilla.redhat.com/show_bug.cgi?id=855677

Thanks.
 
> I reenabled plymouth-splash and will play a little with it again, but it
> happens randomly in maybe 1/10 reboots so it's not easy to hit.

Yeah, and it's possible there are several different failure modes
depending on how the race is run, each needing a separate fix.

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to libdrm in Ubuntu.
https://bugs.launchpad.net/bugs/982889

Title:
  X trying to start before plymouth has finished using the drm driver

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libdrm/+bug/982889/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to     : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp

Reply via email to