Everything compiled fine. Computer hangs when i try sensors -s. Regards and thanks in advance, -Eduardo ********************************************************************************** dogbert ~ # uname -sr Linux 2.6.18-gentoo-r3-edu09 ********************************************************************************** dogbert ~ # sensors-detect # sensors-detect revision 1.413 (2006/01/19 20:28:00) This program will help you determine which I2C/SMBus modules you need to load to use lm_sensors most effectively. You need to have i2c and lm_sensors installed before running this program. Also, you need to be `root', or at least have access to the /dev/i2c-* files, for most things. 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. It is generally safe and recommended to accept the default answers to all questions, unless you know what you're doing. 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-i801' for device 00:1f.3: Intel ICH7 Probe succesfully concluded. We will now try to load each adapter module in turn. Module `i2c-i801' already loaded. If you have undetectable or unsupported adapters, you can have them scanned by manually loading the modules before running this script. 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). Next adapter: NVIDIA i2c adapter 2 at 1:00.0 Do you want to scan it? (YES/no/selectively): Client found at address 0x50 Probing for `SPD EEPROM'... Success! (confidence 1, driver `eeprom') Probing for `DDC monitor'... Success! (confidence 8, driver `eeprom'), other addresses: 0x51 0x52 0x53 0x54 0x55 0x56 0x57 Probing for `Maxim MAX6900'... Failed! Next adapter: NVIDIA i2c adapter 1 at 1:00.0 Do you want to scan it? (YES/no/selectively): Next adapter: NVIDIA i2c adapter 0 at 1:00.0 Do you want to scan it? (YES/no/selectively): Next adapter: SMBus I801 adapter at 10c0 Do you want to scan it? (YES/no/selectively): Client found at address 0x08 Client found at address 0x30 Client found at address 0x50 Probing for `SPD EEPROM'... Success! (confidence 8, driver `eeprom') Probing for `DDC monitor'... Failed! Probing for `Maxim MAX6900'... Failed! Client found at address 0x69 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. This is usually safe though. 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 W83627EHF' 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 IT8712F' Trying address 0x0290... Failed! Probing for `ITE IT8705F / SiS 950' Trying address 0x0290... Failed! Probing for `IPMI BMC KCS' Trying address 0x0ca0... Failed! Probing for `IPMI BMC SMIC' Trying address 0x0ca8... Failed! Some Super I/O chips may also contain sensors. Super I/O probes are typically a bit more dangerous, as we have to write to I/O ports to do this. This is usually safe though. Do you want to scan for Super I/O sensors? (YES/no): Probing for `ITE 8702F Super IO Sensors' Failed! (0x2803) Probing for `ITE 8705F Super IO Sensors' Failed! (0x2803) Probing for `ITE 8712F Super IO Sensors' Failed! (0x2803) Probing for `Nat. Semi. PC87351 Super IO Fan Sensors' Failed! (0x28) Probing for `Nat. Semi. PC87360 Super IO Fan Sensors' Failed! (0x28) Probing for `Nat. Semi. PC87363 Super IO Fan Sensors' Failed! (0x28) Probing for `Nat. Semi. PC87364 Super IO Fan Sensors' Failed! (0x28) Probing for `Nat. Semi. PC87365 Super IO Fan Sensors' Failed! (0x28) Probing for `Nat. Semi. PC87365 Super IO Voltage Sensors' Failed! (0x28) Probing for `Nat. Semi. PC87365 Super IO Thermal Sensors' Failed! (0x28) Probing for `Nat. Semi. PC87366 Super IO Fan Sensors' Failed! (0x28) Probing for `Nat. Semi. PC87366 Super IO Voltage Sensors' Failed! (0x28) Probing for `Nat. Semi. PC87366 Super IO Thermal Sensors' Failed! (0x28) Probing for `Nat. Semi. PC87372 Super IO Fan Sensors' Failed! (0x28) Probing for `Nat. Semi. PC87373 Super IO Fan Sensors' Failed! (0x28) Probing for `Nat. Semi. PC87591 Super IO' Failed! (0x28) Probing for `Nat. Semi. PC87371 Super IO' Failed! (0x28) Probing for `Nat. Semi. PC97371 Super IO' Failed! (0x28) Probing for `Nat. Semi. PC8739x Super IO' Failed! (0x28) Probing for `Nat. Semi. PC8741x Super IO' Failed! (0x28) Probing for `Nat. Semi. PCPC87427 Super IO' Failed! (0x28) Probing for `SMSC 47B27x Super IO Fan Sensors' Failed! (0x28) Probing for `SMSC 47M10x/13x Super IO Fan Sensors' Failed! (0x28) Probing for `SMSC 47M14x Super IO Fan Sensors' Failed! (0x28) Probing for `SMSC 47M15x/192/997 Super IO Fan Sensors' Failed! (0x28) Probing for `SMSC 47S42x Super IO Fan Sensors' Failed! (0x28) Probing for `SMSC 47S45x Super IO Fan Sensors' Failed! (0x28) Probing for `SMSC 47M172 Super IO' Failed! (0x28) Probing for `SMSC LPC47B397-NC Super IO' Failed! (0x28) Probing for `SMSC SCH5307-NS Super IO' Failed! (0x28) Probing for `VT1211 Super IO Sensors' Failed! (skipping family) Probing for `Winbond W83627EHF/EHG Super IO Sensors' Failed! (skipping family) Do you want to scan for secondary Super I/O sensors? (YES/no): Probing for `ITE 8702F Super IO Sensors' Failed! (skipping family) Probing for `Nat. Semi. PC87351 Super IO Fan Sensors' Failed! (skipping family) Probing for `SMSC 47B27x Super IO Fan Sensors' Failed! (skipping family) Probing for `VT1211 Super IO Sensors' Failed! (skipping family) Probing for `Winbond W83627EHF/EHG Super IO Sensors' Failed! (skipping family) Now follows a summary of the probes I have just done. Just press ENTER to continue: Driver `eeprom' (should be inserted): Detects correctly: * Bus `NVIDIA i2c adapter 2 at 1:00.0' Busdriver `UNKNOWN', I2C address 0x50 (and 0x51 0x52 0x53 0x54 0x55 0x56 0x57) Chip `DDC monitor' (confidence: 8) * Bus `SMBus I801 adapter at 10c0' Busdriver `i2c-i801', I2C address 0x50 Chip `SPD EEPROM' (confidence: 8) I will now generate the commands needed to load the I2C modules. If you want to load the modules at startup, generate a config file below and make sure lm_sensors gets started at boot time; e.g $ rc-update add lm_sensors default To make the sensors modules behave correctly, add these lines to /etc/modules.d/lm_sensors and run modules-update: #----cut here---- # I2C module options alias char-major-89 i2c-dev #----end cut here---- WARNING! If you have some things built into your kernel, the list above will contain too many modules. Skip the appropriate ones! You really should try these commands right now to make sure everything is working properly. Monitoring programs won't work until it's done. To load everything that is needed, execute the commands below... #----cut here---- # I2C adapter drivers # modprobe unknown adapter NVIDIA i2c adapter 0 at 1:00.0 # modprobe unknown adapter NVIDIA i2c adapter 1 at 1:00.0 # modprobe unknown adapter NVIDIA i2c adapter 2 at 1:00.0 modprobe i2c-i801 # I2C chip drivers modprobe eeprom # sleep 2 # optional /usr/bin/sensors -s # recommended #----end cut here---- Do you want to overwrite /etc/conf.d/lm_sensors? Enter s to specify other file name? (yes/NO/s): ******************************************************************************* VAR LOG MESSAGES Dec 18 13:33:40 dogbert eeprom 3-0050: Starting eeprom update, slice 0 Dec 18 13:33:40 dogbert BUG: unable to handle kernel NULL pointer dereference at virtual address 00000000 Dec 18 13:33:40 dogbert printing eip: Dec 18 13:33:40 dogbert e10684e6 Dec 18 13:33:40 dogbert *pde = 00000000 Dec 18 13:33:40 dogbert Oops: 0000 [#1] Dec 18 13:33:40 dogbert SMP Dec 18 13:33:40 dogbert Modules linked in: eeprom i2c_dev rtc eth1394 nvidia ohci1394 b44 ieee1394 sdhci mii mmc_core snd_hda_intel snd_hda_codec snd_pcm ehci_hcd uhci_hcd snd_timer snd i2c_i801 usbcore soundcore i2c_core snd_page_alloc Dec 18 13:33:40 dogbert CPU: 0 Dec 18 13:33:40 dogbert EIP: 0060:[<e10684e6>] Tainted: P VLI Dec 18 13:33:40 dogbert EFLAGS: 00010246 (2.6.18-gentoo-r3-edu09 #1) Dec 18 13:33:40 dogbert eax: 00000000 ebx: 00000000 ecx: 006013d5 edx: 00000000 Dec 18 13:33:40 dogbert esi: 00000000 edi: db14a000 ebp: cab91dac esp: cab91d94 Dec 18 13:33:40 dogbert ds: 007b es: 007b ss: 0068 Dec 18 13:33:40 dogbert Process sensors (pid: 6730, ti=cab90000 task=ccfb5030 task.ti=cab90000) Dec 18 13:33:40 dogbert Stack: db14a000 dd27b800 ddc35200 0000001f db14a000 dd27b800 cab91e1c e0e469fc Dec 18 13:33:40 dogbert dd27b800 db14a000 00000002 000000a0 00000001 00000000 cab91e1c e0e469d6 Dec 18 13:33:40 dogbert dd27b800 db14a000 00000000 00000080 de4d6000 00000000 00000000 c037a120 Dec 18 13:33:40 dogbert Call Trace: Dec 18 13:33:40 dogbert [<e0e469fc>] [<e0e469d6>] [<e10c369c>] [<c0110f46>] [<e0804358>] [<c014defb>] [<c015d645>] [<c015e131>] [<e08049c1>] [<e095f440>] [<c0185070>] [<c014fdbb>] [<c0184fd6>] [<c0150266>] [<c0102b01>] <0>Code: 50 57 8b 55 08 52 8b 87 28 03 00 00 ff d0 83 c4 20 85 c0 0f 95 c3 31 f6 3b 75 18 73 3c 84 db 75 38 8d 74 26 00 0f b6 db 8b 55 1c <0f> b6 04 16 50 8b 45 10 50 57 8b 55 08 52 8b 87 28 03 00 00 ff Dec 18 13:33:40 dogbert EIP: [<e10684e6>] SS:ESP 0068:cab91d94 ********************************************************************************** dogbert ~ # lspci -n 00:00.0 0600: 8086:27a0 (rev 03) 00:01.0 0604: 8086:27a1 (rev 03) 00:1b.0 0403: 8086:27d8 (rev 01) 00:1c.0 0604: 8086:27d0 (rev 01) 00:1c.1 0604: 8086:27d2 (rev 01) 00:1c.3 0604: 8086:27d6 (rev 01) 00:1d.0 0c03: 8086:27c8 (rev 01) 00:1d.1 0c03: 8086:27c9 (rev 01) 00:1d.2 0c03: 8086:27ca (rev 01) 00:1d.3 0c03: 8086:27cb (rev 01) 00:1d.7 0c03: 8086:27cc (rev 01) 00:1e.0 0604: 8086:2448 (rev e1) 00:1f.0 0601: 8086:27b9 (rev 01) 00:1f.2 0101: 8086:27c4 (rev 01) 00:1f.3 0c05: 8086:27da (rev 01) 01:00.0 0300: 10de:01d8 (rev a1) 03:00.0 0200: 14e4:170c (rev 02) 03:01.0 0c00: 1180:0832 03:01.1 0805: 1180:0822 (rev 19) 03:01.2 0880: 1180:0843 (rev 01) 03:01.3 0880: 1180:0592 (rev 0a) 03:01.4 0880: 1180:0852 (rev 05) 0c:00.0 0280: 8086:4222 (rev 02) dogbert ~ # lspci 00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS/940GML and 945GT Express Memory Controller Hub (rev 03) 00:01.0 PCI bridge: Intel Corporation Mobile 945GM/PM/GMS/940GML and 945GT Express PCI Express Root Port (rev 03) 00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01) 00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01) 00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 01) 00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 01) 00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 01) 00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #2 (rev 01) 00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #3 (rev 01) 00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #4 (rev 01) 00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01) 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e1) 00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 01) 00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) Serial ATA Storage Controller IDE (rev 01) 00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01) 01:00.0 VGA compatible controller: nVidia Corporation GeForce Go 7400 (rev a1) 03:00.0 Ethernet controller: Broadcom Corporation BCM4401-B0 100Base-TX (rev 02) 03:01.0 FireWire (IEEE 1394): Ricoh Co Ltd Unknown device 0832 03:01.1 Class 0805: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 19) 03:01.2 System peripheral: Ricoh Co Ltd Unknown device 0843 (rev 01) 03:01.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 0a) 03:01.4 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 05) 0c:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02) ************************************************************************* dogbert ~ # lsmod Module Size Used by eeprom 3472 0 i2c_dev 6020 0 rtc 6708 0 eth1394 12164 0 nvidia 4371764 33 ohci1394 25520 0 b44 16396 0 ieee1394 55608 2 eth1394,ohci1394 mii 3456 1 b44 sdhci 11532 0 mmc_core 11392 1 sdhci snd_hda_intel 9496 0 snd_hda_codec 126592 1 snd_hda_intel snd_pcm 45572 2 snd_hda_intel,snd_hda_codec snd_timer 12548 1 snd_pcm snd 24696 4 snd_hda_intel,snd_hda_codec,snd_pcm,snd_timer soundcore 4192 1 snd ehci_hcd 21256 0 snd_page_alloc 4872 2 snd_hda_intel,snd_pcm uhci_hcd 15496 0 usbcore 78084 3 ehci_hcd,uhci_hcd i2c_i801 7692 0 i2c_core 12032 4 eeprom,i2c_dev,nvidia,i2c_i801 dogbert ~ # *********************************************************************************** dogbert ~ # i2cdetect Error: No i2c-bus specified! Syntax: i2cdetect [-y] [-a] [-q|-r] I2CBUS [FIRST LAST] i2cdetect -l i2cdetect -V I2CBUS is an integer With -a, probe all addresses (NOT RECOMMENDED) With -q, uses only quick write commands for probing (NOT RECOMMENDED) With -r, uses only read byte commands for probing (NOT RECOMMENDED) If provided, FIRST and LAST limit the probing range. With -l, lists installed busses only Installed I2C busses: i2c-3 i2c NVIDIA i2c adapter 2 at 1:00.0 i2c-2 i2c NVIDIA i2c adapter 1 at 1:00.0 i2c-1 i2c NVIDIA i2c adapter 0 at 1:00.0 i2c-0 smbus SMBus I801 adapter at 10c0 ************************************************************************************