Skip to contentSkip to conversation

Can't get it working on Mobile Coppermine 1Ghz - i440BX - please help...

DISCUSSION Johny the Ripper 2 participants 3 messages Sep 23, 2006

lore
Share & tools
lore
#0 lore raw
Quoted 13 lines · --- Bruno Ducrot

Yes. The problem with speedstep smi is that we don't
know exactly how much time at transition will take. I've see some mail about adding such information for that driver, but nothing reach mainstream AFAIK.

More precisely, you have to modify that line:

	policy->cpuinfo.transition_latency =

CPUFREQ_ETERNAL;

with something like that:

Quoted 7 lines
	policy->cpuinfo.transition_latency = 100000;

Actually I *really* don't know if that's correct, but it should be
close enough to the real one, hopefully, even though I don't count
the bus stuff, memory cache invalidation and so on..

Hi Bruno, thanks again :) But I'm a bit in the dark
here: which file should I change? I searched /usr/src/linux/drivers/cpufreq/cpufreq_ondemand.c but I didn't find the line you specified... Anyway, I'm glad there's a way to make this governor work, even though maybe it will not be perfect...

Greetz!
Johny

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

#1 lore raw

Hi,

You can find a speedstep-smi.c
in /usr/src/linux/arch/i386/kernel/cpu/cpufreq/
which is the source file Bruno memtioned.

2006/9/23, Johny the Ripper <[email protected]>:

Quoted 7 lines

Hi Bruno, thanks again :) But I'm a bit in the dark
here: which file should I change? I searched /usr/src/linux/drivers/cpufreq/cpufreq_ondemand.c but I didn't find the line you specified... Anyway, I'm glad there's a way to make this governor work, even though maybe it will not be perfect...

I also don't know proper value of transition latency because there are not any description in public documents that I found.

Signature · 1 line
HIroshi Miura
#2 lore raw

Hi,

thanks for your answer. I still don't get it working and I'm not sure what's going wrong. Probably my poor knowledge of using kernel modules...
This is what I did: I adapted the suggested values in speedstep-smi.c and did a make from /usr/src/linux . I saw in the output that it compiled the speedstep-smi module. But I still couldn't load the ondemand governor. I did a make modules to be sure, but it didn't help. So I copied the new-made kernel to and rebooted using this new kernel. (hoping that it would use the new module) But it still doesn't work.

Am I doing something wrong with this new module or should I use a different value?

greetz,
Johny

Quoted 16 lines · --- Hiroshi Miura

Hi,

You can find a speedstep-smi.c
in /usr/src/linux/arch/i386/kernel/cpu/cpufreq/
which is the source file Bruno memtioned.

2006/9/23, Johny the Ripper
<[email protected]>:

Quoted 2 lines

Hi Bruno, thanks again :) But I'm a bit in the

dark

Quoted 2 lines

here: which file should I change? I searched
/usr/src/linux/drivers/cpufreq/cpufreq_ondemand.c

but

Quoted 2 lines

I didn't find the line you specified...
Anyway, I'm glad there's a way to make this

Quoted 11 lines

governor

Quoted 1 line

work, even though maybe it will not be perfect...

I also don't know proper value of transition latency because there are not any description in public documents
that I found.

Signature · 1 line
HIroshi Miura

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com