Motherboard Fujitsu D-3076-S
Hello,
I try to get a Fujitsu D-3076-S Motherboard working with Centos 5.9. Therefore I try to get the BMC working with lm-sensors.
Can you show me, where I can get actual sources, which can be compiled against kernel 2.6.18-348.3.1.el5PAE?
The website http://www.lm-sensors.org/wiki/Devices linked the chip SCH5636 with driver sch5636 against the public folder ( of Hans De Goede) http://people.fedoraproject.org/~jwrdegoede/sch56xx/, but this doesn't exists anymore.
The stuff from the following FTP Link is not working:
ftp://ftp.ts.fujitsu.com/pub/Mainboard-OEM-Sales/Products/Mainboards/Industrial&ExtendedLifetime/D3071-S_D3076-S/IndustrialTools_D307x-S/Linux_SystemMonitoring&Watchdog-Driver/
with kind regards
Holger B.
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Hi,
Quoted 6 lines · Holger Bürger
Hello,
I try to get a Fujitsu D-3076-S Motherboard working with Centos 5.9. Therefore I try to get the BMC working with lm-sensors.
Quoted 7 lines
Can you show me, where I can get actual sources, which can be compiled against kernel 2.6.18-348.3.1.el5PAE?
The website http://www.lm-sensors.org/wiki/Devices linked the chip SCH5636 with driver sch5636 against the public folder ( of Hans De Goede) http://people.fedoraproject.org/~jwrdegoede/sch56xx/, but this doesn't exists anymore.
Ah, I did not know we still had a link to that. I've restored it from my local copy. Note that 2.6.18 is quite old I've no idea if the standalone sch56xx version will work with it, but it is back up now.
Regards,
Hans
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Hi,
Quoted 3 lines
...
... 2.6.18 is quite old ...
...
I tried to compile this:
"
make -C /lib/modules/2.6.18-348.el5/build M=/root/test modules make[1]: Entering directory `/usr/src/kernels/2.6.18-348.12.1.el5-i686'
CC [M] /root/test/sch56xx-common.o/root/test/sch56xx-common.c: In function »sch56xx_device_add«:/root/test/sch56xx-common.c:795: Fehler: Implizite Deklaration der Funktion »acpi_check_resource_conflict«
make[2]: *** [/root/test/sch56xx-common.o] Fehler 1
make[1]: *** [_module_/root/test] Fehler 2
make[1]: Leaving directory `/usr/src/kernels/2.6.18-348.12.1.el5-i686'
make: *** [all] Fehler 2
"
Is there a way to fix this?
Regards
Holger Bürger
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Hi,
Quoted 21 lines · Holger Bürger
Hi,
Quoted 3 lines
...
... 2.6.18 is quite old ...
...I tried to compile this:
"
make -C/lib/modules/2.6.18-348.el5/buildM=/root/test modules make[1]: Entering directory `/usr/src/kernels/2.6.18-348.12.1.el5-i686'
CC [M]/root/test/sch56xx-common.o/root/test/sch56xx-common.c: In function »sch56xx_device_add«:/root/test/sch56xx-common.c:795: Fehler: Implizite Deklaration der Funktion »acpi_check_resource_conflict«
make[2]: *** [/root/test/sch56xx-common.o] Fehler 1
make[1]: *** [_module_/root/test] Fehler 2
make[1]: Leaving directory `/usr/src/kernels/2.6.18-348.12.1.el5-i686'
make: *** [all] Fehler 2
"
Quoted 1 line
Is there a way to fix this?
Yes you can simply remove the line in question, and the 2 lines remove it, so remove the following lines:
err = acpi_check_resource_conflict(&res);
if (err)
goto exit_device_put;This is not something which I would normally advise, but at the Fujitsu board in question it is safe to remove the check.
Regards,
Hans
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Hi,
Quoted 2 lines
Yes you can simply remove the line in question, and the 2 lines remove it, so remove the following lines:
But I have more errors then.
make -C /lib/modules/2.6.18-348.el5/build M=/root/test modules
make[1]: Entering directory `/usr/src/kernels/2.6.18-348.12.1.el5-i686'
CC [M] /root/test/sch56xx-common.o
CC [M] /root/test/sch5636.o/root/test/sch5636.c: In function »show_in_value«:/root/test/sch5636.c:189: Fehler: Implizite Deklaration der Funktion »DIV_ROUND_CLOSEST«/root/test/sch5636.c: In function »sch5636_remove«:/root/test/sch5636.c:392: Warnung: Übergabe des Arguments 1 von »hwmon_device_unregister« von inkompatiblem Zeigertyp /root/test/sch5636.c: In function »sch5636_probe«:/root/test/sch5636.c:505: Warnung: Zuweisung von inkompatiblem Zeigertyp make[2]: *** [/root/test/sch5636.o] Fehler 1
make[1]: *** [_module_/root/test] Fehler 2
make[1]: Leaving directory `/usr/src/kernels/2.6.18-348.12.1.el5-i686'
make: *** [all] Fehler 2
Regards
Holger Bürger
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Hi,
Quoted 7 lines · Holger Bürger
Hi,
Quoted 2 lines
Yes you can simply remove the line in question, and the 2 lines remove it, so remove the following lines:
But I have more errors then.
Yes, it now passes building sch56xx-common.c, and moves on to another file which has other issues.
Quoted 4 lines
make -C
/lib/modules/2.6.18-348.el5/buildM=/root/test modules
Quoted 8 lines
make[1]: Entering directory `/usr/src/kernels/2.6.18-348.12.1.el5-i686'
CC [M] /root/test/sch56xx-common.o CC [M] /root/test/sch5636.o
/root/test/sch5636.c: In function »show_in_value«:/root/test/sch5636.c:189: Fehler: Implizite Deklaration der Funktion »DIV_ROUND_CLOSEST«
To fix this replace (at line 189):
val = DIV_ROUND_CLOSEST(
data->in[attr->index] * SCH5636_REG_IN_FACTORS[attr->index],
255);With:
val = data->in[attr->index] * SCH5636_REG_IN_FACTORS[attr->index] / 255;
Quoted 5 lines
/root/test/sch5636.c: In function »sch5636_remove«:/root/test/sch5636.c:392: Warnung: Übergabe des Arguments 1 von »hwmon_device_unregister« von inkompatiblem Zeigertyp/root/test/sch5636.c: In function »sch5636_probe«:/root/test/sch5636.c:505: Warnung: Zuweisung von inkompatiblem Zeigertyp
These 2 warnings can be ignored.
You likely need to make the same change in sch5627.c
Regards,
Hans
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors