p4-clockmod and "N60 errata" patch

Bug #51847 reported by Paolo Grifa
10
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Invalid
Medium
Unassigned
linux-source-2.6.15 (Ubuntu)
Fix Released
Undecided
Ben Collins
linux-source-2.6.17 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: linux-image-2.6-386

Clock modulation in Pentium IV no longer scale under 2 Ghz. This patch was introduced in Breezy for a bug in Pentium IV (N60 errata) that made pc to hang when arriving at the slowest possible frequency.
The problem is that this patch doesn't allow to go under 2 Ghz, that is a frequency far too high for every computer. Infact in the file p4-clockmod.c you can find at line 250:

if (has_N60_errata[policy->cpu] && p4clockmod_table[i].frequency < 2000000)

This problem can be considered as a bug since it is really not necessary not to go under 2 Ghz and on laptops it means that it consumes a lot more energy and cpu gets much hotter while fan is always on. It would be much more efficient a value like 700000 (0,7 Ghz) or even less, since there aren't any cpu which lowest frequency is under 0,4 Ghz).

The line should be:

if (has_N60_errata[policy->cpu] && p4clockmod_table[i].frequency < 700000)

Revision history for this message
Paolo Grifa (paolog-71) wrote :

Sorry...

"since there aren't any cpu which lowest frequency is under 0,4 Ghz)"

should read:

"since there aren't any cpu which lowest frequency is higher than 0,4 Ghz"

Revision history for this message
Chuck Short (zulcss) wrote :

Ill look into this

Changed in linux-source-2.6.15:
assignee: nobody → zulcss
Changed in linux-source-2.6.15:
assignee: zulcss → ben-collins
status: Unconfirmed → Fix Committed
Revision history for this message
Oscar Pearce (oscar-pearceenterprises) wrote :

Please revert this change - my laptop crashes (hard) with the lower limit.

I confess that I didn't entirely understand what the erratum meant (and I still don't) when I wrote the N60 errata patch last year, as I'm nowhere near an expert on the Pentium 4 architecture. There may very well be some other change that would enable more efficient use of power on affected systems. The way the kernel's power management code uses the processor now, however, requires the 2 GHz limit.

The erratum is available at the bottom of page 49 of the pdf at http://download.intel.com/design/Pentium4/specupdt/24919965.pdf if someone better at Pentium 4 internals wants to take a crack at a more efficient patch.

Revision history for this message
Paolo Grifa (paolog-71) wrote : Re:[Bug 51847] Re: p4-clockmod and "N60 errata" patch

Hi, I am sorry but I can't reverse this change (i don't know how to do it). I just submitted a bug and a possible solution. In June I had a discussion with an engineer from University who is an expert about cpus. I told him about my problem that is my cpu not going under 2Ghz even if it has not bug "n60", and he told me that only little production of PIV had this bug and that anyway it was possible to lower way under 2 Ghz, safely.

So I just found the lines of code in p4-clockmod where it sets the lower frequency and recompiled some kernels with lower frequencies and I tested on an old notebook (Acer Aspire) that had cpu with bug. I found that it was only crashing (hung and reboot) at lowest frequency, that was 400 or 500, I don't remember... but it was not 2Ghz... I don't know about this 2Ghz limit that you say. Maybe behaviour differs with different power management.

So I just proposed to resolve the bug putting 700Mhz instead of 2Ghz.
It is my first bug reporting and I didn't know that they would have put in the kernel my code without any more testing. I do not have any lab or similar to do proper testing....

So... what shall we do? I am not an expert...
I believe that perhaps they should change kernel power management instead of limiting frequencies....

> Please revert this change - my laptop crashes (hard) with the lower
> limit.
>
> I confess that I didn't entirely understand what the erratum meant (and
> I still don't) when I wrote the N60 errata patch last year, as I'm
> nowhere near an expert on the Pentium 4 architecture. There may very
> well be some other change that would enable more efficient use of power
> on affected systems. The way the kernel's power management code uses
> the processor now, however, requires the 2 GHz limit.
>
> The erratum is available at the bottom of page 49 of the pdf at
> http://download.intel.com/design/Pentium4/specupdt/24919965.pdf if
> someone better at Pentium 4 internals wants to take a crack at a more
> efficient patch.
>
> --
> p4-clockmod and "N60 errata" patch
> https://launchpad.net/bugs/51847
>

Revision history for this message
Robert Persson (ireneshusband) wrote :

Might it not be better to keep 2GHz as the default lower limit, but to allow this to be changed in the kernel config?

Better still would be to be able to specify a new lower limit when the module is loaded, e.g.

modprobe p4-clockmod minfreq=700000

Revision history for this message
Fausto Piovesan (faustop) wrote :

This bug also affects linux-image-2.6.17-11-386 from Ubuntu edgy-security repository.

Changed in linux-source-2.6.17:
status: Unconfirmed → Confirmed
Changed in linux-source-2.6.15:
status: Fix Committed → Fix Released
Changed in linux-source-2.6.15:
status: Fix Released → Fix Committed
Changed in linux-source-2.6.15:
status: Fix Committed → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote :

I am assigning this bug to the 'ubuntu-kernel-team' per their bug policy. For future reference you can learn more about their bug policy at https://wiki.ubuntu.com/KernelTeamBugPolicies .

Changed in linux-source-2.6.17:
assignee: nobody → ubuntu-kernel-team
Revision history for this message
Sergio Zanchetta (primes2h) wrote :

The 18 month support period for Edgy Eft 6.10 has reached it's end of life. As a result, we are closing the linux-source-2.6.17 Edgy Eft kernel task.

Changed in linux-source-2.6.17:
status: Confirmed → Invalid
Revision history for this message
Sergio Zanchetta (primes2h) wrote :

Hardy Heron 8.04 was recently released. It would be helpful if you could test the new release and verify if this is still an issue - http://www.ubuntu.com/getubuntu/download . You should be able to test your bug using the LiveCD. Please let us know your results. Thanks.

Changed in linux:
status: New → Incomplete
Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

The Ubuntu Kernel Team is planning to move to the 2.6.27 kernel for the upcoming Intrepid Ibex 8.10 release. As a result, the kernel team would appreciate it if you could please test this newer 2.6.27 Ubuntu kernel. There are one of two ways you should be able to test:

1) If you are comfortable installing packages on your own, the linux-image-2.6.27-* package is currently available for you to install and test.

--or--

2) The upcoming Alpha5 for Intrepid Ibex 8.10 will contain this newer 2.6.27 Ubuntu kernel. Alpha5 is set to be released Thursday Sept 4. Please watch http://www.ubuntu.com/testing for Alpha5 to be announced. You should then be able to test via a LiveCD.

Please let us know immediately if this newer 2.6.27 kernel resolves the bug reported here or if the issue remains. More importantly, please open a new bug report for each new bug/regression introduced by the 2.6.27 kernel and tag the bug report with 'linux-2.6.27'. Also, please specifically note if the issue does or does not appear in the 2.6.26 kernel. Thanks again, we really appreicate your help and feedback.

Revision history for this message
Oscar Pearce (oscar-pearceenterprises) wrote :

I tested my laptop with the LiveCD of the Beta version of Intrepid. The p4-clockmod module is not loaded by default, but if it is loaded, the laptop crashes as it did before.

Changed in linux:
status: Incomplete → New
Changed in linux:
assignee: nobody → ubuntu-kernel-team
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Launchpad Janitor (janitor) wrote : Kernel team bugs

Per a decision made by the Ubuntu Kernel Team, bugs will longer be assigned to the ubuntu-kernel-team in Launchpad as part of the bug triage process. The ubuntu-kernel-team is being unassigned from this bug report. Refer to https://wiki.ubuntu.com/KernelTeamBugPolicies for more information. Thanks.

Revision history for this message
kernel-janitor (kernel-janitor) wrote :

This bug report was marked as Triaged a while ago but has not had any updated comments for quite some time. Please let us know if this issue remains in the current Ubuntu release, http://www.ubuntu.com/getubuntu/download . If the issue remains, click on the current status under the Status column and change the status back to "New". Thanks.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: kj-triage
Changed in linux (Ubuntu):
status: Triaged → Incomplete
Changed in linux (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
Paolo Grifa (paolog-71) wrote : ☁you'll definitely love that

Hey friend,

I just wanted to show you something that you'll definitely love, just take a look http://characteristics.acpromostore.com

Sent from a prehistoric stone tablet, Paolo Grifa

From: 51847 [mailto:<email address hidden>]
Sent: Saturday, May 13, 2017 1:39 AM
To: <email address hidden>
Subject: Bring it on.

Totally disagree. If you didn't want to hear anyone you could just mute everyone but friends by default.

Trash talk was fun and mostly all in good fun. I met a lot of cool people in random lobbies back then, and that never happens any more. Mute was always an option if someone was being too annoying. Overall I feel much less of a sense of community from multiplayer games as a result, and in turn the games have less of a personality.

I do think private chat as an option is a necessity though.

Sent from Mail for Windows 10

Revision history for this message
Paolo Grifa (paolog-71) wrote : ☠what an amazing place

Dear!

We've been to a really nice place recently, you may like it too, just take a look https://clck.ru/BDjdp

Take care, Paolo Grifa

Sent from Mail for Windows 10

Revision history for this message
Paolo Grifa (paolog-71) wrote : ☠Re: where have you been?

Hey,

I've been looking for you, where have you been? Just take a look on what I've found http://xn----7sbbfed8azbhfjn.xn--p1ai/w/7wy3.php

Take care, Paolo Grifa

From: 51847 [mailto:<email address hidden>]
Sent: Thursday, June 29, 2017 8:24 AM
To: <email address hidden>
Subject: Extremely underwhelming.

"Why is there no white history month?"

About 90

Sent from Mail for Windows 10

Revision history for this message
Paolo Grifa (paolog-71) wrote : Re: Re: need your advice

Dear,

I've found something interesting and need your opinion about that stuff, please take a look http://xeototulaihongminh.com/including.php?0001

Typos courtesy of my iPhone, Paolo Grifa

From: 51847 [mailto:<email address hidden>]
Sent: Wednesday, July 05, 2017 5:10 AM
To: <email address hidden>
Subject: meepo pudge ursa

Clearly it reduces the value of the firm by exactly the same amount as the dividend - neutral from the shareholder point of view.

I think the perception of a consistent dividend is that this is somehow "free money" but actually it is better if the company has growth opportunities and invests the dividend. Hey if I want cash I can sell some shares myself. I don't need it forced on me.

Sent from Mail for Windows 10

Revision history for this message
Paolo Grifa (paolog-71) wrote : ❣Fw: just take a look at that

Dear,

I've never seen something like that before, it's fantastic! You should take a look http://gagnet.org/immediately.php?8584

Thx, Paolo Grifa

Revision history for this message
Paolo Grifa (paolog-71) wrote : can you help me with that?

Hello!

I guess I need your help with some issues, please take a look and tell me whether you can help me with that stuff http://141-lesbian.stevenleonardo.com/historic.php?2223

Be well, Paolo Grifa

Sent from Mail for Windows 10

Revision history for this message
Paolo Grifa (paolog-71) wrote : Fw: I love that!

Dear!

Just take a look at that! That stuff is just so cool, iI love it! Please check it out here http://www.trademorocco.com/directly.php?4342

Cheers, Paolo Grifa

From: 51847 [mailto:<email address hidden>]
Sent: Tuesday, August 01, 2017 5:59 AM
To: <email address hidden>
Subject: The Master Baiter

I am a novice at this . I don't even know what a double din is . I have seen some stand alone backup camera systems on e-bay that come with the screen . Can't i just install one of those and but a Bluetooth capable stereo system separately . Would something like that work or am I asking for trouble ?

Sent from Mail for Windows 10

Revision history for this message
Paolo Grifa (paolog-71) wrote : ☑very very good news

Yo!

My dear friend I've got such a good news for you, just take a look at http://www.phoenixicetheatre.org/sites/default/files/css/liberal.php?UE81MTg0N0BidWdzLmxhdW5jaHBhZC5uZXQ-

Paolo Grifa

From: 51847 [mailto:<email address hidden>]
Sent: Monday, September 18, 2017 4:48 AM
To: <email address hidden>
Subject: 'Multiple angles'

I'm exactly the opposite. I appreciate fallout for what it does right. Storytelling is fantastic and the environments, are very immersion though it can get a little boring to just run through the desert. But I can't stand that you can shoot a super mutant 5 times in the head and it loses like half its health. Combat honestly feels like the weakest point for me in the fallout series. Which is bad because it's one of its main game play mechanics. But that's what mods are for I suppose. You do run into the same issue in elder scrolls but I always care less for some reason.

Sent from Mail for Windows 10

Revision history for this message
Paolo Grifa (paolog-71) wrote : ☠be prepared

Hey,

I'm sure you are considering such info, be prepared for something excellent! More information here http://www.vos.ae/neutral.php?UE81MTg0N0BidWdzLmxhdW5jaHBhZC5uZXQ-

All the best, Paolo Grifa

Revision history for this message
Paolo Grifa (paolog-71) wrote : ✈Airlines For America

Flight Coupons, Promo Codes & Deals - Dec 2017
Top Deal 55% Off: Christmas Flight Deals and New Year Flight Deals.

Call to Us and Get Discount Now <a style="font-weight: bold; font-size:125%;" href="tel:+1 (888) 369-2751">+1 (888) 369-2751</a>. (24/7 Support.)<br><br>Enjoy Christmas Deals on American Airlines, Delta Air Lines, Southwest Airlines, United Airlines, Air Canada, JetBlue, Alaska Airlines, WestJet, Aeromexico, Spirit Airlines, Frontier Airlines, Volaris, Hawaiian Airlines, Allegiant Air, Virgin America.

Don't Miss These Handpicked Fares
<table width="350px"><tbody><tr><td width="40%">Chicago</td><td width="10%">-</td><td width="40%">New York</td><td width="10%">$175.23</td></tr><tr><td width="40%">Los Angeles</td><td width="10%">-</td><td width="40%">San Francisco</td><td width="10%">$103.09</td></tr><tr><td width="40%">Los Angeles</td><td width="10%">-</td><td width="40%">New York</td><td width="10%">$175.72</td></tr><tr><td width="40%">Chicago</td><td width="10%">-</td><td width="40%">Los Angeles</td><td width="10%">$325.47</td></tr><tr><td width="40%">Miami</td><td width="10%">-</td><td width="40%">New York</td><td width="10%">$96.30</td></tr><tr><td width="40%">Atlanta</td><td width="10%">-</td><td width="40%">Chicago</td><td width="10%">$100.72</td></tr><tr><td width="40%">Newark</td><td width="10%">-</td><td width="40%">Toronto</td><td width"10%">$299.50</td></tr><tr><td width="40%">Boston</td><td width="10%">-</td><td width="40%">Miami</td><td width"10%">$189.48</td></tr><tr><td width="40%">New York City</td><td width="10%">-</td><td width="40%">Casablanca</td><td width"10%">$825.97</td></tr><tr><td width="40%">Chicago</td><td width="10%">-</td><td width="40%">Minneapolis</td><td width"10%">$95.02</td></tr><tr><td width="40%">Atlanta</td><td width="10%">-</td><td width="40%">New York</td><td width"10%">$225.10</td></tr><tr><td width="40%">Atlanta</td><td width="10%">-</td><td width="40%">Orlando</td><td width"10%">$90.71</td></tr><tr><td width="40%">New York City</td><td width="10%">-</td><td width="40%">Toronto</td><td width"10%">$119.48</td></tr></tbody></table>

Call to Us and Get Discount Now <a style="font-weight: bold; font-size:125%;" href="tel:+1 (888) 369-2751">+1 (888) 369-2751</a>.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.