Bug 68768

Summary: [NV92] PTHERM unhandled intr error during boot
Product: xorg Reporter: mattia.b89 <mattia.b89>
Component: Driver/nouveauAssignee: Nouveau Project <nouveau>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
dmesg none

Description mattia.b89 2013-08-30 19:22:35 UTC
Created attachment 84928 [details]
dmesg

I get this two errors (or better warning, because the boot continues) during my boot:

[    8.644478] nouveau E[    PBUS][0000:01:00.0] MMIO write of 0xffffffff FAULT at 0x00e074
[    8.796621] nouveau E[  PTHERM][0000:01:00.0] unhandled intr 0x000001e0
Comment 1 Ilia Mirkin 2013-08-30 19:27:51 UTC
The first should no longer happen in 3.11-rc7. See https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=8ff860564076f99aeb4f6d35dcb6ea008624e64e

Also, there should have been no ill effect from that, right?

Not sure about the PTHREM error...
Comment 2 mattia.b89 2013-08-30 19:35:32 UTC
thank you,

I (apparently) haven't noticed problems, at least no big problem

but deeply investigating I could notice a bad fan management (could be PTHERM related....)
Comment 3 Ilia Mirkin 2013-08-30 19:38:38 UTC
[    8.796597] nouveau  [  PTHERM][0000:01:00.0] fan management: disabled

If you want to enable it, take a look at https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/thermal/nouveau_thermal
Comment 4 Martin Peres 2013-08-30 19:40:10 UTC
(In reply to comment #2)
> thank you,
> 
> I (apparently) haven't noticed problems, at least no big problem
> 
> but deeply investigating I could notice a bad fan management (could be
> PTHERM related....)

The PTHERM error is harmless. I'll fix it though :) That's funny though because I was doing a round of PTHERM testing on nv50 and found this problem too.
Comment 5 Martin Peres 2013-08-30 19:41:09 UTC
(In reply to comment #3)
> [    8.796597] nouveau  [  PTHERM][0000:01:00.0] fan management: disabled
> 
> If you want to enable it, take a look at
> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/
> Documentation/thermal/nouveau_thermal

Oh, and for now, mattia.b89 will need to set the kernel parameter nouveau.perflvl=7777.
Comment 6 mattia.b89 2013-08-30 19:44:49 UTC
(In reply to comment #5)
> (In reply to comment #3)
> > [    8.796597] nouveau  [  PTHERM][0000:01:00.0] fan management: disabled
> > 
> > If you want to enable it, take a look at
> > https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/
> > Documentation/thermal/nouveau_thermal
> 
> Oh, and for now, mattia.b89 will need to set the kernel parameter
> nouveau.perflvl=7777.

to activate the fan management?

I see a mistake in the documentation: "Celcius" should be "Celsius"
Comment 7 Ilia Mirkin 2013-08-30 19:46:26 UTC
(In reply to comment #5)
> Oh, and for now, mattia.b89 will need to set the kernel parameter
> nouveau.perflvl=7777.

You undoubtedly meant nouveau.perflvl_wr=7777
Comment 8 mattia.b89 2013-08-31 09:57:33 UTC
maybe this is not the right place to post, but it's the better I know....

with "nouveau.perflvl_wr=7777" every performance level I change I get a crash: PC become instantly unusable also with magic sysrq
Comment 9 Ilia Mirkin 2013-08-31 15:47:45 UTC
The suggestion was to enable perflvl_wr in order to modify the fan stuff. Switching perf levels will often hang your machine, as you have discovered. (Although NV92 with GDDR3 RAM... I thought that was supposed to be fine.)
Comment 10 mattia.b89 2013-08-31 16:49:18 UTC
how can I manage fan ?
Comment 12 Ilia Mirkin 2013-10-01 18:04:39 UTC
The unhandled intr message should be fixed by:

http://cgit.freedesktop.org/nouveau/linux-2.6/commit/?id=d8f0f534e649be351e290d4824cdcc4ce393e63c

So both of your original issues should be resolved. Marking as fixed.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.