An HTML attachment was scrubbed... URL: http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20080527/2e74bf79/attachment.html -------------- next part -------------- Hi Juerg, thanks for your hints! After 'depmod -a' and patch driver is loaded now and lm_sensors are working: # sensors sch311x-isa-0a70 Adapter: ISA adapter in0: +0.00 V (min = +0.00 V, max = +6.64 V) ALARM in1: +1.76 V (min = +0.00 V, max = +2.99 V) in2: +3.25 V (min = +0.00 V, max = +4.38 V) in3: +4.99 V (min = +0.00 V, max = +6.64 V) in4: +12.31 V (min = +0.00 V, max = +15.94 V) in5: +3.27 V (min = +0.00 V, max = +4.38 V) in6: +3.17 V (min = +0.00 V, max = +4.38 V) fan1: 0 RPM (min = 0 RPM) fan2: 1747 RPM (min = 0 RPM) fan3: 0 RPM (min = 0 RPM) temp1: +47.6?C (low = -127.0?C, high = +127.0?C) temp2: +42.8?C (low = -127.0?C, high = +127.0?C) temp3: +41.1?C (low = -127.0?C, high = +127.0?C) cpu0_vid: +0.000 V I have only small error in messages log regarding hwmon-vid module, but I can live with it..: May 27 10:33:34 obelix kernel: dme1737 dme1737.2672: Found a SCH311x chip at 0x0a70 May 27 10:33:34 obelix kernel: dme1737 dme1737.2672: Optional features: pwm3=yes, pwm5=no, pwm6=no, fan3=yes, fan4=no, fan5=no, fan6=no. May 27 10:33:34 obelix kernel: hwmon-vid: Unknown VRM version of your x86 CPU Thanks again for your kind help! Jaroslav ------------ P?vodn? zpr?va ------------ Od: Juerg Haefliger <juergh at gmail.com> P?edm?t: Re: dme1737 under CentOS 2.6.18 kernel Datum: 27.5.2008 01:37:05 --------------------------------------------- Hi Jaroslav, On Mon, May 26, 2008 at 12:08 PM, Jaroslav Vacha <vacha at email.cz (mailto:vacha at email.cz)> wrote: " Hi, I'm trying to compile dme1737 driver under CentOS 5.1 with 2.6.18- 53.1.21.el5 kernel to support VIA EPIA-SN 18000G motherboard sensors. Followed Juerg's instruction from post http://lists.lm-sensors.org/ pipermail/lm-sensors/2007-December/022166.html (http://lists.lm-sensors.org/pipermail/lm-sensors/2007-December/022166.html) Code compiled with warnings: #make all make -C /lib/modules/`uname -r`/build M=/install/lm_sensors/driver modules make[1]: Entering directory `/usr/src/kernels/2.6.18-53.1.21.el5-i 686' CC [M] /install/lm_sensors/driver/dme1737.o /install/lm_sensors/driver/dme1737.c:55: warning: initialization discards qualifiers from pointer target type /install/lm_sensors/driver/dme1737.c: In function 'dme1737_i2c_ detect': /install/lm_sensors/driver/dme1737.c:2139: warning: assignment from incompatible pointer type /install/lm_sensors/driver/dme1737.c: In function 'dme1737_i2c_ detach_client': /install/lm_sensors/driver/dme1737.c:2172: warning: passing argument 1 of 'hwmon_device_unregister' from incompatible pointer type /install/lm_sensors/driver/dme1737.c: In function 'dme1737_isa_ probe': /install/lm_sensors/driver/dme1737.c:2324: warning: assignment from incompatible pointer type /install/lm_sensors/driver/dme1737.c: In function 'dme1737_isa_ remove': /install/lm_sensors/driver/dme1737.c:2348: warning: passing argument 1 of 'hwmon_device_unregister' from incompatible pointer type Building modules, stage 2. MODPOST CC /install/lm_sensors/driver/dme1737.mod.o LD [M] /install/lm_sensors/driver/dme1737.ko make[1]: Leaving directory `/usr/src/kernels/2.6.18-53.1.21.el5-i 686' [root at server driver]# dme1737.ko module is created and copied in /lib/modules/2.6.18- 53.1.21.el5/kernel/drivers/hwmon path. But when I tried to insert this module into kernel, module is not loaded with following error message: #insmod dme1737.ko insmod: error inserting 'dme1737.ko': -1 Unknown symbol in module Do you have any idea where is a mistake? Thanks for your reply " The dme1737 driver depends on i2c-core and hwmon-vid. My guess is one or both of those aren't loaded. Do 'depmod -a' and then 'modprobe dme1737 probe_all_addr=1' to load the driver an all the modules it depends upon. Note that for the driver to correctly work on a SN18000 board, you need to have the following patch applied (hence the probe_all_addr option): http://lists.lm-sensors.org/pipermail/lm-sensors/2008-April/022802. html (http://lists.lm-sensors.org/pipermail/lm-sensors/2008-April/022802.html) ...juerg " Jaroslav _______________________________________________ lm-sensors mailing list lm-sensors at lm-sensors.org(mailto:lm-sensors at lm-sensors.org) http://lists.lm-sensors.org/mailman/listinfo/lm-sensors (http://lists.lm-sensors.org/mailman/listinfo/lm-sensors) "