linux-acpi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* RE: speedstep-centrino: ENODEV
@ 2006-10-20 11:56 Pallipadi, Venkatesh
  2006-10-20 12:09 ` Sune Mølgaard
  0 siblings, 1 reply; 18+ messages in thread
From: Pallipadi, Venkatesh @ 2006-10-20 11:56 UTC (permalink / raw)
  To: Sune Mølgaard; +Cc: Jiri Slaby, Linux kernel mailing list, linux-acpi

 

>-----Original Message-----
>From: Sune Mølgaard [mailto:sune@molgaard.org] 
>Sent: Friday, October 20, 2006 12:34 AM
>To: Pallipadi, Venkatesh
>Cc: Jiri Slaby; Linux kernel mailing list; linux-acpi@vger.kernel.org
>Subject: Re: speedstep-centrino: ENODEV
>
>Pallipadi, Venkatesh wrote:
>> Make sure you have properly configured speedstep-centrino 
>(You should select X86_SPEEDSTEP_CENTRINO_ACPI along with 
>X86_SPEEDSTEP_CENTRINO).
>
>I have enabled all options in the make menuconfig menu under cpufreq 
>(except the one marked deprecated). Still no go :-(
>

Hmm... You must have CPU_FREQ_DENUG enabled in CONFIG already. Can you pass cpufreq.debug=3 in boot option and send me the output of dmesg after that.

Thanks,
Venki
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 18+ messages in thread
* RE: speedstep-centrino: ENODEV
@ 2006-10-20 12:25 Pallipadi, Venkatesh
  2006-10-20 12:30 ` Sune Mølgaard
  0 siblings, 1 reply; 18+ messages in thread
From: Pallipadi, Venkatesh @ 2006-10-20 12:25 UTC (permalink / raw)
  To: Sune Mølgaard; +Cc: Jiri Slaby, Linux kernel mailing list, linux-acpi

 

>-----Original Message-----
>From: Sune Mølgaard [mailto:sune@molgaard.org] 
>Sent: Friday, October 20, 2006 5:09 AM
>To: Pallipadi, Venkatesh
>Cc: Jiri Slaby; Linux kernel mailing list; linux-acpi@vger.kernel.org
>Subject: Re: speedstep-centrino: ENODEV
>
>Pallipadi, Venkatesh wrote:
>> 
>> Hmm... You must have CPU_FREQ_DENUG enabled in CONFIG 
>already. Can you pass cpufreq.debug=3 in boot option and send 
>me the output of dmesg after that.
>> 
>> Thanks,
>> Venki
>
>I am currently on 2.6.17.13 ubuntu version, that includes a lot of 
>2.6.18 code.
>
>It seems it tries to load acpi-cpufreq which complains about 
>cpu_online_map, bu I also tried explicitly to load speedstep-centrino, 
>which resulted in
>
>sune@tommelise:~$ sudo modprobe speedstep-centrino
>Password:
>FATAL: Error inserting speedstep_centrino 
>(/lib/modules/2.6.17.13-ubuntu1-pentium4m-1/kernel/arch/i386/ke
rnel/cpu/cpufreq/speedstep-centrino.ko): 
>No such device
>sune@tommelise:~$
>
>But nothing in dmesg, which is attached.
>

Puzzling.. 
Just to make sure, do you have CPU_FREQ_DEBUG enabled in your config and boot parameter? There are a bunch of dprintk debug messages in speedstep_centrino that should get printed in this case..
Do you have est flag displayed in your /proc/cpuinfo under flags?
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 18+ messages in thread
* RE: speedstep-centrino: ENODEV
@ 2006-10-19 18:56 Pallipadi, Venkatesh
  2006-10-19 20:30 ` Sune Mølgaard
  2006-10-20  7:34 ` Sune Mølgaard
  0 siblings, 2 replies; 18+ messages in thread
From: Pallipadi, Venkatesh @ 2006-10-19 18:56 UTC (permalink / raw)
  To: Sune Mølgaard; +Cc: Jiri Slaby, Linux kernel mailing list, linux-acpi

 

>-----Original Message-----
>From: Sune Mølgaard [mailto:sune@molgaard.org] 
>Sent: Thursday, October 19, 2006 11:19 AM
>To: Pallipadi, Venkatesh
>Cc: Jiri Slaby; Linux kernel mailing list; linux-acpi@vger.kernel.org
>Subject: Re: speedstep-centrino: ENODEV
>
>Thanks for taking an interest, if I haven't said so before.
>
>Now, I was about to write that I couldn't open /dev/mem, but luckily 
>remembered to try sudo'ing acpidump :-$
>
>Enclosed is the dump, created while running 2.6.18.1.
>

OK. Things seem to be fine with the BIOS. 

You said it was working with 2.6.15. Do you remember whether kernel was using acpi-cpufreq or speedstep-centrino?

One change that has happened in this region is that If your BIOS supports both speedstep-centrino and acpi-cpufreq, with 2.6.15 any one of those drivers would have worked. But now with 2.6.18, acpi-cpufreq will not work in the above case and you have to use speedstep_centrino. This was done because, speedstep-centrino has more features than acpi-cpufreq and also doing this helped to elimiate issues with lot of systems with kernel trying to do multiple ACPI PDC writes when BIOS doesn't expect it to. 

In short:
(1) If you were using acpi-cpufreq in 2.6.15, there is a high chance that it wont work with 2.6.18 and you should be able to use speedstep-centrino in its place. Make sure you have properly configured speedstep-centrino (You should select X86_SPEEDSTEP_CENTRINO_ACPI along with X86_SPEEDSTEP_CENTRINO).

(2) If you were using speedstep-centrino in 2.6.15 and now it doesn't work with 2.6.18, then we have a new regression here and we need to root cause it further by enabling cpufreq.debug and getting more debug messages to see where it is failing....

Thanks,
Venki
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 18+ messages in thread
* RE: speedstep-centrino: ENODEV
@ 2006-10-19 18:21 Pallipadi, Venkatesh
  2006-10-19 18:33 ` Sune Mølgaard
  2006-10-19 19:34 ` Jiri Slaby
  0 siblings, 2 replies; 18+ messages in thread
From: Pallipadi, Venkatesh @ 2006-10-19 18:21 UTC (permalink / raw)
  To: Jiri Slaby; +Cc: Sune Mølgaard, Linux kernel mailing list, linux-acpi

>
>> Also, can both of you send the complete acpidump output from 
>your system. You can find acpidump in latest version of 
>pmtools package here: 
>http://www.kernel.org/pub/linux/kernel/people/lenb/acpi/utils/
>
>May be obtained over there:
>
>[...]
>
>>>>> processor, but speedstep-centrino returns ENODEV because of 
>>>>> lack of _PCT et al 
>>>>> entries in DSDT (http://www.fi.muni.cz/~xslaby/sklad/adump). 
>----------------------^^^^
>

Looking at the acpidump, looks like BIOS doesn't have this feature enabled. Can you also make sure you have latest BIOS for the platform and also, check in BIOS whether there are any options to enable this feature.

Thanks,
Venki

^ permalink raw reply	[flat|nested] 18+ messages in thread
* RE: speedstep-centrino: ENODEV
@ 2006-10-19 15:57 Pallipadi, Venkatesh
  2006-10-19 16:06 ` Jiri Slaby
  2006-10-19 18:19 ` Sune Mølgaard
  0 siblings, 2 replies; 18+ messages in thread
From: Pallipadi, Venkatesh @ 2006-10-19 15:57 UTC (permalink / raw)
  To: Jiri Slaby, Sune Mølgaard; +Cc: Linux kernel mailing list, linux-acpi


No. As in 2.6.18, speedstep-centrino and acpi-cpufreq are  two different drivers/modules that support Enhanced Speedstep in slightly different ways. It depends on your platform/BIOS on which one will work for your system. So you should try loading both those drivers in that order. If you have both compiled in the kernel, these drivers will be loaded (or tried to) in proper order. Please try this with the latest stable 2.6.18 kernel.

Also, can both of you send the complete acpidump output from your system. You can find acpidump in latest version of pmtools package here: http://www.kernel.org/pub/linux/kernel/people/lenb/acpi/utils/

Also, it will help if you can open a bug in http://bugme.osdl.org and attach this acpidump to the bug. The issue can be tracked better that way..

Thanks,
Venki 

>-----Original Message-----
>From: Jiri Slaby [mailto:jirislaby@gmail.com] 
>Sent: Thursday, October 19, 2006 7:21 AM
>To: Pallipadi, Venkatesh
>Cc: Linux kernel mailing list; linux-acpi@vger.kernel.org
>Subject: Re: speedstep-centrino: ENODEV
>
>Pallipadi, Venkatesh wrote:
>> How about acpi-cpufreq? Does it work?
>
>How did you mean this, speedstep-centrino (which can also 
>control voltage) is 
>one of acpi-cpufreq drivers, isn't it?
>
>> 
>> Thanks,
>> Venki 
>> 
>>> -----Original Message-----
>>> From: linux-kernel-owner@vger.kernel.org 
>>> [mailto:linux-kernel-owner@vger.kernel.org] On Behalf Of Jiri Slaby
>>> Sent: Wednesday, October 18, 2006 12:01 PM
>>> To: Linux kernel mailing list
>>> Cc: linux-acpi@vger.kernel.org
>>> Subject: speedstep-centrino: ENODEV
>>>
>>> Hi!
>>>
>>> How is it possible to find out whether or not 
>>> speedstep-centrino is supported. I 
>>> have
>>> processor       : 0
>>> vendor_id       : GenuineIntel
>>> cpu family      : 6
>>> model           : 13
>>> model name      : Intel(R) Pentium(R) M processor 1.60GHz
>>> stepping        : 6
>>> cpu MHz         : 1600.149
>>> cache size      : 2048 KB
>>> fdiv_bug        : no
>>> hlt_bug         : no
>>> f00f_bug        : no
>>> coma_bug        : no
>>> fpu             : yes
>>> fpu_exception   : yes
>>> cpuid level     : 2
>>> wp              : yes
>>> flags           : fpu vme de pse tsc msr mce cx8 apic sep mtrr 
>>> pge mca cmov pat 
>>> clflush dts acpi mmx fxsr sse sse2 ss tm pbe est tm2
>>> bogomips        : 3201.52
>>>
>>> processor, but speedstep-centrino returns ENODEV because of 
>>> lack of _PCT et al 
>>> entries in DSDT (http://www.fi.muni.cz/~xslaby/sklad/adump). 
>>> It is possible to 
>>> hard-code that values to speedstep-centrino as for banias cpus 
>>> or use corrected 
>>> DSDT that will contain _PCT, _PSS and _PPC, but where may I 
>>> obtain these values?
>>>
>>> This is Asus M6R notebook, some DSDT parts of this piece of HW 
>>> are really ugly 
>>> (problems with acpi some time ago).
>>>
>>> I may use p4-clockmod (and it points me to speedstep-centrino 
>>> module), but if I 
>>> am correct, it doesn't save battery life?
>
>regards,
>-- 
>http://www.fi.muni.cz/~xslaby/            Jiri Slaby
>faculty of informatics, masaryk university, brno, cz
>e-mail: jirislaby gmail com, gpg pubkey fingerprint:
>B674 9967 0407 CE62 ACC8  22A0 32CC 55C3 39D4 7A7E
>

^ permalink raw reply	[flat|nested] 18+ messages in thread
* RE: speedstep-centrino: ENODEV
@ 2006-10-19 14:00 Pallipadi, Venkatesh
  2006-10-19 14:17 ` Sune Mølgaard
  2006-10-19 14:20 ` Jiri Slaby
  0 siblings, 2 replies; 18+ messages in thread
From: Pallipadi, Venkatesh @ 2006-10-19 14:00 UTC (permalink / raw)
  To: Jiri Slaby, Linux kernel mailing list; +Cc: linux-acpi


How about acpi-cpufreq? Does it work?

Thanks,
Venki 

>-----Original Message-----
>From: linux-kernel-owner@vger.kernel.org 
>[mailto:linux-kernel-owner@vger.kernel.org] On Behalf Of Jiri Slaby
>Sent: Wednesday, October 18, 2006 12:01 PM
>To: Linux kernel mailing list
>Cc: linux-acpi@vger.kernel.org
>Subject: speedstep-centrino: ENODEV
>
>Hi!
>
>How is it possible to find out whether or not 
>speedstep-centrino is supported. I 
>have
>processor       : 0
>vendor_id       : GenuineIntel
>cpu family      : 6
>model           : 13
>model name      : Intel(R) Pentium(R) M processor 1.60GHz
>stepping        : 6
>cpu MHz         : 1600.149
>cache size      : 2048 KB
>fdiv_bug        : no
>hlt_bug         : no
>f00f_bug        : no
>coma_bug        : no
>fpu             : yes
>fpu_exception   : yes
>cpuid level     : 2
>wp              : yes
>flags           : fpu vme de pse tsc msr mce cx8 apic sep mtrr 
>pge mca cmov pat 
>clflush dts acpi mmx fxsr sse sse2 ss tm pbe est tm2
>bogomips        : 3201.52
>
>processor, but speedstep-centrino returns ENODEV because of 
>lack of _PCT et al 
>entries in DSDT (http://www.fi.muni.cz/~xslaby/sklad/adump). 
>It is possible to 
>hard-code that values to speedstep-centrino as for banias cpus 
>or use corrected 
>DSDT that will contain _PCT, _PSS and _PPC, but where may I 
>obtain these values?
>
>This is Asus M6R notebook, some DSDT parts of this piece of HW 
>are really ugly 
>(problems with acpi some time ago).
>
>I may use p4-clockmod (and it points me to speedstep-centrino 
>module), but if I 
>am correct, it doesn't save battery life?
>
>thanks,
>-- 
>http://www.fi.muni.cz/~xslaby/            Jiri Slaby
>faculty of informatics, masaryk university, brno, cz
>e-mail: jirislaby gmail com, gpg pubkey fingerprint:
>B674 9967 0407 CE62 ACC8  22A0 32CC 55C3 39D4 7A7E
>-
>To unsubscribe from this list: send the line "unsubscribe 
>linux-kernel" in
>the body of a message to majordomo@vger.kernel.org
>More majordomo info at  http://vger.kernel.org/majordomo-info.html
>Please read the FAQ at  http://www.tux.org/lkml/
>

^ permalink raw reply	[flat|nested] 18+ messages in thread
* speedstep-centrino: ENODEV
@ 2006-10-18 19:00 Jiri Slaby
  0 siblings, 0 replies; 18+ messages in thread
From: Jiri Slaby @ 2006-10-18 19:00 UTC (permalink / raw)
  To: Linux kernel mailing list; +Cc: linux-acpi

Hi!

How is it possible to find out whether or not speedstep-centrino is supported. I 
have
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 13
model name      : Intel(R) Pentium(R) M processor 1.60GHz
stepping        : 6
cpu MHz         : 1600.149
cache size      : 2048 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu vme de pse tsc msr mce cx8 apic sep mtrr pge mca cmov pat 
clflush dts acpi mmx fxsr sse sse2 ss tm pbe est tm2
bogomips        : 3201.52

processor, but speedstep-centrino returns ENODEV because of lack of _PCT et al 
entries in DSDT (http://www.fi.muni.cz/~xslaby/sklad/adump). It is possible to 
hard-code that values to speedstep-centrino as for banias cpus or use corrected 
DSDT that will contain _PCT, _PSS and _PPC, but where may I obtain these values?

This is Asus M6R notebook, some DSDT parts of this piece of HW are really ugly 
(problems with acpi some time ago).

I may use p4-clockmod (and it points me to speedstep-centrino module), but if I 
am correct, it doesn't save battery life?

thanks,
-- 
http://www.fi.muni.cz/~xslaby/            Jiri Slaby
faculty of informatics, masaryk university, brno, cz
e-mail: jirislaby gmail com, gpg pubkey fingerprint:
B674 9967 0407 CE62 ACC8  22A0 32CC 55C3 39D4 7A7E

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2006-10-20 12:30 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-20 11:56 speedstep-centrino: ENODEV Pallipadi, Venkatesh
2006-10-20 12:09 ` Sune Mølgaard
  -- strict thread matches above, loose matches on Subject: below --
2006-10-20 12:25 Pallipadi, Venkatesh
2006-10-20 12:30 ` Sune Mølgaard
2006-10-19 18:56 Pallipadi, Venkatesh
2006-10-19 20:30 ` Sune Mølgaard
2006-10-20  7:34 ` Sune Mølgaard
2006-10-19 18:21 Pallipadi, Venkatesh
2006-10-19 18:33 ` Sune Mølgaard
2006-10-19 19:34 ` Jiri Slaby
2006-10-19 15:57 Pallipadi, Venkatesh
2006-10-19 16:06 ` Jiri Slaby
2006-10-19 18:19 ` Sune Mølgaard
2006-10-19 14:00 Pallipadi, Venkatesh
2006-10-19 14:17 ` Sune Mølgaard
2006-10-19 14:27   ` Sune Mølgaard
2006-10-19 14:20 ` Jiri Slaby
2006-10-18 19:00 Jiri Slaby

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).