Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757087AbbLBI5e (ORCPT ); Wed, 2 Dec 2015 03:57:34 -0500 Received: from mail-bl2on0056.outbound.protection.outlook.com ([65.55.169.56]:56945 "EHLO na01-bl2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1756580AbbLBI5c (ORCPT ); Wed, 2 Dec 2015 03:57:32 -0500 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Christian.Koenig@amd.com; Subject: Re: [radeon r100] when ring test fails, provide users with option to test To: =?UTF-8?Q?Michel_D=c3=a4nzer?= , Pavel Machek References: <20151128205840.GA26757@amd> <565B56A5.4080702@amd.com> <20151129222235.GA25692@amd> <565C0B5A.2040103@amd.com> <20151201100110.GE21222@amd> <565E620D.3090605@daenzer.net> CC: , Trivial patch monkey , , From: =?UTF-8?Q?Christian_K=c3=b6nig?= Message-ID: <565EB26A.9030000@amd.com> Date: Wed, 2 Dec 2015 09:57:14 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <565E620D.3090605@daenzer.net> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [2a02:908:f678:3641:99a8:73e6:8d03:9bcb] X-ClientProxiedBy: AM3PR08CA0034.eurprd08.prod.outlook.com (25.160.207.172) To CY1PR12MB0134.namprd12.prod.outlook.com (25.161.173.16) X-Microsoft-Exchange-Diagnostics: 1;CY1PR12MB0134;2:7yun5eQchx/EWUW8yw51yZQCG5Dp6xWe/JWYU8APIt3n71BMWqBEUPibcIRv9SciMPDVoiTVcmJDKXIxSaQ2j/+w0ACBly0ms/CmOrPBxpwCR97qFs1wg5BdTFzzJaxiCZ7rg0Z/IXiMCX4GUXBSfQ==;3:IpXrd1bDybHcwG/YzF8rl53VuGv7VhnOYM6h2s0N1drvLYCcM9nyluxLB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pihDbkUGLFQe6Wi0B9k84XxD0zLMWLItae+kpNhHdxJT8F0ozu1wY7aXzLyNjcMbQwCV4GwpxyuPix3WaMVFkil4hna6nh1b5cj1fKNjsMkFMn1kjgQorPQiACrp+jtUe1kvIWY9XrESjeo/1X+5aD1byOSbtFq4kf9kgNXGDMAOClURiBZTixl8jnf770HDNSUQR8Aba1QOffTwuy/PeuR2szik3DcnK/6MIF7zbh+ljMgEsmEZdsG8Di57P3i6PlWjq1iOY X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(2401047)(8121501046)(520078)(5005006)(10201501046)(3002001);SRVR:CY1PR12MB0134;BCL:0;PCL:0;RULEID:;SRVR:CY1PR12MB0134; X-Forefront-PRVS: 077884B8B5 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(6009001)(189002)(199003)(24454002)(377424004)(65956001)(86362001)(33656002)(5004730100002)(189998001)(101416001)(586003)(50986999)(65816999)(76176999)(87976001)(19580405001)(54356999)(93886004)(97736004)(5001770100001)(81156007)(19580395003)(83506001)(64126003)(65806001)(4001150100001)(122386002)(87266999)(15975445007)(1706002)(80316001)(5001960100002)(5008740100001)(59896002)(1720100001)(4001350100001)(47776003)(36756003)(1096002)(106356001)(40100003)(2950100001)(6116002)(23676002)(42186005)(105586002)(50466002)(92566002)(77096005)(3826002);DIR:OUT;SFP:1101;SCL:1;SRVR:CY1PR12MB0134;H:[IPv6:2a02:908:f678:3641:99a8:73e6:8d03:9bcb];FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtDWTFQUjEyTUIwMTM0OzIzOkxEcVpFSXA3SDdLU0ppZXJVNnVNaS9YdElM?= =?utf-8?B?UUVTM3RRYlpta25SWWlIZzRaakhUWmxHNUhKL3g5MG4rczZldk4rMytKdmF4?= =?utf-8?B?d3VIMnhNdG00bk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x4Lw0BzwqVabvF0LJHtLMgNWT3Pxfg1d2W3ZOEPg01V81TsL1izu0GyyoPSl234A++uM5AbBxUw==;24:Y9hRb/NNCMjSBdJVQ7gq2+nesAj2HjUif6Q3//vaegz2Hi/1ocnga4fqUO2AEOuM1XNsG4k5FKZ1aLGuR6bXlJaFTEp0awAySueJGPAF5Os=;20:fzfIs497khiHYsMZ/zTFC/Uu8eaJ8kJdyey4mbms8/SJlPUaculVyW/1QTiW1gsEdbEkEBwo9ZMWOGUWhQ1qqw0kZGXO+qmstSuJ/8W6AjaLFLBemJA3ByLUUrF5VqYwd1Dc0NjmMkZXke6T/Lc/BvALu7l1n5dxPkUBWS5NpxuLhl5HhLn7BKuD8+k6hZte/g7S9SpyS0zz/vbykg3zY9flvjPQCsggNANgmr6ICBoK60dpGCYsSlEbzOvl/vsp X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Dec 2015 08:57:27.8276 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR12MB0134 X-Microsoft-Exchange-Diagnostics: 1;CY1PR12MB0343;2:vq0qXsPGr1WLzB6fsRsucdEtvOMnO0hc3ZayyDHF2DMrI1c+FHWEkgE5pLMSTIwnCelt8Qm20iLITst+NzR2aAv0hs8rEaAJGAMcYTPOpGH5If9H4XibeymAFF5ECyFB2vyRbL3tQTIdFPxsCKIVAg==;23:FMULY5veJD0Vsr6AhsdktGMhvhD3ZVW9aA4ehJDYksmdMcJ/vS0Pfpgya1i5LWlJ4FdvWyrabuwZHxQXAptcxBR5UIP17r3JhTjkhoM0kp9+lC7YaBRBxhvSUWN6kv2UO8hYiSZN9SPDZ2FW1GrvWJOpjp/DqQZYKGP24hjvjfAWWkraLdxgI0D63Z+zbosi X-OriginatorOrg: amd.com Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2217 Lines: 51 On 02.12.2015 04:14, Michel Dänzer wrote: > On 01.12.2015 19:01, Pavel Machek wrote: >> On Mon 2015-11-30 09:39:54, Christian König wrote: >>> On 29.11.2015 23:22, Pavel Machek wrote: >>>> On Sun 2015-11-29 20:48:53, Christian König wrote: >>>>> On 28.11.2015 21:58, Pavel Machek wrote: >>>>>> Ring test failure is often caused by too high agpmode. Tell the user >>>>>> what to try. >>>>>> >>>>>> Signed-off-by: Pavel Machek >>>>> NAK, the ring test can fail for any number of reasons and the agpmode is >>>>> actually rather unlikely to be the cause. >>>> Well, when I asked on the list "why this is happened" I got "umm, >>>> noone knows" response that was not exactly helpful. And then someone >>>> told me about agpmode. >>>> >>>> If you know about the reasons it can fail, could you list them near >>>> the DRM_ERROR, at least as a comment? >>> Well as I said, that could be any number of reasons. Some of them even >>> completely unrelated to the driver itself. >>> >>> E.g. BIOS setting, faulty hardware, problems with the writeback etc... There >>> is really not a list you could give here. >>> >>> Lowering the agpmode usually helps more to prevent random corruptions and >>> problems under load. >> Take a look at >> >> http://www.gossamer-threads.com/lists/linux/kernel/2197183 >> >> . I had a problem, you did not know how to debug it, but it already >> happened to pebolle at tiscali ... and yes, it was agpmode. That >> problem is clearly more common then you realize... So this should go >> in. > I agree with Christian, but at the very least, agpmode must not be > mentioned if AGP isn't being used in the first place, i.e. either the > GPU isn't AGP or is being forced to PCI(e) mode. Well maybe to explain the background, r100_ring_test() is used for a whole bunch of different hardware generations. Most of them doesn't even have AGP, so mentioning this here would be even confusion for the majority of users. Regards, Christian. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/