* Pentium IIIM not recognised
@ 2003-09-15 22:58 Ivan Kanis
2003-09-16 9:13 ` Ducrot Bruno
0 siblings, 1 reply; 11+ messages in thread
From: Ivan Kanis @ 2003-09-15 22:58 UTC (permalink / raw)
To: cpufreq
Hello,
I applied the patch on my 2.4.21 kernel from Dave Jones's home
page. The name of the patch was cpufreq-2.4.21-2.gz.
I have set the following options when compiling the kernel:
[*] CPU Frequency scaling
[*] CPU frequency table helpers
[*] "userspace" for userspace frequency scaling
<*> Intel Speedstep (ICH)
dmesg | grep -i cpu
Initializing CPU#0
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 512K
CPU: After generic, caps: 0383f9ff 00000000 00000000 00000000
CPU: Common caps: 0383f9ff 00000000 00000000 00000000
CPU: Intel(R) Pentium(R) III Mobile CPU 1000MHz stepping 01
cpufreq: Intel(R) SpeedStep(TM) for this chipset not (yet) available.
I find that kind of strange. Shouldn't my processor be supported?
Should I use a differrent patch.
Thanks in advance for any explanations,
Ivan Kanis
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Pentium IIIM not recognised
2003-09-15 22:58 Pentium IIIM not recognised Ivan Kanis
@ 2003-09-16 9:13 ` Ducrot Bruno
2003-09-16 10:09 ` Ivan Kanis
0 siblings, 1 reply; 11+ messages in thread
From: Ducrot Bruno @ 2003-09-16 9:13 UTC (permalink / raw)
To: Ivan Kanis; +Cc: cpufreq
On Tue, Sep 16, 2003 at 12:58:45AM +0200, Ivan Kanis wrote:
> Hello,
>
> I applied the patch on my 2.4.21 kernel from Dave Jones's home
> page. The name of the patch was cpufreq-2.4.21-2.gz.
>
> I have set the following options when compiling the kernel:
> [*] CPU Frequency scaling
> [*] CPU frequency table helpers
> [*] "userspace" for userspace frequency scaling
> <*> Intel Speedstep (ICH)
>
could you post lspci -v please?
--
Ducrot Bruno
-- Which is worse: ignorance or apathy?
-- Don't know. Don't care.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Pentium IIIM not recognised
2003-09-16 9:13 ` Ducrot Bruno
@ 2003-09-16 10:09 ` Ivan Kanis
2003-09-16 10:26 ` Ducrot Bruno
0 siblings, 1 reply; 11+ messages in thread
From: Ivan Kanis @ 2003-09-16 10:09 UTC (permalink / raw)
To: Ducrot Bruno; +Cc: cpufreq
Ducrot> could you post lspci -v please?
Bien sur!
00:00.0 Host bridge: Intel Corp. 82815 815 Chipset Host Bridge and Memory Controller Hub (rev 04)
Flags: bus master, fast devsel, latency 0
Memory at e8000000 (32-bit, prefetchable) [size=64M]
Capabilities: <available only to root>
00:01.0 PCI bridge: Intel Corp.: Unknown device 1131 (rev 04) (prog-if 00 [Normal decode])
Flags: bus master, 66Mhz, fast devsel, latency 32
Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
I/O behind bridge: 0000c000-0000cfff
Memory behind bridge: fc000000-fdffffff
Prefetchable memory behind bridge: e0000000-e7ffffff
00:1e.0 PCI bridge: Intel Corp. 82820 820 (Camino 2) Chipset PCI (-M) (rev 03) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=02, subordinate=10, sec-latency=32
I/O behind bridge: 0000d000-0000ffff
Memory behind bridge: f2000000-fbffffff
00:1f.0 ISA bridge: Intel Corp. 82820 820 (Camino 2) Chipset ISA Bridge (ICH2-M) (rev 03)
Flags: bus master, medium devsel, latency 0
00:1f.1 IDE interface: Intel Corp. 82820 820 (Camino 2) Chipset IDE U100 (-M) (rev 03) (prog-if 80 [Master])
Subsystem: Intel Corp.: Unknown device 4541
Flags: bus master, medium devsel, latency 0
I/O ports at bfa0 [size=16]
00:1f.2 USB Controller: Intel Corp. 82820 820 (Camino 2) Chipset USB (Hub A) (rev 03) (prog-if 00 [UHCI])
Subsystem: Intel Corp.: Unknown device 4541
Flags: bus master, medium devsel, latency 0, IRQ 10
I/O ports at bce0 [size=32]
01:00.0 VGA compatible controller: ATI Technologies Inc: Unknown device 4c66 (rev 01) (prog-if 00 [VGA])
Subsystem: Dell Computer Corporation: Unknown device 00e6
Flags: bus master, VGA palette snoop, stepping, 66Mhz, medium devsel, latency 32, IRQ 11
Memory at e0000000 (32-bit, prefetchable) [size=128M]
I/O ports at cc00 [size=256]
Memory at fcff0000 (32-bit, non-prefetchable) [size=64K]
Expansion ROM at 80000000 [disabled] [size=128K]
Capabilities: <available only to root>
02:03.0 Multimedia audio controller: ESS Technology ES1983S Maestro-3i PCI Audio Accelerator (rev 10)
Subsystem: Dell Computer Corporation: Unknown device 00e6
Flags: bus master, medium devsel, latency 32, IRQ 5
I/O ports at dc00 [size=256]
Memory at f6ffe000 (32-bit, non-prefetchable) [size=8K]
Capabilities: <available only to root>
02:06.0 PCI bridge: Action Tec Electronics Inc: Unknown device 0100 (rev 11) (prog-if 00 [Normal decode])
Flags: bus master, medium devsel, latency 32
Bus: primary=02, secondary=08, subordinate=08, sec-latency=32
I/O behind bridge: 0000e000-0000efff
Memory behind bridge: f8000000-f9ffffff
Capabilities: <available only to root>
02:0f.0 CardBus bridge: Texas Instruments PCI4451 PC card Cardbus Controller
Subsystem: Dell Computer Corporation: Unknown device 00e6
Flags: bus master, medium devsel, latency 168, IRQ 10
Memory at 10000000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=02, secondary=09, subordinate=0c, sec-latency=176
Memory window 0: 10400000-107ff000 (prefetchable)
Memory window 1: 10800000-10bff000
I/O window 0: 00004000-000040ff
I/O window 1: 00004400-000044ff
16-bit legacy interface ports at 0001
02:0f.1 CardBus bridge: Texas Instruments PCI4451 PC card Cardbus Controller
Subsystem: Dell Computer Corporation: Unknown device 00e6
Flags: bus master, medium devsel, latency 168, IRQ 10
Memory at 10001000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=02, secondary=0d, subordinate=10, sec-latency=176
Memory window 0: 10c00000-10fff000 (prefetchable)
Memory window 1: 11000000-113ff000
I/O window 0: 00004800-000048ff
I/O window 1: 00004c00-00004cff
16-bit legacy interface ports at 0001
02:0f.2 FireWire (IEEE 1394): Texas Instruments: Unknown device 8027 (prog-if 10 [OHCI])
Subsystem: Dell Computer Corporation: Unknown device 00e6
Flags: bus master, medium devsel, latency 32, IRQ 10
Memory at f6ffd800 (32-bit, non-prefetchable) [size=2K]
Memory at f6ff8000 (32-bit, non-prefetchable) [size=16K]
Capabilities: <available only to root>
08:04.0 Ethernet controller: Intel Corp. 82557 [Ethernet Pro 100] (rev 08)
Subsystem: Action Tec Electronics Inc: Unknown device 1100
Flags: bus master, medium devsel, latency 32, IRQ 10
Memory at f8fff000 (32-bit, non-prefetchable) [size=4K]
I/O ports at ecc0 [size=64]
Memory at f8e00000 (32-bit, non-prefetchable) [size=1M]
Expansion ROM at f9000000 [disabled] [size=1M]
Capabilities: <available only to root>
08:08.0 Communication controller: Lucent Microelectronics WinModem 56k (rev 01)
Subsystem: Action Tec Electronics Inc: Unknown device 2400
Flags: bus master, medium devsel, latency 0, IRQ 10
Memory at f8ffec00 (32-bit, non-prefetchable) [size=256]
I/O ports at ecb8 [size=8]
I/O ports at e800 [size=256]
Capabilities: <available only to root>
09:00.0 Ethernet controller: Xircom Cardbus Ethernet 10/100 (rev 03)
Subsystem: Xircom Cardbus Ethernet 10/100
Flags: medium devsel, IRQ 10
I/O ports at 4000 [size=128]
Memory at 10800000 (32-bit, non-prefetchable) [size=2K]
Memory at 10800800 (32-bit, non-prefetchable) [size=2K]
Expansion ROM at 10400000 [size=16K]
Capabilities: <available only to root>
09:00.1 Serial controller: Xircom Cardbus Ethernet + 56k Modem (rev 03) (prog-if 02 [16550])
Subsystem: Xircom CBEM56G-100 Ethernet + 56k Modem
Flags: medium devsel, IRQ 10
I/O ports at 4080 [size=8]
Memory at 10801000 (32-bit, non-prefetchable) [size=2K]
Memory at 10801800 (32-bit, non-prefetchable) [size=2K]
Expansion ROM at 10404000 [size=16K]
Capabilities: <available only to root>
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Pentium IIIM not recognised
2003-09-16 10:09 ` Ivan Kanis
@ 2003-09-16 10:26 ` Ducrot Bruno
2003-09-16 18:39 ` AthlonRob
2003-09-16 19:33 ` Ivan Kanis
0 siblings, 2 replies; 11+ messages in thread
From: Ducrot Bruno @ 2003-09-16 10:26 UTC (permalink / raw)
To: Ivan Kanis; +Cc: cpufreq
On Tue, Sep 16, 2003 at 12:09:13PM +0200, Ivan Kanis wrote:
>
> Ducrot> could you post lspci -v please?
>
> Bien sur!
>
Could you decomment that line, in arch/i386/kernel/speedstep-ich.c :
//#define SPEEDSTEP_DEBUG
Then try to replace:
pci_read_config_byte(hostbridge, PCI_REVISION_ID, &rev);
if (rev < 5) {
^^^^^^^^^^^^
here, change to something like:
if (rev < 4) {
dprintk(KERN_INFO "cpufreq: hostbridge does not support speedstep\n");
speedstep_chipset_dev = NULL;
return 0;
}
Unfortunately, if you have a dell i8k, speedstep-ich will not work.
If you don't have such a dell, perhaps it may work.
As an alternative, you can try cpufreq-smi from cvs.
--
Ducrot Bruno
-- Which is worse: ignorance or apathy?
-- Don't know. Don't care.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Pentium IIIM not recognised
2003-09-16 10:26 ` Ducrot Bruno
@ 2003-09-16 18:39 ` AthlonRob
2003-09-16 18:56 ` Ducrot Bruno
2003-09-16 19:33 ` Ivan Kanis
1 sibling, 1 reply; 11+ messages in thread
From: AthlonRob @ 2003-09-16 18:39 UTC (permalink / raw)
To: cpufreq
On Tue, 2003-09-16 at 03:26, Ducrot Bruno wrote:
> Unfortunately, if you have a dell i8k, speedstep-ich will not work.
> If you don't have such a dell, perhaps it may work.
Is this documented somewhere... and why, exactly, is that?
I wondered why my speedstep-ich wasn't working... I guess that's why.
:-)
The ACPI cpufreq module seems to work, though.
Rob
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Pentium IIIM not recognised
2003-09-16 18:39 ` AthlonRob
@ 2003-09-16 18:56 ` Ducrot Bruno
0 siblings, 0 replies; 11+ messages in thread
From: Ducrot Bruno @ 2003-09-16 18:56 UTC (permalink / raw)
To: AthlonRob; +Cc: cpufreq
On Tue, Sep 16, 2003 at 11:39:44AM -0700, AthlonRob wrote:
> On Tue, 2003-09-16 at 03:26, Ducrot Bruno wrote:
>
> > Unfortunately, if you have a dell i8k, speedstep-ich will not work.
> > If you don't have such a dell, perhaps it may work.
>
> Is this documented somewhere... and why, exactly, is that?
Who knows. SpeedStep(tm)(*) technology, especially the old one,
is under NDA.
Therefore, ask Dell or Intel. Not me.
(*)SpeedStep is a trademark of Intel(r).
--
Ducrot Bruno
-- Which is worse: ignorance or apathy?
-- Don't know. Don't care.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Pentium IIIM not recognised
2003-09-16 10:26 ` Ducrot Bruno
2003-09-16 18:39 ` AthlonRob
@ 2003-09-16 19:33 ` Ivan Kanis
2003-09-17 8:50 ` Ducrot Bruno
1 sibling, 1 reply; 11+ messages in thread
From: Ivan Kanis @ 2003-09-16 19:33 UTC (permalink / raw)
To: cpufreq
Ducrot> Unfortunately, if you have a dell i8k, speedstep-ich will
Ducrot> not work. If you don't have such a dell, perhaps it may
Ducrot> work.
Alas it is a dell i8k :(
Ducrot> As an alternative, you can try cpufreq-smi from cvs.
Would that one work? Could you tell me where the CVS server is
located?
I would like to explain what I am trying to do. I don't want to hear
the fan anymore. I don't mind if my systems runs 3 times slower I just
want to focus on my work and the fan is annoying. Is there any other
way than cpufreq to achieve this?
Thank you,
Ivan
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Pentium IIIM not recognised
2003-09-16 19:33 ` Ivan Kanis
@ 2003-09-17 8:50 ` Ducrot Bruno
2003-09-21 22:29 ` Ivan Kanis
0 siblings, 1 reply; 11+ messages in thread
From: Ducrot Bruno @ 2003-09-17 8:50 UTC (permalink / raw)
To: Ivan Kanis; +Cc: cpufreq
On Tue, Sep 16, 2003 at 09:33:29PM +0200, Ivan Kanis wrote:
> Ducrot> Unfortunately, if you have a dell i8k, speedstep-ich will
> Ducrot> not work. If you don't have such a dell, perhaps it may
> Ducrot> work.
>
> Alas it is a dell i8k :(
>
> Ducrot> As an alternative, you can try cpufreq-smi from cvs.
>
> Would that one work? Could you tell me where the CVS server is
> located?
>
> I would like to explain what I am trying to do. I don't want to hear
> the fan anymore. I don't mind if my systems runs 3 times slower I just
> want to focus on my work and the fan is annoying. Is there any other
> way than cpufreq to achieve this?
>
For cpufreq cvs:
cvs -d:pserver:cvs@pubcvs.arm.linux.org.uk:/mnt/src/cvsroot co -rLINUX_2_4 cpufreq
then:
cd cpufreq
./patchin.sh /path/to/kernel
Please note that you need at least 2.4.22, not 2.4.21 (well, 2.4.21 should
be OK, but there are some rejects, just adding them by hand is easy, I
guess).
You may try also acpi for his idling stuff, which shall save more power
comsuption of the processor, and you may have ability to throtte the CPU.
AFAIR, there is no thermal zone in the i8k dsdt, but my memory may be
wrong, though.
--
Ducrot Bruno
-- Which is worse: ignorance or apathy?
-- Don't know. Don't care.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Pentium IIIM not recognised
2003-09-17 8:50 ` Ducrot Bruno
@ 2003-09-21 22:29 ` Ivan Kanis
2003-09-22 1:33 ` Hiroshi Miura
0 siblings, 1 reply; 11+ messages in thread
From: Ivan Kanis @ 2003-09-21 22:29 UTC (permalink / raw)
To: cpufreq
Bruno> For cpufreq cvs: cvs
Bruno> -d:pserver:cvs@pubcvs.arm.linux.org.uk:/mnt/src/cvsroot co
Bruno> -rLINUX_2_4 cpufreq
Bruno> then: cd cpufreq ./patchin.sh /path/to/kernel
Ok I have done that on 2.4.22 and it seems to be happy at boot up:
speedstep-smi: IST_SMI: signature:0x47534943, command:0x008200b2, event:0x000000
00, perf_level:0x00000101
cpufreq: currently at high speed setting - 1000 MHz
But when I try to speed down the laptop my settings don't seem to
take:
dell:~# echo "77%77%powersave" > /proc/cpufreq
dell:~# cat /proc/cpufreq
minimum CPU frequency - maximum CPU frequency - policy
CPU 0 733000 kHz ( 73 %) - 1000000 kHz (100 %) - performance
I am missing something or is just not working ?
Bruno> You may try also acpi for his idling stuff, which shall
Bruno> save more power comsuption of the processor, and you may
Bruno> have ability to throtte the CPU. AFAIR, there is no
Bruno> thermal zone in the i8k dsdt, but my memory may be wrong,
Bruno> though.
I have played a little with the ACPI stuff but it has a bit of a
drawback. I can't hibernate my laptop anymore since it's not supported
yet. You are right that there is no thermal zone but that information
can be had with the i8k.c code.
I could do something drastic and change the CPU of this beast. What
would people recommend for a cool laptop? Cool as in temperature, of
course! Would the VIA C3 work?
Sorry for asking too many questions.
Ivan
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Pentium IIIM not recognised
2003-09-21 22:29 ` Ivan Kanis
@ 2003-09-22 1:33 ` Hiroshi Miura
2003-09-22 9:46 ` Ivan Kanis
0 siblings, 1 reply; 11+ messages in thread
From: Hiroshi Miura @ 2003-09-22 1:33 UTC (permalink / raw)
To: Ivan Kanis; +Cc: 'cpufreq@www linux org uk'
Hi, Ivan.
At Mon, 22 Sep 2003 00:29:09 +0200,
Ivan Kanis wrote:
> Ok I have done that on 2.4.22 and it seems to be happy at boot up:
>
> speedstep-smi: IST_SMI: signature:0x47534943, command:0x008200b2, event:0x000000
> 00, perf_level:0x00000101
> cpufreq: currently at high speed setting - 1000 MHz
Nice.
That's first time I see 'perf_level' is 0x00000101.
Many machines have 0x07d00000 or 0x07d00100.
I assumes the bit 1 means that it is not support an event notification.
Bit 8 means it is not supports SMI function 'get_freqs'.
> But when I try to speed down the laptop my settings don't seem to
> take:
>
> dell:~# echo "77%77%powersave" > /proc/cpufreq
> dell:~# cat /proc/cpufreq
> minimum CPU frequency - maximum CPU frequency - policy
> CPU 0 733000 kHz ( 73 %) - 1000000 kHz (100 %) - performance
>
> I am missing something or is just not working ?
Can you try these?
# echo "0:733000:1000000:powersave" > /proc/cpufreq
# echo "70%100%powersave" > /proc/cpufreq
Limit must be within speedstep_low_freq and speedstep_high_freq, with
at least one border included.
If it don't work, I will re-consider the speedstep driver code.
--
Hiroshi Miura --- http://www.da-cha.org/
NTTDATA Corp. Marketing & Business Strategy Planning Dept. --- miurahr@nttdata.co.jp
Key fingerprint = 9117 9407 5684 FBF1 4063 15B4 401D D077 04AB 8617
-- My hacking life is happy as the day is long
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Pentium IIIM not recognised
2003-09-22 1:33 ` Hiroshi Miura
@ 2003-09-22 9:46 ` Ivan Kanis
0 siblings, 0 replies; 11+ messages in thread
From: Ivan Kanis @ 2003-09-22 9:46 UTC (permalink / raw)
To: cpufreq
Hiroshi> That's first time I see 'perf_level' is 0x00000101. Many
Hiroshi> machines have 0x07d00000 or 0x07d00100. I assumes the
Hiroshi> bit 1 means that it is not support an event notification.
Hiroshi> Bit 8 means it is not supports SMI function 'get_freqs'.
It sounds like it's not a very good CPU.
Hiroshi> # echo "0:733000:1000000:powersave" > /proc/cpufreq
It works very nicely:
dell:~# bogomips
Calibrating delay loop.. ok - 984.00 BogoMips
dell:~# echo "0:733000:1000000:powersave" > /proc/cpufreq
dell:~# bogomips
Calibrating delay loop.. ok - 714.00 BogoMips
Thank you!
Ivan
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2003-09-22 9:46 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-15 22:58 Pentium IIIM not recognised Ivan Kanis
2003-09-16 9:13 ` Ducrot Bruno
2003-09-16 10:09 ` Ivan Kanis
2003-09-16 10:26 ` Ducrot Bruno
2003-09-16 18:39 ` AthlonRob
2003-09-16 18:56 ` Ducrot Bruno
2003-09-16 19:33 ` Ivan Kanis
2003-09-17 8:50 ` Ducrot Bruno
2003-09-21 22:29 ` Ivan Kanis
2003-09-22 1:33 ` Hiroshi Miura
2003-09-22 9:46 ` Ivan Kanis
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.