PII4X/Compaq ProLiant ML370 G2 server (fwd)
Andreas Strodl wrote:
From [email protected] Tue Jan 28 17:37:37 2003
Received: by morannon.frodo.local (8.11.3/8.11.3) id h0SGbaq25556 ; Tue, 28 Jan 2003 17:37:37 +0100
Return-Path: <[email protected]>
Received: from pop3.dds.nl [213.196.1.204]
by localhost with POP3 (fetchmail-6.2.0) for frodo@localhost (single-drop); Tue, 28 Jan 2003 17:37:37 +0100 (CET)
Received: (qmail-ldap/ctrl 17015 invoked from network); 28 Jan 2003 16:25:54 -0000
Received: from void.at (HELO moon.void.at) ([212.88.181.16]) (envelope-sender <[email protected]>)
by dds.nl (qmail-ldap-1.03) with SMTP
for <[email protected]>; 28 Jan 2003 16:25:54 -0000
Received: by moon.void.at (Postfix, from userid 1000)
id 3890137E48; Tue, 28 Jan 2003 17:23:31 +0100 (CET)
Date: Tue, 28 Jan 2003 17:23:31 +0100
From: Andreas Strodl <[email protected]>
To: Frodo Looijaard <[email protected]>
Cc: Philip Edelbrock <[email protected]>
Subject: PII4X/Compaq ProLiant ML370 G2 server
Message-ID: <[email protected]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.28i
X-Loop-Procmail: PreventLoop
Hi,
I'm trying to use lm_sensors package with your i2c-piix4 module. Compile and everything works fine but when I insert the module i get:
i2c-piix4.o: init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters
dmesg says:
i2c-piix4.o: SMB base address uninitialized - upgrade BIOS or use force_addr=0xaddr
i2c-piix4.o: Module insertion failed.
I've already search through google and found no solution. Its a Compaq ProLiant ML370 G2 server. It seems ServerWorks has been loaded correctly:
ServerWorks OSB4: IDE controller on PCI bus 00 dev 79 ServerWorks OSB4: chipset revision 0
ServerWorks OSB4: not 100% native mode: will probe irqs later
I've already updated to
Systems ROMPaq Firmware Upgrade Diskette for Compaq ProLiant ML370 G2 (P25) Servers version 4.04 A (5 Sep 02), but nothing hase changed.
sensor-detect also fails...
and I've tried latest cvs version too... ;)
any Ideas?
so long,
Andrew
Signature · 4 lines
Frodo Looijaard <[email protected]> PGP key and more: http://huizen.dds.nl/~frodol Defenestration n. (formal or joc.): The act of removing Windows from your computer in disgust, usually followed by the installation of Linux or some other Unix-like operating system.
Quoted 4 lines
i2c-piix4.o:
init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters
Do you have any reason (docs, specs, whatever) to believe there actually is a PIIX4 controler in this machine ?
Signature · 2 lines
Jean Delvare http://www.ensicaen.ismra.fr/~delvare/
*** PLEASE REPLY TO THE LIST, NOT TO ME ***
(There are lots of people there, much better qualified than I am to solve the problem.)
Quoted 3 lines
http://secure.netroedge.com/~lm78/supported.html
=>
ServerWorks OSB4, CSB5 i2c-piix4
OK, so it must be there. Since you have already updated the BIOS, you are supposed to force the address. The problems are, that we have to find the address, and that the procedure is known to be extremely dangerous.
First thing, could you issue a "lspci" (or "cat /proc/pci") and see if you can find an entry for the PIIX4. I got a Compaq desktop system here, which says:
00:14.3 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ACPI (rev 01)
Flags: medium devsel, IRQ 9
That's what you are looking for. The function must be 3.
From our docs (busses/piix4):
On some computers (most notably, some Dells), the SMBus is disabled by default. If you use the insmod parameter 'force=1', the kernel module
will try to enable it. THIS IS VERY DANGEROUS! If the BIOS did not
set up a correct address for this module, you could get in big trouble (read: crashes, data corruption, etc.). Try this only as a last resort (try BIOS updates first, for example), and backup first! An even more dangerous option is 'force_addr=<IOPORT>'. This will not only enable the PIIX4 like 'force' foes, but it will also set a new base I/O port address.
The SMBus parts of the PIIX4 needs a range of 8 of these addresses to function correctly. If these addresses are already reserved by some other
device, you will get into big trouble! DON'T USE THIS IF YOU ARE NOT VERY
SURE ABOUT WHAT YOU ARE DOING!
So be very careful. I'd suggest you wait a bit so that Mark gets a chance to answer, I think he knows the PIIX4 better than anyone here and may have some precious piece of advice for you.
(From previous mail)
Quoted 1 line
sensor-detect also fails...
How does it fail?
Signature · 2 lines
Jean Delvare http://www.ensicaen.ismra.fr/~delvare/
Quoted 15 lines · Jean Delvare
*** PLEASE REPLY TO THE LIST, NOT TO ME ***
(There are lots of people there, much better qualified than I am to solve the problem.)Quoted 3 lines
http://secure.netroedge.com/~lm78/supported.html
=>
ServerWorks OSB4, CSB5 i2c-piix4OK, so it must be there. Since you have already updated the BIOS, you are supposed to force the address. The problems are, that we have to find the address, and that the procedure is known to be extremely dangerous.
Quoted 8 lines
First thing, could you issue a "lspci" (or "cat
/proc/pci") and see if you can find an entry for the PIIX4. I got a Compaq desktop system here, which says:00:14.3 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ACPI (rev 01)
Flags: medium devsel, IRQ 9That's what you are looking for. The function must be 3.
I've already read busses/i2c-piix4 and tried force and force_addr... no success...
Quoted 23 lines
Quoted 2 lines
From our docs (busses/piix4):
On some computers (most notably, some Dells), the SMBus is disabled by default. If you use the insmod parameter 'force=1', the kernel module
will try to enable it. THIS IS VERY DANGEROUS! If the BIOS did not
set up a correct address for this module, you could get in big trouble (read: crashes, data corruption, etc.). Try this only as a last resort (try BIOS updates first, for example), and backup first! An even more dangerous option is 'force_addr=<IOPORT>'. This will not only enable the PIIX4 like 'force' foes, but it will also set a new base I/O port address.
The SMBus parts of the PIIX4 needs a range of 8 of these addresses to function correctly. If these addresses are already reserved by some other
device, you will get into big trouble! DON'T USE THIS IF YOU ARE NOT VERY
SURE ABOUT WHAT YOU ARE DOING!So be very careful. I'd suggest you wait a bit so that Mark gets a chance to answer, I think he knows the PIIX4 better than anyone here and may have some precious piece of advice for you.
Quoted 5 lines
(From previous mail)
Quoted 1 line
sensor-detect also fails...
How does it fail?
This program will help you to determine which I2C/SMBus modules you
need to
load to use lm_sensors most effectively.
You need to have done a make install', issued a depmod -a' and made
sure
/etc/conf.modules' (or /etc/modules.conf') contains the appropriate module path before you can use some functions of this utility. Read doc/modules for more information.
Also, you need to be `root', or at least have access to the
/dev/i2c[-/]* files
for some things. You can use prog/mkdev/mkdev.sh to create these /dev
files
if you do not have them already.
If you have patched your kernel and have some drivers built-in you can safely answer NO if asked to load some modules. In this case, things
may
seem a bit confusing, but they will still work.
BIOS vendor (ACPI): COMPAQ
System vendor (DMI): Compaq
BIOS version (DMI): P25
We can start with probing for (PCI) I2C or SMBus adapters. You do not need any special privileges for this.
Do you want to probe now? (YES/no):
Probing for PCI bus adapters...
Use driver `i2c-piix4' for device 00:0f.0: ServerWorks OSB4 South Bridge Probe succesfully concluded.
We will now try to load each adapter module in turn.
Load `i2c-piix4' (say NO if built into your kernel)? (YES/no):/lib/modules/2.4.20/kernel/drivers/i2c/busses/i2c-piix4.o: init_module:
No such device
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters /lib/modules/2.4.20/kernel/drivers/i2c/busses/i2c-piix4.o: insmod /lib/modules/2.4.20/kernel/drivers/i2c/busses/i2c-piix4.o failed /lib/modules/2.4.20/kernel/drivers/i2c/i2c-piix4.o: init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters /lib/modules/2.4.20/kernel/drivers/i2c/i2c-piix4.o: insmod /lib/modules/2.4.20/kernel/drivers/i2c/i2c-piix4.o failed /lib/modules/2.4.20/kernel/drivers/i2c/i2c-piix4.o: insmod i2c-piix4 failed
Loading failed... skipping.
Do you now want to be prompted for non-detectable adapters? (yes/NO):
NO
To continue, we need module `i2c-dev' to be loaded.
If it is built-in into your kernel, you can safely skip this.
i2c-dev is already loaded.
We are now going to do the adapter probings. Some adapters may hang
halfway
through; we can't really help that. Also, some chips will be double
detected;
we choose the one with the highest confidence value in that case. If you found that the adapter hung after probing a certain address, you
can
specify that address to remain unprobed. That often includes address 0x69 (clock chip).
Segmentation fault
so long,
Andrew
Quoted 10 lines · Jean Delvare
Quoted 5 lines
If you found that the adapter hung after probing a certain address, you can
specify that address to remain unprobed. That often includes address0x69(clock chip).
Segmentation faultStrange. Never seen that before. Perl itself would be segfaulting. Could you please tell me which distribution you are running, and which version of Perl is used?
Quoted 11 lines
Do you have any way to get a core dumped (ulimit -c unlimited could help)?
May I send you a modified version of the script with some extra prints to try and locate the problem?
Thanks.
Signature · 2 lines
Jean Delvare http://www.ensicaen.ismra.fr/~delvare/
Hi,
the segfault was because of cat'ing /proc/bus/i2c-0... even a rmmod and insmod again hadnt worked so I rebooted the machine and ran the detect tool again:
This program will help you to determine which I2C/SMBus modules you
need to
load to use lm_sensors most effectively.
You need to have done a make install', issued a depmod -a' and made
sure
/etc/conf.modules' (or /etc/modules.conf') contains the appropriate module path before you can use some functions of this utility. Read doc/modules for more information.
Also, you need to be `root', or at least have access to the
/dev/i2c[-/]* files
for some things. You can use prog/mkdev/mkdev.sh to create these /dev
files
if you do not have them already.
If you have patched your kernel and have some drivers built-in you can safely answer NO if asked to load some modules. In this case, things
may
seem a bit confusing, but they will still work.
BIOS vendor (ACPI): COMPAQ
System vendor (DMI): Compaq
BIOS version (DMI): P25
We can start with probing for (PCI) I2C or SMBus adapters. You do not need any special privileges for this.
Do you want to probe now? (YES/no): YES
Probing for PCI bus adapters...
Use driver `i2c-piix4' for device 00:0f.0: ServerWorks OSB4 South Bridge Probe succesfully concluded.
We will now try to load each adapter module in turn.
Load `i2c-piix4' (say NO if built into your kernel)? (YES/no): YES /lib/modules/2.4.20/kernel/drivers/i2c/busses/i2c-piix4.o: init_module:
No such
device
Hint: insmod errors can be caused by incorrect module parameters, including inva
lid IO or IRQ parameters /lib/modules/2.4.20/kernel/drivers/i2c/busses/i2c-piix4.o: insmod /lib/modules/2.4.20/kernel/drivers/i2c/busses/i2c-piix4.o failed /lib/modules/2.4.20/kernel/drivers/i2c/i2c-piix4.o: init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including inva
lid IO or IRQ parameters /lib/modules/2.4.20/kernel/drivers/i2c/i2c-piix4.o: insmod /lib/modules/2.4.20/kernel/drivers/i2c/i2c-piix4.o failed /lib/modules/2.4.20/kernel/drivers/i2c/i2c-piix4.o: insmod i2c-piix4 failed
Loading failed... skipping.
Do you now want to be prompted for non-detectable adapters? (yes/NO):
To continue, we need module `i2c-dev' to be loaded.
If it is built-in into your kernel, you can safely skip this. i2c-dev is not loaded. Do you want to load it now? (YES/no):
Module loaded succesfully.
We are now going to do the adapter probings. Some adapters may hang
halfway
through; we can't really help that. Also, some chips will be double
detected;
we choose the one with the highest confidence value in that case. If you found that the adapter hung after probing a certain address, you
can
specify that address to remain unprobed. That often includes address 0x69 (clock chip).
Some chips are also accessible through the ISA bus. ISA probes are typically a bit more dangerous, as we have to write to I/O ports to do this. Do you want to scan the ISA bus? (YES/no):
Probing for `National Semiconductor LM78'
Trying address 0x0290... Failed!
Probing for `National Semiconductor LM78-J'
Trying address 0x0290... Failed!
Probing for `National Semiconductor LM79'
Trying address 0x0290... Failed!
Probing for `Winbond W83781D'
Trying address 0x0290... Failed!
Probing for `Winbond W83782D'
Trying address 0x0290... Failed!
Probing for `Winbond W83627HF'
Trying address 0x0290... Failed!
Probing for `Winbond W83697HF'
Trying address 0x0290... Failed!
Probing for `Silicon Integrated Systems SIS5595'
Trying general detect... Failed!
Probing for `VIA Technologies VT82C686 Integrated Sensors'
Trying general detect... Failed!
Probing for `VIA Technologies VT8231 Integrated Sensors'
Trying general detect... Failed!
Probing for `ITE IT8705F / IT8712F / SiS 950'
Trying address 0x0290... Failed!
Probing for `IPMI BMC KCS'
Trying address 0x0ca0... Failed!
Probing for `IPMI BMC SMIC'
Trying address 0x0ca8... Failed!
Sorry, no chips were detected.
Either your sensors are not supported, or they are connected to an I2C bus adapter that we do not support. See doc/FAQ, doc/lm_sensors-FAQ.html, or
http://www2.lm-sensors.nu/~lm78/cvs/lm_sensors2/doc/lm_sensors-FAQ.html
(FAQ #4.24.3) for further information.
If you find out what chips are on your board, see
http://secure.netroedge.com/~lm78/newdrivers.html for driver status.
lspci output:
00:00.0 Host bridge: ServerWorks CNB20HE Host Bridge (rev 23) 00:00.1 Host bridge: ServerWorks CNB20HE Host Bridge (rev 01) 00:00.2 Host bridge: ServerWorks: Unknown device 0006 (rev 01) 00:00.3 Host bridge: ServerWorks: Unknown device 0006 (rev 01) 00:01.0 RAID bus controller: Compaq Computer Corporation Smart Array 5i/532 (rev 01)
00:02.0 Ethernet controller: Intel Corp. 82557 [Ethernet Pro 100] (rev
08)
00:05.0 VGA compatible controller: ATI Technologies Inc Rage XL (rev 27) 00:06.0 System peripheral: Compaq Computer Corporation Advanced System Management Controller
00:0f.0 ISA bridge: ServerWorks OSB4 South Bridge (rev 51) 00:0f.1 IDE interface: ServerWorks OSB4 IDE Controller 01:02.0 SCSI storage controller: Adaptec 7899A (rev 01) 01:02.1 SCSI storage controller: Adaptec 7899A (rev 01) 07:07.0 PCI Hot-plug controller: Compaq Computer Corporation PCI Hotplug Controller (rev 12)
so long,
Andrew
Quoted 5 lines
If you found that the adapter hung after probing a certain address, you can
specify that address to remain unprobed. That often includes address0x69(clock chip).
Segmentation fault
Strange. Never seen that before. Perl itself would be segfaulting. Could you please tell me which distribution you are running, and which version of Perl is used?
Do you have any way to get a core dumped (ulimit -c unlimited could help)?
May I send you a modified version of the script with some extra prints to try and locate the problem?
Thanks.
Signature · 2 lines
Jean Delvare http://www.ensicaen.ismra.fr/~delvare/