Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 254041 - After update to x11-libs/libdrm-2.4.3 X doesn't start anymore (blank screen with system freeze)
Summary: After update to x11-libs/libdrm-2.4.3 X doesn't start anymore (blank screen w...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-07 08:13 UTC by Tassilo Horn
Modified: 2009-01-08 22:18 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
The Xorg log file created by a unsuccessful startx (Xorg.0.log.old,10.57 KB, text/plain)
2009-01-07 08:15 UTC, Tassilo Horn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tassilo Horn 2009-01-07 08:13:36 UTC
After I updated to x11-libs/libdrm-2.4.3 yesterday X11 doesn't start anymore when started as user.  I get a blank screen with a underline cursor in the upper left part of my screen.  Then the system seems to hang.  I cannot switch to a console with Ctrl-Alt-Fx, nor do Ctrl-Alt-Backspace Ctrl-Alt-Delete work.

I have to halt using Magic SysRQ keys.

When I start X as root, it starts up fine, though.

I tried reinstalling x11-drm-20080710 and xf86-video-intel-2.5.1-r1 but the problem remained.

Switching back to libdrm-2.4.1 made X functional again.

The Xorg-log file shows no errors.  I'll attach it anyway.

Reproducible: Always




root@thinkpad> paludis --info                                                                           /var/log
paludis 0.32.4
Paludis build information:
    Compiler:
        CXX:                   x86_64-pc-linux-gnu-g++ 4.3.2
        CXXFLAGS:              -march=core2 -O2 -pipe
        LDFLAGS:               -Wl,-O1 -Wl,--as-needed
        DATE:                  2009-01-02T12:12:32+0100

    Libraries:
        C++ Library:           GNU libstdc++ 20080827

    Reduced Privs:
        reduced_uid:           108
        reduced_uid->name:     paludisbuild
        reduced_uid->dir:      /var/tmp/paludis
        reduced_gid:           1009
        reduced_gid->name:     paludisbuild

    Paths:
        DATADIR:               /usr/share
        LIBDIR:                /usr/lib64
        LIBEXECDIR:            /usr/libexec
        SYSCONFDIR:            /etc
        PYTHONINSTALLDIR:      
        RUBYINSTALLDIR:        /usr/lib64/ruby/site_ruby/1.8/x86_64-linux

Environment:
    Format:                    paludis
    Config dir:                /etc/paludis
    World file:                /var/db/pkg/world

Repository installed-virtuals:
    format:                    installed_virtuals
    root:                      /

Repository virtuals:
    format:                    virtuals

Repository gentoo:
    format:                    ebuild
    location:                  /usr/portage
    append_repository_name_to_write_cache: true
    binary_destination:        false
    binary_keywords:           
    binary_uri_prefix:         
    builddir:                  /var/tmp/paludis
    cache:                     /usr/portage/metadata/cache
    distdir:                   /usr/portage/distfiles
    eapi_when_unknown:         0
    eapi_when_unspecified:     0
    eclassdirs:                /usr/portage/eclass
    ignore_deprecated_profiles: false
    layout:                    traditional
    names_cache:               /usr/portage/.cache/names
    newsdir:                   /usr/portage/metadata/news
    profile_eapi_when_unspecified: 0
    profiles:                  /usr/portage/profiles/default/linux/amd64/2008.0/desktop
    securitydir:               /usr/portage/metadata/glsa
    setsdir:                   /usr/portage/sets
    sync:                      rsync://rsync.de.gentoo.org/gentoo-portage
    sync_options:              
    use_manifest:              use
    write_cache:               /var/cache/paludis/metadata

    Package information:
        app-admin/eselect-compiler: (none)
        app-shells/bash:       3.2_p48
        dev-java/java-config:  1.3.7-r1 2.1.6-r1
        dev-lang/python:       2.4.4-r6 2.5.2-r8
        dev-python/pycrypto:   2.0.1-r6
        dev-util/ccache:       (none)
        dev-util/cmake:        2.6.2-r1
        dev-util/confcache:    (none)
        sys-apps/baselayout:   2.0.0
        sys-apps/openrc:       0.4.1-r1
        sys-apps/sandbox:      1.3.2
        sys-devel/autoconf:    2.13 2.63
        sys-devel/automake:    1.10.2 1.5 1.7.9-r1 1.8.5-r3 1.9.6-r2
        sys-devel/binutils:    2.19
        sys-devel/gcc-config:  1.4.0-r4
        sys-devel/libtool:     2.2.6a
        virtual/os-headers:    2.6.28-r1 (for sys-kernel/linux-headers::installed)

Repository installed:
    format:                    vdb
    location:                  /var/db/pkg
    builddir:                  /var/tmp/paludis
    names_cache:               /var/db/pkg/.cache/names
    provides_cache:            /var/db/pkg/.cache/provides
    root:                      /

Repository Tassilos_Repo:
    format:                    ebuild
    location:                  /usr/local/overlays/private
    append_repository_name_to_write_cache: true
    binary_destination:        false
    binary_keywords:           
    binary_uri_prefix:         
    builddir:                  /var/tmp/paludis
    cache:                     /var/empty
    distdir:                   /usr/portage/distfiles
    eapi_when_unknown:         0
    eapi_when_unspecified:     0
    eclassdirs:                /usr/portage/eclass /usr/local/overlays/private/eclass
    ignore_deprecated_profiles: false
    layout:                    traditional
    master_repository:         gentoo
    names_cache:               /usr/local/overlays/private/.cache/names
    newsdir:                   /usr/local/overlays/private/metadata/news
    profile_eapi_when_unspecified: 0
    profiles:                  /usr/portage/profiles/default/linux/amd64/2008.0/desktop
    securitydir:               /usr/local/overlays/private/metadata/glsa
    setsdir:                   /usr/local/overlays/private/sets
    sync:                      
    sync_options:              
    use_manifest:              use
    write_cache:               /var/cache/paludis/metadata

Repository emacs:
    format:                    ebuild
    location:                  /var/paludis/repositories/emacs
    append_repository_name_to_write_cache: true
    binary_destination:        false
    binary_keywords:           
    binary_uri_prefix:         
    builddir:                  /var/tmp/paludis
    cache:                     /var/empty
    distdir:                   /usr/portage/distfiles
    eapi_when_unknown:         0
    eapi_when_unspecified:     0
    eclassdirs:                /usr/portage/eclass /var/paludis/repositories/emacs/eclass
    ignore_deprecated_profiles: false
    layout:                    traditional
    master_repository:         gentoo
    names_cache:               /var/paludis/repositories/emacs/.cache/names
    newsdir:                   /var/paludis/repositories/emacs/metadata/news
    profile_eapi_when_unspecified: 0
    profiles:                  /usr/portage/profiles/default/linux/amd64/2008.0/desktop
    securitydir:               /var/paludis/repositories/emacs/metadata/glsa
    setsdir:                   /var/paludis/repositories/emacs/sets
    sync:                      svn+http://overlays.gentoo.org/svn/proj/emacs/emacs-overlay
    sync_options:              
    use_manifest:              use
    write_cache:               /var/cache/paludis/metadata

Repository gentoo-lisp-overlay:
    format:                    ebuild
    location:                  /usr/local/overlays/gentoo-lisp-overlay
    append_repository_name_to_write_cache: true
    binary_destination:        false
    binary_keywords:           
    binary_uri_prefix:         
    builddir:                  /var/tmp/paludis
    cache:                     /var/empty
    distdir:                   /usr/portage/distfiles
    eapi_when_unknown:         0
    eapi_when_unspecified:     0
    eclassdirs:                /usr/portage/eclass /usr/local/overlays/gentoo-lisp-overlay/eclass
    ignore_deprecated_profiles: false
    layout:                    traditional
    master_repository:         gentoo
    names_cache:               /usr/local/overlays/gentoo-lisp-overlay/.cache/names
    newsdir:                   /usr/local/overlays/gentoo-lisp-overlay/metadata/news
    profile_eapi_when_unspecified: 0
    profiles:                  /usr/portage/profiles/default/linux/amd64/2008.0/desktop
    securitydir:               /usr/local/overlays/gentoo-lisp-overlay/metadata/glsa
    setsdir:                   /usr/local/overlays/gentoo-lisp-overlay/sets
    sync:                      git://repo.or.cz/gentoo-lisp-overlay.git
    sync_options:              
    use_manifest:              use
    write_cache:               /var/cache/paludis/metadata

No packages were specified on the command line, so detailed information is not
available (Paludis can display detailed information for both installed and
installable packages).
Comment 1 Tassilo Horn 2009-01-07 08:15:11 UTC
Created attachment 177650 [details]
The Xorg log file created by a unsuccessful startx
Comment 2 Edouard Gamin 2009-01-07 23:11:18 UTC
Got this. Seems to be the same issue. Using 2.4.1 makes X works again.
I have to mention that I did rebuild mesa xorg-server and xf86-video-ati as adviced, but it was useless.


Failed to load DMI info, X60 TV quirk not applied.

Backtrace:
0: X(xorg_backtrace+0x3b) [0x812bb6b]
1: X(xf86SigHandler+0x51) [0x80af6b1]
2: [0xffffe400]
3: /usr/lib/xorg/modules/drivers//intel_drv.so [0xb7b886f2]
4: /usr/lib/xorg/modules/drivers//intel_drv.so [0xb7b89f7d]
5: X(AddScreen+0x19f) [0x806e0df]
6: X(InitOutput+0x206) [0x80a5406]
7: X(main+0x279) [0x806e879]
8: /lib/libc.so.6(__libc_start_main+0xdc) [0xb7c996fc]
9: X [0x806de41]

Fatal server error:
Caught signal 11.  Server aborting
Comment 3 vltg0903 2009-01-08 09:02:10 UTC
Had the same problem. Re-building mesa, xorg and my graphics driver (xf86-video-intel) helped.
Comment 4 Rémi Cardona (RETIRED) gentoo-dev 2009-01-08 11:09:19 UTC
All of you please make sure you rebuild (in that order) :
 - mesa
 - xorg-server
 - all your video drivers (x11-drivers/xf86-video-*)

The ABI of libdrm changed and it *breaks* compatibility.

Thanks
Comment 5 Tassilo Horn 2009-01-08 19:16:26 UTC
I've recompiled mesa, xorg-server and xf86-video-intel, but still the screen blanks and the system seems to freeze after invoking startx as user.  Starting X as root still works as expected.

The output of startx when issued as user is as follows:

----
xauth:  creating new authority file /home/horn/.serverauth.2750

X.Org X Server 1.5.3
Release Date: 5 November 2008
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.28-gentoo x86_64 
Current Operating System: Linux thinkpad 2.6.28-gentoo #2 SMP PREEMPT Fri Jan 2 11:15:27 CET 2009 x86_64
Build Date: 08 January 2009  07:18:20PM
 
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Thu Jan  8 19:41:21 2009
(==) Using config file: "/etc/X11/xorg.conf"

giving up.

xinit:  Connection refused (errno 111):  unable to connect to X server

xinit:  No such process (errno 3):  Server error.
----
Comment 6 Rémi Cardona (RETIRED) gentoo-dev 2009-01-08 19:46:35 UTC
Could you please try unmerging x11-drm and build the i915 driver found in the kernel instead?

Thanks
Comment 7 Tassilo Horn 2009-01-08 21:26:37 UTC
Hi Rémi, now with the kernel drm (i915 from gentoo-sources-2.6.28) stuff it works.  Thanks a lot!
Comment 8 Rémi Cardona (RETIRED) gentoo-dev 2009-01-08 22:18:29 UTC
Thanks for the quick follow up. I'll close this bug fixed.

If anyone has any issues, please don't hesitate to open _new_ bugs.

Thanks :)