Re: radeon 0000:00:10.0: ring 0 stalled for more than 10240msec

2018-04-24 Thread Mathieu Malaterre
On Tue, Apr 24, 2018 at 11:11 PM, Mick  wrote:
> On Tue, 24 Apr 2018 22:45:47 +0200
> John Paul Adrian Glaubitz  wrote:
>
>> On 04/24/2018 10:35 PM, Mick wrote:
>> > That's exactly what happened with lubuntu 16.04 PPC on my ibook  G4 (with 
>> > a radeon graphic card). And that's the reason why I rolled back to 14.04. 
>> > And that's also why I subscribe to this list!
>>
>> Feel free to install Debian sid on your iBook G4 [1]. You will have something
>> supported (unofficially through Debian Ports) and up-to-date for your
>> iBook.
>>
> Encouraging words! I will do assoon as possible,thanks.
>
>> I'm not sure what Mathieu was referring to in his second mail though
>> when talking about PCI vs AGP. I think the Radeon in the G4 was AGP.
>>
> The radeon is on AGP bus, but I heard that the driver does not work well in 
> agp mode. The only way I found to let the system stay up is to pass to the 
> kernel the parameter radeon.agpmode=-1, which means use the card in PCI mode. 
> I suppose he was referring to it.

I had been working on radeonfb for a while and totally forgot that I
commented out:

$ cat /etc/modprobe.d/radeon.conf
#options radeon agpmode=-1

So I (re)submitted an old patch to change the default behavior:

https://patchwork.kernel.org/patch/10360887/

> --
> Mick
>



Re: radeon 0000:00:10.0: ring 0 stalled for more than 10240msec

2018-04-24 Thread Mick
On Tue, 24 Apr 2018 22:45:47 +0200
John Paul Adrian Glaubitz  wrote:

> On 04/24/2018 10:35 PM, Mick wrote:
> > That's exactly what happened with lubuntu 16.04 PPC on my ibook  G4 (with a 
> > radeon graphic card). And that's the reason why I rolled back to 14.04. And 
> > that's also why I subscribe to this list!
> 
> Feel free to install Debian sid on your iBook G4 [1]. You will have something
> supported (unofficially through Debian Ports) and up-to-date for your
> iBook.
> 
Encouraging words! I will do assoon as possible,thanks.

> I'm not sure what Mathieu was referring to in his second mail though
> when talking about PCI vs AGP. I think the Radeon in the G4 was AGP.
> 
The radeon is on AGP bus, but I heard that the driver does not work well in agp 
mode. The only way I found to let the system stay up is to pass to the kernel 
the parameter radeon.agpmode=-1, which means use the card in PCI mode. I 
suppose he was referring to it.

--
Mick



Re: radeon 0000:00:10.0: ring 0 stalled for more than 10240msec

2018-04-24 Thread John Paul Adrian Glaubitz
On 04/24/2018 10:35 PM, Mick wrote:
> That's exactly what happened with lubuntu 16.04 PPC on my ibook  G4 (with a 
> radeon graphic card). And that's the reason why I rolled back to 14.04. And 
> that's also why I subscribe to this list!

Feel free to install Debian sid on your iBook G4 [1]. You will have something
supported (unofficially through Debian Ports) and up-to-date for your
iBook.

I'm not sure what Mathieu was referring to in his second mail though
when talking about PCI vs AGP. I think the Radeon in the G4 was AGP.

Adrian

> [1] https://cdimage.debian.org/cdimage/ports/

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Re: radeon 0000:00:10.0: ring 0 stalled for more than 10240msec

2018-04-24 Thread Mick


Il 24 aprile 2018 21:16:43 CEST, Mathieu Malaterre  ha 
scritto:
>
>Does anyone still have a running Mac Mini G4 (ATI RV280) ? It seems
>like the latest kernel are not very stable after a couple of second
>running X I get (*). I'd be interested in your latest running kernel
>to get a good starting point for a git bisect (X session stable).
>
That's exactly what happened with lubuntu 16.04 PPC on my ibook  G4 (with a 
radeon graphic card). And that's the reason why I rolled back to 14.04. And 
that's also why I subscribe to this list!


-- 
Mick



Re: radeon 0000:00:10.0: ring 0 stalled for more than 10240msec

2018-04-24 Thread Mathieu Malaterre
Answering myself

On Tue, Apr 24, 2018 at 9:16 PM, Mathieu Malaterre  wrote:
> Hi there,
>
> Does anyone still have a running Mac Mini G4 (ATI RV280) ? It seems
> like the latest kernel are not very stable after a couple of second
> running X I get (*). I'd be interested in your latest running kernel
> to get a good starting point for a git bisect (X session stable).
>
> Thanks much
>
> (*)
> [ 1228.795711] radeon :00:10.0: ring 0 stalled for more than 10240msec

I did not pay attention I used AGP instead of PCI...

> [ 1228.795725] radeon :00:10.0: GPU lockup (current fence id
> 0x02cd last fence id 0x02ce on ring 0)
> [ 1228.942139] radeon: wait for empty RBBM fifo failed! Bad things might 
> happen.
> [ 1229.081818] Failed to wait GUI idle while programming pipes. Bad
> things might happen.
> [ 1229.084385] radeon :00:10.0: Saved 27 dwords of commands on ring 0.
> [ 1229.084403] radeon :00:10.0: (r100_asic_reset:2562)
> RBBM_STATUS=0x8006C139
> [ 1229.581939] radeon :00:10.0: (r100_asic_reset:2583)
> RBBM_STATUS=0x8002C139
> [ 1230.075498] radeon :00:10.0: (r100_asic_reset:2591)
> RBBM_STATUS=0x8002C139
> [ 1230.075524] radeon :00:10.0: GPU reset succeed
> [ 1230.075529] radeon :00:10.0: GPU reset succeeded, trying to resume
> [ 1230.075542] radeon :00:10.0: (r100_asic_reset:2562)
> RBBM_STATUS=0x8002C139
> [ 1230.573058] radeon :00:10.0: (r100_asic_reset:2583)
> RBBM_STATUS=0x8002C139
> [ 1231.066614] radeon :00:10.0: (r100_asic_reset:2591)
> RBBM_STATUS=0x8002C139
> [ 1231.066636] radeon :00:10.0: GPU reset succeed
> [ 1231.066705] radeon :00:10.0: WB disabled
> [ 1231.066718] radeon :00:10.0: fence driver on ring 0 use gpu
> addr 0x and cpu addr 0xfe23ec9e
> [ 1231.206211] radeon: wait for empty RBBM fifo failed! Bad things might 
> happen.
> [ 1231.345701] Failed to wait GUI idle while programming pipes. Bad
> things might happen.
> [ 1231.345746] [drm] radeon: ring at 0x1000
> [ 1231.359946] [drm] ring test succeeded in 0 usecs
> [ 1232.440347] [drm:r100_ib_test [radeon]] *ERROR* radeon: fence wait timed 
> out.
> [ 1232.440423] [drm:radeon_ib_ring_tests [radeon]] *ERROR* radeon:
> failed testing IB on GFX ring (-110).
> [ 1232.580028] radeon: wait for empty RBBM fifo failed! Bad things might 
> happen.
> [ 1232.719635] Failed to wait GUI idle while programming pipes. Bad
> things might happen.
> [ 1232.740206] radeon :00:10.0: Saved 239259 dwords of commands on ring 0.
> [ 1232.740235] radeon :00:10.0: (r100_asic_reset:2562)
> RBBM_STATUS=0x8002C135
> [ 1233.237763] radeon :00:10.0: (r100_asic_reset:2583)
> RBBM_STATUS=0x8002C135
> [ 1233.731322] radeon :00:10.0: (r100_asic_reset:2591)
> RBBM_STATUS=0x8002C135
> [ 1233.731350] radeon :00:10.0: GPU reset succeed
> [ 1233.731355] radeon :00:10.0: GPU reset succeeded, trying to resume
> [ 1233.731367] radeon :00:10.0: (r100_asic_reset:2562)
> RBBM_STATUS=0x8002C135
> [ 1234.228884] radeon :00:10.0: (r100_asic_reset:2583)
> RBBM_STATUS=0x8002C135
> [ 1234.722505] radeon :00:10.0: (r100_asic_reset:2591)
> RBBM_STATUS=0x8002C135
> [ 1234.722532] radeon :00:10.0: GPU reset succeed
> [ 1234.722602] radeon :00:10.0: WB disabled
> [ 1234.722616] radeon :00:10.0: fence driver on ring 0 use gpu
> addr 0x and cpu addr 0xfe23ec9e
> [ 1234.862104] radeon: wait for empty RBBM fifo failed! Bad things might 
> happen.
> [ 1235.001568] Failed to wait GUI idle while programming pipes. Bad
> things might happen.
> [ 1235.001613] [drm] radeon: ring at 0x1000
> [ 1235.017321] [drm] ring test succeeded in 0 usecs



radeon 0000:00:10.0: ring 0 stalled for more than 10240msec

2018-04-24 Thread Mathieu Malaterre
Hi there,

Does anyone still have a running Mac Mini G4 (ATI RV280) ? It seems
like the latest kernel are not very stable after a couple of second
running X I get (*). I'd be interested in your latest running kernel
to get a good starting point for a git bisect (X session stable).

Thanks much

(*)
[ 1228.795711] radeon :00:10.0: ring 0 stalled for more than 10240msec
[ 1228.795725] radeon :00:10.0: GPU lockup (current fence id
0x02cd last fence id 0x02ce on ring 0)
[ 1228.942139] radeon: wait for empty RBBM fifo failed! Bad things might happen.
[ 1229.081818] Failed to wait GUI idle while programming pipes. Bad
things might happen.
[ 1229.084385] radeon :00:10.0: Saved 27 dwords of commands on ring 0.
[ 1229.084403] radeon :00:10.0: (r100_asic_reset:2562)
RBBM_STATUS=0x8006C139
[ 1229.581939] radeon :00:10.0: (r100_asic_reset:2583)
RBBM_STATUS=0x8002C139
[ 1230.075498] radeon :00:10.0: (r100_asic_reset:2591)
RBBM_STATUS=0x8002C139
[ 1230.075524] radeon :00:10.0: GPU reset succeed
[ 1230.075529] radeon :00:10.0: GPU reset succeeded, trying to resume
[ 1230.075542] radeon :00:10.0: (r100_asic_reset:2562)
RBBM_STATUS=0x8002C139
[ 1230.573058] radeon :00:10.0: (r100_asic_reset:2583)
RBBM_STATUS=0x8002C139
[ 1231.066614] radeon :00:10.0: (r100_asic_reset:2591)
RBBM_STATUS=0x8002C139
[ 1231.066636] radeon :00:10.0: GPU reset succeed
[ 1231.066705] radeon :00:10.0: WB disabled
[ 1231.066718] radeon :00:10.0: fence driver on ring 0 use gpu
addr 0x and cpu addr 0xfe23ec9e
[ 1231.206211] radeon: wait for empty RBBM fifo failed! Bad things might happen.
[ 1231.345701] Failed to wait GUI idle while programming pipes. Bad
things might happen.
[ 1231.345746] [drm] radeon: ring at 0x1000
[ 1231.359946] [drm] ring test succeeded in 0 usecs
[ 1232.440347] [drm:r100_ib_test [radeon]] *ERROR* radeon: fence wait timed out.
[ 1232.440423] [drm:radeon_ib_ring_tests [radeon]] *ERROR* radeon:
failed testing IB on GFX ring (-110).
[ 1232.580028] radeon: wait for empty RBBM fifo failed! Bad things might happen.
[ 1232.719635] Failed to wait GUI idle while programming pipes. Bad
things might happen.
[ 1232.740206] radeon :00:10.0: Saved 239259 dwords of commands on ring 0.
[ 1232.740235] radeon :00:10.0: (r100_asic_reset:2562)
RBBM_STATUS=0x8002C135
[ 1233.237763] radeon :00:10.0: (r100_asic_reset:2583)
RBBM_STATUS=0x8002C135
[ 1233.731322] radeon :00:10.0: (r100_asic_reset:2591)
RBBM_STATUS=0x8002C135
[ 1233.731350] radeon :00:10.0: GPU reset succeed
[ 1233.731355] radeon :00:10.0: GPU reset succeeded, trying to resume
[ 1233.731367] radeon :00:10.0: (r100_asic_reset:2562)
RBBM_STATUS=0x8002C135
[ 1234.228884] radeon :00:10.0: (r100_asic_reset:2583)
RBBM_STATUS=0x8002C135
[ 1234.722505] radeon :00:10.0: (r100_asic_reset:2591)
RBBM_STATUS=0x8002C135
[ 1234.722532] radeon :00:10.0: GPU reset succeed
[ 1234.722602] radeon :00:10.0: WB disabled
[ 1234.722616] radeon :00:10.0: fence driver on ring 0 use gpu
addr 0x and cpu addr 0xfe23ec9e
[ 1234.862104] radeon: wait for empty RBBM fifo failed! Bad things might happen.
[ 1235.001568] Failed to wait GUI idle while programming pipes. Bad
things might happen.
[ 1235.001613] [drm] radeon: ring at 0x1000
[ 1235.017321] [drm] ring test succeeded in 0 usecs