Bug 64801

Summary: KMS/R7xx - [drm:radeon_cs_ioctl] *ERROR* Failed to parse relocation -12!
Product: DRI Reporter: Philip Prindeville <philipp>
Component: DRM/RadeonAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED MOVED QA Contact:
Severity: major    
Priority: medium CC: aaannz, airlied, gmsoft, marti, philipp
Version: DRI git   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Xorg.2.log from builder
none
Output from journalctl -a --no-pager
none
dmesg output none

Description Philip Prindeville 2013-05-20 22:32:47 UTC
Seeing the following messages:

May 20 14:33:38 localhost kernel: [54888.741448] [drm:radeon_cs_ioctl] *ERROR* Failed to parse relocation -12!
May 20 14:33:41 localhost kernel: [54892.092777] [drm:radeon_cs_ioctl] *ERROR* Failed to parse relocation -12!
May 20 14:34:27 localhost kernel: [54938.076676] [drm:radeon_cs_ioctl] *ERROR* Failed to parse relocation -12!
May 20 14:34:30 localhost kernel: [54941.414370] [drm:radeon_cs_ioctl] *ERROR* Failed to parse relocation -12!
May 20 14:34:55 localhost kernel: [54966.214018] [drm:radeon_cs_ioctl] *ERROR* Failed to parse relocation -12!

this is using the following kernel and drivers:

kernel-3.9.2-200.fc18.x86_64
xorg-x11-drivers-7.4-9.fc18.x86_64
xorg-x11-server-common-1.13.3-3.fc18.x86_64
xorg-x11-server-utils-7.5-16.fc18.x86_64
xorg-x11-server-Xephyr-1.13.3-3.fc18.x86_64
xorg-x11-server-Xorg-1.13.3-3.fc18.x86_64
xorg-x11-server-Xvfb-1.13.3-3.fc18.x86_64
xorg-x11-utils-7.5-7.fc18.x86_64
xorg-x11-drv-ati-7.0.0-0.9.20121015gitbd9e2c064.fc18.x86_64

The problem seems to happen when GDM is started and I log in, but before any apps have been started.

The hardware is:

02:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI RV710 [Radeon HD 4350] (prog-if 00 [VGA controller])
	Subsystem: Hightech Information System Ltd. Device 2008
	Flags: bus master, fast devsel, latency 0, IRQ 43
	Memory at d0000000 (64-bit, prefetchable) [size=256M]
	Memory at fbdf0000 (64-bit, non-prefetchable) [size=64K]
	I/O ports at c000 [size=256]
	Expansion ROM at fbdc0000 [disabled] [size=128K]
	Capabilities: [50] Power Management version 3
	Capabilities: [58] Express Legacy Endpoint, MSI 00
	Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
	Kernel driver in use: radeon

and I'm using a Dell U2412M and an IOGear GCS1764 KVM (which doesn't support EDID despite being relatively recent).
Comment 1 Alex Deucher 2013-05-20 22:35:19 UTC
Please attach your xorg log and dmesg output.
Comment 2 Philip Prindeville 2013-05-20 22:46:55 UTC
Created attachment 79593 [details]
Xorg.2.log from builder
Comment 3 Philip Prindeville 2013-05-20 22:51:45 UTC
Created attachment 79594 [details]
Output from journalctl -a --no-pager
Comment 4 Philip Prindeville 2013-05-22 20:40:42 UTC
Do I need to add anything else?
Comment 5 Philip Prindeville 2013-05-23 00:00:53 UTC
And this might be unrelated, but when I swapped out DVI cables this apparently hosed my X server and I got:


May 19 11:01:01 builder NetworkManager[587]: <warn> error requesting auth for org.freedesktop.NetworkManager.wifi.share.protected: (3) GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of name ':1.71': no such name
May 19 11:01:01 builder NetworkManager[587]: <warn> error requesting auth for org.freedesktop.NetworkManager.wifi.share.open: (3) GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of name ':1.71': no such name
May 19 11:01:01 builder NetworkManager[587]: <warn> error requesting auth for org.freedesktop.NetworkManager.wifi.share.protected: (3) GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of name ':1.71': no such name
May 19 11:01:01 builder NetworkManager[587]: <warn> error requesting auth for org.freedesktop.NetworkManager.wifi.share.open: (3) GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of name ':1.71': no such name
May 19 11:01:01 builder NetworkManager[587]: <warn> error requesting auth for org.freedesktop.NetworkManager.wifi.share.protected: (3) GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of name ':1.71': no such name
May 19 11:01:01 builder NetworkManager[587]: <warn> error requesting auth for org.freedesktop.NetworkManager.wifi.share.open: (3) GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of name ':1.71': no such name
May 20 11:01:01 localhost NetworkManager[527]: <warn> error requesting auth for org.freedesktop.NetworkManager.wifi.share.protected: (3) GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of name ':1.64': no such name
May 20 11:01:01 localhost NetworkManager[527]: <warn> error requesting auth for org.freedesktop.NetworkManager.wifi.share.open: (3) GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of name ':1.64': no such name
May 20 11:01:01 localhost NetworkManager[527]: <warn> error requesting auth for org.freedesktop.NetworkManager.wifi.share.protected: (3) GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of name ':1.64': no such name
May 20 11:01:01 localhost NetworkManager[527]: <warn> error requesting auth for org.freedesktop.NetworkManager.wifi.share.open: (3) GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of name ':1.64': no such name
May 20 11:01:02 localhost NetworkManager[527]: <warn> error requesting auth for org.freedesktop.NetworkManager.wifi.share.protected: (3) GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of name ':1.64': no such name
May 20 11:01:02 localhost NetworkManager[527]: <warn> error requesting auth for org.freedesktop.NetworkManager.wifi.share.open: (3) GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of name ':1.64': no such name
May 20 11:01:02 localhost NetworkManager[527]: <warn> error requesting auth for org.freedesktop.NetworkManager.wifi.share.protected: (3) GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of name ':1.64': no such name
May 20 11:01:02 localhost NetworkManager[527]: <warn> error requesting auth for org.freedesktop.NetworkManager.wifi.share.open: (3) GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of name ':1.64': no such name
May 21 11:01:01 localhost NetworkManager[527]: <warn> error requesting auth for org.freedesktop.NetworkManager.wifi.share.protected: (3) GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of name ':1.64': no such name
May 21 11:01:01 localhost NetworkManager[527]: <warn> error requesting auth for org.freedesktop.NetworkManager.wifi.share.open: (3) GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of name ':1.64': no such name
May 21 11:01:01 localhost NetworkManager[527]: <warn> error requesting auth for org.freedesktop.NetworkManager.wifi.share.protected: (3) GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of name ':1.64': no such name
May 21 11:01:01 localhost NetworkManager[527]: <warn> error requesting auth for org.freedesktop.NetworkManager.wifi.share.open: (3) GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of name ':1.64': no such name
May 21 11:01:01 localhost NetworkManager[527]: <warn> error requesting auth for org.freedesktop.NetworkManager.wifi.share.protected: (3) GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of name ':1.64': no such name
May 21 11:01:01 localhost NetworkManager[527]: <warn> error requesting auth for org.freedesktop.NetworkManager.wifi.share.open: (3) GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of name ':1.64': no such name
May 22 11:01:00 localhost NetworkManager[527]: <warn> error requesting auth for org.freedesktop.NetworkManager.wifi.share.protected: (3) GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of name ':1.64': no such name
May 22 11:01:00 localhost NetworkManager[527]: <warn> error requesting auth for org.freedesktop.NetworkManager.wifi.share.open: (3) GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of name ':1.64': no such name
May 22 11:01:00 localhost colord: device removed: xrandr-Dell-DELL U2412M-YMYH132P0L7L
May 22 11:01:01 localhost NetworkManager[527]: <warn> error requesting auth for org.freedesktop.NetworkManager.wifi.share.protected: (3) GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of name ':1.64': no such name
May 22 11:01:01 localhost NetworkManager[527]: <warn> error requesting auth for org.freedesktop.NetworkManager.wifi.share.open: (3) GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of name ':1.64': no such name
May 22 11:01:01 localhost NetworkManager[527]: <warn> error requesting auth for org.freedesktop.NetworkManager.wifi.share.protected: (3) GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of name ':1.64': no such name
May 22 11:01:01 localhost NetworkManager[527]: <warn> error requesting auth for org.freedesktop.NetworkManager.wifi.share.open: (3) GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of name ':1.64': no such name
May 22 11:01:24 localhost gnome-session[8845]: WARNING: Application 'gnome-shell.desktop' killed by signal 7
May 22 11:01:24 localhost gnome-session[8845]: WARNING: Detected that screensaver has left the bus
May 22 11:01:24 localhost NetworkManager[527]: <warn> error requesting auth for org.freedesktop.NetworkManager.wifi.share.protected: (3) GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of name ':1.64': no such name
May 22 11:01:24 localhost NetworkManager[527]: <warn> error requesting auth for org.freedesktop.NetworkManager.wifi.share.open: (3) GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of name ':1.64': no such name
May 22 11:01:30 localhost dbus-daemon[532]: dbus[532]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.535" (uid=1000 pid=24743 comm="/usr/bin/gnome-shell ") interface="org.freedesktop.DBus.Properties" member="GetAll" error name="(unset)" requested_reply="0" destination=":1.16" (uid=0 pid=735 comm="/usr/sbin/console-kit-daemon --no-daemon ")
May 22 11:01:30 localhost dbus[532]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.535" (uid=1000 pid=24743 comm="/usr/bin/gnome-shell ") interface="org.freedesktop.DBus.Properties" member="GetAll" error name="(unset)" requested_reply="0" destination=":1.16" (uid=0 pid=735 comm="/usr/sbin/console-kit-daemon --no-daemon ")
May 22 11:01:30 localhost NetworkManager[527]: <warn> error requesting auth for org.freedesktop.NetworkManager.wifi.share.protected: (3) GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of name ':1.64': no such name
May 22 11:01:30 localhost NetworkManager[527]: <warn> error requesting auth for org.freedesktop.NetworkManager.wifi.share.open: (3) GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of name ':1.64': no such name
May 22 11:02:29 localhost colord: Device added: xrandr-Dell-DELL U2412M-YMYH132P0L7L
May 22 11:02:30 localhost kernel: [215032.645946] [drm:drm_edid_block_valid] *ERROR* EDID checksum is invalid, remainder is 151
May 22 11:02:30 localhost kernel: [215032.645954] Raw EDID:
May 22 11:02:30 localhost kernel: [215032.645958]  	00 ff ff ff ff ff ff 00 10 ac 7a a0 4c 37 4c 30
May 22 11:02:30 localhost kernel: [215032.645961]  	09 17 01 03 80 34 20 78 ea ee 95 a3 54 4c 99 26
May 22 11:02:30 localhost kernel: [215032.645964]  	0f 50 54 a1 08 00 81 40 81 80 a9 40 b3 00 d1 c0
May 22 11:02:30 localhost kernel: [215032.645966]  	01 01 01 01 01 01 28 3c 80 a0 70 b0 23 40 30 20
May 22 11:02:30 localhost kernel: [215032.645969]  	36 00 06 44 21 00 00 1a 00 00 00 ff 00 59 5f ff
May 22 11:02:30 localhost kernel: [215032.645971]  	ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
May 22 11:02:30 localhost kernel: [215032.645973]  	ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
May 22 11:02:30 localhost kernel: [215032.645976]  	ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
May 22 11:02:30 localhost kernel: [215032.647233] [drm:radeon_dvi_detect] *ERROR* DVI-I-1: probed a monitor but no|invalid EDID


in /var/log/messages.

Odd that the DDC code doesn't see the loss of clock on SCL (DDC Clock, pin 6) or the change in state on HPD (Hot Plug Detect, pin 16) and simply abort the I2C transfer until the interface is restored to a valid state.
Comment 6 Philip Prindeville 2013-05-24 01:46:02 UTC
Also seeing the following:

ftp://ftp.redfish-solutions.com/pub/Screenshot%20from%202013-05-20%2014:42:55.png

the background isn't set, and the bottom of the screen seems to have fragments of OFF-screen backing store... which are ON-screen anyway.

It's not clear if this is related to the parse relocation error or is an entirely different issue.
Comment 7 Michel Dänzer 2013-05-24 08:00:06 UTC
Every time '[drm:radeon_cs_ioctl] *ERROR* Failed to parse relocation -12!' appears, the kernel drops some GPU rendering commands on the floor because it runs out of some kind of memory (-12 == -ENOMEM). This could explain any kind of visual corruption.

Which version of Mesa are you using?
Comment 8 Philip Prindeville 2013-05-24 17:13:17 UTC
mesa-libgbm-9.1-3.fc18.x86_64
mesa-dri-drivers-9.1-3.fc18.x86_64
mesa-libGLU-9.0.0-1.fc18.x86_64
mesa-libGL-devel-9.1-3.fc18.x86_64
mesa-dri-filesystem-9.1-3.fc18.x86_64
mesa-libEGL-devel-9.1-3.fc18.x86_64
mesa-libxatracker-9.1-3.fc18.x86_64
mesa-libGL-9.1-3.fc18.x86_64
mesa-libEGL-9.1-3.fc18.x86_64
mesa-libglapi-9.1-3.fc18.x86_64
Comment 9 Philip Prindeville 2013-05-25 01:27:52 UTC
And now I'm seeing:

May 24 19:24:29 localhost kernel: [ 2756.377025] BUG: soft lockup - CPU#3 stuck for 23s! [Xorg:2347]
May 24 19:24:29 localhost kernel: [ 2756.377028] Modules linked in: fuse bnep bluetooth rfkill hwmon_vid ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6 nf_conntrack_netbios_ns nf_conntrack_broadcast nf_conntrack_ipv4 nf_defrag_ipv4 ip6table_filter xt_conntrack nf_conntrack ip6_tables snd_hda_codec_hdmi sp5100_tco i2c_piix4 snd_hda_codec_via snd_hda_intel snd_hda_codec snd_hwdep snd_seq snd_seq_device snd_pcm snd_page_alloc snd_timer snd perle_serial(OF) r8169 acpi_cpufreq mperf soundcore kvm_amd kvm edac_core edac_mce_amd k10temp mii nfsd auth_rpcgss microcode serio_raw asus_atk0110 nfs_acl lockd uinput sunrpc usb_storage radeon i2c_algo_bit drm_kms_helper ttm ata_generic pata_acpi drm pata_atiixp i2c_core 3w_9xxx
May 24 19:24:29 localhost kernel: [ 2756.377082] CPU 3 
May 24 19:24:29 localhost kernel: [ 2756.377086] Pid: 2347, comm: Xorg Tainted: GF     D    O 3.9.2-200.fc18.x86_64 #1 System manufacturer System Product Name/M3A78-CM
May 24 19:24:29 localhost kernel: [ 2756.377089] RIP: 0010:[<ffffffff81661042>]  [<ffffffff81661042>] _raw_spin_lock+0x22/0x30
May 24 19:24:29 localhost kernel: [ 2756.377094] RSP: 0018:ffff88020c4b39d8  EFLAGS: 00000297
May 24 19:24:29 localhost kernel: [ 2756.377102] RAX: 0000000000000033 RBX: 0000000000000082 RCX: ffff88020c4b3ad8
May 24 19:24:29 localhost kernel: [ 2756.377105] RDX: 0000000000000034 RSI: ffff880214ae3448 RDI: ffff880227f9e9c0
May 24 19:24:29 localhost kernel: [ 2756.377107] RBP: ffff88020c4b39d8 R08: 0000000000000000 R09: ffff8802289c8640
May 24 19:24:29 localhost kernel: [ 2756.377110] R10: 0000000000010002 R11: ffff880214ae3448 R12: ffff88020c4b39f0
May 24 19:24:29 localhost kernel: [ 2756.377113] R13: ffff88020c4b39f0 R14: ffff88020c4b3a08 R15: ffff88020c4b3948
May 24 19:24:29 localhost kernel: [ 2756.377116] FS:  00007fa4e0a72940(0000) GS:ffff880237d80000(0000) knlGS:0000000000000000
May 24 19:24:29 localhost kernel: [ 2756.377119] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
May 24 19:24:29 localhost kernel: [ 2756.377121] CR2: 00007f138339f000 CR3: 0000000203ec6000 CR4: 00000000000007e0
May 24 19:24:29 localhost kernel: [ 2756.377124] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
May 24 19:24:29 localhost kernel: [ 2756.377126] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
May 24 19:24:29 localhost kernel: [ 2756.377129] Process Xorg (pid: 2347, threadinfo ffff88020c4b2000, task ffff8802279a1770)
May 24 19:24:29 localhost kernel: [ 2756.377131] Stack:
May 24 19:24:29 localhost kernel: [ 2756.377133]  ffff88020c4b3a38 ffffffffa007cef8 00000000000003f5 0000000000000001
May 24 19:24:29 localhost kernel: [ 2756.377138]  0000000000000004 ffff880227f9e900 ffff88020c4b3a98 0000000000000001
May 24 19:24:29 localhost kernel: [ 2756.377143]  0000000000000000 ffff880214ae3420 0000000000010002 0000000000000001
May 24 19:24:29 localhost kernel: [ 2756.377147] Call Trace:
May 24 19:24:29 localhost kernel: [ 2756.377158]  [<ffffffffa007cef8>] ttm_bo_man_get_node+0x58/0xd0 [ttm]
May 24 19:24:29 localhost kernel: [ 2756.377168]  [<ffffffffa0077d00>] ttm_bo_mem_space+0x180/0x360 [ttm]
May 24 19:24:29 localhost kernel: [ 2756.377178]  [<ffffffffa0077fa2>] ttm_bo_move_buffer+0xc2/0x130 [ttm]
May 24 19:24:29 localhost kernel: [ 2756.377205]  [<ffffffffa0037421>] ? drm_mm_insert_helper+0x101/0x180 [drm]
May 24 19:24:29 localhost kernel: [ 2756.377221]  [<ffffffffa00780aa>] ttm_bo_validate+0x9a/0x110 [ttm]
May 24 19:24:29 localhost kernel: [ 2756.377235]  [<ffffffffa007841e>] ttm_bo_init+0x2fe/0x3c0 [ttm]
May 24 19:24:29 localhost kernel: [ 2756.377260]  [<ffffffffa00b794a>] radeon_bo_create+0x18a/0x210 [radeon]
May 24 19:24:29 localhost kernel: [ 2756.377282]  [<ffffffffa00b7610>] ? radeon_bo_clear_va+0x60/0x60 [radeon]
May 24 19:24:29 localhost kernel: [ 2756.377292]  [<ffffffff81301a1a>] ? idr_mark_full+0x5a/0x70
May 24 19:24:29 localhost kernel: [ 2756.377315]  [<ffffffffa00ca3b2>] radeon_gem_object_create+0xa2/0x160 [radeon]
May 24 19:24:29 localhost kernel: [ 2756.377341]  [<ffffffffa00ca80b>] radeon_gem_create_ioctl+0x6b/0x120 [radeon]
May 24 19:24:29 localhost kernel: [ 2756.377346]  [<ffffffff811bd946>] ? mntput+0x26/0x40
May 24 19:24:29 localhost kernel: [ 2756.377360]  [<ffffffffa002c483>] drm_ioctl+0x4d3/0x580 [drm]
May 24 19:24:29 localhost kernel: [ 2756.377388]  [<ffffffffa00ca7a0>] ? radeon_gem_pwrite_ioctl+0x30/0x30 [radeon]
May 24 19:24:29 localhost kernel: [ 2756.377400]  [<ffffffff811b14f7>] do_vfs_ioctl+0x97/0x580
May 24 19:24:29 localhost kernel: [ 2756.377410]  [<ffffffff812a126a>] ? inode_has_perm.isra.32.constprop.62+0x2a/0x30
May 24 19:24:29 localhost kernel: [ 2756.377415]  [<ffffffff812a28f7>] ? file_has_perm+0x97/0xb0
May 24 19:24:29 localhost kernel: [ 2756.377424]  [<ffffffff811bd946>] ? mntput+0x26/0x40
May 24 19:24:29 localhost kernel: [ 2756.377431]  [<ffffffff811b1a71>] sys_ioctl+0x91/0xb0
May 24 19:24:29 localhost kernel: [ 2756.377437]  [<ffffffff81669a59>] system_call_fastpath+0x16/0x1b
May 24 19:24:29 localhost kernel: [ 2756.377442] Code: 90 90 90 90 90 90 90 90 90 66 66 66 66 90 55 48 89 e5 b8 00 01 00 00 f0 66 0f c1 07 0f b6 d4 38 c2 74 0f 66 0f 1f 44 00 00 f3 90 <0f> b6 07 38 d0 75 f7 5d c3 0f 1f 44 00 00 66 66 66 66 90 55 48 
May 24 19:24:57 localhost kernel: [ 2784.379074] BUG: soft lockup - CPU#3 stuck for 23s! [Xorg:2347]
May 24 19:24:57 localhost kernel: [ 2784.379076] Modules linked in: fuse bnep bluetooth rfkill hwmon_vid ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6 nf_conntrack_netbios_ns nf_conntrack_broadcast nf_conntrack_ipv4 nf_defrag_ipv4 ip6table_filter xt_conntrack nf_conntrack ip6_tables snd_hda_codec_hdmi sp5100_tco i2c_piix4 snd_hda_codec_via snd_hda_intel snd_hda_codec snd_hwdep snd_seq snd_seq_device snd_pcm snd_page_alloc snd_timer snd perle_serial(OF) r8169 acpi_cpufreq mperf soundcore kvm_amd kvm edac_core edac_mce_amd k10temp mii nfsd auth_rpcgss microcode serio_raw asus_atk0110 nfs_acl lockd uinput sunrpc usb_storage radeon i2c_algo_bit drm_kms_helper ttm ata_generic pata_acpi drm pata_atiixp i2c_core 3w_9xxx
May 24 19:24:57 localhost kernel: [ 2784.379132] CPU 3 
May 24 19:24:57 localhost kernel: [ 2784.379136] Pid: 2347, comm: Xorg Tainted: GF     D    O 3.9.2-200.fc18.x86_64 #1 System manufacturer System Product Name/M3A78-CM
May 24 19:24:57 localhost kernel: [ 2784.379139] RIP: 0010:[<ffffffff81661045>]  [<ffffffff81661045>] _raw_spin_lock+0x25/0x30
May 24 19:24:57 localhost kernel: [ 2784.379144] RSP: 0018:ffff88020c4b39d8  EFLAGS: 00000297
May 24 19:24:57 localhost kernel: [ 2784.379152] RAX: 0000000000000033 RBX: 0000000000000082 RCX: ffff88020c4b3ad8
May 24 19:24:57 localhost kernel: [ 2784.379155] RDX: 0000000000000034 RSI: ffff880214ae3448 RDI: ffff880227f9e9c0
May 24 19:24:57 localhost kernel: [ 2784.379157] RBP: ffff88020c4b39d8 R08: 0000000000000000 R09: ffff8802289c8640
May 24 19:24:57 localhost kernel: [ 2784.379160] R10: 0000000000010002 R11: ffff880214ae3448 R12: ffff88020c4b39f0
May 24 19:24:57 localhost kernel: [ 2784.379162] R13: ffff88020c4b39f0 R14: ffff88020c4b3a08 R15: ffff88020c4b3948
May 24 19:24:57 localhost kernel: [ 2784.379166] FS:  00007fa4e0a72940(0000) GS:ffff880237d80000(0000) knlGS:0000000000000000
May 24 19:24:57 localhost kernel: [ 2784.379168] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
May 24 19:24:57 localhost kernel: [ 2784.379171] CR2: 00007f138339f000 CR3: 0000000203ec6000 CR4: 00000000000007e0
May 24 19:24:57 localhost kernel: [ 2784.379174] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
May 24 19:24:57 localhost kernel: [ 2784.379176] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
May 24 19:24:57 localhost kernel: [ 2784.379179] Process Xorg (pid: 2347, threadinfo ffff88020c4b2000, task ffff8802279a1770)
May 24 19:24:57 localhost kernel: [ 2784.379181] Stack:
May 24 19:24:57 localhost kernel: [ 2784.379183]  ffff88020c4b3a38 ffffffffa007cef8 00000000000003f5 0000000000000001
May 24 19:24:57 localhost kernel: [ 2784.379188]  0000000000000004 ffff880227f9e900 ffff88020c4b3a98 0000000000000001
May 24 19:24:57 localhost kernel: [ 2784.379192]  0000000000000000 ffff880214ae3420 0000000000010002 0000000000000001
May 24 19:24:57 localhost kernel: [ 2784.379197] Call Trace:
May 24 19:24:57 localhost kernel: [ 2784.379207]  [<ffffffffa007cef8>] ttm_bo_man_get_node+0x58/0xd0 [ttm]
May 24 19:24:57 localhost kernel: [ 2784.379217]  [<ffffffffa0077d00>] ttm_bo_mem_space+0x180/0x360 [ttm]
May 24 19:24:57 localhost kernel: [ 2784.379227]  [<ffffffffa0077fa2>] ttm_bo_move_buffer+0xc2/0x130 [ttm]
May 24 19:24:57 localhost kernel: [ 2784.379248]  [<ffffffffa0037421>] ? drm_mm_insert_helper+0x101/0x180 [drm]
May 24 19:24:57 localhost kernel: [ 2784.379260]  [<ffffffffa00780aa>] ttm_bo_validate+0x9a/0x110 [ttm]
May 24 19:24:57 localhost kernel: [ 2784.379270]  [<ffffffffa007841e>] ttm_bo_init+0x2fe/0x3c0 [ttm]
May 24 19:24:57 localhost kernel: [ 2784.379297]  [<ffffffffa00b794a>] radeon_bo_create+0x18a/0x210 [radeon]
May 24 19:24:57 localhost kernel: [ 2784.379322]  [<ffffffffa00b7610>] ? radeon_bo_clear_va+0x60/0x60 [radeon]
May 24 19:24:57 localhost kernel: [ 2784.379327]  [<ffffffff81301a1a>] ? idr_mark_full+0x5a/0x70
May 24 19:24:57 localhost kernel: [ 2784.379350]  [<ffffffffa00ca3b2>] radeon_gem_object_create+0xa2/0x160 [radeon]
May 24 19:24:57 localhost kernel: [ 2784.379378]  [<ffffffffa00ca80b>] radeon_gem_create_ioctl+0x6b/0x120 [radeon]
May 24 19:24:57 localhost kernel: [ 2784.379387]  [<ffffffff811bd946>] ? mntput+0x26/0x40
May 24 19:24:57 localhost kernel: [ 2784.379402]  [<ffffffffa002c483>] drm_ioctl+0x4d3/0x580 [drm]
May 24 19:24:57 localhost kernel: [ 2784.379425]  [<ffffffffa00ca7a0>] ? radeon_gem_pwrite_ioctl+0x30/0x30 [radeon]
May 24 19:24:57 localhost kernel: [ 2784.379436]  [<ffffffff811b14f7>] do_vfs_ioctl+0x97/0x580
May 24 19:24:57 localhost kernel: [ 2784.379442]  [<ffffffff812a126a>] ? inode_has_perm.isra.32.constprop.62+0x2a/0x30
May 24 19:24:57 localhost kernel: [ 2784.379446]  [<ffffffff812a28f7>] ? file_has_perm+0x97/0xb0
May 24 19:24:57 localhost kernel: [ 2784.379455]  [<ffffffff811bd946>] ? mntput+0x26/0x40
May 24 19:24:57 localhost kernel: [ 2784.379463]  [<ffffffff811b1a71>] sys_ioctl+0x91/0xb0
May 24 19:24:57 localhost kernel: [ 2784.379468]  [<ffffffff81669a59>] system_call_fastpath+0x16/0x1b
May 24 19:24:57 localhost kernel: [ 2784.379470] Code: 90 90 90 90 90 90 66 66 66 66 90 55 48 89 e5 b8 00 01 00 00 f0 66 0f c1 07 0f b6 d4 38 c2 74 0f 66 0f 1f 44 00 00 f3 90 0f b6 07 <38> d0 75 f7 5d c3 0f 1f 44 00 00 66 66 66 66 90 55 48 89 e5 80 
May 24 19:25:25 localhost kernel: [ 2812.381124] BUG: soft lockup - CPU#3 stuck for 23s! [Xorg:2347]
May 24 19:25:25 localhost kernel: [ 2812.381127] Modules linked in: fuse bnep bluetooth rfkill hwmon_vid ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6 nf_conntrack_netbios_ns nf_conntrack_broadcast nf_conntrack_ipv4 nf_defrag_ipv4 ip6table_filter xt_conntrack nf_conntrack ip6_tables snd_hda_codec_hdmi sp5100_tco i2c_piix4 snd_hda_codec_via snd_hda_intel snd_hda_codec snd_hwdep snd_seq snd_seq_device snd_pcm snd_page_alloc snd_timer snd perle_serial(OF) r8169 acpi_cpufreq mperf soundcore kvm_amd kvm edac_core edac_mce_amd k10temp mii nfsd auth_rpcgss microcode serio_raw asus_atk0110 nfs_acl lockd uinput sunrpc usb_storage radeon i2c_algo_bit drm_kms_helper ttm ata_generic pata_acpi drm pata_atiixp i2c_core 3w_9xxx
May 24 19:25:25 localhost kernel: [ 2812.381184] CPU 3 
May 24 19:25:25 localhost kernel: [ 2812.381188] Pid: 2347, comm: Xorg Tainted: GF     D    O 3.9.2-200.fc18.x86_64 #1 System manufacturer System Product Name/M3A78-CM
May 24 19:25:25 localhost kernel: [ 2812.381191] RIP: 0010:[<ffffffff81661045>]  [<ffffffff81661045>] _raw_spin_lock+0x25/0x30
May 24 19:25:25 localhost kernel: [ 2812.381196] RSP: 0018:ffff88020c4b39d8  EFLAGS: 00000297
May 24 19:25:25 localhost kernel: [ 2812.381199] RAX: 0000000000000033 RBX: 0000000000000082 RCX: ffff88020c4b3ad8
May 24 19:25:25 localhost kernel: [ 2812.381207] RDX: 0000000000000034 RSI: ffff880214ae3448 RDI: ffff880227f9e9c0
May 24 19:25:25 localhost kernel: [ 2812.381209] RBP: ffff88020c4b39d8 R08: 0000000000000000 R09: ffff8802289c8640
May 24 19:25:25 localhost kernel: [ 2812.381212] R10: 0000000000010002 R11: ffff880214ae3448 R12: ffff88020c4b39f0
May 24 19:25:25 localhost kernel: [ 2812.381214] R13: ffff88020c4b39f0 R14: ffff88020c4b3a08 R15: ffff88020c4b3948
May 24 19:25:25 localhost kernel: [ 2812.381218] FS:  00007fa4e0a72940(0000) GS:ffff880237d80000(0000) knlGS:0000000000000000
May 24 19:25:25 localhost kernel: [ 2812.381220] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
May 24 19:25:25 localhost kernel: [ 2812.381223] CR2: 00007f138339f000 CR3: 0000000203ec6000 CR4: 00000000000007e0
May 24 19:25:25 localhost kernel: [ 2812.381225] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
May 24 19:25:25 localhost kernel: [ 2812.381228] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
May 24 19:25:25 localhost kernel: [ 2812.381231] Process Xorg (pid: 2347, threadinfo ffff88020c4b2000, task ffff8802279a1770)
May 24 19:25:25 localhost kernel: [ 2812.381233] Stack:
May 24 19:25:25 localhost kernel: [ 2812.381235]  ffff88020c4b3a38 ffffffffa007cef8 00000000000003f5 0000000000000001
May 24 19:25:25 localhost kernel: [ 2812.381240]  0000000000000004 ffff880227f9e900 ffff88020c4b3a98 0000000000000001
May 24 19:25:25 localhost kernel: [ 2812.381244]  0000000000000000 ffff880214ae3420 0000000000010002 0000000000000001
May 24 19:25:25 localhost kernel: [ 2812.381249] Call Trace:
May 24 19:25:25 localhost kernel: [ 2812.381261]  [<ffffffffa007cef8>] ttm_bo_man_get_node+0x58/0xd0 [ttm]
May 24 19:25:25 localhost kernel: [ 2812.381271]  [<ffffffffa0077d00>] ttm_bo_mem_space+0x180/0x360 [ttm]
May 24 19:25:25 localhost kernel: [ 2812.381286]  [<ffffffffa0077fa2>] ttm_bo_move_buffer+0xc2/0x130 [ttm]
May 24 19:25:25 localhost kernel: [ 2812.381308]  [<ffffffffa0037421>] ? drm_mm_insert_helper+0x101/0x180 [drm]
May 24 19:25:25 localhost kernel: [ 2812.381319]  [<ffffffffa00780aa>] ttm_bo_validate+0x9a/0x110 [ttm]
May 24 19:25:25 localhost kernel: [ 2812.381328]  [<ffffffffa007841e>] ttm_bo_init+0x2fe/0x3c0 [ttm]
May 24 19:25:25 localhost kernel: [ 2812.381348]  [<ffffffffa00b794a>] radeon_bo_create+0x18a/0x210 [radeon]
May 24 19:25:25 localhost kernel: [ 2812.381373]  [<ffffffffa00b7610>] ? radeon_bo_clear_va+0x60/0x60 [radeon]
May 24 19:25:25 localhost kernel: [ 2812.381378]  [<ffffffff81301a1a>] ? idr_mark_full+0x5a/0x70
May 24 19:25:25 localhost kernel: [ 2812.381406]  [<ffffffffa00ca3b2>] radeon_gem_object_create+0xa2/0x160 [radeon]
May 24 19:25:25 localhost kernel: [ 2812.381429]  [<ffffffffa00ca80b>] radeon_gem_create_ioctl+0x6b/0x120 [radeon]
May 24 19:25:25 localhost kernel: [ 2812.381438]  [<ffffffff811bd946>] ? mntput+0x26/0x40
May 24 19:25:25 localhost kernel: [ 2812.381452]  [<ffffffffa002c483>] drm_ioctl+0x4d3/0x580 [drm]
May 24 19:25:25 localhost kernel: [ 2812.381481]  [<ffffffffa00ca7a0>] ? radeon_gem_pwrite_ioctl+0x30/0x30 [radeon]
May 24 19:25:25 localhost kernel: [ 2812.381487]  [<ffffffff811b14f7>] do_vfs_ioctl+0x97/0x580
May 24 19:25:25 localhost kernel: [ 2812.381493]  [<ffffffff812a126a>] ? inode_has_perm.isra.32.constprop.62+0x2a/0x30
May 24 19:25:25 localhost kernel: [ 2812.381497]  [<ffffffff812a28f7>] ? file_has_perm+0x97/0xb0
May 24 19:25:25 localhost kernel: [ 2812.381506]  [<ffffffff811bd946>] ? mntput+0x26/0x40
May 24 19:25:25 localhost kernel: [ 2812.381514]  [<ffffffff811b1a71>] sys_ioctl+0x91/0xb0
May 24 19:25:25 localhost kernel: [ 2812.381519]  [<ffffffff81669a59>] system_call_fastpath+0x16/0x1b
May 24 19:25:25 localhost kernel: [ 2812.381521] Code: 90 90 90 90 90 90 66 66 66 66 90 55 48 89 e5 b8 00 01 00 00 f0 66 0f c1 07 0f b6 d4 38 c2 74 0f 66 0f 1f 44 00 00 f3 90 0f b6 07 <38> d0 75 f7 5d c3 0f 1f 44 00 00 66 66 66 66 90 55 48 89 e5 80
Comment 10 Philip Prindeville 2013-05-25 01:43:10 UTC
May 24 19:42:29 localhost kernel: [ 3836.454658] BUG: soft lockup - CPU#3 stuck for 22s! [Xorg:2347]
May 24 19:42:29 localhost kernel: [ 3836.454662] Modules linked in: fuse bnep bluetooth rfkill hwmon_vid ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6 nf_conntrack_netbios_ns nf_conntrack_broadcast nf_conntrack_ipv4 nf_defrag_ipv4 ip6table_filter xt_conntrack nf_conntrack ip6_tables snd_hda_codec_hdmi sp5100_tco i2c_piix4 snd_hda_codec_via snd_hda_intel snd_hda_codec snd_hwdep snd_seq snd_seq_device snd_pcm snd_page_alloc snd_timer snd perle_serial(OF) r8169 acpi_cpufreq mperf soundcore kvm_amd kvm edac_core edac_mce_amd k10temp mii nfsd auth_rpcgss microcode serio_raw asus_atk0110 nfs_acl lockd uinput sunrpc usb_storage radeon i2c_algo_bit drm_kms_helper ttm ata_generic pata_acpi drm pata_atiixp i2c_core 3w_9xxx
May 24 19:42:29 localhost kernel: [ 3836.454716] CPU 3 
May 24 19:42:29 localhost kernel: [ 3836.454720] Pid: 2347, comm: Xorg Tainted: GF     D    O 3.9.2-200.fc18.x86_64 #1 System manufacturer System Product Name/M3A78-CM
May 24 19:42:29 localhost kernel: [ 3836.454723] RIP: 0010:[<ffffffff81661042>]  [<ffffffff81661042>] _raw_spin_lock+0x22/0x30
May 24 19:42:29 localhost kernel: [ 3836.454730] RSP: 0018:ffff88020c4b39d8  EFLAGS: 00000297
May 24 19:42:29 localhost kernel: [ 3836.454732] RAX: 0000000000000033 RBX: 0000000000000082 RCX: ffff88020c4b3ad8
May 24 19:42:29 localhost kernel: [ 3836.454735] RDX: 0000000000000034 RSI: ffff880214ae3448 RDI: ffff880227f9e9c0
May 24 19:42:29 localhost kernel: [ 3836.454738] RBP: ffff88020c4b39d8 R08: 0000000000000000 R09: ffff8802289c8640
May 24 19:42:29 localhost kernel: [ 3836.454740] R10: 0000000000010002 R11: ffff880214ae3448 R12: ffff88020c4b39f0
May 24 19:42:29 localhost kernel: [ 3836.454743] R13: ffff88020c4b39f0 R14: ffff88020c4b3a08 R15: ffff88020c4b3948
May 24 19:42:29 localhost kernel: [ 3836.454746] FS:  00007fa4e0a72940(0000) GS:ffff880237d80000(0000) knlGS:0000000000000000
May 24 19:42:29 localhost kernel: [ 3836.454749] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
May 24 19:42:29 localhost kernel: [ 3836.454752] CR2: 00007f138339f000 CR3: 0000000203ec6000 CR4: 00000000000007e0
May 24 19:42:29 localhost kernel: [ 3836.454754] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
May 24 19:42:29 localhost kernel: [ 3836.454757] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
May 24 19:42:29 localhost kernel: [ 3836.454765] Process Xorg (pid: 2347, threadinfo ffff88020c4b2000, task ffff8802279a1770)
May 24 19:42:29 localhost kernel: [ 3836.454767] Stack:
May 24 19:42:29 localhost kernel: [ 3836.454769]  ffff88020c4b3a38 ffffffffa007cef8 00000000000003f5 0000000000000001
May 24 19:42:29 localhost kernel: [ 3836.454774]  0000000000000004 ffff880227f9e900 ffff88020c4b3a98 0000000000000001
May 24 19:42:29 localhost kernel: [ 3836.454778]  0000000000000000 ffff880214ae3420 0000000000010002 0000000000000001
May 24 19:42:29 localhost kernel: [ 3836.454783] Call Trace:
May 24 19:42:29 localhost kernel: [ 3836.454793]  [<ffffffffa007cef8>] ttm_bo_man_get_node+0x58/0xd0 [ttm]
May 24 19:42:29 localhost kernel: [ 3836.454803]  [<ffffffffa0077d00>] ttm_bo_mem_space+0x180/0x360 [ttm]
May 24 19:42:29 localhost kernel: [ 3836.454813]  [<ffffffffa0077fa2>] ttm_bo_move_buffer+0xc2/0x130 [ttm]
May 24 19:42:29 localhost kernel: [ 3836.454831]  [<ffffffffa0037421>] ? drm_mm_insert_helper+0x101/0x180 [drm]
May 24 19:42:29 localhost kernel: [ 3836.454846]  [<ffffffffa00780aa>] ttm_bo_validate+0x9a/0x110 [ttm]
May 24 19:42:29 localhost kernel: [ 3836.454861]  [<ffffffffa007841e>] ttm_bo_init+0x2fe/0x3c0 [ttm]
May 24 19:42:29 localhost kernel: [ 3836.454886]  [<ffffffffa00b794a>] radeon_bo_create+0x18a/0x210 [radeon]
May 24 19:42:29 localhost kernel: [ 3836.454906]  [<ffffffffa00b7610>] ? radeon_bo_clear_va+0x60/0x60 [radeon]
May 24 19:42:29 localhost kernel: [ 3836.454915]  [<ffffffff81301a1a>] ? idr_mark_full+0x5a/0x70
May 24 19:42:29 localhost kernel: [ 3836.454939]  [<ffffffffa00ca3b2>] radeon_gem_object_create+0xa2/0x160 [radeon]
May 24 19:42:29 localhost kernel: [ 3836.454969]  [<ffffffffa00ca80b>] radeon_gem_create_ioctl+0x6b/0x120 [radeon]
May 24 19:42:29 localhost kernel: [ 3836.454977]  [<ffffffff811bd946>] ? mntput+0x26/0x40
May 24 19:42:29 localhost kernel: [ 3836.454992]  [<ffffffffa002c483>] drm_ioctl+0x4d3/0x580 [drm]
May 24 19:42:29 localhost kernel: [ 3836.455015]  [<ffffffffa00ca7a0>] ? radeon_gem_pwrite_ioctl+0x30/0x30 [radeon]
May 24 19:42:29 localhost kernel: [ 3836.455027]  [<ffffffff811b14f7>] do_vfs_ioctl+0x97/0x580
May 24 19:42:29 localhost kernel: [ 3836.455032]  [<ffffffff812a126a>] ? inode_has_perm.isra.32.constprop.62+0x2a/0x30
May 24 19:42:29 localhost kernel: [ 3836.455037]  [<ffffffff812a28f7>] ? file_has_perm+0x97/0xb0
May 24 19:42:29 localhost kernel: [ 3836.455041]  [<ffffffff811bd946>] ? mntput+0x26/0x40
May 24 19:42:29 localhost kernel: [ 3836.455051]  [<ffffffff811b1a71>] sys_ioctl+0x91/0xb0
May 24 19:42:29 localhost kernel: [ 3836.455059]  [<ffffffff81669a59>] system_call_fastpath+0x16/0x1b
May 24 19:42:29 localhost kernel: [ 3836.455061] Code: 90 90 90 90 90 90 90 90 90 66 66 66 66 90 55 48 89 e5 b8 00 01 00 00 f0 66 0f c1 07 0f b6 d4 38 c2 74 0f 66 0f 1f 44 00 00 f3 90 <0f> b6 07 38 d0 75 f7 5d c3 0f 1f 44 00 00 66 66 66 66 90 55 48
Comment 11 aaannz 2013-11-30 21:58:11 UTC
Created attachment 90044 [details]
dmesg output

I too am seeing this. Particularly in games Euro Truck Simulator 2 and X3 franchise. Graphical corruption is obvious. dmesg output attached.

My specs:
CPU: Intel(R) Core(TM)2 Quad  CPU   Q9550  @ 2.83GHz
GPU: AMD HD6850 (Barts)
RAM: 8GB

> cat /etc/os-release
NAME=openSUSE
VERSION="13.1 (Bottle)"
VERSION_ID="13.1"
PRETTY_NAME="openSUSE 13.1 (Bottle) (x86_64)"
ID=opensuse
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:opensuse:13.1"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://opensuse.org/"
ID_LIKE="suse"

> uname -a
Linux Cerberos 3.12.1-1.g999c17a-desktop #1 SMP PREEMPT Thu Nov 21 09:04:33 UTC 2013 (999c17a) x86_64 x86_64 x86_64 GNU/Linux

> rpm -qa Mesa*
Mesa-libglapi-devel-9.2.3-316.2.x86_64
Mesa-libGLESv2-devel-9.2.3-316.2.x86_64
Mesa-libEGL1-32bit-9.2.3-316.2.x86_64
Mesa-libGL1-9.2.3-316.2.x86_64
Mesa-libGL1-32bit-9.2.3-316.2.x86_64
Mesa-libGLESv2-2-32bit-9.2.3-316.2.x86_64
Mesa-libGL-devel-9.2.3-316.2.x86_64
Mesa-libGLESv1_CM-devel-9.2.3-316.2.x86_64
Mesa-libGLESv1_CM1-32bit-9.2.3-316.2.x86_64
Mesa-libGLESv1_CM1-9.2.3-316.2.x86_64
Mesa-libEGL1-9.2.3-316.2.x86_64
Mesa-libEGL-devel-9.2.3-316.2.x86_64
Mesa-libglapi0-9.2.3-316.2.x86_64
Mesa-9.2.3-316.2.x86_64
Mesa-libglapi0-32bit-9.2.3-316.2.x86_64
Mesa-demo-x-8.1.0-31.1.x86_64
Mesa-32bit-9.2.3-316.2.x86_64
Mesa-devel-9.2.3-316.2.x86_64
Mesa-libGLESv2-2-9.2.3-316.2.x86_64
Comment 12 Alex Deucher 2013-12-02 18:08:24 UTC
(In reply to comment #11)
> Created attachment 90044 [details]
> dmesg output
> 
> I too am seeing this. Particularly in games Euro Truck Simulator 2 and X3
> franchise. Graphical corruption is obvious. dmesg output attached.

You are seeing an out of system memory condition.  The driver is not able to allocate enough memory to process the GPU's command buffer so the rendering gets dropped which is why you are seeing corruption.
Comment 13 aaannz 2013-12-02 19:02:18 UTC
Ok, so is this bug in a game itself? I never experienced something like this on Windows (except of crashed, which may indeed be Windows way to handle this) even on more demanding games like Arma 3. I have 1024MB VRAM and I just tried ETS2 with GALLIUM_HUD and it reported maximal requested VRAM to be 700MB. At the beginning (requested VRAM was about 400MB) I even got some graphics corruption but that it was all ok.

Note that other visually demanding games like Serious Sam 3, Killing Floor, HL2, CS:S does not exhibit this behaviour under linux, at least I didn't noticed graphical corruption and/or blinking textures so I didn't check dmesg in these cases.
Comment 14 Alex Deucher 2013-12-02 19:10:46 UTC
It's not really a bug per se, the system is just out of memory.  Note that this is system memory that you've run out of (not vram).  The radeon kernel driver allocates system memory (kmalloc) for some structures that are used for processing the command buffers from the 3D driver.  When the kernel driver is not able to allocate that memory, it just skips the GPU command buffer since it can't process it.  That's why you see the corruption; certain GPU commands never happened.  You'd probably need to track down further what processes are using large amounts of memory to see why you are out.
Comment 15 Marti Raudsepp 2013-12-24 00:23:55 UTC
I have the same symptoms when playing Borderlands 2 in Wine with Radeon HD 5850; in certain scenes I see flickering between proper frames and half-rendered frames, accompanied by the same "*ERROR* Failed to parse relocation -12!" messages in dmesg.

Running up-to-date Arch Linux 64-bit, kernel 3.12.5, mesa 10.0.1, xorg-server 1.14.5, wine 1.7.9. 

Any extra info I can provide?

> Note that this is system memory that you've run out of (not vram).  The radeon
> kernel driver allocates system memory (kmalloc) for some structures that are
> used for processing the command buffers from the 3D driver.

I have 8GB of RAM; at the time of this occurring, only 3.4GB is shown as used in htop (excluding cache); only 17MB of swap is used. My system is nowhere near out of memory.

So there's definitely something else going on. Is it possible that it's making unreasonably large allocation attempts? Out of low memory? Memory too fragmented? Might it have something to do with the fact that the game process is 32-bit and runs out of address space?

Here's the dmesg message I see repeated lots of times:

[drm:radeon_cs_ioctl] *ERROR* Failed to parse relocation -12!
Borderlands2.ex: page allocation failure: order:4, mode:0x10c0d0
CPU: 0 PID: 14584 Comm: Borderlands2.ex Tainted: G        W    3.12.5-1-ARCH #1
Hardware name: MSI MS-7758/B75A-G43 (MS-7758), BIOS V10.10 10/31/2013
 0000000000000000 ffff880149d7b8e8 ffffffff814ee44b 000000000010c0d0
 ffff880149d7b970 ffffffff8113ad20 0000004000000000 000000000000000e
 ffff88021dff1b38 ffff880149d7b940 0000000000200286 0000000000000003
Call Trace:
 [<ffffffff814ee44b>] dump_stack+0x54/0x8d
 [<ffffffff8113ad20>] warn_alloc_failed+0xf0/0x140
 [<ffffffff8113f244>] __alloc_pages_nodemask+0x924/0xaf0
 [<ffffffff8117eae9>] alloc_pages_current+0xa9/0x160
 [<ffffffff81139e8e>] __get_free_pages+0xe/0x50
 [<ffffffff8115740e>] kmalloc_order_trace+0x2e/0xe0
 [<ffffffff81189ae9>] __kmalloc+0x299/0x2b0
 [<ffffffffa0563d48>] ? radeon_cs_parser_init+0x178/0x630 [radeon]
 [<ffffffffa05643ba>] ? radeon_cs_ioctl+0xfa/0xa80 [radeon]
 [<ffffffffa05643e2>] radeon_cs_ioctl+0x122/0xa80 [radeon]
 [<ffffffffa048dc62>] drm_ioctl+0x502/0x630 [drm]
 [<ffffffff810cb329>] ? do_futex+0x109/0xad0
 [<ffffffffa05ff2b4>] radeon_kms_compat_ioctl+0x14/0x30 [radeon]
 [<ffffffff811f69f1>] compat_sys_ioctl+0xd1/0x11f0
 [<ffffffff810cc111>] ? compat_SyS_futex+0x71/0x140
 [<ffffffff811a531c>] ? SyS_write+0x7c/0xa0
 [<ffffffff814fecec>] sysenter_dispatch+0x7/0x21
Mem-Info:
Node 0 DMA per-cpu:
CPU    0: hi:    0, btch:   1 usd:   0
CPU    1: hi:    0, btch:   1 usd:   0
CPU    2: hi:    0, btch:   1 usd:   0
CPU    3: hi:    0, btch:   1 usd:   0
Node 0 DMA32 per-cpu:
CPU    0: hi:  186, btch:  31 usd:   0
CPU    1: hi:  186, btch:  31 usd:   0
CPU    2: hi:  186, btch:  31 usd:   0
CPU    3: hi:  186, btch:  31 usd:   0
Node 0 Normal per-cpu:
CPU    0: hi:  186, btch:  31 usd:   0
CPU    1: hi:  186, btch:  31 usd:   0
CPU    2: hi:  186, btch:  31 usd:   0
CPU    3: hi:  186, btch:  31 usd:   0
active_anon:583884 inactive_anon:256962 isolated_anon:0
 active_file:459645 inactive_file:408821 isolated_file:0
 unevictable:2049 dirty:21 writeback:0 unstable:0
 free:144530 slab_reclaimable:93632 slab_unreclaimable:11367
 mapped:154757 shmem:139273 pagetables:8318 bounce:0
 free_cma:0
Node 0 DMA free:15888kB min:132kB low:164kB high:196kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:15992kB managed:15896kB mlocked:0kB dirty:0kB writeback:0kB mapped:0kB shmem:0kB slab_reclaimable:0kB slab_unreclaimable:8kB kernel_stack:0kB pagetables:0kB unstable:0kB bounce:0kB free_cma:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? yes
lowmem_reserve[]: 0 3457 7904 7904
Node 0 DMA32 free:240444kB min:29504kB low:36880kB high:44256kB active_anon:733544kB inactive_anon:433164kB active_file:957596kB inactive_file:898608kB unevictable:2572kB isolated(anon):0kB isolated(file):0kB present:3617604kB managed:3542944kB mlocked:2572kB dirty:12kB writeback:0kB mapped:219596kB shmem:175872kB slab_reclaimable:177524kB slab_unreclaimable:15700kB kernel_stack:1424kB pagetables:12800kB unstable:0kB bounce:0kB free_cma:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no
lowmem_reserve[]: 0 0 4446 4446
Node 0 Normal free:321788kB min:37944kB low:47428kB high:56916kB active_anon:1601992kB inactive_anon:594684kB active_file:880984kB inactive_file:736676kB unevictable:5624kB isolated(anon):0kB isolated(file):0kB present:4685824kB managed:4553488kB mlocked:5624kB dirty:72kB writeback:0kB mapped:399432kB shmem:381220kB slab_reclaimable:197004kB slab_unreclaimable:29760kB kernel_stack:2672kB pagetables:20472kB unstable:0kB bounce:0kB free_cma:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no
lowmem_reserve[]: 0 0 0 0
Node 0 DMA: 2*4kB (U) 1*8kB (U) 2*16kB (U) 1*32kB (U) 1*64kB (U) 1*128kB (U) 1*256kB (U) 0*512kB 1*1024kB (U) 1*2048kB (R) 3*4096kB (M) = 15888kB
Node 0 DMA32: 16271*4kB (UEMR) 12996*8kB (UE) 4462*16kB (UM) 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 240444kB
Node 0 Normal: 4401*4kB (UEMR) 14780*8kB (UEM) 8793*16kB (UEM) 1423*32kB (UM) 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 322068kB
Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=2048kB
1009606 total pagecache pages
968 pages in swap cache
Swap cache stats: add 7288, delete 6320, find 34844/35058
Free swap  = 4176772kB
Total swap = 4194300kB
2088959 pages RAM
60877 pages reserved
1045328 pages shared
1264617 pages non-shared
Comment 16 Martin Peres 2019-11-19 08:32:53 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/330.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.