Re: powernow not working on AMD Athlon XP Mobile

2011-09-14 Thread Sepherosa Ziehau
On Thu, Sep 15, 2011 at 4:13 AM, Maurizio Lombardi
 wrote:
>> You could try to set hw.acpi.cpu.pstate.strigent_check=0 in 
>> /boot/loader.conf. My K8 box needs that for it's messed up FID/VID.
>>
>
> Thanks,
>
> I tried but the kernel freezes at boot.
>
> It prints a lot of error like:
>
> "cpu0: Invalid FID"
> "cpu0: Invalid VID..."
>
> The last two lines it prints are a bit different:
>
> "cpu0: min VID mismatch real 9, lim 11"
> "cpu0: min FID mismatch real 50, lim 6"

Well, I think I will need AMD 06h family BKDG to figure out how the
ACPI VID and FID should be used.  The code we have messed w/ so far is
according to AMD 0fh family BKDG.

Best Regards,
sephe

-- 
Tomorrow Will Never Die


Re: powernow not working on AMD Athlon XP Mobile

2011-09-14 Thread Maurizio Lombardi
> You could try to set hw.acpi.cpu.pstate.strigent_check=0 in 
> /boot/loader.conf. My K8 box needs that for it's messed up FID/VID.
>

Thanks,

I tried but the kernel freezes at boot.

It prints a lot of error like:

"cpu0: Invalid FID"
"cpu0: Invalid VID..."

The last two lines it prints are a bit different:

"cpu0: min VID mismatch real 9, lim 11"
"cpu0: min FID mismatch real 50, lim 6"

Cheers,


-- 

Maurizio Lombardi


Re: powernow not working on AMD Athlon XP Mobile

2011-09-14 Thread Max Herrgard
On 14 sep 2011, at 20.45, Maurizio Lombardi wrote
>> Ok.  Remove the old patch and try this one:
>> http://leaf.dragonflybsd.org/~sephe/pstate.c.diff1
> 
> Thanks for your support Sepherosa, but unfortunately it still does not work.
> 
> The last patch triggered others errors like the following:
> cpu0: Invalid FID 0x20, out [0xe, 0x16]
> cpu0: Invalid VID 0x6, in [0xd, 0xb]


You could try to set hw.acpi.cpu.pstate.strigent_check=0 in /boot/loader.conf. 
My K8 box needs that for it's messed up FID/VID.

See http://bugs.dragonflybsd.org/issue2025


cheers,
Max


Re: powernow not working on AMD Athlon XP Mobile

2011-09-14 Thread Maurizio Lombardi
> Ok.  Remove the old patch and try this one:
> http://leaf.dragonflybsd.org/~sephe/pstate.c.diff1

Thanks for your support Sepherosa, but unfortunately it still does not work.

The last patch triggered others errors like the following:
cpu0: Invalid FID 0x20, out [0xe, 0x16]
cpu0: Invalid VID 0x6, in [0xd, 0xb]

I modified your patch to force the kernel to ignore those errors:
http://www.dotter.it/~maurizio/acpic5.diff

But the kernel freezes at boot when it tries to initialize the cpu driver


-- 

Maurizio Lombardi