← Back to team overview

kernel-packages team mailing list archive

[Bug 1571416] Re: System freezes shortly after reaching the desktop (Ubuntu MATE 16.04, PowerPC)

 

Launchpad has imported 12 comments from the remote bug at
https://bugs.freedesktop.org/show_bug.cgi?id=95017.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2016-04-19T11:28:15+00:00 Mathieu Malaterre wrote:

I am installing a Debian Jessie on a Mac Mini PowerPC G4 system.

After a couple of seconds of using the system, it generally freeze,
looking at dmesg from another ssh connection I can see:

[   21.314765] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   21.459715] b43-phy0: Loading firmware version 666.2 (2011-02-23 01:15:07)
[   21.531076] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   23.719199] gem 0002:20:0f.0 eth0: Link is up at 100 Mbps, full-duplex
[   23.719318] gem 0002:20:0f.0 eth0: Pause is disabled
[   23.719357] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[  180.631048] radeon 0000:00:10.0: ring 0 stalled for more than 16096msec
[  180.631062] radeon 0000:00:10.0: GPU lockup (waiting for
0x000000000000031b last fence id 0x0000000000000301 on ring 0)
[  180.768184] radeon: wait for empty RBBM fifo failed ! Bad things
might happen.
[  180.905284] Failed to wait GUI idle while programming pipes. Bad
things might happen.
[  180.908156] radeon 0000:00:10.0: Saved 827 dwords of commands on ring 0.
[  180.908176] radeon 0000:00:10.0: (r100_asic_reset:2551)
RBBM_STATUS=0x8002C139
[  181.405690] radeon 0000:00:10.0: (r100_asic_reset:2572)
RBBM_STATUS=0x8002C139
[  181.899237] radeon 0000:00:10.0: (r100_asic_reset:2580)
RBBM_STATUS=0x8002C139
[  181.899264] radeon 0000:00:10.0: GPU reset succeed
[  181.899269] radeon 0000:00:10.0: GPU reset succeeded, trying to resume
[  181.899281] radeon 0000:00:10.0: (r100_asic_reset:2551)
RBBM_STATUS=0x8002C139
[  182.396784] radeon 0000:00:10.0: (r100_asic_reset:2572)
RBBM_STATUS=0x8002C139
[  182.890328] radeon 0000:00:10.0: (r100_asic_reset:2580)
RBBM_STATUS=0x8002C139
[  182.890351] radeon 0000:00:10.0: GPU reset succeed
[  182.890376] radeon 0000:00:10.0: WB disabled
[  182.890384] radeon 0000:00:10.0: fence driver on ring 0 use gpu
addr 0x0000000000000000 and cpu addr 0xe2819000
[  183.027494] radeon: wait for empty RBBM fifo failed ! Bad things
might happen.
[  183.164599] Failed to wait GUI idle while programming pipes. Bad
things might happen.
[  183.164643] [drm] radeon: ring at 0x0000000000001000
[  183.171448] [drm] ring test succeeded in 0 usecs
[  193.171046] radeon 0000:00:10.0: ring 0 stalled for more than 10000msec
[  193.171061] radeon 0000:00:10.0: GPU lockup (waiting for
0x000000000000031c last fence id 0x0000000000000301 on ring 0)
[  193.171068] [drm:r100_ib_test] *ERROR* radeon: fence wait failed (-35).
[  193.171079] [drm:radeon_ib_ring_tests] *ERROR* radeon: failed
testing IB on GFX ring (-35).
[  193.171084] radeon 0000:00:10.0: ib ring test failed (-35).
[  193.308210] radeon: wait for empty RBBM fifo failed ! Bad things
might happen.
[  193.445310] Failed to wait GUI idle while programming pipes. Bad
things might happen.
[  193.446307] radeon 0000:00:10.0: (r100_asic_reset:2551)
RBBM_STATUS=0x8002C136
[  193.943817] radeon 0000:00:10.0: (r100_asic_reset:2572)
RBBM_STATUS=0x8002C136
[  194.437363] radeon 0000:00:10.0: (r100_asic_reset:2580)
RBBM_STATUS=0x8002C136
[  194.437390] radeon 0000:00:10.0: GPU reset succeed
[  194.437395] radeon 0000:00:10.0: GPU reset succeeded, trying to resume
[  194.437407] radeon 0000:00:10.0: (r100_asic_reset:2551)
RBBM_STATUS=0x8002C136
[  194.934911] radeon 0000:00:10.0: (r100_asic_reset:2572)
RBBM_STATUS=0x8002C136
[  195.428455] radeon 0000:00:10.0: (r100_asic_reset:2580)
RBBM_STATUS=0x8002C136
[  195.428476] radeon 0000:00:10.0: GPU reset succeed
[  195.428501] radeon 0000:00:10.0: WB disabled
[  195.428509] radeon 0000:00:10.0: fence driver on ring 0 use gpu
addr 0x0000000000000000 and cpu addr 0xe2819000
[  195.565605] radeon: wait for empty RBBM fifo failed ! Bad things
might happen.
[  195.702705] Failed to wait GUI idle while programming pipes. Bad
things might happen.
[  195.702749] [drm] radeon: ring at 0x0000000000001000
[  195.710956] [drm] ring test succeeded in 0 usecs
[  205.707048] radeon 0000:00:10.0: ring 0 stalled for more than 10000msec
[  205.707063] radeon 0000:00:10.0: GPU lockup (waiting for
0x000000000000031d last fence id 0x0000000000000301 on ring 0)
[  205.707070] [drm:r100_ib_test] *ERROR* radeon: fence wait failed (-35).
[  205.707081] [drm:radeon_ib_ring_tests] *ERROR* radeon: failed
testing IB on GFX ring (-35).
[  205.707086] radeon 0000:00:10.0: ib ring test failed (-35).
[  205.758647] radeon 0000:00:10.0: GPU reset failed

Using

# apt-cache policy xserver-xorg-video-r128
xserver-xorg-video-r128:
  Installé : 6.9.2-1+b2
  Candidat : 6.9.2-1+b2
 Table de version :
 *** 6.9.2-1+b2 0
        500 http://ftp.fr.debian.org/debian/ jessie/main powerpc Packages
        100 /var/lib/dpkg/status

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1571416/comments/11

------------------------------------------------------------------------
On 2016-04-19T11:44:55+00:00 Mathieu Malaterre wrote:

If I update to debian jessie/backports here is what I get:

[   23.665906] b43-phy0: Loading firmware version 666.2 (2011-02-23 01:15:07)
[   25.930036] gem 0002:20:0f.0 eth0: Link is up at 100 Mbps, full-duplex
[   25.930164] gem 0002:20:0f.0 eth0: Pause is disabled
[   67.501888] radeon 0000:00:10.0: ring 0 stalled for more than 10212msec
[   67.501904] radeon 0000:00:10.0: GPU lockup (current fence id 0x0000000000000144 last fence id 0x0000000000000164 on ring 0)
[   67.640696] radeon: wait for empty RBBM fifo failed ! Bad things might happen.
[   67.776370] Failed to wait GUI idle while programming pipes. Bad things might happen.
[   67.781185] radeon 0000:00:10.0: Saved 1019 dwords of commands on ring 0.
[   67.781206] radeon 0000:00:10.0: (r100_asic_reset:2567) RBBM_STATUS=0x8002C139
[   68.278804] radeon 0000:00:10.0: (r100_asic_reset:2588) RBBM_STATUS=0x8002C139
[   68.772351] radeon 0000:00:10.0: (r100_asic_reset:2596) RBBM_STATUS=0x8002C139
[   68.772379] radeon 0000:00:10.0: GPU reset succeed
[   68.772384] radeon 0000:00:10.0: GPU reset succeeded, trying to resume
[   68.772396] radeon 0000:00:10.0: (r100_asic_reset:2567) RBBM_STATUS=0x8002C139
[   69.269899] radeon 0000:00:10.0: (r100_asic_reset:2588) RBBM_STATUS=0x8002C139
[   69.763445] radeon 0000:00:10.0: (r100_asic_reset:2596) RBBM_STATUS=0x8002C139
[   69.763466] radeon 0000:00:10.0: GPU reset succeed
[   69.763520] radeon 0000:00:10.0: WB disabled
[   69.763529] radeon 0000:00:10.0: fence driver on ring 0 use gpu addr 0x0000000000000000 and cpu addr 0xe2905000
[   69.898991] radeon: wait for empty RBBM fifo failed ! Bad things might happen.
[   70.034453] Failed to wait GUI idle while programming pipes. Bad things might happen.
[   70.034497] [drm] radeon: ring at 0x0000000000001000
[   70.043419] [drm] ring test succeeded in 0 usecs
[   80.537888] radeon 0000:00:10.0: ring 0 stalled for more than 10496msec
[   80.537903] radeon 0000:00:10.0: GPU lockup (current fence id 0x0000000000000144 last fence id 0x0000000000000165 on ring 0)
[   80.538132] [drm:r100_ib_test [radeon]] *ERROR* radeon: fence wait failed (-35).
[   80.538206] [drm:radeon_ib_ring_tests [radeon]] *ERROR* radeon: failed testing IB on GFX ring (-35).
[   80.674747] radeon: wait for empty RBBM fifo failed ! Bad things might happen.
[   80.810215] Failed to wait GUI idle while programming pipes. Bad things might happen.
[   80.828174] radeon 0000:00:10.0: Saved 252827 dwords of commands on ring 0.
[   80.829341] radeon 0000:00:10.0: (r100_asic_reset:2567) RBBM_STATUS=0x8002C135
[   81.326863] radeon 0000:00:10.0: (r100_asic_reset:2588) RBBM_STATUS=0x8002C135
[   81.820409] radeon 0000:00:10.0: (r100_asic_reset:2596) RBBM_STATUS=0x8002C135
[   81.820436] radeon 0000:00:10.0: GPU reset succeed
[   81.820441] radeon 0000:00:10.0: GPU reset succeeded, trying to resume
[   81.820452] radeon 0000:00:10.0: (r100_asic_reset:2567) RBBM_STATUS=0x8002C135
[   82.317955] radeon 0000:00:10.0: (r100_asic_reset:2588) RBBM_STATUS=0x8002C135
[   82.811520] radeon 0000:00:10.0: (r100_asic_reset:2596) RBBM_STATUS=0x8002C135
[   82.811541] radeon 0000:00:10.0: GPU reset succeed
[   82.811594] radeon 0000:00:10.0: WB disabled
[   82.811604] radeon 0000:00:10.0: fence driver on ring 0 use gpu addr 0x0000000000000000 and cpu addr 0xe2905000
[   82.947070] radeon: wait for empty RBBM fifo failed ! Bad things might happen.
[   83.082533] Failed to wait GUI idle while programming pipes. Bad things might happen.
[   83.082578] [drm] radeon: ring at 0x0000000000001000
[   83.092664] [drm] ring test succeeded in 0 usecs
[   93.585889] radeon 0000:00:10.0: ring 0 stalled for more than 10496msec
[   93.585905] radeon 0000:00:10.0: GPU lockup (current fence id 0x0000000000000144 last fence id 0x0000000000000166 on ring 0)
[   93.586134] [drm:r100_ib_test [radeon]] *ERROR* radeon: fence wait failed (-35).
[   93.586209] [drm:radeon_ib_ring_tests [radeon]] *ERROR* radeon: failed testing IB on GFX ring (-35).
[   93.721752] radeon: wait for empty RBBM fifo failed ! Bad things might happen.
[   93.857322] Failed to wait GUI idle while programming pipes. Bad things might happen.
[   93.876189] radeon 0000:00:10.0: Saved 242491 dwords of commands on ring 0.
[   93.876218] radeon 0000:00:10.0: (r100_asic_reset:2567) RBBM_STATUS=0x8002C131
[   94.373729] radeon 0000:00:10.0: (r100_asic_reset:2588) RBBM_STATUS=0x8002C131
[   94.867282] radeon 0000:00:10.0: (r100_asic_reset:2596) RBBM_STATUS=0x8002C131
[   94.867308] radeon 0000:00:10.0: GPU reset succeed
[   94.867313] radeon 0000:00:10.0: GPU reset succeeded, trying to resume
[   94.867325] radeon 0000:00:10.0: (r100_asic_reset:2567) RBBM_STATUS=0x8002C131
[   95.364833] radeon 0000:00:10.0: (r100_asic_reset:2588) RBBM_STATUS=0x8002C131
[   95.858380] radeon 0000:00:10.0: (r100_asic_reset:2596) RBBM_STATUS=0x8002C131
[   95.858403] radeon 0000:00:10.0: GPU reset succeed
[   95.858458] radeon 0000:00:10.0: WB disabled
[   95.858468] radeon 0000:00:10.0: fence driver on ring 0 use gpu addr 0x0000000000000000 and cpu addr 0xe2905000
[   95.993931] radeon: wait for empty RBBM fifo failed ! Bad things might happen.
[   96.129396] Failed to wait GUI idle while programming pipes. Bad things might happen.
[   96.129441] [drm] radeon: ring at 0x0000000000001000
[   96.137828] [drm] ring test succeeded in 0 usecs
[  106.133887] radeon 0000:00:10.0: ring 0 stalled for more than 10000msec
[  106.133902] radeon 0000:00:10.0: GPU lockup (current fence id 0x0000000000000144 last fence id 0x0000000000000167 on ring 0)
[  106.134128] [drm:r100_ib_test [radeon]] *ERROR* radeon: fence wait failed (-35).
[  106.134202] [drm:radeon_ib_ring_tests [radeon]] *ERROR* radeon: failed testing IB on GFX ring (-35).
[  106.269751] radeon: wait for empty RBBM fifo failed ! Bad things might happen.
[  106.405217] Failed to wait GUI idle while programming pipes. Bad things might happen.
[  106.422974] radeon 0000:00:10.0: Saved 232155 dwords of commands on ring 0.
[  106.423800] radeon 0000:00:10.0: (r100_asic_reset:2567) RBBM_STATUS=0x8002C12D
[  106.921317] radeon 0000:00:10.0: (r100_asic_reset:2588) RBBM_STATUS=0x8002C12D
[  107.414864] radeon 0000:00:10.0: (r100_asic_reset:2596) RBBM_STATUS=0x8002C12D
[  107.414890] radeon 0000:00:10.0: GPU reset succeed
[  107.414896] radeon 0000:00:10.0: GPU reset succeeded, trying to resume
[  107.414908] radeon 0000:00:10.0: (r100_asic_reset:2567) RBBM_STATUS=0x8002C12D
[  107.912414] radeon 0000:00:10.0: (r100_asic_reset:2588) RBBM_STATUS=0x8002C12D
[  108.405959] radeon 0000:00:10.0: (r100_asic_reset:2596) RBBM_STATUS=0x8002C12D
[  108.405980] radeon 0000:00:10.0: GPU reset succeed
[  108.406033] radeon 0000:00:10.0: WB disabled
[  108.406043] radeon 0000:00:10.0: fence driver on ring 0 use gpu addr 0x0000000000000000 and cpu addr 0xe2905000
[  108.541505] radeon: wait for empty RBBM fifo failed ! Bad things might happen.
[  108.676967] Failed to wait GUI idle while programming pipes. Bad things might happen.
[  108.677012] [drm] radeon: ring at 0x0000000000001000
[  108.685109] [drm] ring test succeeded in 0 usecs
[  118.681889] radeon 0000:00:10.0: ring 0 stalled for more than 10000msec
[  118.681905] radeon 0000:00:10.0: GPU lockup (current fence id 0x0000000000000144 last fence id 0x0000000000000168 on ring 0)
[  118.682132] [drm:r100_ib_test [radeon]] *ERROR* radeon: fence wait failed (-35).
[  118.682206] [drm:radeon_ib_ring_tests [radeon]] *ERROR* radeon: failed testing IB on GFX ring (-35).
[  119.189892] radeon 0000:00:10.0: ring 0 stalled for more than 10508msec
[  119.189909] radeon 0000:00:10.0: GPU lockup (current fence id 0x0000000000000144 last fence id 0x0000000000000168 on ring 0)
[  119.690658] radeon 0000:00:10.0: ring 0 stalled for more than 11008msec
[  119.690672] radeon 0000:00:10.0: GPU lockup (current fence id 0x0000000000000144 last fence id 0x0000000000000168 on ring 0)
[  120.189888] radeon 0000:00:10.0: ring 0 stalled for more than 11508msec
[  120.189900] radeon 0000:00:10.0: GPU lockup (current fence id 0x0000000000000144 last fence id 0x0000000000000168 on ring 0)
[  120.690769] radeon 0000:00:10.0: ring 0 stalled for more than 12008msec
[  120.690781] radeon 0000:00:10.0: GPU lockup (current fence id 0x0000000000000144 last fence id 0x0000000000000168 on ring 0)
[  121.190404] radeon 0000:00:10.0: ring 0 stalled for more than 12508msec
[  121.190419] radeon 0000:00:10.0: GPU lockup (current fence id 0x0000000000000144 last fence id 0x0000000000000168 on ring 0)
[  121.690192] radeon 0000:00:10.0: ring 0 stalled for more than 13008msec
[  121.690207] radeon 0000:00:10.0: GPU lockup (current fence id 0x0000000000000144 last fence id 0x0000000000000168 on ring 0)
[  122.189895] radeon 0000:00:10.0: ring 0 stalled for more than 13508msec
[  122.189913] radeon 0000:00:10.0: GPU lockup (current fence id 0x0000000000000144 last fence id 0x0000000000000168 on ring 0)
[  122.689887] radeon 0000:00:10.0: ring 0 stalled for more than 14008msec
[  122.689902] radeon 0000:00:10.0: GPU lockup (current fence id 0x0000000000000144 last fence id 0x0000000000000168 on ring 0)
[  123.189890] radeon 0000:00:10.0: ring 0 stalled for more than 14508msec
[  123.189905] radeon 0000:00:10.0: GPU lockup (current fence id 0x0000000000000144 last fence id 0x0000000000000168 on ring 0)
[  123.689889] radeon 0000:00:10.0: ring 0 stalled for more than 15008msec
[  123.689902] radeon 0000:00:10.0: GPU lockup (current fence id 0x0000000000000144 last fence id 0x0000000000000168 on ring 0)
[  124.189891] radeon 0000:00:10.0: ring 0 stalled for more than 15508msec
[  124.189907] radeon 0000:00:10.0: GPU lockup (current fence id 0x0000000000000144 last fence id 0x0000000000000168 on ring 0)
[  124.689887] radeon 0000:00:10.0: ring 0 stalled for more than 16008msec
[  124.689900] radeon 0000:00:10.0: GPU lockup (current fence id 0x0000000000000144 last fence id 0x0000000000000168 on ring 0)
[  125.189890] radeon 0000:00:10.0: ring 0 stalled for more than 16508msec
[  125.189905] radeon 0000:00:10.0: GPU lockup (current fence id 0x0000000000000144 last fence id 0x0000000000000168 on ring 0)
[  125.689888] radeon 0000:00:10.0: ring 0 stalled for more than 17008msec
[  125.689901] radeon 0000:00:10.0: GPU lockup (current fence id 0x0000000000000144 last fence id 0x0000000000000168 on ring 0)
[  126.189909] radeon 0000:00:10.0: ring 0 stalled for more than 17508msec
[  126.189926] radeon 0000:00:10.0: GPU lockup (current fence id 0x0000000000000144 last fence id 0x0000000000000168 on ring 0)
[  126.689918] radeon 0000:00:10.0: ring 0 stalled for more than 18008msec
[  126.689936] radeon 0000:00:10.0: GPU lockup (current fence id 0x0000000000000144 last fence id 0x0000000000000168 on ring 0)
[  127.189903] radeon 0000:00:10.0: ring 0 stalled for more than 18508msec
[  127.189921] radeon 0000:00:10.0: GPU lockup (current fence id 0x0000000000000144 last fence id 0x0000000000000168 on ring 0)
[  127.689892] radeon 0000:00:10.0: ring 0 stalled for more than 19008msec
[  127.689910] radeon 0000:00:10.0: GPU lockup (current fence id 0x0000000000000144 last fence id 0x0000000000000168 on ring 0)
[  128.189888] radeon 0000:00:10.0: ring 0 stalled for more than 19508msec
[  128.189903] radeon 0000:00:10.0: GPU lockup (current fence id 0x0000000000000144 last fence id 0x0000000000000168 on ring 0)
[  128.689881] radeon 0000:00:10.0: ring 0 stalled for more than 20008msec
[  128.689892] radeon 0000:00:10.0: GPU lockup (current fence id 0x0000000000000144 last fence id 0x0000000000000168 on ring 0)
[  129.189887] radeon 0000:00:10.0: ring 0 stalled for more than 20508msec
[  129.189900] radeon 0000:00:10.0: GPU lockup (current fence id 0x0000000000000144 last fence id 0x0000000000000168 on ring 0)
[  129.689890] radeon 0000:00:10.0: ring 0 stalled for more than 21008msec
[  129.689906] radeon 0000:00:10.0: GPU lockup (current fence id 0x0000000000000144 last fence id 0x0000000000000168 on ring 0)
[  130.189895] radeon 0000:00:10.0: ring 0 stalled for more than 21508msec
[  130.189913] radeon 0000:00:10.0: GPU lockup (current fence id 0x0000000000000144 last fence id 0x0000000000000168 on ring 0)
[  130.689886] radeon 0000:00:10.0: ring 0 stalled for more than 22008msec
[  130.689900] radeon 0000:00:10.0: GPU lockup (current fence id 0x0000000000000144 last fence id 0x0000000000000168 on ring 0)
[  131.189888] radeon 0000:00:10.0: ring 0 stalled for more than 22508msec
[  131.189903] radeon 0000:00:10.0: GPU lockup (current fence id 0x0000000000000144 last fence id 0x0000000000000168 on ring 0)
[  131.689885] radeon 0000:00:10.0: ring 0 stalled for more than 23008msec
[  131.689898] radeon 0000:00:10.0: GPU lockup (current fence id 0x0000000000000144 last fence id 0x0000000000000168 on ring 0)
[  132.189885] radeon 0000:00:10.0: ring 0 stalled for more than 23508msec
[  132.189897] radeon 0000:00:10.0: GPU lockup (current fence id 0x0000000000000144 last fence id 0x0000000000000168 on ring 0)
[  132.689882] radeon 0000:00:10.0: ring 0 stalled for more than 24008msec
[  132.689895] radeon 0000:00:10.0: GPU lockup (current fence id 0x0000000000000144 last fence id 0x0000000000000168 on ring 0)
[  133.189891] radeon 0000:00:10.0: ring 0 stalled for more than 24508msec
[  133.189905] radeon 0000:00:10.0: GPU lockup (current fence id 0x0000000000000144 last fence id 0x0000000000000168 on ring 0)
[  133.689894] radeon 0000:00:10.0: ring 0 stalled for more than 25008msec
[  133.689911] radeon 0000:00:10.0: GPU lockup (current fence id 0x0000000000000144 last fence id 0x0000000000000168 on ring 0)
[  134.189888] radeon 0000:00:10.0: ring 0 stalled for more than 25508msec
[  134.189902] radeon 0000:00:10.0: GPU lockup (current fence id 0x0000000000000144 last fence id 0x0000000000000168 on ring 0)
[  134.689887] radeon 0000:00:10.0: ring 0 stalled for more than 26008msec
[  134.689900] radeon 0000:00:10.0: GPU lockup (current fence id 0x0000000000000144 last fence id 0x0000000000000168 on ring 0)
[  135.189884] radeon 0000:00:10.0: ring 0 stalled for more than 26508msec
[  135.189896] radeon 0000:00:10.0: GPU lockup (current fence id 0x0000000000000144 last fence id 0x0000000000000168 on ring 0)
[  135.689885] radeon 0000:00:10.0: ring 0 stalled for more than 27008msec
[  135.689897] radeon 0000:00:10.0: GPU lockup (current fence id 0x0000000000000144 last fence id 0x0000000000000168 on ring 0)
[  136.189883] radeon 0000:00:10.0: ring 0 stalled for more than 27508msec
[  136.189894] radeon 0000:00:10.0: GPU lockup (current fence id 0x0000000000000144 last fence id 0x0000000000000168 on ring 0)
[  136.689884] radeon 0000:00:10.0: ring 0 stalled for more than 28008msec
[  136.689895] radeon 0000:00:10.0: GPU lockup (current fence id 0x0000000000000144 last fence id 0x0000000000000168 on ring 0)
[  137.189882] radeon 0000:00:10.0: ring 0 stalled for more than 28508msec
[  137.189895] radeon 0000:00:10.0: GPU lockup (current fence id 0x0000000000000144 last fence id 0x0000000000000168 on ring 0)
[  137.689884] radeon 0000:00:10.0: ring 0 stalled for more than 29008msec
[  137.689895] radeon 0000:00:10.0: GPU lockup (current fence id 0x0000000000000144 last fence id 0x0000000000000168 on ring 0)
[  138.189883] radeon 0000:00:10.0: ring 0 stalled for more than 29508msec
[  138.189894] radeon 0000:00:10.0: GPU lockup (current fence id 0x0000000000000144 last fence id 0x0000000000000168 on ring 0)
[  138.689885] radeon 0000:00:10.0: ring 0 stalled for more than 30008msec
[  138.689897] radeon 0000:00:10.0: GPU lockup (current fence id 0x0000000000000144 last fence id 0x0000000000000168 on ring 0)
[  139.189887] radeon 0000:00:10.0: ring 0 stalled for more than 30508msec
[  139.189901] radeon 0000:00:10.0: GPU lockup (current fence id 0x0000000000000144 last fence id 0x0000000000000168 on ring 0)
[  139.689886] radeon 0000:00:10.0: ring 0 stalled for more than 31008msec
[  139.689898] radeon 0000:00:10.0: GPU lockup (current fence id 0x0000000000000144 last fence id 0x0000000000000168 on ring 0)
[  140.189887] radeon 0000:00:10.0: ring 0 stalled for more than 31508msec
[  140.189902] radeon 0000:00:10.0: GPU lockup (current fence id 0x0000000000000144 last fence id 0x0000000000000168 on ring 0)
[  140.689883] radeon 0000:00:10.0: ring 0 stalled for more than 32008msec
[  140.689895] radeon 0000:00:10.0: GPU lockup (current fence id 0x0000000000000144 last fence id 0x0000000000000168 on ring 0)
[  141.189883] radeon 0000:00:10.0: ring 0 stalled for more than 32508msec
[  141.189894] radeon 0000:00:10.0: GPU lockup (current fence id 0x0000000000000144 last fence id 0x0000000000000168 on ring 0)
[  141.689895] radeon 0000:00:10.0: ring 0 stalled for more than 33008msec
[  141.689909] radeon 0000:00:10.0: GPU lockup (current fence id 0x0000000000000144 last fence id 0x0000000000000168 on ring 0)
[  142.189897] radeon 0000:00:10.0: ring 0 stalled for more than 33508msec
[  142.189928] radeon 0000:00:10.0: GPU lockup (current fence id 0x0000000000000144 last fence id 0x0000000000000168 on ring 0)

with:

# uname -a
Linux debian 4.4.0-0.bpo.1-powerpc #1 Debian 4.4.6-1~bpo8+1 (2016-03-20) ppc GNU/Linux

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1571416/comments/12

------------------------------------------------------------------------
On 2016-04-19T13:57:05+00:00 Alexdeucher wrote:

Does disabling AGP help?  Load the radeon module with agpmode=-1

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1571416/comments/13

------------------------------------------------------------------------
On 2016-04-19T13:59:40+00:00 Mathieu Malaterre wrote:

Indeed that solve the symptoms. I discover this was also documented
here:

https://wiki.debian.org/PowerPC/FAQ#How_do_I_get_graphics_working.3F

[...]
image=/boot/vmlinux
        label=Linux
        read-only
        initrd=/boot/initrd.img
        append="radeon.agpmode=-1 modprobe.blacklist=ams"
[...]

I am not sure what the 'ams' thingy is doing, but I am using it over
here.

The funny thing is that dragging window and moving them around makes the
pointer and the window out-of-sync. Still usable though after a while.

If AGP is simply not supported on PowerPC, it would be nice to have a
clearer message (or at least a warning).

Thanks

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1571416/comments/14

------------------------------------------------------------------------
On 2016-04-20T03:40:05+00:00 Michel-daenzer wrote:

(In reply to Mathieu Malaterre from comment #3)
> If AGP is simply not supported on PowerPC, it would be nice to have a
> clearer message (or at least a warning).

It is supported, it's just unstable on many PowerMacs.

A patch disabling AGP by default on PowerMacs or even PPC in general
probably wouldn't be rejected. :)

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1571416/comments/15

------------------------------------------------------------------------
On 2016-05-02T14:31:30+00:00 Mathieu Malaterre wrote:

Created attachment 123411
default to PCI for PowerPC

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1571416/comments/16

------------------------------------------------------------------------
On 2016-05-02T14:32:06+00:00 Mathieu Malaterre wrote:

(In reply to Michel Dänzer from comment #4)
> (In reply to Mathieu Malaterre from comment #3)
> > If AGP is simply not supported on PowerPC, it would be nice to have a
> > clearer message (or at least a warning).
> 
> It is supported, it's just unstable on many PowerMacs.
> 
> A patch disabling AGP by default on PowerMacs or even PPC in general
> probably wouldn't be rejected. :)

Something like the patch: defaulttopci_powerpc.patch ? Should I submit
it first on mesa-dev ?

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1571416/comments/17

------------------------------------------------------------------------
On 2016-05-02T14:48:31+00:00 Ilia Mirkin wrote:

FWIW on nouveau we just default agpmode=0 in a #ifdef __powerpc__.
Perhaps the same thing can work for radeon.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1571416/comments/18

------------------------------------------------------------------------
On 2016-05-02T14:55:27+00:00 Mathieu Malaterre wrote:

(In reply to Ilia Mirkin from comment #7)
> FWIW on nouveau we just default agpmode=0 in a #ifdef __powerpc__. Perhaps
> the same thing can work for radeon.

Well radeon_agpmode is already set to 0 already[*]. My patch force to
PCI(-1) when user did not specify any value.

[*]https://github.com/torvalds/linux/blob/master/drivers/gpu/drm/radeon/radeon_drv.c#L173

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1571416/comments/19

------------------------------------------------------------------------
On 2016-05-02T15:00:12+00:00 Ilia Mirkin wrote:

(In reply to Mathieu Malaterre from comment #8)
> (In reply to Ilia Mirkin from comment #7)
> > FWIW on nouveau we just default agpmode=0 in a #ifdef __powerpc__. Perhaps
> > the same thing can work for radeon.
> 
> Well radeon_agpmode is already set to 0 already[*]. My patch force to
> PCI(-1) when user did not specify any value.
> 
> [*]https://github.com/torvalds/linux/blob/master/drivers/gpu/drm/radeon/
> radeon_drv.c#L173

Oh, the logic is flipped from nouveau... on nouveau, -1 == autodetect
and 0 == no agp. So in your case, just set it to -1 instead of 0 for
powerpc. i.e.

#ifdef __powerpc__
int radeon_agpmode = -1;
#else
int radeon_agpmode = 0;
#endif

or something similar.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1571416/comments/20

------------------------------------------------------------------------
On 2016-05-03T07:55:14+00:00 Rui Salvaterra wrote:

(In reply to Michel Dänzer from comment #4)
> (In reply to Mathieu Malaterre from comment #3)
> > If AGP is simply not supported on PowerPC, it would be nice to have a
> > clearer message (or at least a warning).
> 
> It is supported, it's just unstable on many PowerMacs.
> 
> A patch disabling AGP by default on PowerMacs or even PPC in general
> probably wouldn't be rejected. :)

Hi, Michel


I don't understand. I know about the coherency issues on some UniNorth bridges (DMA writes through the GART going directly to RAM, IIRC), but how did OS X cope with them? Did it also disable AGP transfers? If not, what can be done to fix this bug for real, instead of working around it? (I have a very vague memory that these hangs didn't happen before KMS, but I may be completely wrong.)
Also, on a somewhat related note, there are still issues with the Radeon (R600, not SI) DRM on big endian, as for https://bugs.freedesktop.org/show_bug.cgi?id=95015.


Thanks,

Rui

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1571416/comments/21

------------------------------------------------------------------------
On 2016-05-03T08:03:39+00:00 ernsteiswuerfel wrote:

Also been hit by this bug on 2 of my 3 machines: PowerMac 7,3 (A1047) w.
Radeon 9600 Pro and PowerBook 5,6 (A1106).

My PowerBook 5,8 (A1138) magically works with AGP! Which is interesting
because both the 5,6 and the 5,8 use a Mobility Radeon 9700.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1571416/comments/22


** Changed in: linux
       Status: Unknown => Confirmed

** Changed in: linux
   Importance: Unknown => Medium

** Bug watch added: freedesktop.org Bugzilla #95015
   https://bugs.freedesktop.org/show_bug.cgi?id=95015

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1571416

Title:
  System freezes shortly after reaching the desktop (Ubuntu MATE 16.04,
  PowerPC)

Status in Linux:
  Confirmed
Status in linux package in Ubuntu:
  Incomplete

Bug description:
  The freeze happens every time unless I use "radeon.agpmode=-1" as a
  kernel parameter.

  Affected machines:
  PowerBook G4 5,6 + PowerMac G5 7,3 (w. "ATI Radeon 9600 AP (AGP)".

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: linux-image-4.4.0-18-powerpc-smp 4.4.0-18.34
  ProcVersionSignature: Ubuntu 4.4.0-18.34-powerpc-smp 4.4.6
  Uname: Linux 4.4.0-18-powerpc-smp ppc
  ApportVersion: 2.20.1-0ubuntu2
  Architecture: powerpc
  AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
  CasperVersion: 1.373
  CurrentDesktop: MATE
  Date: Sun Apr 17 21:08:40 2016
  IwConfig:
   lo        no wireless extensions.

   enP2p36s15f0  no wireless extensions.
  LiveMediaBuild: Ubuntu-MATE 16.04 LTS "Xenial Xerus" - Release powerpc (20160417.1)
  PccardctlIdent:
   Socket 0:
     no product info available
  PccardctlStatus:
   Socket 0:
     no card
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcFB: 0 radeondrmfb
  ProcKernelCmdLine: ro ramdisk_size=1048576 file=/cdrom/preseed/username.seed boot=casper quiet --- radeon.agpmode=-1
  RelatedPackageVersions:
   linux-restricted-modules-4.4.0-18-powerpc-smp N/A
   linux-backports-modules-4.4.0-18-powerpc-smp  N/A
   linux-firmware                                1.157
  RfKill:
   0: hci0: Bluetooth
    Soft blocked: no
    Hard blocked: no
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/1571416/+subscriptions


References