Skip to contentSkip to conversation

Centrino based CPU not recognized

DISCUSSION [email protected] 4 participants 6 messages Nov 18, 2006 – Feb 6, 2007

lore
Share & tools
lore
#0 lore raw

Hi,

as your driver asked me to send you an email I do. :-)

Attached you'll find my cpuinfo. You will notice that this is a model 15 CPU which the driver does not know so far. Since it's a Core2Duo with 1.83 GHz it might just be too new. Anyway, I tried to add this CPU so it was accepted on the first call to centrino_cpu_init, but it seems this function is then called another time (for the other core?) and fails to initialize the policy struct in centrino_cpu_init_acpi. At least policy->cpu is 1 after the call to this function which causes a ENODEV return value. You probably know the reason for this better than I do.

BTW I'm trying with 2.6.19-rc5.

Michael

Signature · 4 lines
Michael Meskes
Email: Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: [email protected]
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!

processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Core(TM)2 CPU T5600 @ 1.83GHz
stepping : 6
cpu MHz : 1828.820
cache size : 2048 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 2
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr lahf_lm
bogomips : 3661.81

processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Core(TM)2 CPU T5600 @ 1.83GHz
stepping : 6
cpu MHz : 1828.820
cache size : 2048 KB
physical id : 0
siblings : 2
core id : 1
cpu cores : 2
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr lahf_lm
bogomips : 3657.79

_______________________________________________
Cpufreq mailing list
[email protected]
http://lists.linux.org.uk/mailman/listinfo/cpufreq

#1 lore raw
Quoted 13 lines · On Sat, Nov 18, 2006 at 12:06:42PM +0100, [email protected] wrote:

Hi,

as your driver asked me to send you an email I do. :-)

Attached you'll find my cpuinfo. You will notice that this is a model 15 CPU which the driver does not know so far. Since it's a Core2Duo with 1.83 GHz it might just be too new. Anyway, I tried to add this CPU so it was accepted on the first call to centrino_cpu_init, but it seems this function is then called another time (for the other core?) and fails to initialize the policy struct in centrino_cpu_init_acpi. At least policy->cpu is 1 after the call to this function which causes a ENODEV return value. You probably know the reason for this better than I do.

Quoted 1 line

BTW I'm trying with 2.6.19-rc5.

did you tried both of acpi-cpufreq and speedstep-centrino? I have the same cpu working here with the former module since 2.6.19-rcX-mm while it worked with the latter at 2.6.1[78] times.

Signature · 2 lines
mattia
:wq!
#2 lore raw
Quoted 1 line · Mattia Dongili

did you tried both of acpi-cpufreq and speedstep-centrino? I have the

Yes, both give ENODEV. But I haven't debugged acpi-cpufreq as much. All I know is that acpi_cpufreq_cpu_init is called twice with the second call seemingly returning -ENODEV.

Quoted 2 lines

same cpu working here with the former module since 2.6.19-rcX-mm while it worked with the latter at 2.6.1[78] times.

I read some reports that the old coreduo cpus stopped working when the current bios was released. They seemed to work before. However, the old bios doesn't work with core2duo's. It's an HP NX7400 in case I didn't mention.

Michael

Signature · 4 lines
Michael Meskes
Email: Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: [email protected]
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!
#3 lore raw

Centrino duo - frequency not switching with cpufrqd nor ondemand govenor

In reply to [email protected]

Hi,

I have a centrino-duo based tablet (Siemens Lifebook T4210). /proc/cpuinfo says:

processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 14
model name : Genuine Intel(R) CPU T2300 @ 1.66GHz
stepping : 8
cpu MHz : 1667.000
cache size : 2048 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 2
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx constant_tsc pni monitor est tm2 xtpr
bogomips : 3327.59

processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 14
model name : Genuine Intel(R) CPU T2300 @ 1.66GHz
stepping : 8
cpu MHz : 1667.000
cache size : 2048 KB
physical id : 0
siblings : 2
core id : 1
cpu cores : 2
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx constant_tsc pni monitor est tm2 xtpr
bogomips : 3324.56

I have ACPI in kernel, speedstep-centrino as a module, inserted into kernel ob boot.
In /sys/devices/system/cpu I have 2 cpus (or rather cores) reported, each has cpufreq ability. For each core I have files:

-r--r--r-- 1 root root 4096 Feb  6 10:46 affected_cpus
-r-------- 1 root root 4096 Feb  6 14:34 cpuinfo_cur_freq
-r--r--r-- 1 root root 4096 Feb  6 10:46 cpuinfo_max_freq
-r--r--r-- 1 root root 4096 Feb  6 10:46 cpuinfo_min_freq
-r--r--r-- 1 root root 4096 Feb  6 10:46 scaling_available_frequencies
-r--r--r-- 1 root root 4096 Feb  6 10:46 scaling_available_governors
-r--r--r-- 1 root root 4096 Feb  6 14:34 scaling_cur_freq
-r--r--r-- 1 root root 4096 Feb  6 14:34 scaling_driver
-rw-r--r-- 1 root root    0 Feb  6 14:34 scaling_governor
-rw-r--r-- 1 root root 4096 Feb  6 10:46 scaling_max_freq
-rw-r--r-- 1 root root 4096 Feb  6 10:46 scaling_min_freq

The root of a problem (at least at least in my opinion) might be thecontent of scaling_min_freq reported as 1667000, the same as scaling max_freq, although scaling_available_frequencies has 3 levels:
1667000 1333000 1000000

How do I make it work (scale frequency), I have no experience with intel, previously I used amd (and powernow).

Best regards,
Michał

#4 lore raw

Re: Centrino duo - frequency not switching with cpufrqd nor ondemand govenor

Hi Michal,

Quoted 4 lines · Michał Pytasz

Hi,

I have a centrino-duo based tablet (Siemens Lifebook T4210). /proc/cpuinfo says:

[...]

Quoted 9 lines

The root of a problem (at least at least in my opinion) might be thecontent of scaling_min_freq reported as 1667000, the same as scaling max_freq, although scaling_available_frequencies has 3 levels:
1667000 1333000 1000000

How do I make it work (scale frequency), I have no experience with intel, previously I used amd (and powernow).

Can you manually change the value of scaling_min_freq to 1000000? (echo 1000000 > scaling_min_freq)

I have the exact same processor as you (on a Thinkpad T60, in my case) and the scaling works fine.

Cheers,
Guilherme

_______________________________________________
Cpufreq mailing list
[email protected]
http://lists.linux.org.uk/mailman/listinfo/cpufreq

#5 lore raw

Re: Centrino duo - frequency not switching with cpufrqd nor ondemand govenor

Tuesday 06 of February 2007 18:14:09 napisa³e¶(-³a¶):

Quoted 18 lines

Hi Michal,

Quoted 4 lines · Micha³ Pytasz

Hi,

I have a centrino-duo based tablet (Siemens Lifebook T4210). /proc/cpuinfo says:

[...]

Quoted 7 lines

The root of a problem (at least at least in my opinion) might be thecontent of scaling_min_freq reported as 1667000, the same as scaling max_freq, although scaling_available_frequencies has 3 levels:
1667000 1333000 1000000

How do I make it work (scale frequency), I have no experience with intel, previously I used amd (and powernow).

Quoted 8 lines

Can you manually change the value of scaling_min_freq to 1000000? (echo 1000000 > scaling_min_freq)

I have the exact same processor as you (on a Thinkpad T60, in my case) and the scaling works fine.

Cheers,
Guilherme

Yes I can, thanks, interesting part is that after restart it somehow remembered the value and now does work well :)

Thanks and best regards,
Micha³