<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hi everyone,<br>
      <br>
      As a follow up, Konrad sent me in private his vbios and the issue
      turned out to be trivial.<br>
      The reason why it behaved this way was that his vbios didn't have
      sensor calibration values.<br>
      The fix is available here:
      <meta http-equiv="content-type" content="text/html;
        charset=ISO-8859-1">
      <a
href="http://gitorious.org/linux-nouveau-pm/linux-nouveau-pm/commit/59b4006b5b30828bbd094dffe3937333b43d1e12">http://gitorious.org/linux-nouveau-pm/linux-nouveau-pm/commit/59b4006b5b30828bbd094dffe3937333b43d1e12</a><br>
      <br>
      This fix is part of a pull request I sent to Ben.<br>
      <br>
      Thanks again Konrad for reporting and testing the patches, I'll
      add you as a tester to this patch :)<br>
      <br>
      Cheers,<br>
      Mupuf<br>
      <br>
      PS: For the records, here is a fwd of our private conversation.<br>
      <br>
      <div class="moz-forward-container">-------- Message original
        --------
        <table class="moz-email-headers-table" border="0"
          cellpadding="0" cellspacing="0">
          <tbody>
            <tr>
              <th align="RIGHT" nowrap="nowrap" valign="BASELINE">Sujet:
              </th>
              <td>Re: nouveau shuts the machine down with v3.9-rc1
                (temperature (72 C) hit the 'shutdown' threshold).</td>
            </tr>
            <tr>
              <th align="RIGHT" nowrap="nowrap" valign="BASELINE">Date :
              </th>
              <td>Fri, 15 Mar 2013 11:16:17 -0400</td>
            </tr>
            <tr>
              <th align="RIGHT" nowrap="nowrap" valign="BASELINE">De : </th>
              <td>Konrad Rzeszutek Wilk <a class="moz-txt-link-rfc2396E" href="mailto:konrad.wilk@oracle.com"><konrad.wilk@oracle.com></a></td>
            </tr>
            <tr>
              <th align="RIGHT" nowrap="nowrap" valign="BASELINE">Pour :
              </th>
              <td>Martin Peres <a class="moz-txt-link-rfc2396E" href="mailto:martin.peres@free.fr"><martin.peres@free.fr></a></td>
            </tr>
          </tbody>
        </table>
        <br>
        <pre>On Fri, Mar 15, 2013 at 02:30:44AM +0100, Martin Peres wrote:
> On 13/03/2013 03:20, Konrad Rzeszutek Wilk wrote:
> >>Ah ah, what challenge? The reason why the temperature is messed up
> >>is ... trivial.
> >>
> >>Will send a patch for that!
> >Heh. Pls CC me so I can test it and add the Tested-by flag:
> >>Thanks for reporting the bug!
> >Of course.
> >>Martin
> Hey Konrad,

> Here are the thermal patches I sent to Ben Skeggs for review. The
> patch that should solve your problem is the patch 6.

> Let me know if it solves your issue (that I managed to reproduce by
> faking a different vbios).


> dmesg | grep nou
[   12.177930] calling  nouveau_drm_init+0x0/0x1000 [nouveau] @ 1488
[   12.330206] nouveau 0000:00:0d.0: setting latency timer to 64
[   12.353307] nouveau  [  DEVICE][0000:00:0d.0] BOOT0  : 0x04c000a2
[   12.359398] nouveau  [  DEVICE][0000:00:0d.0] Chipset: C61 (NV4C)
[   12.365477] nouveau  [  DEVICE][0000:00:0d.0] Family : NV40
[   12.371621] nouveau  [   VBIOS][0000:00:0d.0] checking PRAMIN for image...
[   12.416327] nouveau  [   VBIOS][0000:00:0d.0] ... appears to be valid
[   12.422758] nouveau  [   VBIOS][0000:00:0d.0] using image from PRAMIN
[   12.429324] nouveau  [   VBIOS][0000:00:0d.0] BIT signature found
[   12.429326] nouveau  [   VBIOS][0000:00:0d.0] version 05.61.32.22.01
[   12.443160] nouveau  [     PFB][0000:00:0d.0] RAM type: unknown
[   12.443161] nouveau  [     PFB][0000:00:0d.0] RAM size: 128 MiB
[   12.443162] nouveau  [     PFB][0000:00:0d.0]    ZCOMP: 0 tags
[   12.507777] nouveau  [  PTHERM][0000:00:0d.0] FAN control: none / external
[   12.514647] nouveau  [  PTHERM][0000:00:0d.0] fan management: disabled
[   12.521161] nouveau  [  PTHERM][0000:00:0d.0] internal sensor: no
[   12.547272] nouveau  [  PTHERM][0000:00:0d.0] programmed thresholds [ 90(2), 95(3), 145(2), 135(5) ]
[   12.573758] nouveau  [     DRM] VRAM: 125 MiB
[   12.579153] nouveau  [     DRM] GART: 512 MiB
[   12.584887] nouveau  [     DRM] TMDS table version 1.1
[   12.590018] nouveau  [     DRM] DCB version 3.0
[   12.594555] nouveau  [     DRM] DCB outp 00: 01000310 00000023
[   12.601754] nouveau  [     DRM] DCB outp 01: 00110204 97e50000
[   12.607585] nouveau  [     DRM] DCB conn 00: 0000
[   12.612424] nouveau  [     DRM] Saving VGA fonts
[   12.656034] nouveau W[     DRM] DCB type 4 not known
[   12.660991] nouveau W[     DRM] Unknown-1 has no encoders, removing
[   12.681157] nouveau  [     DRM] 1 available performance level(s)
[   12.687714] nouveau  [     DRM] 0: core 425MHz shader 425MHz fanspeed 100%
[   12.694575] nouveau  [     DRM] c:
[   12.699270] nouveau  [     DRM] MM: using M2MF for buffer copies
[   12.738742] nouveau 0000:00:0d.0: No connectors reported connected with modes
[   12.752063] nouveau  [     DRM] allocated 1024x768 fb: 0x9000, bo ffff88012dffbc00
[   12.763397] fbcon: nouveaufb (fb0) is primary device
[   12.780410] nouveau 0000:00:0d.0: fb0: nouveaufb frame buffer device
[   12.786754] nouveau 0000:00:0d.0: registered panic notifier
[   12.792330] [drm] Initialized nouveau 1.1.0 20120801 for 0000:00:0d.0 on minor 0
[   12.800071] initcall nouveau_drm_init+0x0/0x1000 [nouveau] returned 0 after 602409 usecs


and no poweroffs :-)

So definitly Tested-by: Konrad Rzeszutek Wilk <a class="moz-txt-link-rfc2396E" href="mailto:konrad.wilk@oracle.com"><konrad.wilk@oracle.com></a>
all of the patches.

Thanks!
> Cheers,
> Martin
</pre>
      </div>
    </div>
  </body>
</html>