2013-06-28 05:08:48

by Brian Gitonga Marete

[permalink] [raw]
Subject: [REGRESSION] Radeon (Evergreen) Crash with "pin failed" in Kernel 3.10-rc7

Hello all,

3.10-rc7,(at revision 98b6ed0f2) breaks evergreen on my system. I get
a crash soon after Ubuntu's Unity is loaded:

[ 564.186733] radeon 0000:01:00.0: ffff88021f7f8400 pin failed
[ 566.421933] radeon 0000:01:00.0: ffff880221163c00 pin failed
[ 568.822258] radeon 0000:01:00.0: ffff88022c045800 pin failed
[ 571.202550] radeon 0000:01:00.0: ffff88020e0d4000 pin failed
[ 573.601286] radeon 0000:01:00.0: ffff88020bc3bc00 pin failed
[ 576.129650] radeon 0000:01:00.0: ffff88022c045c00 pin failed
[ 578.287459] radeon 0000:01:00.0: ffff88022bfcb400 pin failed
[ 580.497160] radeon 0000:01:00.0: ffff88020dcd6000 pin failed
[ 582.765835] radeon 0000:01:00.0: ffff88022bfcb400 pin failed
[ 585.834068] radeon 0000:01:00.0: ffff88020cade800 pin failed
[ 588.109227] radeon 0000:01:00.0: ffff88022e742000 pin failed
[ 590.441445] radeon 0000:01:00.0: ffff88020c638c00 pin failed
[ 592.550131] radeon 0000:01:00.0: ffff88022d01ac00 pin failed
[ 595.008882] radeon 0000:01:00.0: ffff88020cadc800 pin failed
[ 597.367337] radeon 0000:01:00.0: ffff88020dcd5000 pin failed
[ 599.762514] radeon 0000:01:00.0: ffff88022e740000 pin failed
[ 602.001337] radeon 0000:01:00.0: ffff88022c047400 pin failed
[ 604.213469] radeon 0000:01:00.0: ffff880225d45800 pin failed
[ 606.433591] radeon 0000:01:00.0: ffff88022b65bc00 pin failed
[ 608.660915] radeon 0000:01:00.0: ffff88022d259000 pin failed
[ 610.929554] radeon 0000:01:00.0: ffff88022afa1000 pin failed
[ 613.179613] radeon 0000:01:00.0: ffff88020cac0800 pin failed
[ 615.408515] radeon 0000:01:00.0: ffff88022b6e1000 pin failed
[ 617.625670] radeon 0000:01:00.0: ffff88020cadc000 pin failed
[ 617.880137] SysRq : Emergency Sync
[ 618.607569] SysRq : Emergency Sync
[ 619.854431] radeon 0000:01:00.0: ffff88022da24000 pin failed
[ 621.674929] Emergency Sync complete
[ 622.299598] radeon 0000:01:00.0: ffff88022ac40800 pin failed
[ 622.331170] Emergency Sync complete
[ 622.532771] SysRq : Emergency Sync
[ 624.513321] radeon 0000:01:00.0: ffff88022afa1c00 pin failed
[ 624.845937] Emergency Sync complete
[ 625.532319] SysRq : Emergency Sync
[ 626.929447] radeon 0000:01:00.0: ffff88022da26400 pin failed
[ 627.102452] SysRq : Emergency Sync
[ 627.776821] Emergency Sync complete
[ 628.683279] SysRq : Emergency Sync
[ 629.329036] radeon 0000:01:00.0: ffff88020dc1d800 pin failed
[ 629.457062] Emergency Sync complete
[ 631.483387] Emergency Sync complete
[ 632.006185] SysRq : Dump ftrace buffer
[ 632.006247] Dumping ftrace buffer:
[ 632.006253] (ftrace buffer empty)
[ 632.068838] radeon 0000:01:00.0: ffff88022ddc0400 pin failed
[ 632.266509] SysRq : Dump ftrace buffer
[ 632.266563] Dumping ftrace buffer:
[ 632.266569] (ftrace buffer empty)
[ 633.026429] SysRq : Emergency Remount R/O

The full dmesg output for that session is attached in dmesg.txt.

In the crash, X crashes and I am dropped onto the console tty. Only a
reboot works after this (although sysrq does work, so it is not a full
freeze).

My card is a Radeon HD 5000M Series. Specifically, it has PCI ID: 1002:68c1

I am running Ubuntu 12.04, but with upgraded libdrm, mesa and
xf86-video-ati packages, close to the GIT tip. Specifically:

libdrm: a0178c00c7 (June 5)
mesa: bbd2d575e (June 20)
xf86-video-ati: 3626ab147b67 (June 14)

*An important note:* In this 3.10-rc7, I have enabled UVD by
installing the correct firmware (indeed, I specifically wanted to test
UVD video decoding). But this crash occurred without my having tried
to use UVD.

Kernel 3.9.7 works fine on this card and with the DRM stack outlined above.

Let me know if I should provide further information. I am able and
happy to do all manner of debugging and testing, at your suggestion :)

Many thanks,

--
Brian Gitonga Marete
CEO/CTO Toshnix Systems
http://toshnix.com


Attachments:
dmesg.txt (85.07 kB)

2013-06-28 12:55:34

by Deucher, Alexander

[permalink] [raw]
Subject: RE: [REGRESSION] Radeon (Evergreen) Crash with "pin failed" in Kernel 3.10-rc7

> -----Original Message-----
> From: Brian Gitonga Marete [mailto:[email protected]]
> Sent: Friday, June 28, 2013 1:08 AM
> To: LKML
> Cc: David Airlie; Jerome Glisse; Deucher, Alexander
> Subject: [REGRESSION] Radeon (Evergreen) Crash with "pin failed" in Kernel
> 3.10-rc7
>
> Hello all,
>
> 3.10-rc7,(at revision 98b6ed0f2) breaks evergreen on my system. I get
> a crash soon after Ubuntu's Unity is loaded:
>
> [ 564.186733] radeon 0000:01:00.0: ffff88021f7f8400 pin failed
> [ 566.421933] radeon 0000:01:00.0: ffff880221163c00 pin failed
> [ 568.822258] radeon 0000:01:00.0: ffff88022c045800 pin failed
> [ 571.202550] radeon 0000:01:00.0: ffff88020e0d4000 pin failed
> [ 573.601286] radeon 0000:01:00.0: ffff88020bc3bc00 pin failed
> [ 576.129650] radeon 0000:01:00.0: ffff88022c045c00 pin failed
> [ 578.287459] radeon 0000:01:00.0: ffff88022bfcb400 pin failed
> [ 580.497160] radeon 0000:01:00.0: ffff88020dcd6000 pin failed
> [ 582.765835] radeon 0000:01:00.0: ffff88022bfcb400 pin failed
> [ 585.834068] radeon 0000:01:00.0: ffff88020cade800 pin failed
> [ 588.109227] radeon 0000:01:00.0: ffff88022e742000 pin failed
> [ 590.441445] radeon 0000:01:00.0: ffff88020c638c00 pin failed
> [ 592.550131] radeon 0000:01:00.0: ffff88022d01ac00 pin failed
> [ 595.008882] radeon 0000:01:00.0: ffff88020cadc800 pin failed
> [ 597.367337] radeon 0000:01:00.0: ffff88020dcd5000 pin failed
> [ 599.762514] radeon 0000:01:00.0: ffff88022e740000 pin failed
> [ 602.001337] radeon 0000:01:00.0: ffff88022c047400 pin failed
> [ 604.213469] radeon 0000:01:00.0: ffff880225d45800 pin failed
> [ 606.433591] radeon 0000:01:00.0: ffff88022b65bc00 pin failed
> [ 608.660915] radeon 0000:01:00.0: ffff88022d259000 pin failed
> [ 610.929554] radeon 0000:01:00.0: ffff88022afa1000 pin failed
> [ 613.179613] radeon 0000:01:00.0: ffff88020cac0800 pin failed
> [ 615.408515] radeon 0000:01:00.0: ffff88022b6e1000 pin failed
> [ 617.625670] radeon 0000:01:00.0: ffff88020cadc000 pin failed
> [ 617.880137] SysRq : Emergency Sync
> [ 618.607569] SysRq : Emergency Sync
> [ 619.854431] radeon 0000:01:00.0: ffff88022da24000 pin failed
> [ 621.674929] Emergency Sync complete
> [ 622.299598] radeon 0000:01:00.0: ffff88022ac40800 pin failed
> [ 622.331170] Emergency Sync complete
> [ 622.532771] SysRq : Emergency Sync
> [ 624.513321] radeon 0000:01:00.0: ffff88022afa1c00 pin failed
> [ 624.845937] Emergency Sync complete
> [ 625.532319] SysRq : Emergency Sync
> [ 626.929447] radeon 0000:01:00.0: ffff88022da26400 pin failed
> [ 627.102452] SysRq : Emergency Sync
> [ 627.776821] Emergency Sync complete
> [ 628.683279] SysRq : Emergency Sync
> [ 629.329036] radeon 0000:01:00.0: ffff88020dc1d800 pin failed
> [ 629.457062] Emergency Sync complete
> [ 631.483387] Emergency Sync complete
> [ 632.006185] SysRq : Dump ftrace buffer
> [ 632.006247] Dumping ftrace buffer:
> [ 632.006253] (ftrace buffer empty)
> [ 632.068838] radeon 0000:01:00.0: ffff88022ddc0400 pin failed
> [ 632.266509] SysRq : Dump ftrace buffer
> [ 632.266563] Dumping ftrace buffer:
> [ 632.266569] (ftrace buffer empty)
> [ 633.026429] SysRq : Emergency Remount R/O
>
> The full dmesg output for that session is attached in dmesg.txt.
>
> In the crash, X crashes and I am dropped onto the console tty. Only a
> reboot works after this (although sysrq does work, so it is not a full
> freeze).
>
> My card is a Radeon HD 5000M Series. Specifically, it has PCI ID: 1002:68c1
>
> I am running Ubuntu 12.04, but with upgraded libdrm, mesa and
> xf86-video-ati packages, close to the GIT tip. Specifically:
>
> libdrm: a0178c00c7 (June 5)
> mesa: bbd2d575e (June 20)
> xf86-video-ati: 3626ab147b67 (June 14)
>
> *An important note:* In this 3.10-rc7, I have enabled UVD by
> installing the correct firmware (indeed, I specifically wanted to test
> UVD video decoding). But this crash occurred without my having tried
> to use UVD.
>
> Kernel 3.9.7 works fine on this card and with the DRM stack outlined above.
>
> Let me know if I should provide further information. I am able and
> happy to do all manner of debugging and testing, at your suggestion :)
>

Can you bisect?

Thanks,

Alex

> Many thanks,
>
> --
> Brian Gitonga Marete
> CEO/CTO Toshnix Systems
> http://toshnix.com

2013-06-28 15:45:32

by Brian Gitonga Marete

[permalink] [raw]
Subject: Re: [REGRESSION] Radeon (Evergreen) Crash with "pin failed" in Kernel 3.10-rc7

On Fri, Jun 28, 2013 at 3:55 PM, Deucher, Alexander
<[email protected]> wrote:
>
> Can you bisect?
>

Yes. Will do so tonight and report back.

Thanks.

--
Brian Gitonga Marete
CEO/CTO Toshnix Systems
http://toshnix.com

2013-06-29 19:41:38

by Brian Gitonga Marete

[permalink] [raw]
Subject: Re: [REGRESSION] Radeon (Evergreen) Crash with "pin failed" in Kernel 3.10-rc7

On Fri, Jun 28, 2013 at 6:45 PM, Brian Gitonga Marete
<[email protected]> wrote:
> On Fri, Jun 28, 2013 at 3:55 PM, Deucher, Alexander
> <[email protected]> wrote:
>>
>> Can you bisect?
>>
>

Hello Alexander,

So, it turns out that it is not so easy to reproduce this issue. I
have been trying to reproduce it with the exact revision of 3.10-rc7
where I first encountered the problem but with no luck. This of course
has hampered my bisection since I cannot be sure which revisions to
mark good/bad. Do you have any suggestions in this regard?

I however have a UVD-related lockup that I can always reproduce on
3.10-rc7: Trying to use UVD with the command: "mplayer -vo vdpau -vc
ffh264vdpau test.mp4" _always_locks up the same system (same kernel,
same DRI stack) hard. I will report this in a separate email, though
nothing at all shows up in the logs for this latter problem due to the
hard lockup. Suggestions about how to help debug this are also
welcome.

Many thanks.

--
Brian Gitonga Marete
CEO/CTO Toshnix Systems
http://toshnix.com

2013-07-01 12:56:24

by Deucher, Alexander

[permalink] [raw]
Subject: RE: [REGRESSION] Radeon (Evergreen) Crash with "pin failed" in Kernel 3.10-rc7

> -----Original Message-----
> From: Brian Gitonga Marete [mailto:[email protected]]
> Sent: Saturday, June 29, 2013 3:41 PM
> To: Deucher, Alexander
> Cc: LKML; David Airlie; Jerome Glisse
> Subject: Re: [REGRESSION] Radeon (Evergreen) Crash with "pin failed" in
> Kernel 3.10-rc7
>
> On Fri, Jun 28, 2013 at 6:45 PM, Brian Gitonga Marete
> <[email protected]> wrote:
> > On Fri, Jun 28, 2013 at 3:55 PM, Deucher, Alexander
> > <[email protected]> wrote:
> >>
> >> Can you bisect?
> >>
> >
>
> Hello Alexander,
>
> So, it turns out that it is not so easy to reproduce this issue. I
> have been trying to reproduce it with the exact revision of 3.10-rc7
> where I first encountered the problem but with no luck. This of course
> has hampered my bisection since I cannot be sure which revisions to
> mark good/bad. Do you have any suggestions in this regard?
>
> I however have a UVD-related lockup that I can always reproduce on
> 3.10-rc7: Trying to use UVD with the command: "mplayer -vo vdpau -vc
> ffh264vdpau test.mp4" _always_locks up the same system (same kernel,
> same DRI stack) hard. I will report this in a separate email, though
> nothing at all shows up in the logs for this latter problem due to the
> hard lockup. Suggestions about how to help debug this are also
> welcome.

Please open a bug (https://bugs.freedesktop.org) and attach your xorg log and dmesg output.

Alex