Xorg crashed with SIGABRT in raise() [drm] failed to set drm interface version.

Bug #1115358 reported by Daniel Winzen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xorg-server (Ubuntu)
New
Undecided
Unassigned

Bug Description

After starting Ubuntu, a Message showed up, that I'm running in low graphics mode. In the console I realized that the /etc/X11/xorg.conf file was deleted, so I copied a backup and after restarting Ubuntu this Apport-bug came up.

[ 39.722] (EE) RADEON(0): [drm] failed to set drm interface version.
[ 39.722] (EE) RADEON(0): Kernel modesetting setup failed
[ 39.722] (II) UnloadModule: "radeon"
[ 39.722] (EE) Screen(s) found, but none have a usable configuration.

ProblemType: Crash
DistroRelease: Ubuntu 13.04
Package: xserver-xorg-core 2:1.13.2-0ubuntu1
ProcVersionSignature: Ubuntu 3.8.0-4.8-generic 3.8.0-rc6
Uname: Linux 3.8.0-4-generic x86_64
.tmp.unity.support.test.0:

ApportVersion: 2.8-0ubuntu4
Architecture: amd64
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: compiz
CurrentDmesg:
 [ 39.467095] tg3 0000:03:00.0 eth0: Link is up at 100 Mbps, full duplex
 [ 39.467104] tg3 0000:03:00.0 eth0: Flow control is on for TX and on for RX
 [ 39.467117] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
 [ 48.096376] init: plymouth-stop pre-start process (2199) terminated with status 1
Date: Mon Feb 4 16:20:19 2013
DistUpgraded: Fresh install
DistroCodename: raring
DistroVariant: ubuntu
ExecutablePath: /usr/bin/Xorg
ExtraDebuggingInterest: Yes
GraphicsCard:
 Advanced Micro Devices [AMD] nee ATI Madison [Radeon HD 5000M Series] [1002:68c1] (prog-if 00 [VGA controller])
   Subsystem: Acer Incorporated [ALI] Device [1025:0379]
InstallationDate: Installed on 2012-04-03 (306 days ago)
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120403)
MachineType: Packard Bell EasyNote LM85
MarkForUpload: True
ProcCmdline: /usr/bin/X :0 -core -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
ProcEnviron:

ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.8.0-4-generic root=UUID=0A320B17320B0781 loop=/hostname/disks/root.disk ro quiet splash vt.handoff=7
Signal: 6
SourcePackage: xorg-server
StacktraceTop:
 raise () from /lib/x86_64-linux-gnu/libc.so.6
 abort () from /lib/x86_64-linux-gnu/libc.so.6
 OsAbort ()
 ?? ()
 FatalError ()
Title: Xorg crashed with SIGABRT in raise()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

dmi.bios.date: 04/28/2011
dmi.bios.vendor: Phoenix Technologies LTD
dmi.bios.version: V1.26
dmi.board.asset.tag: No Asset Tag
dmi.board.name: SJV71_CP
dmi.board.vendor: Packard Bell
dmi.board.version: V1.26
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: Packard Bell
dmi.chassis.version: V1.26
dmi.modalias: dmi:bvnPhoenixTechnologiesLTD:bvrV1.26:bd04/28/2011:svnPackardBell:pnEasyNoteLM85:pvrV1.26:rvnPackardBell:rnSJV71_CP:rvrV1.26:cvnPackardBell:ct10:cvrV1.26:
dmi.product.name: EasyNote LM85
dmi.product.version: V1.26
dmi.sys.vendor: Packard Bell
version.compiz: compiz 1:0.9.9~daily13.02.04-0ubuntu1
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.41-0ubuntu1
version.libgl1-mesa-dri: libgl1-mesa-dri 9.0.2-0ubuntu1
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 9.0.2-0ubuntu1
version.xserver-xorg-core: xserver-xorg-core 2:1.13.2-0ubuntu1
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.7.3-0ubuntu2
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.1.0-0ubuntu1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.20.19-0ubuntu3
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.6-0ubuntu2
xserver.bootTime: Mon Feb 4 17:47:22 2013
xserver.configfile: /etc/X11/xorg.conf
xserver.errors:

xserver.logfile: /var/log/Xorg.0.log
xserver.outputs: Output HDMI-0 LVDS VGA-0
xserver.version: 2:1.13.2-0ubuntu1
xserver.video_driver: radeon

Revision history for this message
Daniel Winzen (q-d-deactivatedaccount) wrote :
information type: Private → Public
Bryce Harrington (bryce)
description: updated
Revision history for this message
Bryce Harrington (bryce) wrote :

From the core, the X server is terminating due to lack of the drm driver:

#3 0x00007fe9b9fcaf93 in AbortServer () at ../../os/log.c:655
No locals.
#4 0x00007fe9b9fcb80d in FatalError (f=f@entry=0x7fe9b9fcf1a2 "no screens found")
    at ../../os/log.c:793
        args = {{gp_offset = 8, fp_offset = 48, overflow_arg_area = 0x7fff16471300,
            reg_save_area = 0x7fff16471240}}
        args2 = {{gp_offset = 8, fp_offset = 48, overflow_arg_area = 0x7fff16471300,
            reg_save_area = 0x7fff16471240}}
        beenhere = 1
#5 0x00007fe9b9e5b952 in main (argc=9, argv=0x7fff16471448, envp=<optimized out>)
    at ../../dix/main.c:207
        i = <optimized out>
        alwaysCheckForInput = {0, 1}

Revision history for this message
Bryce Harrington (bryce) wrote :

From Xorg.0.log, X is started at [ 38.095] sec.

But from dmesg, it indicates drm is not initialized until 38.165:
[ 38.165478] [drm] Initialized radeon 2.29.0 20080528 for 0000:02:00.0 on minor 0

Then X fails due to not being able to see the drm it expects:

[ 39.722] (EE) RADEON(0): [drm] failed to set drm interface version.
[ 39.722] (EE) RADEON(0): Kernel modesetting setup failed
[ 39.722] (II) UnloadModule: "radeon"
[ 39.722] (EE) Screen(s) found, but none have a usable configuration.
[ 39.722]
Fatal server error:
[ 39.722] no screens found
[ 39.722] (EE)

I think this is another dupe of:
https://bugs.launchpad.net/ubuntu/+source/libdrm/+bug/982889

Revision history for this message
Bryce Harrington (bryce) wrote :

@Daniel, can you see if the workarounds I posted to bug #982889 work here too? If they do, that probably verifies this is indeed the same issue.

Changed in xorg-server (Ubuntu):
status: New → Incomplete
Revision history for this message
Daniel Winzen (q-d-deactivatedaccount) wrote :

I realized that the /etc/X11/xorg.conf file was deleted, so I just copied a backup and after restarting Ubuntu everything was working, but I tried restarting it before coping the config file, but this didn't work. I don't know why the xorg.conf was deleted, but after restoring it, it worked like a charm.

Revision history for this message
Bryce Harrington (bryce) wrote :

Perhaps xserver reading xorg.conf adds just enough delay to resolve the race condition. So my bet is that what's in your xorg.conf doesn't actually matter. Try putting a 1 sec sleep into your lightdm config as described in the above bug and remove your xorg.conf, and I bet it'll work then too.

Bryce Harrington (bryce)
summary: - Xorg crashed with SIGABRT in raise()
+ Xorg crashed with SIGABRT in raise() [drm] failed to set drm interface
+ version.
Revision history for this message
Daniel Winzen (q-d-deactivatedaccount) wrote :

Yes, deleting the xorg.conf file and adding sleep 10 to the /etc/init/lightdm.conf can also be used as a workaround.

Revision history for this message
Bryce Harrington (bryce) wrote :

Thanks, so that confirms it is the same issue.

Changed in xorg-server (Ubuntu):
status: Incomplete → New
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.