Bug 26144 - Xorg Locks up when modesetting is enabled on RS482 [radeon]
Summary: Xorg Locks up when modesetting is enabled on RS482 [radeon]
Status: RESOLVED INVALID
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/Radeon (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: xf86-video-ati maintainers
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-20 12:51 UTC by Juan Canham
Modified: 2018-06-12 19:08 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments
kern.log from complete session including schedule IB errors (183.65 KB, text/plain)
2010-04-16 05:56 UTC, Ancoron
no flags Details
Xorg.0.log from the same session (32.27 KB, text/plain)
2010-04-16 05:58 UTC, Ancoron
no flags Details
Lockup with 2.6.35 (32.02 KB, text/plain)
2010-08-05 08:23 UTC, Kai
no flags Details
Excerpt from /var/log/syslog for 2.6.36.1 (5.79 KB, text/plain)
2010-11-29 07:27 UTC, Kai
no flags Details
Excerpt from /var/log/kdm.log (1.58 KB, text/plain)
2010-11-29 07:31 UTC, Kai
no flags Details

Description Juan Canham 2010-01-20 12:51:03 UTC
When using modesetting and a recent kernel (errors below are from 2.6.33-rc4, but also occur with 2.6.33.0) and xorg (I can't give an exact xorg version), after some time (about 930 seconds in the dmesgs i've pasted but it varies) the screen jumps to the left (and wraps around using pacman like rules). Possibly relevant is that im using kde4.4 with desktop effects.

It takes a while to reproduce, but it does happen every boot eventually.

version numbers
xserver-xorg      1:7.4+3ubuntu10
xserver-xorg-core 2:1.6.5+git20091107+server-1.6-branch.2dbcb06a-0ubuntu0sarvatt~karmic
xserver-xorg-video-all    1:7.4+3ubuntu10
xserver-xorg-video-ati    1:6.12.99+git20100120.30a19b75-0ubuntu0sarvatt~karmic
xserver-xorg-video-radeon 1:6.12.99+git20100120.30a19b75-0ubuntu0sarvatt~karmic
kernel 2.6.33-rc4 (x86_64)

An example dmesg (I have more i can attach if they will be useful):
[  937.923082] [drm:radeon_fence_wait] *ERROR* fence(ffff880055f0cc40:0x0004E051) 510ms timeout going to reset GPU
[  937.924501] [drm:r300_ga_reset] *ERROR* VAP & CP still busy (RBBM_STATUS=0x8400C100)
[  938.078474] [drm:r300_ga_reset] *ERROR* Failed to reset GA ! (RBBM_STATUS=0x84100140)
[  938.078481] [drm:r300_gpu_reset] *ERROR* Failed to reset GPU (RBBM_STATUS=0x84100140)
[  938.106044] [drm:radeon_fence_wait] *ERROR* fence(ffff880055f0cc40:0x0004E051) 693ms timeout going to reset GPU
[  938.108450] [drm] GA reset succeed (RBBM_STATUS=0x00000140)          
[  938.108452] [drm] GPU reset succeed (RBBM_STATUS=0x00000140)
[  938.108455] [drm:radeon_fence_wait] *ERROR* fence(ffff880055f0cc40:0x0004E051) 705ms timeout
[  938.108457] [drm:radeon_fence_wait] *ERROR* last signaled fence(0x0004E051) 
[  938.109474] [drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(1).
[  938.109478] [drm:radeon_cs_ioctl] *ERROR* Faild to schedule IB !            
[  938.110475] [drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(1).
[  938.110479] [drm:radeon_cs_ioctl] *ERROR* Faild to schedule IB !
[  938.118442] [drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(1).
[  938.118447] [drm:radeon_cs_ioctl] *ERROR* Faild to schedule IB !
[  942.545345] [drm:drm_mode_getfb] *ERROR* invalid framebuffer id
[  942.555417] [drm] LVDS-11: set mode 1280x800 1a
[  942.863619] [drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(1).
[  942.863629] [drm:radeon_cs_ioctl] *ERROR* Faild to schedule IB!
[  945.101976] [drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(1).
[  945.101980] [drm:radeon_cs_ioctl] *ERROR* Faild to schedule IB !
[  945.102357] [drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(1).
[  945.102359] [drm:radeon_cs_ioctl] *ERROR* Faild to schedule IB !
[  945.412717] [drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(1).
repeat last two lines till i reboot

from an older xorg-server-ati version
[  939.279078] [drm:radeon_fence_wait] *ERROR* fence(ffff880048c41a40:0x0003D105) 510ms timeout going to reset GPU
[  939.280500] [drm:r300_ga_reset] *ERROR* VAP & CP still busy (RBBM_STATUS=0x8400C100)
[  939.431179] [drm:r300_ga_reset] *ERROR* Failed to reset GA ! (RBBM_STATUS=0x84100140)
[  939.431187] [drm:r300_gpu_reset] *ERROR* Failed to reset GPU (RBBM_STATUS=0x84100140)
[  939.441056] [drm:radeon_fence_wait] *ERROR* fence(ffff880048c41a40:0x0003D105) 672ms timeout going to reset GPU
[  939.443466] [drm] GA reset succeed (RBBM_STATUS=0x00000140)           
[  939.443471] [drm] GPU reset succeed (RBBM_STATUS=0x00000140)             
[  939.443479] [drm:radeon_fence_wait] *ERROR* fence(ffff880048c41a40:0x0003D105) 684ms timeout
[  939.443484] [drm:radeon_fence_wait] *ERROR* last signaled fence(0x0003D105)
[  939.445292] [drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(5).
[  939.445297] [drm:radeon_cs_ioctl] *ERROR* Faild to schedule IB !
[  940.028429] [drm:drm_mode_getfb] *ERROR* invalid framebuffer id
[  940.038513] [drm] LVDS-11: set mode 1280x800 1a
[  940.118204] [drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(5).
[  940.118209] [drm:radeon_cs_ioctl] *ERROR* Faild to schedule IB !
[  941.057663] [drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(5).
[  941.057668] [drm:radeon_cs_ioctl] *ERROR* Faild to schedule IB !
[  941.057730] [drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(5).
[  941.057732] [drm:radeon_cs_ioctl] *ERROR* Faild to schedule IB !
[  941.125130] [drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(5).
[  941.125134] [drm:radeon_cs_ioctl] *ERROR* Faild to schedule IB !
repeat last two lines till i reboot
Comment 1 Ancoron 2010-04-16 05:56:22 UTC
Created attachment 35088 [details]
kern.log from complete session including schedule IB errors

Same here, with an RV505 CE (Radeon X1550 64-bit).

This is with an Ubuntu Lucid kernel which pulls the complete 2.6.33 DRM/KMS stuff:

X.Org X Server 1.7.6
Release Date: 2010-03-17
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.24-27-server x86_64 Ubuntu
Current Operating System: Linux purgatory 2.6.32-21-generic #31-Ubuntu SMP Tue Apr 13 20:37:36 UTC 2010 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-2.6.32-21-generic root=UUID=a648ff9e-82bc-4f46-b7cc-4e9a14db4c2f ro quiet splash
Build Date: 12 April 2010  03:38:27PM
xorg-server 2:1.7.6-2ubuntu3 (Alexander Sack <asac@ubuntu.com>)
Comment 2 Ancoron 2010-04-16 05:58:19 UTC
Created attachment 35089 [details]
Xorg.0.log from the same session

No messages in the Xorg.log, so driver seems to be fine.

Will test that with a recent 2.6.34 candidate to make sure it still is a problem.
Comment 3 Kai 2010-08-05 08:23:03 UTC
Created attachment 37589 [details]
Lockup with 2.6.35

I'm getting this with 2.6.35, libdrm 2.4.21, xf86-video-radeon 6.13.1, Mesa 7.8.2 (I'm not using the Gallium driver yet, but the "classic" one) and X.org server 1.7.7.

Please let me know, if you need further/other information and I try to provide it.
Comment 4 Kai 2010-08-05 08:25:43 UTC
Oh, just forgot to note it: the GPU in question is a R300 (Radeon 9500 Pro).
Comment 5 Alex Deucher 2010-08-05 08:29:31 UTC
(In reply to comment #3)
> Created an attachment (id=37589) [details]
> Lockup with 2.6.35
> 
> I'm getting this with 2.6.35, libdrm 2.4.21, xf86-video-radeon 6.13.1, Mesa
> 7.8.2 (I'm not using the Gallium driver yet, but the "classic" one) and X.org
> server 1.7.7.
> 
> Please let me know, if you need further/other information and I try to provide
> it.

Is this a regression?  If so what parts did you upgrade and what versions were you using when it last worked?
Comment 6 Kai 2010-08-05 08:37:34 UTC
(In reply to comment #5)
> Is this a regression? If so what parts did you upgrade and what versions were
> you using when it last worked?

For me it seems to be. I've only updated the kernel from 2.6.34.1 to 2.6.35.
Comment 7 Alex Deucher 2010-08-05 08:57:13 UTC
(In reply to comment #6)
> (In reply to comment #5)
> > Is this a regression? If so what parts did you upgrade and what versions were
> > you using when it last worked?
> 
> For me it seems to be. I've only updated the kernel from 2.6.34.1 to 2.6.35.

Can you bisect between 2.6.34 and 2.6.35 to see what commit is causing the problem?
Comment 8 Kai 2010-08-05 10:07:15 UTC
(In reply to comment #7)
> Can you bisect between 2.6.34 and 2.6.35 to see what commit is causing the
> problem?

I can try, though I can give you no estimate how long this will take, as I haven't found a way to repeatedly trigger the lock-up. I'm now on 2.6.35 for over two hours again and nothing happened. While it took me only 30 minutes before that to hit the lock-up.
Comment 9 Hans de Goede 2010-08-27 06:08:33 UTC
I'm seeing this too, this also seems to be the same bug as:
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-ati/+bug/586243/
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-ati/+bug/619365/

Everything works mostly fine for me, until I go to redhat's bugzilla which has the dotted tile background (which has caused issues before) and scroll around a bit, then my screen goes black for a couple of seconds and comes back distorted. Usually it is shift to the right by 200 pixels or so, the mouse cursor is corrupted and other then that thinks don't work. I've also had a couple of cases where some corruption was happening but I could still type and see what I typed in plain old xterm (but not in firefox) I could select text in firefox, it was not being highlighted but pasting worked, which was good as that meant I could copy and paste and then save a long bz comment I was typing :)

My syslogs fills with:
host kernel: [drm:radeon_cs_ioctl] *ERROR* Faild to schedule IB !
host kernel: [drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(5). 
host kernel: [drm:radeon_cs_ioctl] *ERROR* Faild to schedule IB !
host kernel: [drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(6). 
host kernel: [drm:radeon_cs_ioctl] *ERROR* Faild to schedule IB !
host kernel: [drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(7). 
host kernel: [drm:radeon_cs_ioctl] *ERROR* Faild to schedule IB !
host kernel: [drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(8). 
host kernel: [drm:radeon_cs_ioctl] *ERROR* Faild to schedule IB !
host kernel: [drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(9). 
host kernel: [drm:radeon_cs_ioctl] *ERROR* Faild to schedule IB !

Although I've also seen:
lhost kernel: radeon 0000:03:00.0: GPU lockup CP stall for more than 1040msec
lhost kernel: ------------[ cut here ]------------
lhost kernel: WARNING: at drivers/gpu/drm/radeon/radeon_fence.c:235 radeon_fence_wait+0x24c/0x2ea [radeon]()
lhost kernel: Hardware name: System Product Name
lhost kernel: GPU lockup (waiting for 0x000042E3 last fence id 0x000042E1)
lhost kernel: Modules linked in: fuse ebtable_nat ebtables ipt_MASQUERADE iptab

Note the rest of the report / oops never made it to disk.
Comment 10 Eric Moncrieff 2010-11-15 14:18:16 UTC
I observe a similar symptom in my Lenovo T60 with a mobility radeon X1300, but only when I plug in an external monitor.  The following shows up in the kernel output via dmesg:

[   89.192146] radeon 0000:01:00.0: GPU lockup CP stall for more than 1040msec
[   89.192155] ------------[ cut here ]------------
[   89.192197] WARNING: at /build/buildd/linux-2.6.35/drivers/gpu/drm/radeon/radeon_fence.c:235 radeon_fence_wait+0x23e/0x290 [radeon]()
[   89.192204] Hardware name: 20074CU
[   89.192209] GPU lockup (waiting for 0x000003CB last fence id 0x000003C9)
[   89.192214] Modules linked in: aes_i586 aes_generic parport_pc ppdev rfcomm binfmt_misc sco bnep l2cap joydev snd_hda_codec_analog snd_hda_intel snd_hda_codec arc4 snd_hwdep radeon iwl3945 thinkpad_acpi snd_pcm pcmcia snd_seq_midi snd_rawmidi snd_seq_midi_event iwlcore snd_seq ttm snd_timer nsc_ircc mac80211 snd_seq_device drm_kms_helper tpm_tis irda btusb tpm nvram snd tpm_bios crc_ccitt bluetooth video output yenta_socket pcmcia_rsrc drm intel_agp pcmcia_core cfg80211 lp led_class psmouse serio_raw i2c_algo_bit agpgart soundcore snd_page_alloc parport usb_storage e1000e
[   89.192319] Pid: 1169, comm: Xorg Not tainted 2.6.35-22-generic #35-Ubuntu
[   89.192324] Call Trace:
[   89.192339]  [<c014ac52>] warn_slowpath_common+0x72/0xa0
[   89.192373]  [<f86742de>] ? radeon_fence_wait+0x23e/0x290 [radeon]
[   89.192407]  [<f86742de>] ? radeon_fence_wait+0x23e/0x290 [radeon]
[   89.192416]  [<c014ad23>] warn_slowpath_fmt+0x33/0x40
[   89.192450]  [<f86742de>] radeon_fence_wait+0x23e/0x290 [radeon]
[   89.192462]  [<c0165e10>] ? autoremove_wake_function+0x0/0x50
[   89.192495]  [<f8674a01>] radeon_sync_obj_wait+0x11/0x20 [radeon]
[   89.192512]  [<f8224e67>] ttm_bo_wait+0xe7/0x180 [ttm]
[   89.192625]  [<f868a049>] radeon_gem_wait_idle_ioctl+0x89/0x110 [radeon]
[   89.192655]  [<f829e98d>] drm_ioctl+0x1ad/0x430 [drm]
[   89.192698]  [<f8689fc0>] ? radeon_gem_wait_idle_ioctl+0x0/0x110 [radeon]
[   89.192711]  [<c010afb2>] ? restore_i387_xstate+0xe2/0x210
[   89.192719]  [<c013eabd>] ? finish_task_switch+0x3d/0xc0
[   89.192728]  [<c0226622>] vfs_ioctl+0x32/0xb0
[   89.192737]  [<c05c6a3a>] ? schedule+0x37a/0x7a0
[   89.192761]  [<f829e7e0>] ? drm_ioctl+0x0/0x430 [drm]
[   89.192768]  [<c0226eb9>] do_vfs_ioctl+0x79/0x2d0
[   89.192776]  [<c01021d6>] ? restore_sigcontext+0xc6/0xe0
[   89.192783]  [<c0227177>] sys_ioctl+0x67/0x80
[   89.192791]  [<c05c9114>] syscall_call+0x7/0xb
[   89.192797] ---[ end trace 5007e52c63a0ba03 ]---
[   89.227804] hrtimer: interrupt took 11720707 ns
[   89.564478] Failed to wait GUI idle while programming pipes. Bad things might happen.
[   89.565550] radeon 0000:01:00.0: (rs600_asic_reset:303) RBBM_STATUS=0x90010140
[   90.063849] radeon 0000:01:00.0: (rs600_asic_reset:322) RBBM_STATUS=0x90010140
[   90.560989] radeon 0000:01:00.0: (rs600_asic_reset:330) RBBM_STATUS=0x10000140
[   91.058133] radeon 0000:01:00.0: (rs600_asic_reset:338) RBBM_STATUS=0x10000140
[   91.058270] radeon 0000:01:00.0: restoring config space at offset 0x1 (was 0x100503, writing 0x100507)
[   91.059385] radeon 0000:01:00.0: GPU reset succeed
[   91.059390] radeon 0000:01:00.0: GPU reset succeed
[   91.059399] radeon 0000:01:00.0: f3ca5c00 unpin not necessary
[   91.065960] [drm] radeon: 1 quad pipes, 1 z pipes initialized.
[   91.068689] [drm] PCIE GART of 512M enabled (table at 0x00040000).
[   91.068780] [drm] radeon: ring at 0x0000000004000000
[   91.068836] [drm] ring test succeeded in 4 usecs
[   91.068858] [drm] ib test succeeded in 1 usecs
[   92.645152] radeon 0000:01:00.0: GPU lockup CP stall for more than 1040msec
[   92.645161] ------------[ cut here ]------------
[   92.645205] WARNING: at /build/buildd/linux-2.6.35/drivers/gpu/drm/radeon/radeon_fence.c:235 radeon_fence_wait+0x23e/0x290 [radeon]()
[   92.645211] Hardware name: 20074CU
[   92.645216] GPU lockup (waiting for 0x000003D4 last fence id 0x000003CB)
[   92.645221] Modules linked in: aes_i586 aes_generic parport_pc ppdev rfcomm binfmt_misc sco bnep l2cap joydev snd_hda_codec_analog snd_hda_intel snd_hda_codec arc4 snd_hwdep radeon iwl3945 thinkpad_acpi snd_pcm pcmcia snd_seq_midi snd_rawmidi snd_seq_midi_event iwlcore snd_seq ttm snd_timer nsc_ircc mac80211 snd_seq_device drm_kms_helper tpm_tis irda btusb tpm nvram snd tpm_bios crc_ccitt bluetooth video output yenta_socket pcmcia_rsrc drm intel_agp pcmcia_core cfg80211 lp led_class psmouse serio_raw i2c_algo_bit agpgart soundcore snd_page_alloc parport usb_storage e1000e
[   92.645327] Pid: 1169, comm: Xorg Tainted: G        W   2.6.35-22-generic #35-Ubuntu
[   92.645332] Call Trace:
[   92.645348]  [<c014ac52>] warn_slowpath_common+0x72/0xa0
[   92.645381]  [<f86742de>] ? radeon_fence_wait+0x23e/0x290 [radeon]
[   92.645416]  [<f86742de>] ? radeon_fence_wait+0x23e/0x290 [radeon]
[   92.645425]  [<c014ad23>] warn_slowpath_fmt+0x33/0x40
[   92.645459]  [<f86742de>] radeon_fence_wait+0x23e/0x290 [radeon]
[   92.645471]  [<c0165e10>] ? autoremove_wake_function+0x0/0x50
[   92.645504]  [<f8674a01>] radeon_sync_obj_wait+0x11/0x20 [radeon]
[   92.645522]  [<f8224e67>] ttm_bo_wait+0xe7/0x180 [ttm]
[   92.645561]  [<f868a049>] radeon_gem_wait_idle_ioctl+0x89/0x110 [radeon]
[   92.645590]  [<f829e98d>] drm_ioctl+0x1ad/0x430 [drm]
[   92.645633]  [<f8689fc0>] ? radeon_gem_wait_idle_ioctl+0x0/0x110 [radeon]
[   92.645647]  [<c010afb2>] ? restore_i387_xstate+0xe2/0x210
[   92.645657]  [<c02185d2>] ? rw_verify_area+0x62/0xd0
[   92.645665]  [<c0226622>] vfs_ioctl+0x32/0xb0
[   92.645688]  [<f829e7e0>] ? drm_ioctl+0x0/0x430 [drm]
[   92.645696]  [<c0226eb9>] do_vfs_ioctl+0x79/0x2d0
[   92.645703]  [<c01021d6>] ? restore_sigcontext+0xc6/0xe0
[   92.645710]  [<c0227177>] sys_ioctl+0x67/0x80
[   92.645719]  [<c05c9114>] syscall_call+0x7/0xb
[   92.645726] ---[ end trace 5007e52c63a0ba04 ]---
[   92.972860] radeon: wait for empty RBBM fifo failed ! Bad things might happen.
[   93.299576] Failed to wait GUI idle while programming pipes. Bad things might happen.
[   93.300655] radeon 0000:01:00.0: (rs600_asic_reset:303) RBBM_STATUS=0x9801C100
[   93.798865] radeon 0000:01:00.0: (rs600_asic_reset:322) RBBM_STATUS=0x9801C100
[   94.295984] radeon 0000:01:00.0: (rs600_asic_reset:330) RBBM_STATUS=0x9800C100
[   94.793025] radeon 0000:01:00.0: (rs600_asic_reset:338) RBBM_STATUS=0x9800C100
[   94.793159] radeon 0000:01:00.0: restoring config space at offset 0x1 (was 0x100503, writing 0x100507)
[   94.794271] radeon 0000:01:00.0: GPU reset succeed
[   94.794276] radeon 0000:01:00.0: GPU reset succeed
[   94.794286] radeon 0000:01:00.0: f3ca5c00 unpin not necessary
[   94.794306] radeon 0000:01:00.0: (rs600_asic_reset:303) RBBM_STATUS=0x9800C100
[   95.292519] radeon 0000:01:00.0: (rs600_asic_reset:322) RBBM_STATUS=0x9800C100
[   95.789564] radeon 0000:01:00.0: (rs600_asic_reset:330) RBBM_STATUS=0x9800C100
[   96.286615] radeon 0000:01:00.0: (rs600_asic_reset:338) RBBM_STATUS=0x9800C100
[   96.286751] radeon 0000:01:00.0: restoring config space at offset 0x1 (was 0x100503, writing 0x100507)
[   96.287863] radeon 0000:01:00.0: GPU reset succeed
[   96.881025] radeon: wait for empty RBBM fifo failed ! Bad things might happen.
[   97.466636] Failed to wait GUI idle while reseting GPU. Bad things might happen.
[   98.053049] radeon: wait for empty RBBM fifo failed ! Bad things might happen.
[   98.639089] Failed to wait GUI idle while programming pipes. Bad things might happen.
[   99.225221] radeon: wait for empty RBBM fifo failed ! Bad things might happen.
[   99.811451] Failed to wait GUI idle while programming pipes. Bad things might happen.
[  100.397275] radeon: wait for empty RBBM fifo failed ! Bad things might happen.
[  100.983013] Failed to wait GUI idle while programming pipes. Bad things might happen.
[  100.983019] [drm] radeon: 1 quad pipes, 1 z pipes initialized.
[  101.569156] radeon: wait for empty RBBM fifo failed ! Bad things might happen.
[  102.155199] Failed to wait GUI idle while reseting GPU. Bad things might happen.
[  102.156960] [drm] PCIE GART of 512M enabled (table at 0x00040000).
[  102.744934] radeon: wait for empty RBBM fifo failed ! Bad things might happen.
[  103.332224] Failed to wait GUI idle while programming pipes. Bad things might happen.
[  103.332273] [drm] radeon: ring at 0x0000000004000000
[  103.918581] [drm:r100_ring_test] *ERROR* radeon: ring test failed (sracth(0x15E4)=0xCAFEDEAD)
[  103.918590] [drm:r100_cp_init] *ERROR* radeon: cp isn't working (-22).
[  103.918596] radeon 0000:01:00.0: failled initializing CP (-22).

Then this stuff until I reboot:

[  104.392524] [drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(2).
[  104.392533] [drm:radeon_cs_ioctl] *ERROR* Faild to schedule IB !
[  104.395708] [drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(3).
[  104.395717] [drm:radeon_cs_ioctl] *ERROR* Faild to schedule IB !
[  104.403814] [drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(4).
[  104.403823] [drm:radeon_cs_ioctl] *ERROR* Faild to schedule IB !
[  104.405441] [drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(5).
[  104.405449] [drm:radeon_cs_ioctl] *ERROR* Faild to schedule IB !
[  104.405683] [drm:radeon_ib_schedule] *ERROR* radeon: couldn't schedule IB(6).
Comment 11 Alex Deucher 2010-11-15 14:21:13 UTC
(In reply to comment #10)
> I observe a similar symptom in my Lenovo T60 with a mobility radeon X1300, but
> only when I plug in an external monitor.  

What kernel are you using?
Comment 12 Eric Moncrieff 2010-11-15 14:37:20 UTC
emoncrieff@eric-lt:/var/log$ uname -a
Linux eric-lt 2.6.35-22-generic #35-Ubuntu SMP Sat Oct 16 20:36:48 UTC 2010 i686 GNU/Linux

Running on an Intel Core Duo CPU.  I've also observed it in whatever the stock kernel for Ubuntu 10.04 was.  At the bottom of the Xorg.log, I see:


[   147.333] (II) AIGLX: Suspending AIGLX clients for VT switch
[  1307.549] 
Backtrace:
[  1307.549] 0: /usr/bin/X (xorg_backtrace+0x3b) [0x80e82fb]
[  1307.549] 1: /usr/bin/X (0x8048000+0x5da8d) [0x80a5a8d]
[  1307.549] 2: (vdso) (__kernel_rt_sigreturn+0x0) [0x42040c]
[  1307.550] 3: /usr/bin/X (FreeClientResources+0xed) [0x808f04d]
[  1307.550] 4: /usr/bin/X (FreeAllResources+0x60) [0x808f120]
[  1307.550] 5: /usr/bin/X (0x8048000+0x1a5e6) [0x80625e6]
[  1307.550] 6: /lib/libc.so.6 (__libc_start_main+0xe7) [0x25fce7]
[  1307.550] 7: /usr/bin/X (0x8048000+0x1a191) [0x8062191]
[  1307.550] Segmentation fault at address 0xd000004
[  1307.550] 
Caught signal 11 (Segmentation fault). Server aborting
[  1307.550] 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[  1307.550] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[  1307.550] 
[  1307.550] (II) TPPS/2 IBM TrackPoint: Close
[  1307.550] (II) UnloadModule: "evdev"
[  1307.550] (II) ThinkPad Extra Buttons: Close
[  1307.550] (II) UnloadModule: "evdev"
[  1307.550] (II) UnloadModule: "synaptics"
[  1307.550] (II) AT Translated Set 2 keyboard: Close
[  1307.550] (II) UnloadModule: "evdev"
[  1307.550] (II) Sleep Button: Close
[  1307.550] (II) UnloadModule: "evdev"
[  1307.550] (II) Video Bus: Close
[  1307.551] (II) UnloadModule: "evdev"
[  1307.551] (II) Power Button: Close
[  1307.551] (II) UnloadModule: "evdev"
[  1307.569]  ddxSigGiveUp: Closing log
Comment 13 Kai 2010-11-29 07:27:51 UTC
Created attachment 40633 [details]
Excerpt from /var/log/syslog for 2.6.36.1

The above gets logged now to syslog when the lockup happens (the "couldn't schedule IB(…)" part continues endlessly (until I killed KDM) after the line I cut off, but I thought one iteration is enough). Unfortunately I deleted the rescued Xorg.0.log which had additional information. From what I can remember: it looked like what Eric posted in comment #12, though I had two backtraces there, one over the line "(II) AIGLX: Suspending AIGLX clients for VT switch", which was about 20 to 30 lines long and then something that was like the part posted in comment #12.

The software versions used are:
Kernel: 2.6.36.1
DDX: 6.13.2
Mesa: 7.9
libdrm2: 2.4.22
Comment 14 Kai 2010-11-29 07:31:08 UTC
Created attachment 40634 [details]
Excerpt from /var/log/kdm.log

Ha, I found that longer backtrace: it got also dumped in /var/log/kdm.log; in the hope it helps (the shorter one is still missing, but again: IIRC it looked like what Eric posted in comment #12).
Comment 15 Adam Jackson 2018-06-12 19:08:22 UTC
Mass closure: This bug has been untouched for more than six years, and is not
obviously still valid. Please reopen this bug or file a new report if you continue to experience issues with current releases.


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.