http://defect.opensolaris.org/bz/show_bug.cgi?id=6113





--- Comment #8 from J?rgen Keil <jk at tools.de>  2009-01-15 09:12:47 ---
(In reply to comment #6)
> If cpudrv_pm_get_topspeed() is returning 6, then the _PPC must be returning 6.
> This would wrong if there aren't that many P-states defined in the _PSS. Of
> course, the driver needs to be a little more defensive and handle the case
> where a bad _PPC value is returned. Possibly modify pudrv_pm_get_topspeed() as
> you suggest to return the minimum of the _PPC and the number of P-states.

In kmdb I looked at the value returned in cpu_acpi_cache_ppc(),
and the local ppc variable was set to 6.

I patched that to 3, and the system booted without a panic.

now kstat reports:

module: cpu_info                        instance: 0
name:   cpu_info0                       class:    misc
        brand                           Intel(r) Core(tm)2 CPU         T7200  @
2.00GHz
        chip_id                         0
        clock_MHz                       2000
        clog_id                         0
        core_id                         0
        cpu_type                        i386
        crtime                          78,06365423
        current_clock_Hz                996000000
        family                          6
        fpu_type                        i387 compatible
        implementation                  x86 (chipid 0x0 GenuineIntel 6F6 family
6 model 15 step 6 clock 2000 MHz)
        model                           15
        ncore_per_chip                  2
        ncpu_per_chip                   2
        pkg_core_id                     0
        snaptime                        388,278860878
        state                           on-line
        state_begin                     1232038899
        stepping                        6
        supported_frequencies_Hz       
996000000:1328000000:1660000000:1992000000
        vendor_id                       GenuineIntel

module: cpu_info                        instance: 1
name:   cpu_info1                       class:    misc
        brand                           Intel(r) Core(tm)2 CPU         T7200  @
2.00GHz
        chip_id                         0
        clock_MHz                       2000
        clog_id                         1
        core_id                         1
        cpu_type                        i386
        crtime                          156,090194186
        current_clock_Hz                996000000
        family                          6
        fpu_type                        i387 compatible
        implementation                  x86 (chipid 0x0 GenuineIntel 6F6 family
6 model 15 step 6 clock 2000 MHz)
        model                           15
        ncore_per_chip                  2
        ncpu_per_chip                   2
        pkg_core_id                     1
        snaptime                        388,279523718
        state                           on-line
        state_begin                     1232038977
        stepping                        6
        supported_frequencies_Hz       
996000000:1328000000:1660000000:1992000000
        vendor_id                       GenuineIntel

-- 
Configure bugmail: http://defect.opensolaris.org/bz/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Reply via email to