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

[-- Attachment #1 --]
Michael Jung wrote:
> Since starting to use the DRI driver I am having problems with my machine
> 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 ZFS
> on boot so I created a swap partition on USB /dev/da0s1b and added
>
> dumpdev="/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 files
> 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.
>
> 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               = 0xA0003828
>> drmn0: info:   GRBM_STATUS_SE0           = 0x00000007
>> drmn0: info:   GRBM_STATUS_SE1           = 0x00000007
>> drmn0: info:   SRBM_STATUS               = 0x20000040
>> drmn0: info:   R_008674_CP_STALLED_STAT1 = 0x00000000
>> drmn0: info:   R_008678_CP_STALLED_STAT2 = 0x00010000
>> drmn0: info:   R_00867C_CP_BUSY_STAT     = 0x00020106
>> drmn0: info:   R_008680_CP_STAT          = 0x80038647
>> drmn0: info:   GRBM_SOFT_RESET=0x00007F6B
>> drmn0: info:   GRBM_STATUS               = 0x00003828
>> drmn0: info:   GRBM_STATUS_SE0           = 0x00000007
>> drmn0: info:   GRBM_STATUS_SE1           = 0x00000007
>> drmn0: info:   SRBM_STATUS               = 0x20000040
>> drmn0: info:   R_008674_CP_STALLED_STAT1 = 0x00000000
>> drmn0: info:   R_008678_CP_STALLED_STAT2 = 0x00000000
>> drmn0: info:   R_00867C_CP_BUSY_STAT     = 0x00000000
>> drmn0: info:   R_008680_CP_STAT          = 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

-- 
SY, Marat


[-- Attachment #2 --]
0	*H
010	+0	*H
i0-030
	*H
010	UIL10U

StartCom Ltd.1+0)U"Secure Digital Certificate Signing1806U/StartCom Class 1 Primary Intermediate Client CA0
140829001839Z
150830051817Z0O10U
8OZrXmXZQ3204AnS10Uamarat@li.ru10	*H
	amarat@li.ru0"0
	*H
0
z\qHC=.gÆ,TJ90r{c`E\-'=}w6uNCXtڷPs|,qA~5Nw_82*83Ĺ/_\"^UMMAq!MpBIEr
/f!._,c+f_["AM ݎ
mZW/1ɞȡ`=F~ܝcCz::c7H*F廤o00	U00U0U%0++0U5C=0U#0Sr풜\|~5NԸQ0U0amarat@li.ru0LU C0?0;+70*0.+"http://www.startssl.com/policy.pdf0+00' StartCom Certification Authority0This certificate was issued according to the Class 1 Validation requirements of the StartCom CA policy, reliance only for the intended purpose in compliance of the relying party obligations.06U/0-0+)'%http://crl.startssl.com/crtu1-crl.crl0+009+0-http://ocsp.startssl.com/sub/class1/client/ca0B+06http://aia.startssl.com/certs/sub.class1.client.ca.crt0#U0http://www.startssl.com/0
	*H
bR:tDֳ|3K3cT$JI3;6S=h4P,q2lnvIAZ@x- :CĤ_ƂHj#3Wuة!vڼ9.9P9jvߵ.^uA'l%NTM*6dxZ֩K v.}Вjcy4A7/0400
	*H
0}10	UIL10U

StartCom Ltd.1+0)U"Secure Digital Certificate Signing1)0'U StartCom Certification Authority0
071024210155Z
171024210155Z010	UIL10U

StartCom Ltd.1+0)U"Secure Digital Certificate Signing1806U/StartCom Class 1 Primary Intermediate Client CA0"0
	*H
0
	-).2AUGo#G
B|NDRpM-B=o-we5JQpa>O.#._<V
[~**pz~3WG.ᘟMlr[<Ce6fqO"uxfWN#uicgkv$Lb%y`_{`xK'GN00U00U0USr풜\|~5NԸQ0U#0N@[i04hCA0f+Z0X0'+0http://ocsp.startssl.com/ca0-+0!http://www.startssl.com/sfsca.crt0[UT0R0'%#!http://www.startssl.com/sfsca.crl0'%#!http://crl.startssl.com/sfsca.crl0U y0w0u+70f0.+"http://www.startssl.com/policy.pdf04+(http://www.startssl.com/intermediate.pdf0
	*H

}x,\c^#wMq}>UK/^yX֏y	frMIŲB61ymQ󸟆ҨݬZ0&;@#13qۑ&	̢o	6r_;GO>*I(	74XS1r3)!LJy6Kotˆ#
_wSr
;B
ADp(fs䰷6%.W0J3:bC<8t X1<Cn=t==wST~\wkBf|15zUP)(IjVB!OfI=bb\4-*em/нSJm7N[]'@ڽD9Kr>R7/|o^I@ټ'Pa$ z9a'L)(
I}vcH]۸D*W}
m>Q|C.(,lQ100010	UIL10U

StartCom Ltd.1+0)U"Secure Digital Certificate Signing1806U/StartCom Class 1 Primary Intermediate Client CA30	+0	*H
	1	*H
0	*H
	1
140920053741Z0#	*H
	1 j]+S!:0l	*H
	1_0]0	`He*0	`He0
*H
0*H
0
*H
@0+0
*H
(0	+710010	UIL10U

StartCom Ltd.1+0)U"Secure Digital Certificate Signing1806U/StartCom Class 1 Primary Intermediate Client CA30*H
	1010	UIL10U

StartCom Ltd.1+0)U"Secure Digital Certificate Signing1806U/StartCom Class 1 Primary Intermediate Client CA30
	*H
6j|B,'^pמ_UW@EUb"o;GTb[5xr?rHS*̠뀜,[\_.۽X&e #Jȸ@9907SKc3#5nfF,݄]>C746aPO\zLNfcΈjX;m~{2	d<!N`b%;RlJn"ڮhbF:V!

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