Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Sep 2014 09:37:41 +0400
From:      "Marat N.Afanasyev" <amarat@li.ru>
To:        Michael Jung <mikej@mikej.com>, freebsd-x11@freebsd.org
Subject:   Re: Machine lockup - WAS: Re: drmn0: error: GPU lockup CP stall for more than 10000msec
Message-ID:  <541D12A5.4070807@li.ru>
In-Reply-To: <7118ea03de5b97785ccbb476f67253ef@mail.mikej.com>
References:  <42f077e55c2d4eea5a65f4f83209e26e@mail.mikej.com> <7118ea03de5b97785ccbb476f67253ef@mail.mikej.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a cryptographically signed message in MIME format.

--------------ms080905040401000002010706
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: quoted-printable

Michael Jung wrote:
> Since starting to use the DRI driver I am having problems with my machi=
ne
> locking up.  Remote ssh sessions die, keyboard dead, screen blank.
>
> I am asking for pointers on how to try and debug this.  My system is ZF=
S
> on boot so I created a swap partition on USB /dev/da0s1b and added
>
> dumpdev=3D"/dev/da0p1"
>
> to rc.conf.  After rebooting into single user mode and mounting zfs
> partitions "zfs mount -a" I tried
>
> #savecore /var/crash /dev/da0p1 but savecore complains that no core fil=
es
> were found. Is kernel dump to USB swap not supported?
>
> I'm running 10.1-BETA1 with these options added.
>
> options         INVARIANTS
> options         INVARIANT_SUPPORT
> options         DEBUG_VFS_LOCKS
>
> I have not been in front of the box during failure so I am not sure if
> it exhibited the behavior shown below or not.
>
> I have used this box for several years using VESA drivers without issue=
=2E
>
> I'm posting here first since this seems to related to a DRI issue.
>
> Thanks.
>
> --mikej
>
>
> On 2014-09-12 14:02, Michael Jung wrote:
>> This has happened twice so I thought I would report it.  I believe all=

>> the required info is available in the links below.
>>
>> X.Org X Server 1.12.4 / 10.1-BETA1 #0 r271460
>>
>> I was simply building ports when X11 puked, the console flipped back
>> to VT and tried to fire up X11 again.  This happened over and over
>> until reboot. I did not try unloading the kernel modules and reloading=

>> them. Please advise what else to do or to collect should this happen
>> again.
>>
>> Lastly, I have been using the VESA driver for a long time on this
>> hardware.  I just starting using the new ATI driver and VT console.
>>
>> Thanks.
>>
>> http://216.26.158.189/x11/devinfo.txt
>> http://216.26.158.189/x11/dmesg.fail
>> http://216.26.158.189/x11/pciconf.txt
>> http://216.26.158.189/x11/pkg.txt
>> xorg.conf auto generated
>>
>>
>> rmn0: error: GPU lockup CP stall for more than 10000msec
>> drmn0: warning: GPU lockup (waiting for 0x000000000000d969)
>> drmn0: error: failed to get a new IB (-11)
>> error: [drm:pid5702:radeon_cs_ib_chunk] *ERROR* Failed to get ib !
>> drmn0: info: Saved 1591 dwords of commands on ring 0.
>> drmn0: info: GPU softreset: 0x00000003
>> drmn0: info:   GRBM_STATUS               =3D 0xA0003828
>> drmn0: info:   GRBM_STATUS_SE0           =3D 0x00000007
>> drmn0: info:   GRBM_STATUS_SE1           =3D 0x00000007
>> drmn0: info:   SRBM_STATUS               =3D 0x20000040
>> drmn0: info:   R_008674_CP_STALLED_STAT1 =3D 0x00000000
>> drmn0: info:   R_008678_CP_STALLED_STAT2 =3D 0x00010000
>> drmn0: info:   R_00867C_CP_BUSY_STAT     =3D 0x00020106
>> drmn0: info:   R_008680_CP_STAT          =3D 0x80038647
>> drmn0: info:   GRBM_SOFT_RESET=3D0x00007F6B
>> drmn0: info:   GRBM_STATUS               =3D 0x00003828
>> drmn0: info:   GRBM_STATUS_SE0           =3D 0x00000007
>> drmn0: info:   GRBM_STATUS_SE1           =3D 0x00000007
>> drmn0: info:   SRBM_STATUS               =3D 0x20000040
>> drmn0: info:   R_008674_CP_STALLED_STAT1 =3D 0x00000000
>> drmn0: info:   R_008678_CP_STALLED_STAT2 =3D 0x00000000
>> drmn0: info:   R_00867C_CP_BUSY_STAT     =3D 0x00000000
>> drmn0: info:   R_008680_CP_STAT          =3D 0x00000000
>> drmn0: info: GPU reset succeeded, trying to resume
>> info: [drm] PCIE GART of 512M enabled (table at 0x0000000000040000).
>> drmn0: info: WB enabled
>> drmn0: info: fence driver on ring 0 use gpu addr 0x0000000020000c00
>> and cpu addr 0x0xfffff8018adfec00
>> drmn0: info: fence driver on ring 3 use gpu addr 0x0000000020000c0c
>> and cpu addr 0x0xfffff8018adfec0c
>> info: [drm] ring test on 0 succeeded in 2 usecs
>> info: [drm] ring test on 3 succeeded in 1 usecs
>> drmn0: error: GPU lockup CP stall for more than 10000msec
> _______________________________________________
> freebsd-x11@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-x11
> To unsubscribe, send any mail to "freebsd-x11-unsubscribe@freebsd.org"
>
>
I have the same problem and decided to switch back to my 4550 radeon and =

ums driver, kms is simply too unstable for me, unfortunately

--=20
SY, Marat


--------------ms080905040401000002010706
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIMaTCC
Bi0wggUVoAMCAQICAwsAMzANBgkqhkiG9w0BAQUFADCBjDELMAkGA1UEBhMCSUwxFjAUBgNV
BAoTDVN0YXJ0Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRl
IFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0Q29tIENsYXNzIDEgUHJpbWFyeSBJbnRlcm1lZGlh
dGUgQ2xpZW50IENBMB4XDTE0MDgyOTAwMTgzOVoXDTE1MDgzMDA1MTgxN1owTzEZMBcGA1UE
DRMQOE9aclhtWFpRMzIwNEFuUzEVMBMGA1UEAwwMYW1hcmF0QGxpLnJ1MRswGQYJKoZIhvcN
AQkBFgxhbWFyYXRAbGkucnUwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC3elxx
SBZDrD0uhfNnw4YsVJ2PSjkAEzBye2Ng46BFsFwUmB0Ely0LJz3zAn2HwAN3uN4bHzZ1y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Ib3DQMCAgFAMAcGBSsOAwIHMA0GCCqGSIb3DQMCAgEoMIGlBgkrBgEE
AYI3EAQxgZcwgZQwgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQKEw1TdGFydENvbSBMdGQuMSsw
KQYDVQQLEyJTZWN1cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWduaW5nMTgwNgYDVQQDEy9T
dGFydENvbSBDbGFzcyAxIFByaW1hcnkgSW50ZXJtZWRpYXRlIENsaWVudCBDQQIDCwAzMIGn
BgsqhkiG9w0BCRACCzGBl6CBlDCBjDELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29t
IEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxODA2
BgNVBAMTL1N0YXJ0Q29tIENsYXNzIDEgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENB
AgMLADMwDQYJKoZIhvcNAQEBBQAEggEAq6AANrYaaoV8Quv8o+uoLCfqXnDXnt4W+F/e8ryR
VRJX/80QQM5FVWKdlSIFbzvoC0dUs5jjYr+KW9QEhDV4cpeV7Pnu6Rg/4Aijcqnk6EhTKsyg
64CclSzPW9pcf/+Nzl8u7oLo273PWB0mAWWChhq3IPQjSgWQpsi4QDmJkDmQFDA3U52MgJKc
gLkCpPlLY40zIzXk5m4HqAW08rFmRizdhJNdPkPHEzc0tjaSYRBQ5k9cerW2xEwMTmZjzohq
nfNYO4MBgW3+fnuVMn8JZM08IU64YMsaHGIlrDvv4ITuwVIBbAaxShf9oORuItquwWhi1OXW
50b77M06VpEhEQAAAAAAAA==
--------------ms080905040401000002010706--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?541D12A5.4070807>