System freeze with radeon driver on G4 AGP Graphics

Bug #1125908 reported by ppc luddite
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xserver-xorg-video-ati (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

While testing Lubuntu 13.04, I have to boot with the yaboot parameter video=radeonfb:off to get 3D acceleration on my G4 Power Mac AGP Graphics with an ATI Radeon 9000, but after a couple of minutes use, the system freezes. This happens after every boot. I think I found the relevant passage in my /var/log/kern.log:

Feb 11 14:26:44 sawtooth kernel: [ 867.190014] radeon 0000:00:10.0: GPU lockup CP stall for more than 10000msec
Feb 11 14:26:46 sawtooth kernel: [ 867.190049] radeon 0000:00:10.0: GPU lockup (waiting for 0x0000000000002f13 last fence id 0x0000000000002d59)
Feb 11 14:26:46 sawtooth kernel: [ 867.190064] [drm:radeon_cs_ioctl] *ERROR* Failed to parse relocation -35!
Feb 11 14:26:46 sawtooth kernel: [ 867.336024] radeon: wait for empty RBBM fifo failed ! Bad things might happen.
Feb 11 14:26:46 sawtooth kernel: [ 867.481748] Failed to wait GUI idle while programming pipes. Bad things might happen.
Feb 11 14:26:46 sawtooth kernel: [ 867.488028] radeon 0000:00:10.0: Saved 14171 dwords of commands on ring 0.
Feb 11 14:26:46 sawtooth kernel: [ 867.488061] radeon 0000:00:10.0: (r100_asic_reset:2632) RBBM_STATUS=0x8003C100
Feb 11 14:26:46 sawtooth kernel: [ 867.974770] radeon 0000:00:10.0: (r100_asic_reset:2653) RBBM_STATUS=0x8003C100
Feb 11 14:26:46 sawtooth kernel: [ 868.457572] radeon 0000:00:10.0: (r100_asic_reset:2661) RBBM_STATUS=0x8002C100
Feb 11 14:26:46 sawtooth kernel: [ 868.457620] radeon 0000:00:10.0: GPU reset succeed
Feb 11 14:26:46 sawtooth kernel: [ 868.457633] radeon 0000:00:10.0: GPU reset succeeded, trying to resume
Feb 11 14:26:46 sawtooth kernel: [ 868.457657] radeon 0000:00:10.0: (r100_asic_reset:2632) RBBM_STATUS=0x8002C100
Feb 11 14:26:46 sawtooth kernel: [ 868.944349] radeon 0000:00:10.0: (r100_asic_reset:2653) RBBM_STATUS=0x8002C100
Feb 11 14:26:46 sawtooth kernel: [ 869.427136] radeon 0000:00:10.0: (r100_asic_reset:2661) RBBM_STATUS=0x8002C100
Feb 11 14:26:46 sawtooth kernel: [ 869.427177] radeon 0000:00:10.0: GPU reset succeed
Feb 11 14:26:46 sawtooth kernel: [ 869.427391] ------------[ cut here ]------------
Feb 11 14:26:46 sawtooth kernel: [ 869.427399] Kernel BUG at f1d46f48 [verbose debug info unavailable]
Feb 11 14:26:46 sawtooth kernel: [ 869.429898] [sched_delayed] sched: RT throttling activated
Feb 11 14:26:46 sawtooth kernel: [ 869.535603] Oops: Exception in kernel mode, sig: 5 [#1]
Feb 11 14:26:46 sawtooth kernel: [ 869.536270] SMP NR_CPUS=4 PowerMac
Feb 11 14:26:46 sawtooth kernel: [ 869.536697] Modules linked in: nls_utf8(F) hfsplus(F) rtc_generic(F) mac_hid(F) radeon(F) rfcomm(F) parport_pc(F) ttm(F) bnep(F) bluetooth(F) ppdev(F) lp(F) parport(F) drm_kms_helper(F) drm(F) shpchp(F) uninorth_agp(F) snd_powermac(F) snd_pcm(F) snd_page_alloc(F) snd_seq_midi(F) snd_seq_midi_event(F) snd_rawmidi(F) snd_seq(F) snd_seq_device(F) snd_timer(F) snd(F) soundcore(F) apm_emu(F) apm_emulation(F) hid_generic(F) usbhid(F) firewire_ohci(F) hid(F) firewire_core(F) crc_itu_t(F) sungem(F) sungem_phy(F)
Feb 11 14:26:46 sawtooth kernel: [ 869.542524] NIP: f1d46f48 LR: f1d2d170 CTR: f1d64bfc
Feb 11 14:26:46 sawtooth kernel: [ 869.543116] REGS: c4eadb30 TRAP: 0700 Tainted: GF (3.8.0-2-powerpc-smp)
Feb 11 14:26:46 sawtooth kernel: [ 869.544026] MSR: 00029032 <EE,ME,IR,DR,RI> CR: 24000428 XER: 00000000
Feb 11 14:26:46 sawtooth kernel: [ 869.544913] TASK = efbddfe0[935] 'Xorg' THREAD: c4eac000 CPU: 0
Feb 11 14:26:46 sawtooth kernel: [ 869.544913] GPR00: f1d2d170 c4eadbe0 efbddfe0 c5f02200 0000000c fffffffa 00000000 00000000
Feb 11 14:26:46 sawtooth kernel: [ 869.544913] GPR08: c092abac 00000001 00000000 00000206 00000206 2060c02c 2106be10 00000000
Feb 11 14:26:46 sawtooth kernel: [ 869.544913] GPR16: 2060fde4 20edf758 2060450c 00000001 ef96c00c ef96c478 c4eadc58 f1dc775c
Feb 11 14:26:46 sawtooth kernel: [ 869.544913] GPR24: f1dc76f0 00000001 00000000 c4eadc5c c4eadc48 ef96c000 ef96c000 c5f02200
Feb 11 14:26:46 sawtooth kernel: [ 869.549611] NIP [f1d46f48] radeon_bo_get_surface_reg+0x30/0x144 [radeon]
Feb 11 14:26:46 sawtooth kernel: [ 869.550507] LR [f1d2d170] radeon_surface_init+0x3c/0xb0 [radeon]
Feb 11 14:26:46 sawtooth kernel: [ 869.551240] Call Trace:
Feb 11 14:26:46 sawtooth kernel: [ 869.551681] [c4eadbe0] [f1d654a0] r100_asic_reset+0x254/0x280 [radeon] (unreliable)
Feb 11 14:26:46 sawtooth kernel: [ 869.552679] [c4eadc00] [f1d2d170] radeon_surface_init+0x3c/0xb0 [radeon]
Feb 11 14:26:46 sawtooth kernel: [ 869.553548] [c4eadc20] [f1d66a04] r100_resume+0x68/0x108 [radeon]
Feb 11 14:26:46 sawtooth kernel: [ 869.554385] [c4eadc40] [f1d2ee68] radeon_gpu_reset+0x178/0x24c [radeon]
Feb 11 14:26:46 sawtooth kernel: [ 869.555249] [c4eadcb0] [f1d5d7f0] radeon_cs_ioctl+0x394/0x8a0 [radeon]
Feb 11 14:26:46 sawtooth kernel: [ 869.556151] [c4eaddd0] [f1975360] drm_ioctl+0x3a0/0x450 [drm]
Feb 11 14:26:46 sawtooth kernel: [ 869.556861] [c4eadea0] [c01796a0] do_vfs_ioctl+0xa8/0x758
Feb 11 14:26:46 sawtooth kernel: [ 869.557513] [c4eadf10] [c0179dd4] sys_ioctl+0x84/0xb8
Feb 11 14:26:46 sawtooth kernel: [ 869.558168] [c4eadf40] [c00170bc] ret_from_syscall+0x0/0x38
Feb 11 14:26:46 sawtooth kernel: [ 869.558852] --- Exception: c01 at 0x1ff879a8
Feb 11 14:26:46 sawtooth kernel: [ 869.558852] LR = 0x1ff87910
Feb 11 14:26:46 sawtooth kernel: [ 869.559712] Instruction dump:
Feb 11 14:26:46 sawtooth kernel: [ 869.560084] 7c0802a6 90010004 60000000 9421ffe0 7c0802a6 bf61000c 90010024 7c7f1b78
Feb 11 14:26:46 sawtooth kernel: [ 869.561099] 83c3013c 812300e8 7d290034 5529d97e <0f090000> 80a30128 38600000 2f850000
Feb 11 14:26:46 sawtooth kernel: [ 869.779768] ---[ end trace 3509c40e8c2e2be6 ]---
Feb 11 14:26:46 sawtooth kernel: [ 869.779780]
Feb 11 14:26:46 sawtooth kernel: [ 869.807609] [drm:drm_release] *ERROR* Device busy: 1
Feb 11 14:26:47 sawtooth kernel: [ 870.804690] vgaarb: this pci device is not a vga device
Feb 11 14:26:48 sawtooth kernel: [ 871.005662] vgaarb: this pci device is not a vga device

And here´s another instance with slight differences in the output:

Feb 12 14:24:02 sawtooth kernel: [ 1434.028956] radeon 0000:00:10.0: GPU lockup CP stall for more than 10000msec
Feb 12 14:24:04 sawtooth kernel: [ 1434.029071] radeon 0000:00:10.0: GPU lockup (waiting for 0x0000000000002120 last fence id 0x000000000000211f)
Feb 12 14:24:04 sawtooth kernel: [ 1434.175051] radeon: wait for empty RBBM fifo failed ! Bad things might happen.
Feb 12 14:24:04 sawtooth kernel: [ 1434.320992] Failed to wait GUI idle while programming pipes. Bad things might happen.
Feb 12 14:24:04 sawtooth kernel: [ 1434.325257] radeon 0000:00:10.0: Saved 43 dwords of commands on ring 0.
Feb 12 14:24:04 sawtooth kernel: [ 1434.325304] radeon 0000:00:10.0: (r100_asic_reset:2632) RBBM_STATUS=0x8006C139
Feb 12 14:24:04 sawtooth kernel: [ 1434.812059] radeon 0000:00:10.0: (r100_asic_reset:2653) RBBM_STATUS=0x8002C139
Feb 12 14:24:04 sawtooth kernel: [ 1435.294930] radeon 0000:00:10.0: (r100_asic_reset:2661) RBBM_STATUS=0x8002C139
Feb 12 14:24:04 sawtooth kernel: [ 1435.294999] radeon 0000:00:10.0: GPU reset succeed
Feb 12 14:24:04 sawtooth kernel: [ 1435.295019] radeon 0000:00:10.0: GPU reset succeeded, trying to resume
Feb 12 14:24:04 sawtooth kernel: [ 1435.295065] radeon 0000:00:10.0: (r100_asic_reset:2632) RBBM_STATUS=0x8002C139
Feb 12 14:24:04 sawtooth kernel: [ 1435.781864] radeon 0000:00:10.0: (r100_asic_reset:2653) RBBM_STATUS=0x8002C139
Feb 12 14:24:04 sawtooth kernel: [ 1436.264744] radeon 0000:00:10.0: (r100_asic_reset:2661) RBBM_STATUS=0x8002C139
Feb 12 14:24:04 sawtooth kernel: [ 1436.264790] radeon 0000:00:10.0: GPU reset succeed
Feb 12 14:24:04 sawtooth kernel: [ 1436.265671] ------------[ cut here ]------------
Feb 12 14:24:04 sawtooth kernel: [ 1436.265680] Kernel BUG at f1cc4f48 [verbose debug info unavailable]
Feb 12 14:24:04 sawtooth kernel: [ 1436.268747] [sched_delayed] sched: RT throttling activated
Feb 12 14:24:04 sawtooth kernel: [ 1436.269948] Oops: Exception in kernel mode, sig: 5 [#1]
Feb 12 14:24:04 sawtooth kernel: [ 1436.270648] SMP NR_CPUS=4 PowerMac
Feb 12 14:24:04 sawtooth kernel: [ 1436.271145] Modules linked in: rtc_generic(F) mac_hid(F) radeon(F) bnep(F) rfcomm(F) parport_pc(F) bluetooth(F) ppdev(F) lp(F) parport(F) ttm(F) drm_kms_helper(F) drm(F) shpchp(F) uninorth_agp(F) snd_powermac(F) snd_pcm(F) snd_page_alloc(F) snd_seq_midi(F) snd_seq_midi_event(F) snd_rawmidi(F) snd_seq(F) snd_seq_device(F) snd_timer(F) snd(F) soundcore(F) apm_emu(F) apm_emulation(F) hid_generic(F) firewire_ohci(F) usbhid(F) hid(F) firewire_core(F) crc_itu_t(F) sungem(F) sungem_phy(F)
Feb 12 14:24:04 sawtooth kernel: [ 1436.277032] NIP: f1cc4f48 LR: f1cab170 CTR: f1ce2bfc
Feb 12 14:24:04 sawtooth kernel: [ 1436.277680] REGS: c56fbc40 TRAP: 0700 Tainted: GF (3.8.0-2-powerpc-smp)
Feb 12 14:24:04 sawtooth kernel: [ 1436.278632] MSR: 00029032 <EE,ME,IR,DR,RI> CR: 24444428 XER: 00000000
Feb 12 14:24:04 sawtooth kernel: [ 1436.279579] TASK = c46b3b00[961] 'Xorg' THREAD: c56fa000 CPU: 0
Feb 12 14:24:04 sawtooth kernel: [ 1436.279579] GPR00: f1cab170 c56fbcf0 c46b3b00 c56f5e00 0000000c fffffffa 00000000 00000000
Feb 12 14:24:04 sawtooth kernel: [ 1436.279579] GPR08: c092abac 00000001 00000000 00000206 00000206 206f602c 00000001 00000c00
Feb 12 14:24:04 sawtooth kernel: [ 1436.279579] GPR16: 20c9a9c0 00000000 20c8e830 00000001 c49a400c c49a4478 c56fbd68 f1d4575c
Feb 12 14:24:04 sawtooth kernel: [ 1436.279579] GPR24: f1d456f0 00000001 00000000 c56fbd6c c56fbd58 c49a4000 c49a4000 c56f5e00
Feb 12 14:24:04 sawtooth kernel: [ 1436.285169] NIP [f1cc4f48] radeon_bo_get_surface_reg+0x30/0x144 [radeon]
Feb 12 14:24:04 sawtooth kernel: [ 1436.286176] LR [f1cab170] radeon_surface_init+0x3c/0xb0 [radeon]
Feb 12 14:24:04 sawtooth kernel: [ 1436.286951] Call Trace:
Feb 12 14:24:04 sawtooth kernel: [ 1436.287429] [c56fbcf0] [f1ce34a0] r100_asic_reset+0x254/0x280 [radeon] (unreliable)
Feb 12 14:24:04 sawtooth kernel: [ 1436.288462] [c56fbd10] [f1cab170] radeon_surface_init+0x3c/0xb0 [radeon]
Feb 12 14:24:04 sawtooth kernel: [ 1436.289449] [c56fbd30] [f1ce4a04] r100_resume+0x68/0x108 [radeon]
Feb 12 14:24:04 sawtooth kernel: [ 1436.290294] [c56fbd50] [f1cace68] radeon_gpu_reset+0x178/0x24c [radeon]
Feb 12 14:24:04 sawtooth kernel: [ 1436.291197] [c56fbdc0] [f1cd7a60] radeon_gem_handle_lockup.part.0+0x1c/0x3c [radeon]
Feb 12 14:24:04 sawtooth kernel: [ 1436.292648] [c56fbdd0] [f1980360] drm_ioctl+0x3a0/0x450 [drm]
Feb 12 14:24:04 sawtooth kernel: [ 1436.293557] [c56fbea0] [c01796a0] do_vfs_ioctl+0xa8/0x758
Feb 12 14:24:04 sawtooth kernel: [ 1436.294264] [c56fbf10] [c0179dd4] sys_ioctl+0x84/0xb8
Feb 12 14:24:04 sawtooth kernel: [ 1436.294956] [c56fbf40] [c00170bc] ret_from_syscall+0x0/0x38
Feb 12 14:24:04 sawtooth kernel: [ 1436.295714] --- Exception: c01 at 0x200719a8
Feb 12 14:24:04 sawtooth kernel: [ 1436.295714] LR = 0x20071910
Feb 12 14:24:04 sawtooth kernel: [ 1436.296674] Instruction dump:
Feb 12 14:24:04 sawtooth kernel: [ 1436.297155] 7c0802a6 90010004 60000000 9421ffe0 7c0802a6 bf61000c 90010024 7c7f1b78
Feb 12 14:24:04 sawtooth kernel: [ 1436.298215] 83c3013c 812300e8 7d290034 5529d97e <0f090000> 80a30128 38600000 2f850000
Feb 12 14:24:04 sawtooth kernel: [ 1436.504943] ---[ end trace 0323be9febb8feb5 ]---
Feb 12 14:24:04 sawtooth kernel: [ 1436.504974]
Feb 12 14:24:04 sawtooth kernel: [ 1436.551864] [drm:drm_release] *ERROR* Device busy: 1
Feb 12 14:24:07 sawtooth kernel: [ 1439.710221] vgaarb: this pci device is not a vga device
Feb 12 14:24:07 sawtooth kernel: [ 1439.984311] vgaarb: this pci device is not a vga device

This is my first *ubuntu install, so I can´t compare it to previous versions. I also tried adding video=offb:off to the video=radeonfb:off parameter, but it didn´t help.

Description: Ubuntu Raring Ringtail (development branch)
Release: 13.04

xserver-xorg-video-radeon:
  Installed: 1:7.1.0-0ubuntu1
  Candidate: 1:7.1.0-0ubuntu1
  Version table:
 *** 1:7.1.0-0ubuntu1 0
        500 http://ports.ubuntu.com/ubuntu-ports/ raring/main powerpc Packages
        100 /var/lib/dpkg/status

Tags: ppc
bugbot (bugbot)
tags: added: ppc
Revision history for this message
ojordan (ojordan12345) wrote :

PowerPC + radeon + Kernel Mode Setting (KMS) has problems with AGP. If you force pci mode radeon.agpmode=-1 does this help?

Userspace mode setting with radeon was dropped after Ubuntu 12.04/Debian wheezy so you have to use KMS in 12.10 onwards. KMS on PowerPC is something that really needs sorting. If you want to help with the issue, then report it on Bugzilla https://bugs.freedesktop.org/ or even the PowerPC kernel mailing list https://lists.ozlabs.org/pipermail/linuxppc-dev/ .

Revision history for this message
ojordan (ojordan12345) wrote :

I also should add that in addition to this problem, there are a few colour issues with radeon KMS. A lot of fixes have gone in, and it is much better than it was, but last time I tried I was still getting this https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-ati/+bug/1052619 . If you use a compositing manager it is much better. I will NOT be following up on that bug, as I do not use LXDE. There are enough people shoving Lubuntu down your throat, and they should be looking into these issues. It needs reporting on bugzilla also.

Revision history for this message
penalvch (penalvch) wrote :
Changed in xserver-xorg-video-ati (Ubuntu):
status: New → Invalid
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.