Vt1211
Do I need to patch Kernel to make lm_sensors work on Fedora Core 4 (2.6.11) and Via EPIA (vt1211 chip) motherboard? If yes, what patch should I use and is there any complete instructions how to do it?
I have tried to use patch (this one http://hem.bredband.net/ekmlar/patch-vt1211-2.6.11.txt ) found on this pages http://hem.bredband.net/ekmlar/vt1211.html
And when I execute make bzImage I get following error scripts/mod/sumversion.c:486: warning: pointer targets in passing argument 1 of 'strlen' differ in signednessscripts/mod/sumversion.c: In function 'maybe_frob_rcs_version':scripts/mod/sumversion.c:496: warning: pointer targets in passing argument 1 of 'strip_rcs_crap' differ in signedness
HOSTLD scripts/mod/modpost
make[1]: *** No rule to make target init/main.o', needed by init/built-in.o'.
Stop.
make: *** [init] Error 2
I would preheated any help on what patch to use and how to patch kernel. Thank you!
**
P.S.
Without patching the kernel I can't modprobe vt1211 driver
--
Tomislav Par?ina
Lama Computers Split
Stinice 12, 21000 Split
Tel.: +385(21)495148
Mob.: +385(91)1212148
SIP: tomo at pbx.lama.hr
e-mail: tparcina#lama.hr
http://www.lama.hr
Hi Tomislav,
Yes, you need to patch the kernel to get the vt1211 module.
1) Download the vanilla 2.6.17.8 kernel from www.kernel.org
2) Get the most recent vt1211 patch from here:
http://lists.lm-sensors.org/pipermail/lm-sensors/2006-June/016329.html
3) Patch, recompile and install the new kernel and modules (make sure to enable the vt1211 under 'device drivers/hardware monitoring support')
4) Reboot using the new kernel and modprobe the vt1211 module
...juerg
Quoted 39 lines · Tomislav Par?ina
Do I need to patch Kernel to make
lm_sensorswork on Fedora Core 4 (2.6.11) and Via EPIA (vt1211 chip) motherboard? If yes, what patch should I use and is there any complete instructions how to do it?I have tried to use patch (this one http://hem.bredband.net/ekmlar/patch-vt1211-2.6.11.txt ) found on this pages http://hem.bredband.net/ekmlar/vt1211.html
And when I execute make bzImage I get following error
scripts/mod/sumversion.c:486: warning: pointer targets in passing argument 1 of 'strlen' differ in signednessscripts/mod/sumversion.c: In function 'maybe_frob_rcs_version':scripts/mod/sumversion.c:496: warning: pointer targets in passing argument 1 of 'strip_rcs_crap' differ in signedness
HOSTLDscripts/mod/modpost
make[1]: *** No rule to make targetinit/main.o', needed byinit/built-in.o'.
Stop.
make: *** [init] Error 2I would preheated any help on what patch to use and how to patch kernel. Thank you!
**
P.S.
Without patching the kernel I can't modprobe vt1211 driver--
Tomislav Par?ina
Lama Computers Split
Stinice 12, 21000 Split
Tel.: +385(21)495148
Mob.: +385(91)1212148
SIP: tomo at pbx.lama.hr
e-mail: tparcina#lama.hr
http://www.lama.hr_______________________________________________
lm-sensors mailing list
lm-sensors at lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Quoted 4 lines · Tomislav Par?ina
Do I need to patch Kernel to make
lm_sensorswork on Fedora Core 4 (2.6.11) and Via EPIA (vt1211 chip) motherboard? If yes, what patch should I use and is there any complete instructions how to do it?I have tried to use patch (this one http://hem.bredband.net/ekmlar/patch-vt1211-2.6.11.txt ) found on this pages http://hem.bredband.net/ekmlar/vt1211.html
Did you try compiling it as a module by doing:
patch kernel with:
patch -p1 < patch-vt1211-2.6.11.txt
copy the patched vt1211.c to your homedir or something and do:
echo "obj-m := vt1211.o" > Makefile
make -C /path/to/your/kernel2.6/source/dir SUBDIRS=$PWD modules ?
I got it working by doing that on the patched kernel (for debian-stable with 2.6.8 but it ought to be pretty much the same)
/Jon
Hi Juerg!
Can you send me pre-compiled vt1211.ko driver? Can I put your pre-compiled driver to /lib/modules/2.6.11-1.1369_FC4/kernel/drivers/i2c/chips and execute "depmod -a"?
Will that work? Because I have tried to recompile kernel several times and I still haven't managed to install driver. And kernel compilation on VIA EPIA motherboard lasts forever...
Tomislav
Quoted 21 lines
-----Original Message-----
From: Juerg Haefliger [mailto:juergh at gmail.com]
Sent: 8. kolovoz 2006 16:55
To: Tomislav Par?ina
Cc: lm-sensors at lm-sensors.org
Subject: Re: [lm-sensors] Vt1211Hi Tomislav,
Yes, you need to patch the kernel to get the vt1211 module.
1) Download the vanilla 2.6.17.8 kernel from www.kernel.org
2) Get the most recent vt1211 patch from here:
http://lists.lm-sensors.org/pipermail/lm-sensors/2006-June/016329.html
3) Patch, recompile and install the new kernel and modules (make sure to enable the vt1211 under 'devicedrivers/hardwaremonitoring
support')
4) Reboot using the new kernel and modprobe the vt1211 module...juerg
Quoted 8 lines
-----Original Message-----
From: jon.molin at gmail.com [mailto:jon.molin at gmail.com] On Behalf Of Jon
Sent: 8. kolovoz 2006 16:56
To: Tomislav Par?ina
Cc: lm-sensors at lm-sensors.org
Subject: Re: [lm-sensors] Vt1211
Quoted 8 lines
Did you try compiling it as a module by doing:
patch kernel with:
patch -p1 < patch-vt1211-2.6.11.txt
copy the patchedvt1211.cto your homedir or something and do:
echo "obj-m := vt1211.o" >Makefile
make -C /path/to/your/kernel2.6/source/dir SUBDIRS=$PWD modules ? I got it working by doing that on the patched kernel (for debian-stable with 2.6.8 but it ought to be pretty much the same)
Hi Jon,
I'll try that if this one with pre-compiled driver fails. Can you send me your's vt1211.ko driver binary? I hope it will work that way.
Tomislav
Hi Tomislav,
Quoted 4 lines
Can you send me pre-compiled vt1211.ko driver? Can I put your pre-compiled driver to
/lib/modules/2.6.11-1.1369_FC4/kernel/drivers/i2c/chipsand execute "depmod -a"?
Will that work?
No that won't work. The kernel version and the driver need to match and I don't have a precompiled 2.6.11 version. 2.6.11 is too old a kernel anyway.
You need at least 2.6.17 (I believe). There's no way around a kernel compilation if you want to use the latest driver.
Quoted 2 lines
Because I have tried to recompile kernel several times and I still haven't managed to install driver.
What do you mean?
Quoted 1 line
And kernel compilation on VIA EPIA motherboard lasts forever...
Yeah, VIA CPUs are not exactly blazingly fast.
...juerg
Quoted 17 lines · Tomislav Par?ina
Quoted 8 lines
-----Original Message-----
From: jon.molin at gmail.com [mailto:jon.molin at gmail.com] On Behalf Of Jon
Sent: 8. kolovoz 2006 16:56
To: Tomislav Par?ina
Cc: lm-sensors at lm-sensors.org
Subject: Re: [lm-sensors] Vt1211Quoted 8 lines
Did you try compiling it as a module by doing:
patch kernel with:
patch -p1 < patch-vt1211-2.6.11.txt
copy the patchedvt1211.cto your homedir or something and do:
echo "obj-m := vt1211.o" >Makefile
make -C /path/to/your/kernel2.6/source/dir SUBDIRS=$PWD modules ? I got it working by doing that on the patched kernel (for debian-stable with 2.6.8 but it ought to be pretty much the same)
Quoted 4 lines
Hi Jon,
I'll try that if this one with pre-compiled driver fails. Can you send me your's vt1211.ko driver binary? I hope it will work that way.
Sorry, I'm running a 2.6.8 CYRIXIII debiankernel so it won't work, but if you have already compiled your kernel you'll only need to compile the module alone so no looong via kernel compile waiting :)
Good luck
/Jon
Quoted 7 lines
-----Original Message-----
From: Juerg Haefliger [mailto:juergh at gmail.com]
Sent: 9. kolovoz 2006 16:50
To: Tomislav Par?ina
Cc: lm-sensors at lm-sensors.org
Subject: Re: [lm-sensors] Vt1211
Quoted 7 lines
Hi Tomislav,
No that won't work. The kernel version and the driver need to match and I don't have a precompiled 2.6.11 version. 2.6.11 is too old a kernel anyway.
You need at least 2.6.17 (I believe). There's no way around a kernel compilation if you want to use the latest driver.
OK, if you send me precompiled driver for Kernel that you have and I'll upgrade to that Kernel. That way it will work, right? And I'll need only to execute rpm -ivh kernel-your_version.rpm Do I have that right?
Quoted 1 line
What do you mean?
Like, last time I have tried to compile Kernel I didn't have driver (vt1211.ko) compiled? And I have selected it in make menuconfig
Tomislav