My mistake.  Intel family/model numbers are not as simple
as I first thought!  Many Intel P4 processors are supported.
http://blogs.sun.com/mhaywood/entry/introducing_speedstep_on_solaris

Check which family/model your processor is.
It likely fails speedstep_supported().

Regards,
Bill


On 12/19/08 12:22, Bill Holler wrote:
> Hi Sathvik,
>
> The cpudrv drviver did not load on your system.
> cpudrv creates these kstats.
>
> Your test machine is a Pentium 4:
>     Intel(r) Pentium(r) 4 CPU 2.40GHz
>
> I suspect OpenSolaris does not support Speedstep on P4.
> Lets look at the code:
> http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts/i86pc/io/cpudrv/speedstep.c#246
>
> boolean_t
> speedstep_supported(uint_t family, uint_t model)
> {
>         struct cpuid_regs cpu_regs;
>         uint64_t reg;
>
>         /* Required features */
>         if (!(x86_feature & X86_CPUID) ||
>             !(x86_feature & X86_MSR)) {
>                 return (B_FALSE);
>         }
>
>         /*
>          * We only support family/model combinations which
>          * are P-state TSC invariant.
>          */
>         if (!((family == 0xf && model >= 0x3) ||
>             (family == 0x6 && model >= 0xe))) {
>                 return (B_FALSE);
>         }
>
>
>
> If I am not mistaken Intel Family=f model=3 is Prescott which is
> later than P4.  P4 and earlier are not supported.
>   
Many P4 processors are supported!

> Regards,
> Bill
>
>
>
> On 12/19/08 11:44, sathvik L wrote:
>   
>> Hi ,
>>
>> I am using an intel p4 desktop. when I run the command "kstat -m 
>> cpu_info | grep supported_frequencies_Hz"  I don't see any output.
>>
>> My solaris kernel version is old (5.11) is that the problem ? ( I will 
>> need a week before I get the mail containing the new open Solaris nov 
>> release).
>>
>> The only CPU related notices from the o/p of the dmesg command were 
>> these :
>>
>> Dec 18 01:33:23 belenix unix: [ID 126719 kern.notice] features: 
>> 1047fff<cpuid,sse3,sse2,sse,sep,pat,cx8,pae,mca,mmx,cmov,de,pge,mtrr,msr,tsc,lgpg>
>> Dec 18 01:33:23 belenix unix: [ID 311457 kern.notice] cpu0: 
>> initialized cpu module 'cpu.generic'
>> Dec 18 01:33:23 belenix pcplusmp: [ID 803547 kern.info 
>> <http://kern.info>] pcplusmp: i8042 (i8042) instance 0 vector 0x1 
>> ioapic 0x1 intin 0x1 is bound to cpu 0
>> Dec 18 01:33:23 belenix pcplusmp: [ID 444295 kern.info 
>> <http://kern.info>] pcplusmp: i8042 (i8042) instance #0 vector 0xc 
>> ioapic 0x1 intin 0xc is bound to cpu 0
>> Dec 18 01:33:23 belenix pcplusmp: [ID 803547 kern.info 
>> <http://kern.info>] pcplusmp: pciclass,0c0320 (ehci) instance 0 vector 
>> 0x77 ioapic 0x1 intin 0x17 is bound to cpu 0
>> Dec 18 01:33:25 belenix pcplusmp: [ID 803547 kern.info 
>> <http://kern.info>] pcplusmp: pciclass,0c0300 (uhci) instance 0 vector 
>> 0x74 ioapic 0x1 intin 0x10 is bound to cpu 0
>> Dec 18 01:33:26 belenix pcplusmp: [ID 444295 kern.info 
>> <http://kern.info>] pcplusmp: pciclass,0c0300 (uhci) instance #1 
>> vector 0x75 ioapic 0x1 intin 0x13 is bound to cpu 0
>> Dec 18 01:33:27 belenix pcplusmp: [ID 444295 kern.info 
>> <http://kern.info>] pcplusmp: pciclass,0c0300 (uhci) instance #2 
>> vector 0x76 ioapic 0x1 intin 0x12 is bound to cpu 0
>> Dec 18 01:33:29 belenix unix: [ID 950921 kern.notice] cpu0: x86 
>> (GenuineIntel F33 family 15 model 3 step 3 clock 2400 MHz)
>> Dec 18 01:33:29 belenix unix: [ID 950921 kern.notice] cpu0: Intel(r) 
>> Pentium(r) 4 CPU 2.40GHz
>> Dec 18 01:33:33 belenix pcplusmp: [ID 803547 kern.info 
>> <http://kern.info>] pcplusmp: ide (ata) instance 0 vector 0xe ioapic 
>> 0x1 intin 0xe is bound to cpu 0
>> Dec 18 01:33:33 belenix pcplusmp: [ID 444295 kern.info 
>> <http://kern.info>] pcplusmp: ide (ata) instance #1 vector 0xf ioapic 
>> 0x1 intin 0xf is bound to cpu 0
>> Dec 18 01:33:33 belenix pcplusmp: [ID 803547 kern.info 
>> <http://kern.info>] pcplusmp: pci10ec,8139 (rtls) instance 0 vector 
>> 0x8 ioapic 0x1 intin 0x11 is bound to cpu 0
>> Dec 18 01:33:38 belenix pcplusmp: [ID 803547 kern.info 
>> <http://kern.info>] pcplusmp: asy (asy) instance 0 vector 0x4 ioapic 
>> 0x1 intin 0x4 is bound to cpu 0
>>
>> Here there aren't cpupm related messages !
>> Can anybody please help me out in finding what the problem is.
>>
>> Thanks & Regards,
>> Sathvik
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> pm-discuss mailing list
>> pm-discuss at opensolaris.org
>> http://mail.opensolaris.org/mailman/listinfo/pm-discuss
>>   
>>     
>
> _______________________________________________
> pm-discuss mailing list
> pm-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/pm-discuss
>   


Reply via email to