All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hans de Goede <hdegoede@redhat.com>
To: Chris Wilson <chris@chris-wilson.co.uk>,
	Felix Miata <mrmazda@earthlink.net>,
	intel-gfx@lists.freedesktop.org
Subject: Re: startx on Fedora died today
Date: Fri, 11 Jul 2014 10:43:09 +0200	[thread overview]
Message-ID: <53BFA39D.5070708@redhat.com> (raw)
In-Reply-To: <20140711062204.GS8986@nuc-i3427.alporthouse.com>

[-- Attachment #1: Type: text/plain, Size: 1139 bytes --]

Hi,

On 07/11/2014 08:22 AM, Chris Wilson wrote:
> On Thu, Jul 10, 2014 at 09:09:31PM -0400, Felix Miata wrote:
>> F21 branched off Rawhide over recent hours. On i945G host gx62b I
>> cloned first, then upgraded one to current F21 state and the other
>> to Rawhide. Before today's upgrade, which moved server from
>> 1.15.99.903 to 1.15.99.904 on both, and kernel from rc4git0.1 to
>> rc4git2.1, booting first to multi-user, startx was working normally.
>> Now it won't[1], though X (KDM/KDE) does work by booting to
>> graphical instead of multi-user[2].
>>
>> Is this an already known driver problem? Server? Kernel?
> 
> The difference being when it crashed it tried to open the logind fd. This
> is a server bug - it looks like the recent non-pci platform device
> conflicts with the systemd integration.

Yes, pretty literary conflicts, they re-used an existing
ODEV_ATTRIB id for a new one they used (probably an innocent rebase
error).

I've just send a fix to the xorg-devel list for this, and I'm starting
a new Fedora rawhide / F-21 server build with this fix included.

I've attached the fix here for reference.

Regards,

Hans

[-- Attachment #2: 0001-Fix-ODEV_ATTRIB_DRIVER-overlapping-with-ODEV_ATTRIB_.patch --]
[-- Type: text/x-patch, Size: 1163 bytes --]

>From 1f822291a3db6b5f6bd5f60ba240f2ee0cbdf683 Mon Sep 17 00:00:00 2001
From: Hans de Goede <hdegoede@redhat.com>
Date: Fri, 11 Jul 2014 09:49:13 +0200
Subject: [PATCH] Fix ODEV_ATTRIB_DRIVER overlapping with ODEV_ATTRIB_FD

Looks like the value of ODEV_ATTRIB_DRIVER was not updated when the patch
adding it got rebased on top of a newer server version.

This fixes the xserver crashing when systemd-logind integration is used.

https://bugzilla.redhat.com/show_bug.cgi?id=1118540

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
 include/hotplug.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/hotplug.h b/include/hotplug.h
index c4268a0..b2c0d78 100644
--- a/include/hotplug.h
+++ b/include/hotplug.h
@@ -88,7 +88,7 @@ config_odev_free_attributes(struct OdevAttributes *attribs);
 /* Minor number of the device node pointed to by ODEV_ATTRIB_PATH */
 #define ODEV_ATTRIB_MINOR 6
 /* kernel driver name */
-#define ODEV_ATTRIB_DRIVER 4
+#define ODEV_ATTRIB_DRIVER 7
 
 typedef void (*config_odev_probe_proc_ptr)(struct OdevAttributes *attribs);
 void config_odev_probe(config_odev_probe_proc_ptr probe_callback);
-- 
2.0.0


[-- Attachment #3: Type: text/plain, Size: 159 bytes --]

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

      parent reply	other threads:[~2014-07-11  8:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-11  1:09 startx on Fedora died today Felix Miata
2014-07-11  6:22 ` Chris Wilson
2014-07-11  8:30   ` Felix Miata
2014-07-11  8:43   ` Hans de Goede [this message]

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=53BFA39D.5070708@redhat.com \
    --to=hdegoede@redhat.com \
    --cc=chris@chris-wilson.co.uk \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=mrmazda@earthlink.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.