Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751277AbaABCgM (ORCPT ); Wed, 1 Jan 2014 21:36:12 -0500 Received: from know-smtprelay-omc-1.server.virginmedia.net ([80.0.253.65]:32876 "EHLO know-smtprelay-omc-1.server.virginmedia.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751157AbaABCgL (ORCPT ); Wed, 1 Jan 2014 21:36:11 -0500 X-Originating-IP: [82.36.39.136] X-Spam: 0 X-Authority: v=2.1 cv=WI/xXxcR c=1 sm=1 tr=0 a=h3ZJzbuz6X3s3VlFudNWSw==:117 a=h3ZJzbuz6X3s3VlFudNWSw==:17 a=6vexxxhns_QA:10 a=fZX2ME0dHmMA:10 a=3NElcqgl2aoA:10 a=k1j_C7plYBUA:10 a=8nJEP1OIZ-IA:10 a=a5Gf7U6LAAAA:8 a=9wwvVaL5uFYA:10 a=fxJcL_dCAAAA:8 a=Vg8VLREUnLcW1NCdgW8A:9 a=9_VatP3G_9igSUty:21 a=ZpqP3Cx3ryIbsNss:21 a=wPNLvfGTeEIA:10 a=yHIqe9kG5mgA:10 Message-ID: <52C4D099.9040507@blueyonder.co.uk> Date: Thu, 02 Jan 2014 02:36:09 +0000 From: Sid Boyce Reply-To: sboyce@blueyonder.co.uk Organization: blueyonder.co.uk User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Ilia Mirkin CC: LKML Mailing List , opensuse factory list , "nouveau@lists.freedesktop.org" Subject: Re: Possible 3.13-rc nouveau regression with GT 560 Ti References: <52C29918.4060102@blueyonder.co.uk> <52C3644C.9090809@blueyonder.co.uk> <52C42079.6060604@blueyonder.co.uk> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3457 Lines: 78 On 01/01/14 18:46, Ilia Mirkin wrote: > On Wed, Jan 1, 2014 at 9:04 AM, Sid Boyce wrote: >> On 01/01/14 00:55, Ilia Mirkin wrote: >>> On Tue, Dec 31, 2013 at 7:41 PM, Sid Boyce >>> wrote: >>>> On 31/12/13 10:36, Ilia Mirkin wrote: >>>>> Having a dmesg would be nice. One thing I can think of off-hand is >>>>> that 3.13-rc has MSI turned on by default. You can turn it off by >>>>> adding "nouveau.config=NvMSI=0" to your kernel cmdline. If that >>>>> doesn't help, a bisect restricted to drivers/gpu/drm/nouveau should >>>>> show the offending commit fairly quickly. >>>>> >>>>> -ilia >>>>> >>>> Adding "nouveau.config=NvMSI=0" to the command line fixed the problem. >>>> So it looks like commit 049ffa8ab33a63b3bff672d1a0ee6a35ad253fe8 >>>> introduced >>>> it. >>> Any chance you might mmiotrace the blob (version 325 or later) to see >>> which registers it fiddles with? Or alternatively, if you have a NVCE >>> card (you never did end up providing the logs which would have made >>> that apparent), could you try replacing nvc3_mc_oclass with >>> nvc0_mc_oclass for the 0xce case in >>> drivers/gpu/drm/nouveau/core/engine/device/nvc0.c? (and boot without >>> the MSI disabling.) The switch has already been made for NVC8 in >>> 0bae1d61c75 -- perhaps there are more "odd" ones. >>> >>> -ilia >>> >> Fails exactly the same. >> case 0xc3: >> device->cname = "GF106"; >> >> device->oclass[NVDEV_SUBDEV_VBIOS ] = &nouveau_bios_oclass; >> device->oclass[NVDEV_SUBDEV_GPIO ] = &nv50_gpio_oclass; >> device->oclass[NVDEV_SUBDEV_I2C ] = &nv94_i2c_oclass; >> device->oclass[NVDEV_SUBDEV_CLOCK ] = &nvc0_clock_oclass; >> device->oclass[NVDEV_SUBDEV_THERM ] = &nva3_therm_oclass; >> device->oclass[NVDEV_SUBDEV_MXM ] = &nv50_mxm_oclass; >> device->oclass[NVDEV_SUBDEV_DEVINIT] = &nvc0_devinit_oclass; >> device->oclass[NVDEV_SUBDEV_MC ] = nvc0_mc_oclass; >> <<<<<==== >> device->oclass[NVDEV_SUBDEV_BUS ] = nvc0_bus_oclass; >> device->oclass[NVDEV_SUBDEV_TIMER ] = &nv04_timer_oclass; > That's the 0xc3 case... you have a nvce card, not nvc3 -- you would > need to change the NVDEV_SUBDEV_MC line to nvc0_mc_oclass for the 0xce > case. > >> The dmesg and Xorg.0.log with the problem captured across a ssh link. >> >> # ps fax|grep X >> 5633 pts/0 S+ 0:00 \_ grep --color=auto X >> 5160 tty7 Ss+ 0:08 \_ /usr/bin/Xorg -br :0 vt7 -nolisten tcp -auth >> /var/lib/kdm/AuthFiles/A:0-yqspza >> >> Also >> # echo mmiotrace > /sys/kernel/debug/tracing/current_tracer >> -bash: echo: write error: Invalid argument. > Take a look at https://wiki.ubuntu.com/X/MMIOTracing > > -ilia > Of course it's a GF114. Made the change and it boots without the command line change. Regards Sid. -- Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Senior Staff Specialist, Cricket Coach Microsoft Windows Free Zone - Linux used for all Computing Tasks -- 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/