gs10
I have a Tyan GS10 board that I think uses the pc87360 chipset. In the BIOS you can see the RPMS of 3 fans, plus the CPU and case temperature. I am running FC1 and installed without any issues lmsensors and 2.8.7 and i2c 2.8.7. When I run sensors-detect it reports the following...see below.
If I do a modprobe pc87360 it returns
/lib/modules/2.4.22-1.2115.nptl/kernel/drivers/i2c/chips/pc87360.o:init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg/lib/modules/2.4.22-1.2115.nptl/kernel/drivers/i2c/chips/pc87360.o:
insmod /lib/modules/2.4.22-1.2115.nptl/kernel/drivers/i2c/chips/pc87360.o failed /lib/modules/2.4.22-1.2115.nptl/kernel/drivers/i2c/chips/pc87360.o: insmod pc87360 failed
Do you have any ideas what I am doing wrong?
Thanks so much.
Paul
Results of sensors-detect
Driver `eeprom' (should be inserted):
Detects correctly:
* Bus SMBus I801 adapter at 1460' (Non-I2C SMBus adapter) Busdriver i2c-i801', I2C address 0x50
Chip `SPD EEPROM' (confidence:
* Bus SMBus I801 adapter at 1460' (Non-I2C SMBus adapter) Busdriver i2c-i801', I2C address 0x51
Chip `SPD EEPROM' (confidence:
Driver `pc87360' (should be inserted):
Detects correctly:
* ISA bus address 0x0820 (Busdriver `i2c-isa')
Chip `Nat. Semi. PC87366 Super IO Fan Sensors' (confidence: 9)
* ISA bus address 0x0830 (Busdriver `i2c-isa')
Chip `Nat. Semi. PC87366 Super IO Voltage Sensors' (confidence: 9)
* ISA bus address 0x0860 (Busdriver `i2c-isa')
Chip `Nat. Semi. PC87366 Super IO Thermal Sensors' (confidence: 9)
/etc/modules.conf:
#----cut here----
# I2C module options
alias char-major-89 i2c-dev
#----cut here----
To load everything that is needed, add this to some /etc/rc* file:
#----cut here----
# I2C adapter drivers
modprobe i2c-i801
modprobe i2c-isa
# I2C chip drivers
modprobe eeprom
modprobe pc87360
# sleep 2 # optional /usr/local/bin/sensors -s # recommended
--
Paul Anthony Aviles
Signature · 3 lines
This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
yes, the detection is done on the secondary super io. So, patch pc87360.c, recompile and try again correct?
Thanks so much!!
paul
----- Original Message -----
From: "Jean Delvare" <[email protected]>
To: "Paul Aviles" <[email protected]>
Cc: <[email protected]>
Sent: Monday, October 04, 2004 5:43 AM
Subject: Re: gs10
Quoted 51 lines
Hi Paul,
Quoted 17 lines
If I do a modprobe pc87360 it returns
/lib/modules/2.4.22-1.2115.nptl/kernel/drivers/i2c/chips/pc87360.o:init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including
invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg/lib/modules/2.4.22-1.2115.nptl/kernel/drivers/i2c/chips/pc87360.o:
insmod/lib/modules/2.4.22-1.2115.nptl/kernel/drivers/i2c/chips/pc87360.ofailed/lib/modules/2.4.22-1.2115.nptl/kernel/drivers/i2c/chips/pc87360.o:
insmod
pc87360 failed(...)
Quoted 8 lines
Driver `pc87360' (should be inserted):
Detects correctly:
* ISA bus address0x0820(Busdriver `i2c-isa')
Chip `Nat. Semi. PC87366 Super IO Fan Sensors' (confidence: 9)
* ISA bus address0x0830(Busdriver `i2c-isa')
Chip `Nat. Semi. PC87366 Super IO Voltage Sensors' (confidence: 9)
* ISA bus address0x0860(Busdriver `i2c-isa')
Chip `Nat. Semi. PC87366 Super IO Thermal Sensors' (confidence: 9)I suspect that the PC87366 chip is located on the secondary Super-I/O address.
The sensors-detect script supports that, but the pc87366 driver doesn't (yet).
You can check the output of sensors-detect for confirmation, as both Super-I/O
addresses are checked sequentially.Untested patch to
pc87360.cattached, may or may not work. Let me know ;)Thanks,
Signature · 8 lines
Jean Delvare http://khali.linux-fr.org/ -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
Signature · 3 lines
This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
Hmm.. getting this..
[root@srv1 chips]# patch -p0 < pc87360.c.diff can't find file to patch at input line 8 Perhaps you used the wrong -p or --strip option? The text leading up to this was:
--------------------------
|Index: kernel/chips/pc87360.c |=================================|RCS file: /home/cvs/lm_sensors2/kernel/chips/pc87360.c,v |retrieving revision 1.40 |diff -u -r1.40 pc87360.c |--- kernel/chips/pc87360.c 3 Jul 2004 15:50:27 -0000 1.40 |+++ kernel/chips/pc87360.c 4 Oct 2004 21:30:09 -0000
--------------------------
File to patch: pc87360.c
patching file pc87360.c
Hunk #1 succeeded at 77 (offset -1 lines).
Hunk #3 succeeded at 233 (offset -5 lines).
Hunk #4 succeeded at 460 (offset -11 lines).
Hunk #5 succeeded at 475 (offset -5 lines).
Hunk #6 succeeded at 481 (offset -11 lines).
Hunk #7 FAILED at 489.
Hunk #8 succeeded at 515 (offset -5 lines).
Hunk #9 FAILED at 535.
Hunk #10 succeeded at 540 (offset -17 lines).
Hunk #11 succeeded at 1256 (offset -58 lines).
2 out of 11 hunks FAILED -- saving rejects to file pc87360.c.rej [root@srv1 chips]#
Signature · 3 lines
This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
Hi Paul,
Quoted 15 lines
If I do a modprobe pc87360 it returns
/lib/modules/2.4.22-1.2115.nptl/kernel/drivers/i2c/chips/pc87360.o:init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg/lib/modules/2.4.22-1.2115.nptl/kernel/drivers/i2c/chips/pc87360.o:
insmod/lib/modules/2.4.22-1.2115.nptl/kernel/drivers/i2c/chips/pc87360.ofailed/lib/modules/2.4.22-1.2115.nptl/kernel/drivers/i2c/chips/pc87360.o: insmod pc87360 failed(...)
Quoted 8 lines
Driver `pc87360' (should be inserted):
Detects correctly:
* ISA bus address0x0820(Busdriver `i2c-isa')
Chip `Nat. Semi. PC87366 Super IO Fan Sensors' (confidence: 9)
* ISA bus address0x0830(Busdriver `i2c-isa')
Chip `Nat. Semi. PC87366 Super IO Voltage Sensors' (confidence: 9)
* ISA bus address0x0860(Busdriver `i2c-isa')
Chip `Nat. Semi. PC87366 Super IO Thermal Sensors' (confidence: 9)
I suspect that the PC87366 chip is located on the secondary Super-I/O address. The sensors-detect script supports that, but the pc87366 driver doesn't (yet). You can check the output of sensors-detect for confirmation, as both Super-I/O addresses are checked sequentially.
Untested patch to pc87360.c attached, may or may not work. Let me know ;)
Thanks,
Signature · 10 lines
Jean Delvare http://khali.linux-fr.org/ -------------- next part -------------- A non-text attachment was scrubbed... Name: pc87360.c.diff Type: application/octet-stream Size: 3705 bytes Desc: not available Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20041004/23bee724/pc87360.c.obj
On Mon, 4 Oct 2004 07:45:21 -0400, Paul Aviles wrote
Quoted 2 lines
yes, the detection is done on the secondary super io. So, patch
pc87360.c, recompile and try again correct?
Yes, that's it. From within the kernel/chips subdirectory, patch -p0 < pc87360.c.diff
Note that I could not verify it even compiles yet, will do this evening. The changes are relatively simple though, so I have good hope.
The pc87360 driver is quite new, so please let me know how it works for you.
Thanks.
Signature · 2 lines
Jean Delvare http://khali.linux-fr.org/
Supposely I enabled ssh on my home firewall but..... no luck. Will need to wait for tonight...Arggggg.
I read that there is a way to programatically control the speed of the fans with some type of command if the temperature for example is lower than x, is that so?
I'll let you know and thanks so much!!!
Paul
On Mon, 4 Oct 2004 13:57:16 +0100, Jean Delvare wrote
Quoted 7 lines
On Mon, 4 Oct 2004 07:45:21 -0400, Paul Aviles wrote
Quoted 2 lines
yes, the detection is done on the secondary super io. So, patch
pc87360.c, recompile and try again correct?Yes, that's it. From within the kernel/chips subdirectory, patch -p0 < pc87360.c.diff
Quoted 16 lines
Note that I could not verify it even compiles yet, will do this evening. The changes are relatively simple though, so I have good hope.
The pc87360 driver is quite new, so please let me know how it works for you.
Thanks.
Signature · 7 lines
Jean Delvare http://khali.linux-fr.org/ -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
--
Paul Anthony Aviles
Signature · 3 lines
This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
On Mon, 4 Oct 2004 09:31:19 -0400, Paul Aviles wrote
Quoted 3 lines
I read that there is a way to programatically control the speed of the fans with some type of command if the temperature for example is lower than x, is that so?
Some chips can be programmed to automatically adjust the fan speed according to the value of one or more temperature measurements. The PC87360 family doesn't, as far as I remember. It does however allow manual speed control over the fans, providing that your motherboard is adequately wired. This is done through the files /proc/sys/dev/sensors/pc87366-isa-*/pwm* (which you should get once the pc87360 driver loads succesfully). See in our prog/pwm directory, there are a couple scripts if you are interested in fan speed control.
Signature · 2 lines
Jean Delvare http://khali.linux-fr.org/
Quoting myself:
Quoted 2 lines
Untested patch to
pc87360.cattached, may or may not work. Let me know ;)
Actually it *was* broken. Try this one instead.
Thanks.
Signature · 9 lines
Jean Delvare http://khali.linux-fr.org/ -------------- next part -------------- A non-text attachment was scrubbed... Name: pc87360.c.diff Type: application/octet-stream Size: 3932 bytes Desc: not available Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20041004/8ec2e04e/pc87360.c.obj
On Mon, 4 Oct 2004 18:16:49 -0400, Paul Aviles wrote
Quoted 13 lines
Hmm.. getting this..
[root@srv1 chips]# patch -p0 < pc87360.c.diff can't find file to patch at input line 8 Perhaps you used the wrong -p or --strip option? The text leading up to this was:
--------------------------|Index: kernel/chips/pc87360.c |=================================> |RCS file: /home/cvs/lm_sensors2/kernel/chips/pc87360.c,v |retrieving revision 1.40 |diff -u -r1.40 pc87360.c |--- kernel/chips/pc87360.c 3 Jul 2004 15:50:27 -0000 1.40 |+++ kernel/chips/pc87360.c 4 Oct 2004 21:30:09 -0000
Quoted 14 lines
--------------------------
File to patch:pc87360.c
patching filepc87360.c
Hunk #1 succeeded at 77 (offset -1 lines).
Hunk #3 succeeded at 233 (offset -5 lines).
Hunk #4 succeeded at 460 (offset -11 lines).
Hunk #5 succeeded at 475 (offset -5 lines).
Hunk #6 succeeded at 481 (offset -11 lines).
Hunk #7 FAILED at 489.
Hunk #8 succeeded at 515 (offset -5 lines).
Hunk #9 FAILED at 535.
Hunk #10 succeeded at 540 (offset -17 lines).
Hunk #11 succeeded at 1256 (offset -58 lines).
2 out of 11 hunks FAILED -- saving rejects to file pc87360.c.rej
Yeah, sorry. The patch was against CVS, not 2.8.7. (Great you could fix the conflicts manually.)
BTW I'd invite you to upgrade to 2.8.8 as soon as it is released (within a few days now) or CVS if you are impatient. There are significant improvements for the pc87360 drivers (including VID support if your motherboard offers that).
Signature · 2 lines
Jean Delvare http://khali.linux-fr.org/