Bug 24092 - i5 cpu support on HP dv6
Summary: i5 cpu support on HP dv6
Status: CLOSED INVALID
Alias: None
Product: ACPI
Classification: Unclassified
Component: Power-Processor (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: acpi_power-processor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-30 16:58 UTC by Claudio Melis
Modified: 2010-12-14 07:58 UTC (History)
2 users (show)

See Also:
Kernel Version: 2.6.35.7
Subsystem:
Regression: No
Bisected commit-id:


Attachments
acpidump hp dv6 2129el (273.52 KB, text/plain)
2010-12-06 07:53 UTC, Claudio Melis
Details

Description Claudio Melis 2010-11-30 16:58:00 UTC
Hello I have an i5 M430 cpu on my HP dv6 laptop.
My question is if i5 cpu are fully supported on ubuntu (generally in linux).
I ask this cause my cpu seems to not work properly.

1° the kernel detects only 1 physical core, not 2 as intel specs (http://ark.intel.com/Product.aspx?id=43537). In fact I have 4 logical cores (threads) and just one physical as dmesg says:

[    0.000213] CPU: Physical Processor ID: 0
[    0.000214] CPU: Processor Core ID: 0
[    0.000229] mce: CPU supports 9 MCE banks
[    0.000240] CPU0: Thermal monitoring enabled (TM1)
........
[    0.061392] CPU0: Intel(R) Core(TM) i5 CPU       M 430  @ 2.27GHz stepping 02
[    0.167920] Booting Node   0, Processors  #1
[    0.178107] Initializing CPU#1
[    0.260740]  #2
[    0.270956] Initializing CPU#2
[    0.353550]  #3
[    0.363765] Initializing CPU#3
[    0.444415] Brought up 4 CPUs
[    0.444418] Total of 4 processors activated (18087.19 BogoMIPS).

2° in /proc/acpi/processor I get:

mebitek@marmidha:/proc/acpi/processor$ cat CPU*/info
processor id:            0
acpi id:                 1
bus mastering control:   yes
power management:        no
throttling control:      yes
limit interface:         yes
processor id:            1
acpi id:                 2
bus mastering control:   yes
power management:        no
throttling control:      yes
limit interface:         yes
processor id:            2
acpi id:                 3
bus mastering control:   yes
power management:        no
throttling control:      yes
limit interface:         yes
processor id:            3
acpi id:                 4
bus mastering control:   yes
power management:        no
throttling control:      yes
limit interface:         yes

so I do not have cpu power managment that means a poor battery life (I have about 1h 20mins)

3° Intel Corporation 5 Series/3400 Series chipset do not have sensors. I used a patch found on lm_sensors page to get support for P55 chipset and now I get:

intel-pci-00fe
Adapter: PCI adapter
thermal sensor:      +122.0°C                                    
core 0:               +55.5°C                                    
processor:            +58.0°C                                    
internal temperature: +62.0°C

really strange value for thermal sensor.

4° I have no fan. I can load the module but /proac/acpi/fan directory is empty.

5° i7z reports good values for number of physical cores, turbo mode and frequencies.

I notice that I have disassebled my DSDT, correct all errors and warnigns (I alsa tried to merge DSDT and SSDT table with acpi_no_auto_ssdt) but what I get is only a kernel panic at boot.

Someone can help me?
thx a lot
Claudio
Comment 1 ykzhao 2010-12-06 00:55:21 UTC
Will you please attach the output of acpidump on your box? At the same time please also get the output of every file under /sys/firmware/acpi/tables/dynamic/.

Please attach the output of "cat /sys/devices/system/cpu/cpu0/cpuidle/*" and "cat /sys/devices/system/cpu/cpu0/cpufreq/*".

Thanks.
   Yakui
Comment 2 Claudio Melis 2010-12-06 07:53:19 UTC
Created attachment 39102 [details]
acpidump hp dv6 2129el
Comment 3 Claudio Melis 2010-12-06 07:59:36 UTC
I have no files under /sys/firmware/acpi/tables/dynamic :


mebitek@marmidha:~$ ll /sys/firmware/acpi/tables/dynamic/.
totale 0

output of every file in /sys/devices/system/cpu/cpu0/cpuidle/

root@marmidha:/sys/devices/system/cpu/cpu0/cpuidle# sudo find . -type f -name "*"
./state0/name
./state0/desc
./state0/latency
./state0/power
./state0/usage
./state0/time
./state1/name
./state1/desc
./state1/latency
./state1/power
./state1/usage
./state1/time
./state2/name
./state2/desc
./state2/latency
./state2/power
./state2/usage
./state2/time
./state3/name
./state3/desc
./state3/latency
./state3/power
./state3/usage
./state3/time


mebitek@marmidha:/sys/devices/system/cpu/cpu0/cpuidle$ ll 
totale 0
drwxr-xr-x 2 root root 0 2010-12-06 08:54 state0
drwxr-xr-x 2 root root 0 2010-12-06 08:54 state1
drwxr-xr-x 2 root root 0 2010-12-06 08:54 state2
drwxr-xr-x 2 root root 0 2010-12-06 08:54 state3
mebitek@marmidha:/sys/devices/system/cpu/cpu0/cpuidle$ cat state*/*
CPUIDLE CORE POLL IDLE
0
C0
4294967295
428313
1148
MWAIT 0x00
3
NHM-C1
1000
40069758
236407
MWAIT 0x10
20
NHM-C3
500
183525785
167117
MWAIT 0x20
200
NHM-C6
350
164650694
63514

- output of each file in /sys/devices/system/cpu/cpu0/cpufreq

root@marmidha:/sys/devices/system/cpu/cpu0/cpufreq# sudo find . -type f -name "*"
./cpuinfo_min_freq
./cpuinfo_max_freq
./cpuinfo_transition_latency
./scaling_min_freq
./scaling_max_freq
./affected_cpus
./related_cpus
./scaling_governor
./scaling_driver
./scaling_available_governors
./scaling_setspeed
./scaling_available_frequencies
./cpuinfo_cur_freq
./scaling_cur_freq
./bios_limit
./stats/total_trans
./stats/time_in_state
./stats/trans_table
./ondemand/sampling_rate_max
./ondemand/sampling_rate_min
./ondemand/sampling_rate
./ondemand/up_threshold
./ondemand/ignore_nice_load
./ondemand/powersave_bias


root@marmidha:/sys/devices/system/cpu/cpu0/cpufreq# sudo find . -type f -name "*"|xargs cat
1199000
2267000
10000
1199000
2267000
0
0 1 2 3
ondemand
acpi-cpufreq
conservative ondemand userspace powersave performance 
<unsupported>
2267000 2266000 2133000 1999000 1866000 1733000 1599000 1466000 1333000 1199000 
1199000
1199000
2267000
11830
2267000 14093
2266000 736
2133000 873
1999000 884
1866000 898
1733000 768
1599000 697
1466000 532
1333000 496
1199000 38761
   From  :    To
         :   2267000   2266000   2133000   1999000   1866000   1733000   1599000   1466000   1333000   1199000 
  2267000:         0       544       523       432       319       231       183       189       209      2148 
  2266000:       149         0        73        70        42        29        18        11        12       140 
  2133000:       172         0         0        88        74        38        25        15        10       174 
  1999000:       194         0         0         0       111        63        22        14        10       176 
  1866000:       205         0         0         0         0        98        47        10         9       177 
  1733000:       190         0         0         0         0         0        64        17        11       177 
  1599000:       185         0         0         0         0         0         0        20        11       143 
  1466000:       142         0         0         0         0         0         0         0        11       123 
  1333000:       141         0         0         0         0         0         0         0         0       142 
  1199000:      3399         0         0         0         0         0         0         0         0         0 
4294967295
10000
10000
95
1
0
Comment 4 Len Brown 2010-12-14 03:35:51 UTC
2.6.35 fully supports the core i5 processor.

the notes above show that all 4 logical processors are booting,
are accessing C-states and P-states.

If you want to know the processor temperature, use the coretemp driver.

If you run powertop, you should see a a snappy display
of the C-states and P-states being used, and it may
tell you some things that you can do to improve battery life.
The first thing to start with is screen brightness.
The second thing, on a Nehalem laptop, is to consider
disabling turbo mode when on battery.  You can do this
by setting max frequency to 2266000 on this box,
because 2267000 will enable turbo mode.

btw. the preferred idiom for groping around in sysfs is

grep . /sys/devices/system/cpu/cpu*/cpuidle/*/*

which will show the attribute and the values together.
Comment 5 Claudio Melis 2010-12-14 07:58:03 UTC
and what about power managment: no in cpuinfo?

and no files in dynafic folder?

is it all regular for my i5 cpu?

Note You need to log in before you can comment on or make changes to this bug.