Skip to contentSkip to conversation

Broken PST for Sony Vaio FX-502 with Athlon XP 1900+ fixed !

DISCUSSION Alex Simonov 3 participants 3 messages Oct 6, 2003 – Oct 7, 2003 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 10 lines · --- Ducrot Bruno

On Wed, Oct 01, 2003 at 07:13:13AM -0700, Alex
Simonov wrote:

I think you can replace the powernow-k7.c of
your kernel
with the cvs version, without changing all.

There are not enough change in core (yet) with
the one
you have I guess.

Hi Bruno,

Thank you very much for the advice. I took the powernow-k7.c from the CVS, and compiled it with my "fake" PST. I had to fix only the missing define for the wrmsrl and rdmsrl symbols. So far the powernow scaling for my XP 1900+ seems to work.
Just one question-the x86info utility displays either "Voltage changes wont happen" or Frequency changes wont happen" depending on that if you're changing the speed up or down, because of the CVID and CFID bits set to 0 in each change_fid or change_vid function? Does this mean that VID/FID is not changing? The MSR register values are set anyway, is there any definitive way to make sure if I have the correct voltage output?

Thank you very much,

Alex

__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

#2 lore raw
Quoted 7 lines · Alex Simonov

Thank you very much for the advice. I took the powernow-k7.c from the CVS, and compiled it with my "fake" PST. I had to fix only the missing define for the wrmsrl and rdmsrl symbols. So far the powernow scaling for my XP 1900+ seems to work.
Just one question-the x86info utility displays

Quoted 8 lines

either "Voltage changes wont happen" or Frequency changes wont happen" depending on that if you're changing the speed up or down, because of the CVID and CFID bits set to 0 in each change_fid or change_vid function? Does this mean that VID/FID is not changing? The MSR register values are set anyway, is there any definitive way to make sure if I have the correct voltage output?

Add printk's to change_VID() ?

Dave

Signature · 1 line
 Dave Jones     http://www.codemonkey.org.uk
#3 lore raw
In reply to Alex Simonov
Quoted 16 lines · Alex Simonov
Quoted 10 lines · --- Ducrot Bruno

On Wed, Oct 01, 2003 at 07:13:13AM -0700, Alex
Simonov wrote:

I think you can replace the powernow-k7.c of
your kernel
with the cvs version, without changing all.

There are not enough change in core (yet) with
the one
you have I guess.

Hi Bruno,

Quoted 12 lines

Thank you very much for the advice. I took the powernow-k7.c from the CVS, and compiled it with my "fake" PST. I had to fix only the missing define for the wrmsrl and rdmsrl symbols. So far the powernow scaling for my XP 1900+ seems to work.
Just one question-the x86info utility displays either "Voltage changes wont happen" or Frequency changes wont happen" depending on that if you're changing the speed up or down, because of the CVID and CFID bits set to 0 in each change_fid or change_vid function?

Bug in x86info perhaps?
Ah yes. that look like this, in AMD/powernow.c:

     62         if (read_msr(cpu->number, MSR_FID_VID_CTL, &vidctl.val) != 1) {
     63                 printf ("Something went wrong reading MSR_FID_VID_CTL\n");
     64                 return;
     65         }
     66 
     67         printf ("FID changes %s happen\n", vidctl.FIDC ? "will" : "won't");
     68         printf ("VID changes %s happen\n", vidctl.VIDC ? "will" : "won't");
     69 
     70         if (vidctl.VIDC)
     71                 printf ("Current VID multiplier code: %0.3f\n", mobile_vid_table[vidctl.VID]);
     72         if (vidctl.FIDC)
     73                 printf ("Current FSB multiplier code: %.1f\n", fid_codes[vidctl.FID]);

but that is wrong.

Quoted 2 lines

Does this mean that VID/FID
is not changing?

They do.

Quoted 4 lines

The MSR register values are set
anyway, is there any definitive way to make sure if I have the correct voltage output?

As pointed by Dave, just add some printk() (or dprintk) to print raw MSR_K7_FID_VID_STATUS, or fields from a union msr_fidvidstatus.

Signature · 4 lines
Ducrot Bruno

--  Which is worse:  ignorance or apathy?
--  Don't know.  Don't care.