problems with longhaul cpufreq driver.
Running Redhat9 with my own kernel compilation based on 2.4.23.
I added the cpufreq patch built in (not module). It patched cleanlt with no errors.
When I look at my speeds, they are all 0.
If I check the dmesg log, I see the following on startup:
longhaul: VIA C3 'Ezra' [C5C] CPU detected. Longhaul v2 supported.
longhaul: MinMult=5.0x MaxMult=6.0x
longhaul: FSB: 0MHz Lowestspeed=0MHz Highestspeed=0MHz
longhaul: FSB:0 Mult:10.0x
My Setup:
Via EPIA c800, and using cpufreq: cpufreq-LINUX_2_4-20031207.tar.gz
Here is a snippet of my config (options not used removed)
#
# Processor type and features
#CONFIG_MCYRIXIII=yCONFIG_X86_WP_WORKS_OK=yCONFIG_X86_INVLPG=yCONFIG_X86_CMPXCHG=yCONFIG_X86_XADD=yCONFIG_X86_BSWAP=yCONFIG_X86_POPAD_OK=yCONFIG_RWSEM_XCHGADD_ALGORITHM=yCONFIG_X86_L1_CACHE_SHIFT=5CONFIG_X86_HAS_TSC=yCONFIG_X86_ALIGNMENT_16=yCONFIG_X86_USE_3DNOW=yCONFIG_X86_USE_PPRO_CHECKSUM=yCONFIG_X86_F00F_WORKS_OK=yCONFIG_X86_MCE=y
#
# CPU Frequency scaling
#CONFIG_CPU_FREQ=yCONFIG_CPU_FREQ_TABLE=yCONFIG_CPU_FREQ_PROC_INTF=yCONFIG_CPU_FREQ_GOV_USERSPACE=yCONFIG_CPU_FREQ_24_API=yCONFIG_X86_LONGHAUL=yCONFIG_X86_CPUID=mCONFIG_NOHIGHMEM=yCONFIG_MTRR=yCONFIG_X86_TSC=y
Anyone else got this problem?
Quoted 6 lines · On Mon, 2003-12-08 at 16:26, [email protected] wrote:
If I check the dmesg log, I see the following on startup:
longhaul: VIA C3 'Ezra' [C5C] CPU detected. Longhaul v2 supported.
longhaul: MinMult=5.0x MaxMult=6.0x
longhaul: FSB: 0MHz Lowestspeed=0MHz Highestspeed=0MHz
longhaul: FSB:0 Mult:10.0x
The problem here is the FSB is being reported as 0, this is wrong.
Quoted 1 line
Anyone else got this problem?
I had a very similar problem with my c3 using a 2.6 kernel, I posted a patch to this list a while ago that, whilst incorrect in some ways is probably enough to allow the module to work. There was a discussion about a better way to do it but I don't think that anything has been committed yet.
I would be interested to know if the patch works for you.
Ashley,
Quoted 11 lines · Ashley Pittman
Quoted 6 lines · On Mon, 2003-12-08 at 16:26, [email protected] wrote:
If I check the dmesg log, I see the following on startup:
longhaul: VIA C3 'Ezra' [C5C] CPU detected. Longhaul v2 supported.
longhaul: MinMult=5.0x MaxMult=6.0x
longhaul: FSB: 0MHz Lowestspeed=0MHz Highestspeed=0MHz
longhaul: FSB:0 Mult:10.0xThe problem here is the FSB is being reported as 0, this is wrong.
Quoted 8 lines
Quoted 1 line
Anyone else got this problem?
I had a very similar problem with my c3 using a 2.6 kernel, I posted a patch to this list a while ago that, whilst incorrect in some ways is probably enough to allow the module to work. There was a discussion about a better way to do it but I don't think that anything has been committed yet.
Ashley:
I don't know if you refer to:
http://linux-dj.bkbits.net:8080/cpufreq/[email protected]?nav=index.html|ChangeSet@-3w
If yes, then that bit is probably not in cvs 2.4, nor in any linux-2.6 mainstream (I guess).
Signature · 4 lines
Ducrot Bruno -- Which is worse: ignorance or apathy? -- Don't know. Don't care.
Quoted 12 lines · Ducrot Bruno
Quoted 10 lines · Ashley Pittman
Quoted 3 lines · On Mon, 2003-12-08 at 16:26, [email protected] wrote:
If I check the dmesg log, I see the following on startup:
longhaul: VIA C3 'Ezra' [C5C] CPU detected. Longhaul v2 supported. longhaul: MinMult=5.0x MaxMult=6.0x longhaul: FSB: 0MHz Lowestspeed=0MHz Highestspeed=0MHz longhaul: FSB:0 Mult:10.0x
The problem here is the FSB is being reported as 0, this is wrong.
Quoted 8 lines
Quoted 8 lines
Quoted 1 line
Anyone else got this problem?
I had a very similar problem with my c3 using a 2.6 kernel, I posted a patch to this list a while ago that, whilst incorrect in some ways is probably enough to allow the module to work. There was a discussion about a better way to do it but I don't think that anything has been committed yet.
My hack was even simpler!! I just hacked the function guess_fsb to always return 133!! (the kernel nor code is going nowhere other than this small eden box, so it matters not)...
My DMESG now shows:
longhaul: VIA C3 'Ezra' [C5C] CPU detected. Longhaul v2 supported.
longhaul: MinMult=5.0x MaxMult=6.0x
longhaul: FSB: 133MHz Lowestspeed=665MHz Highestspeed=798MHz
Thanks all for the pointers...