Skip to contentSkip to conversation

longhaul: Unknown VIA CPU

DISCUSSION Vincent Stehlé 4 participants 7 messages Sep 2, 2003 – Sep 3, 2003

lore
Share & tools
lore
#0 lore raw

Hi,

I tried to get the longhaul module to work on my VIA EPIA M10000 motherboard (C3-2 cpu), but I did not succeed yet.

I use cpufreq 2.4.21-2, and I see the following message in the syslog when I "modprobe longhaul":

longhaul: Unknown VIA CPU. Contact [email protected]

I'd be pleased to help with what seems to be a "new" cpu, but I do not know what to begin with.

Here is my /proc/cpuinfo; don't know if this is of any use to anyone (:

---
processor : 0
vendor_id : CentaurHauls
cpu family : 6
model : 9
model name : VIA Nehemiah
stepping : 1
cpu MHz : 999.531
cache size : 64 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu de tsc msr mtrr pge cmov mmx fxsr sse
bogomips : 1992.29
---

Regards,

Signature · 1 line
Vincent Stehlé
#1 lore raw
Quoted 10 lines · Vincent Stehl?

I tried to get the longhaul module to work on my VIA EPIA M10000 motherboard (C3-2 cpu), but I did not succeed yet.

I use cpufreq 2.4.21-2, and I see the following message in the syslog when I "modprobe longhaul":

longhaul: Unknown VIA CPU. Contact [email protected]

I'd be pleased to help with what seems to be a "new" cpu, but I do not know what to begin with.

Nehemiah is still unsupported as I've not seen a production one thats actually capable of working properly yet. Still waiting to hear back from the folks at Centaur.

Dave

Signature · 1 line
 Dave Jones     http://www.codemonkey.org.uk
#3 lore raw
In reply to Sven Dowideit
Quoted 2 lines · Sven Dowideit

I sent DaveJones a patch that at least says that the Nehemiah is not implemented, but i have not heard from him since..

sorry, I thought I replied..

Quoted 2 lines

also, the email
address will need to be changed to the codemonkey one :)

Already fixed in 2.6, not sure about the 2.4/2.4-ac backports.

Quoted 2 lines

However, VIA have not yet made that info available to the public (I'm hoping Dave has a copy)

I have the relevant documentation, and a Nehemiah that should support power scaling, however when I try to use it according to how the spec says I should I get nonsense returned from certain MSRs, and no speed change. I'm still waiting to hear back from Centaur.

I pinged them again yesterday, hopefully I can get an answer on this pretty soon.

Dave

Signature · 1 line
 Dave Jones     http://www.codemonkey.org.uk
#4 lore raw
Quoted 10 lines · Dave Jones
Quoted 2 lines · Sven Dowideit

I sent DaveJones a patch that at least says that the Nehemiah is not implemented, but i have not heard from him since..

sorry, I thought I replied..

Quoted 2 lines

also, the email
address will need to be changed to the codemonkey one :)

Already fixed in 2.6, not sure about the 2.4/2.4-ac backports.

ducrot@neptune:~$ cvs rdiff -u -r LINUX_2_4 -rLINUX_2_5 cpufreq/linux/arch/i386/kernel/cpufreq/longhaul.c
Index: cpufreq/linux/arch/i386/kernel/cpufreq/longhaul.c
diff -u cpufreq/linux/arch/i386/kernel/cpufreq/longhaul.c:1.1.1.1 cpufreq/linux/arch/i386/kernel/cpufreq/longhaul.c:1.93
--- cpufreq/linux/arch/i386/kernel/cpufreq/longhaul.c:1.1.1.1   Mon Aug 25 15:58:46 2003
+++ cpufreq/linux/arch/i386/kernel/cpufreq/longhaul.c   Tue Aug 19 14:38:32 2003
@@ -597,6 +597,7 @@
        .target         = longhaul_target,
        .init           = longhaul_cpu_init,
        .name           = "longhaul",
+       .owner          = THIS_MODULE,
 };

static int __init longhaul_init (void)

ducrot@neptune:~$ cvs rdiff -u -r LINUX_2_4 -rLINUX_2_5 cpufreq/linux/arch/i386/kernel/cpufreq/longhaul.h
Signature · 4 lines
Ducrot Bruno

--  Which is worse:  ignorance or apathy?
--  Don't know.  Don't care.
#5 lore raw
Quoted 6 lines · Ducrot Bruno
Quoted 4 lines
Quoted 2 lines

also, the email
address will need to be changed to the codemonkey one :)

Already fixed in 2.6, not sure about the 2.4/2.4-ac backports.

ducrot@neptune:~$ cvs rdiff -u -r LINUX_2_4 -rLINUX_2_5 cpufreq/linux/arch/i386/kernel/cpufreq/longhaul.c

I'm not sure if I pushed the changes back to CVS after merging to 2.5 mainline.

Dave

Signature · 1 line
 Dave Jones     http://www.codemonkey.org.uk
#6 lore raw
Quoted 10 lines · Dave Jones
Quoted 6 lines · Ducrot Bruno
Quoted 4 lines
Quoted 2 lines

also, the email
address will need to be changed to the codemonkey one :)

Already fixed in 2.6, not sure about the 2.4/2.4-ac backports.

ducrot@neptune:~$ cvs rdiff -u -r LINUX_2_4 -rLINUX_2_5 cpufreq/linux/arch/i386/kernel/cpufreq/longhaul.c

I'm not sure if I pushed the changes back to CVS after merging to 2.5 mainline.

ducrot@neptune:~$ diff -u ~/tmp/cpufreq/25/cpufreq/linux/arch/i386/kernel/cpufreq/longhaul.c \
	/var/share/cvs/bitkeeper/cpufreq-2.5/arch/i386/kernel/cpu/cpufreq/longhaul.c
@@ -584,7 +584,7 @@
        if (ret != 0)
                return ret;

- policy->governor = CPUFREQ_DEFAULT_GOVERNOR;

+       policy->policy = CPUFREQ_POLICY_PERFORMANCE;
        policy->cpuinfo.transition_latency = CPUFREQ_ETERNAL;
 
        policy->cur = (unsigned int) (longhaul_get_cpu_fsb() * longhaul_get_cpu_mult() * 100);

(cvs don't have some core update).

Cheers,

Signature · 4 lines
Ducrot Bruno

--  Which is worse:  ignorance or apathy?
--  Don't know.  Don't care.
#2 lore raw
In reply to Vincent Stehlé

I sent DaveJones a patch that at least says that the Nehemiah is not implemented, but i have not heard from him since.. also, the email address will need to be changed to the codemonkey one :)

However, VIA have not yet made that info available to the public (I'm hoping Dave has a copy)

sven

Quoted 37 lines · Vincent Stehlé

Hi,

I tried to get the longhaul module to work on my VIA EPIA M10000 motherboard (C3-2 cpu), but I did not succeed yet.

I use cpufreq 2.4.21-2, and I see the following message in the syslog when I "modprobe longhaul":

longhaul: Unknown VIA CPU. Contact [email protected]

I'd be pleased to help with what seems to be a "new" cpu, but I do not know what to begin with.

Here is my /proc/cpuinfo; don't know if this is of any use to anyone (:

---
processor : 0
vendor_id : CentaurHauls
cpu family : 6
model : 9
model name : VIA Nehemiah
stepping : 1
cpu MHz : 999.531
cache size : 64 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu de tsc msr mtrr pge cmov mmx fxsr sse
bogomips : 1992.29
---

Regards,