Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
lm-sensors
View unanswered posts
View posts from last 24 hours

Goto page 1, 2, 3  Next  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
jmja89
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jun 2005
Posts: 144

PostPosted: Sun Jun 04, 2006 6:03 pm    Post subject: lm-sensors Reply with quote

whenver I try to run sensros, it spits out complaints that it cant access procfs/sysfs files. The lm_sensors web page FAQ says that this is because either sysfs is not mounted or i2c-sensors module is not loaded. Well, sysfs is mounted (/sys is populated) so it must be that i2c-sensors is not loaded. The only problem is that I can not find anywhere in the kernel config to create a module called i2c-sensors (I have gentoo-sources-2.6.16-r8) so what am I supposed to do? Others have posted about his or with similar complaints, but I have not found any solutions out there. Is there a solution?
Back to top
View user's profile Send private message
Philantrop
Retired Dev
Retired Dev


Joined: 21 Dec 2004
Posts: 1130
Location: Germany

PostPosted: Sun Jun 04, 2006 6:11 pm    Post subject: Reply with quote

You'll find the i2c devices in menuconfig under "Device Drivers" / "I2C support" / "I2C Hardware Bus support" and some more under "Miscellaneous I2C Chip support".
Back to top
View user's profile Send private message
jmja89
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jun 2005
Posts: 144

PostPosted: Sun Jun 04, 2006 6:19 pm    Post subject: Reply with quote

yes, I HVE those, but none are i2c-sensors, in fact I have EVERYTHING under i2c and hardware sensors built in as modules
Back to top
View user's profile Send private message
Philantrop
Retired Dev
Retired Dev


Joined: 21 Dec 2004
Posts: 1130
Location: Germany

PostPosted: Sun Jun 04, 2006 6:39 pm    Post subject: Reply with quote

Ok, then run "sensors-detect" and load the hardware-specific modules it suggests. There is no "i2c-sensors" module but those bus support modules.

I have the following modules loaded, for example:
Code:
it87
i2c_isa
i2c_viapro
eeprom

Without any drivers, sensors can't tell you anything of course. No arms, no cookies.
Back to top
View user's profile Send private message
jmja89
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jun 2005
Posts: 144

PostPosted: Sun Jun 04, 2006 8:21 pm    Post subject: Reply with quote

no, no, no you guys do not understand, perhaps I am not being clear. I HAVE run sensors-detect, I HAVE the appropriate interface modules loaded, I HAVE followed set-up instructions, I HAVE included every possible module in the kernel, the FAQ on http://www2.lm-sensors.nu/~lm78/cvs/lm_sensors2/doc/lm_sensors-FAQ.html specifically says that i2c_sensor is needed (4.20) but this module does not exist in the kernel. THAT is my problem, in order for it to work it says it needs a non-existant module to be loaded.
Back to top
View user's profile Send private message
Philantrop
Retired Dev
Retired Dev


Joined: 21 Dec 2004
Posts: 1130
Location: Germany

PostPosted: Sun Jun 04, 2006 8:32 pm    Post subject: Reply with quote

Ok, I'm sorry. My lm_sensors package works perfectly fine without loading a module called "i2c_sensor" that doesn't even exist in recent 2.6 kernels (I've checked your kernel version, too. :) ) and that isn't part of the lm_sensors package itself.

I've never made the acquaintance of that evasive module and I think I never will (and thus can't help you) but I wish you the best of luck hunting down that invisible beast. :)
Back to top
View user's profile Send private message
linuxtuxhellsinki
l33t
l33t


Joined: 15 Nov 2004
Posts: 700
Location: Hellsinki

PostPosted: Sun Jun 04, 2006 10:13 pm    Post subject: Reply with quote

I've also problems with starting lm_sensors and I don't know why :?:
Code:
mandrake ~ # /etc/init.d/lm_sensors start
 * Loading lm_sensors modules...
 *   Loading i2c-isa ...                                         [ ok ]
 *   Loading eeprom ...                                         [ ok ]
 *   Loading smsc47m1 ...                                        [ ok ]
 * Initializing sensors ...                                        [ !! ]
mandrake ~ # echo $?
1
mandrake ~ # lsmod
Module                  Size  Used by
smsc47m1                9220  0
eeprom                  7056  0
i2c_isa                 4736  1 smsc47m1
mandrake ~ # lspci
00:00.0 Host bridge: Intel Corporation 82845 845 (Brookdale) Chipset Host Bridge (rev 03)
00:01.0 PCI bridge: Intel Corporation 82845 845 (Brookdale) Chipset AGP Bridge (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 12)
00:1f.0 ISA bridge: Intel Corporation 82801BA ISA Bridge (LPC) (rev 12)
00:1f.1 IDE interface: Intel Corporation 82801BA IDE U100 (rev 12)
00:1f.2 USB Controller: Intel Corporation 82801BA/BAM USB (Hub #1) (rev 12)
00:1f.3 SMBus: Intel Corporation 82801BA/BAM SMBus (rev 12)

Edit : This is from /var/log/messages
Code:
Jun  5 01:04:14 mandrake smsc47m1: Found SMSC LPC47M10x/LPC47M13x
Jun  5 01:04:14 mandrake : Device is not configured, will not use

So do I've to configure it some way :?:
_________________
1st use 'Search' & lastly add [Solved] to
the subject of your first post in the thread.
Back to top
View user's profile Send private message
Philantrop
Retired Dev
Retired Dev


Joined: 21 Dec 2004
Posts: 1130
Location: Germany

PostPosted: Sun Jun 04, 2006 10:37 pm    Post subject: Reply with quote

Take a look at /etc/sensors.conf, edit it as needed and try again.

If it doesn't work, try running
Code:
/usr/bin/sensors -s
manually to see what it complains about.
Back to top
View user's profile Send private message
jmja89
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jun 2005
Posts: 144

PostPosted: Sun Jun 04, 2006 10:40 pm    Post subject: Reply with quote

I have done this, if you are talking to me that is, and the smae problem results. Unfortunatly, linuxtuxhellsinki has somewhat hijacked my thread with an unrealted issue with lm_sensors.
Back to top
View user's profile Send private message
Philantrop
Retired Dev
Retired Dev


Joined: 21 Dec 2004
Posts: 1130
Location: Germany

PostPosted: Sun Jun 04, 2006 11:08 pm    Post subject: Reply with quote

jmja89 wrote:
I have done this, if you are talking to me that is, and the smae problem results. Unfortunatly, linuxtuxhellsinki has somewhat hijacked my thread with an unrealted issue with lm_sensors.


Well, I think I made it abundantly clear that I did not wish to continue discussing about existance in general and "i2c-sensors" specifically. So I would call it a resurrection of the thread. ;-)

Anyway, one more attempt if you promise not to mention that module-we-won't-talk-about. :-)

So, you have everything i2c compiled as modules and your sysfs is mounted and working? Then please try to
Code:
modprobe i2c-core
Does it find the module?

If so, then modprobe just one hardware-specific module and try running "sensors -s" again and post here what it says.
Back to top
View user's profile Send private message
jmja89
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jun 2005
Posts: 144

PostPosted: Sun Jun 04, 2006 11:25 pm    Post subject: Reply with quote

I have i2c-core built-in, in fact I cannot modularize it as it is required for another thing I have built-in (I believe it has to do with i2c access for radeon cards). Yes, I just checked, I have DDC/I2C Support for Radeon Cards builtin and thus both i2c-core and support for i2c bit-banging algorithms are builtin and not modularizable (f that's a word).
Back to top
View user's profile Send private message
Philantrop
Retired Dev
Retired Dev


Joined: 21 Dec 2004
Posts: 1130
Location: Germany

PostPosted: Sun Jun 04, 2006 11:37 pm    Post subject: Reply with quote

Ok, that's fine. Now please modprobe a bus support module of your choice, run "sensors -s" and post the output.
Back to top
View user's profile Send private message
jmja89
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jun 2005
Posts: 144

PostPosted: Sun Jun 04, 2006 11:50 pm    Post subject: Reply with quote

Code:
laptop ~ # lsmod
Module                  Size  Used by
ohci_hcd               19332  0
yenta_socket           24204  2
usbcore               116100  2 ohci_hcd
rsrc_nonstatic         11776  1 yenta_socket
laptop ~ # modprobe i2c-ali1535
laptop ~ # lsmod
Module                  Size  Used by
i2c_ali1535             6276  0
ohci_hcd               19332  0
yenta_socket           24204  2
usbcore               116100  2 ohci_hcd
rsrc_nonstatic         11776  1 yenta_socket
laptop ~ # sensors -s
Can't access procfs/sysfs file
Unable to find i2c bus information;
For 2.6 kernels, make sure you have mounted sysfs and libsensors
was compiled with sysfs support!
For older kernels, make sure you have done 'modprobe i2c-proc'!
Back to top
View user's profile Send private message
Philantrop
Retired Dev
Retired Dev


Joined: 21 Dec 2004
Posts: 1130
Location: Germany

PostPosted: Mon Jun 05, 2006 12:03 am    Post subject: Reply with quote

Please post the following information:

mount

ls -l /sys/bus/i2c

uname -a

ls -l /usr/src/linux

grep "I2C" /usr/src/linux-`uname -r`/.config
Back to top
View user's profile Send private message
jmja89
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jun 2005
Posts: 144

PostPosted: Mon Jun 05, 2006 12:33 am    Post subject: Reply with quote

Code:
laptop ~ # mount
/dev/hda3 on / type ext3 (rw,noatime)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
udev on /dev type tmpfs (rw,nosuid)
devpts on /dev/pts type devpts (rw)
/dev/hda1 on /boot type ext2 (rw,noatime)
none on /dev/shm type tmpfs (rw,noexec,nosuid,nodev)
usbfs on /proc/bus/usb type usbfs (rw,devmode=0664,devgid=85)
laptop ~ # ls -l /sys/bus/i2c
total 0
drwxr-xr-x 2 root root 0 Jun  4 19:23 devices
drwxr-xr-x 4 root root 0 Jun  4 19:24 drivers
laptop ~ # uname -a
Linux laptop 2.6.16-gentoo-r8 #1 PREEMPT Sun Jun 4 06:53:01 CDT 2006 i686 Mobile Intel(R) Celeron(R) CPU 1.60GHz GNU/Linux
laptop ~ # ls -l /usr/src/linux
lrwxrwxrwx 1 root root 22 Jun  1 17:50 /usr/src/linux -> linux-2.6.16-gentoo-r8
laptop ~ # grep "I2C" /usr/src/linux-`uname -r`.config
# I2C support
CONFIG_I2C=y
CONFIG_I2C_CHARDEV=m
# I2C Algorithms
CONFIG_I2C_ALGOBIT=y
CONFIG_I2C_ALGOPCF=m
CONFIG_I2C_ALGOPCA=m
# I2C Hardware Bus support
CONFIG_I2C_ALI1535=m
CONFIG_I2C_ALI1563=m
CONFIG_I2C_ALI15X3=m
CONFIG_I2C_AMD756=m
CONFIG_I2C_AMD756_S4882=m
CONFIG_I2C_AMD8111=m
CONFIG_I2C_ELEKTOR=m
CONFIG_I2C_I801=m
CONFIG_I2C_I810=m
CONFIG_I2C_PIIX4=m
CONFIG_I2C_ISA=m
CONFIG_I2C_NFORCE2=m
CONFIG_I2C_PARPORT=m
# CONFIG_I2C_PARPORT_LIGHT is not set
CONFIG_I2C_PROSAVAGE=m
CONFIG_I2C_SAVAGE4=m
CONFIG_I2C_SIS5595=m
CONFIG_I2C_SIS630=m
CONFIG_I2C_SIS96X=m
# CONFIG_I2C_STUB is not set
CONFIG_I2C_VIA=m
CONFIG_I2C_VIAPRO=m
CONFIG_I2C_VOODOO3=m
CONFIG_I2C_PCA_ISA=m
# Miscellaneous I2C Chip support
CONFIG_RTC_X1205_I2C=m
# CONFIG_I2C_DEBUG_CORE is not set
# CONFIG_I2C_DEBUG_ALGO is not set
# CONFIG_I2C_DEBUG_BUS is not set
# CONFIG_I2C_DEBUG_CHIP is not set
CONFIG_FB_RADEON_I2C=y
Back to top
View user's profile Send private message
guero61
l33t
l33t


Joined: 14 Oct 2002
Posts: 811
Location: Behind you

PostPosted: Mon Jun 05, 2006 3:12 am    Post subject: Reply with quote

I personally found there was a module in "Hardware Monitoring" (lm85) that I hadn't selected to build. Adding that fixed my similar issue.
Back to top
View user's profile Send private message
Philantrop
Retired Dev
Retired Dev


Joined: 21 Dec 2004
Posts: 1130
Location: Germany

PostPosted: Mon Jun 05, 2006 11:39 am    Post subject: Reply with quote

jmja89, please do a
Code:
modprobe i2c-dev
then modprobe your hardware module again and try sensors -s. I think you'll be fixed then.
Back to top
View user's profile Send private message
gRRosminet
n00b
n00b


Joined: 11 Feb 2006
Posts: 19

PostPosted: Mon Jun 12, 2006 9:57 pm    Post subject: Reply with quote

I had the same problem an the only way I have found to solve it is to edit .config file manually

I have ensured all lines below ends with "=m" then I recompiled the kernel and installed it. (I didn't find it in the kernel config menu)
Code:

# Hardware Monitoring support
#
CONFIG_SENSORS_ADM1021=m
CONFIG_SENSORS_ADM1025=m
CONFIG_SENSORS_ADM1026=m
CONFIG_SENSORS_ADM1031=m
CONFIG_SENSORS_ADM9240=m
CONFIG_SENSORS_ASB100=m
CONFIG_SENSORS_ATXP1=m
CONFIG_SENSORS_DS1621=m
CONFIG_SENSORS_F71805F=m
CONFIG_SENSORS_FSCHER=m
CONFIG_SENSORS_FSCPOS=m
CONFIG_SENSORS_GL518SM=m
CONFIG_SENSORS_GL520SM=m
CONFIG_SENSORS_IT87=m
CONFIG_SENSORS_LM63=m
CONFIG_SENSORS_LM75=m
CONFIG_SENSORS_LM77=m
CONFIG_SENSORS_LM78=m
CONFIG_SENSORS_LM80=m
CONFIG_SENSORS_LM83=m
CONFIG_SENSORS_LM85=m
CONFIG_SENSORS_LM87=m
CONFIG_SENSORS_LM90=m
CONFIG_SENSORS_LM92=m
CONFIG_SENSORS_MAX1619=m
CONFIG_SENSORS_PC87360=m
CONFIG_SENSORS_SIS5595=m
CONFIG_SENSORS_SMSC47M1=m
CONFIG_SENSORS_SMSC47B397=m
CONFIG_SENSORS_VIA686A=m
CONFIG_SENSORS_VT8231=m
CONFIG_SENSORS_W83781D=m
CONFIG_SENSORS_W83792D=m
CONFIG_SENSORS_W83L785TS=m
CONFIG_SENSORS_W83627HF=m
CONFIG_SENSORS_W83627EHF=m
CONFIG_SENSORS_HDAPS=m
Back to top
View user's profile Send private message
evan.k
n00b
n00b


Joined: 13 Jun 2006
Posts: 1

PostPosted: Tue Jun 13, 2006 5:44 pm    Post subject: Reply with quote

I am having the exact same problem as jmja89. sensors-detect picks up my sensors, but things still don't work. Here is an example of what I am seeing:

Code:
dev02 ~ # sensors-detect
---- sensors-detect runs ----
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 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): y
Done.

dev02 ~ # cat /etc/modules.d/lm_sensors
# I2C module options
alias char-major-89 i2c-dev

dev02 ~ # modules-update

dev02 ~ # echo $?
0

dev02 ~ # modprobe i2c-i801

dev02 ~ # modprobe eeprom

dev02 ~ # lsmod
Module                  Size  Used by
eeprom                  6160  -
i2c_dev                 7684  -
i2c_i801                8076  -

dev02 ~ # mount
---- some stuff here ----
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
udev on /dev type tmpfs (rw,nosuid)
devpts on /dev/pts type devpts (rw)
---- more stuff here ----

dev02 ~ # sensors -s
Can't access procfs/sysfs file
Unable to find i2c bus information;
For 2.6 kernels, make sure you have mounted sysfs and libsensors
was compiled with sysfs support!
For older kernels, make sure you have done 'modprobe i2c-proc'!


As you can see, I have sysfs and proc mounted, sensors-detect runs fine and picks up modules, and everything is loaded. This is with lm_sensors 2.10.0 and kernel 2.6.16-gentoo-r9
Back to top
View user's profile Send private message
drescherjm
Advocate
Advocate


Joined: 05 Jun 2004
Posts: 2790
Location: Pittsburgh, PA, USA

PostPosted: Wed Jun 14, 2006 3:59 am    Post subject: Reply with quote

I have the exact same problem on an amd64 ASUS M2N-SLI Deluxe. The detected/required drivers for me is it87 and i2c_isa both are started and other i2c stuff is enabled in the kernel which is 2.6.16r9 as well...
_________________
John

My gentoo overlay
Instructons for overlay
Back to top
View user's profile Send private message
jmja89
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jun 2005
Posts: 144

PostPosted: Wed Jun 14, 2006 10:53 pm    Post subject: Reply with quote

I know...I never got a solution
Back to top
View user's profile Send private message
Philantrop
Retired Dev
Retired Dev


Joined: 21 Dec 2004
Posts: 1130
Location: Germany

PostPosted: Wed Jun 14, 2006 11:13 pm    Post subject: Reply with quote

evan.k wrote:
I am having the exact same problem as jmja89. sensors-detect picks up my sensors, but things still don't work. Here is an example of what I am seeing:
Code:
dev02 ~ # sensors -s
Can't access procfs/sysfs file
Unable to find i2c bus information;
For 2.6 kernels, make sure you have mounted sysfs and libsensors
was compiled with sysfs support!
For older kernels, make sure you have done 'modprobe i2c-proc'!


Evan, please run
Code:
strace -s500 sensors -s >sensors_debug 2>&1
and upload sensors_debug somewhere (if it gets big, otherwise post it) so that I can take a look at it.
Back to top
View user's profile Send private message
drescherjm
Advocate
Advocate


Joined: 05 Jun 2004
Posts: 2790
Location: Pittsburgh, PA, USA

PostPosted: Thu Jun 15, 2006 2:12 pm    Post subject: Reply with quote

Code:
datastore0 ~ # strace -s500 sensors -s >sensors_debug 2>&1
datastore0 ~ # cat sensors_debug
-bash: strace: command not found


I am emerging strace right now to fix...
_________________
John

My gentoo overlay
Instructons for overlay
Back to top
View user's profile Send private message
drescherjm
Advocate
Advocate


Joined: 05 Jun 2004
Posts: 2790
Location: Pittsburgh, PA, USA

PostPosted: Thu Jun 15, 2006 2:14 pm    Post subject: Reply with quote

Code:
datastore0 ~ # cat sensors_debug
execve("/usr/bin/sensors", ["sensors", "-s"], [/* 36 vars */]) = 0
uname({sys="Linux", node="datastore0", ...}) = 0
brk(0)                                  = 0x52e000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ab8d2b27000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/usr/local/lib/tls/x86_64/libsensors.so.3", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/local/lib/tls/x86_64", 0x7fffff9d5d40) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/tls/libsensors.so.3", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/local/lib/tls", 0x7fffff9d5d40) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/x86_64/libsensors.so.3", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/local/lib/x86_64", 0x7fffff9d5d40) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libsensors.so.3", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/local/lib", {st_mode=S_IFDIR|0755, st_size=72, ...}) = 0
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=92918, ...}) = 0
mmap(NULL, 92918, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2ab8d2b28000
close(3)                                = 0
open("/usr/lib/libsensors.so.3", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200\32\1\0\0\0\0\0@\0\0\0\0\0\0\0\220\336\3\0\0\0\0\0\0\0\0\0@\0008\0\6\0@\0\32\0\31\0\1\0\0\0\5\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\254\273\1\0\0\0\0\0\254\273\1\0\0\0\0\0\0\0\20\0\0\0\0\0\1\0\0\0\6\0\0\0\260\273\1\0\0\0\0\0\260\273\21\0\0\0\0\0\260\273\21\0\0\0\0\0\264\36\2\0\0\0\0\0X1\2\0\0\0\0\0\0\0\20\0\0\0\0\0\2\0\0\0\6\0\0\0\360\277\1\0\0\0\0\0\360\277\21\0\0\0\0\0\360\277\21\0\0\0\0\0\260\1\0\0\0\0\0\0\260\1\0\0\0\0\0\0\10\0\0\0\0\0\0\0P\345td\4\0\0\0\264\260\1\0\0\0\0\0\264\260\1\0\0\0\0\0\264\260\1\0\0\0\0\0\24\2\0\0\0\0\0\0\24\2\0\0\0\0\0\0\4\0\0\0\0\0\0\0Q\345td\6\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\10\0\0\0\0\0\0\0\200\25\4e\0(\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\10\0\0\0\0\0\0\0\203\0\0\0\242\0\0\0\0\0\0\0\0\0\0\0\210\0\0\0\240\0\0\0\0\0\0\0b\0\0\0W\0\0\0C\0\0\0\'\0\0\0w\0\0\0\224\0\0\0(\0\0\0\0\0\0\0n"..., 640) = 640
fstat(3, {st_mode=S_IFREG|0755, st_size=255248, ...}) = 0
mmap(NULL, 1305864, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2ab8d2c28000
mprotect(0x2ab8d2c44000, 1191176, PROT_NONE) = 0
mmap(0x2ab8d2d43000, 143360, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b000) = 0x2ab8d2d43000
mmap(0x2ab8d2d66000, 3336, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2ab8d2d66000
close(3)                                = 0
open("/usr/local/lib/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libc.so.6", O_RDONLY)        = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 \307\1\0\0\0\0\0@\0\0\0\0\0\0\0 \31\23\0\0\0\0\0\0\0\0\0@\0008\0\v\0@\0?\0>\0\6\0\0\0\5\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0h\2\0\0\0\0\0\0h\2\0\0\0\0\0\0\10\0\0\0\0\0\0\0\3\0\0\0\4\0\0\0\0<\20\0\0\0\0\0\0<\20\0\0\0\0\0\0<\20\0\0\0\0\0\34\0\0\0\0\0\0\0\34\0\0\0\0\0\0\0\20\0\0\0\0\0\0\0\1\0\0\0\5\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0D\275\21\0\0\0\0\0D\275\21\0\0\0\0\0\0\0\20\0\0\0\0\0\1\0\0\0\6\0\0\0\20\277\21\0\0\0\0\0\20\277!\0\0\0\0\0\20\277!\0\0\0\0\0(K\0\0\0\0\0\0\330\220\0\0\0\0\0\0\0\0\20\0\0\0\0\0\2\0\0\0\6\0\0\0\240\352\21\0\0\0\0\0\240\352!\0\0\0\0\0\240\352!\0\0\0\0\0\340\1\0\0\0\0\0\0\340\1\0\0\0\0\0\0\10\0\0\0\0\0\0\0\4\0\0\0\4\0\0\0\250\2\0\0\0\0\0\0\250\2\0\0\0\0\0\0\250\2\0\0\0\0\0\0 \0\0\0\0\0\0\0 \0\0\0\0\0\0\0\4\0\0\0\0\0\0\0\7\0\0\0\4\0\0\0\20\277\21\0\0\0\0\0\20\277!\0\0\0\0\0\20\277!\0\0\0\0\0\20\0\0\0\0\0\0\0P\0\0\0\0\0\0\0\10\0\0\0\0\0\0\0P\345td\4\0\0\0\34<\20\0\0\0\0\0\34<\20"..., 640) = 640
lseek(3, 64, SEEK_SET)                  = 64
read(3, "\6\0\0\0\5\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0h\2\0\0\0\0\0\0h\2\0\0\0\0\0\0\10\0\0\0\0\0\0\0\3\0\0\0\4\0\0\0\0<\20\0\0\0\0\0\0<\20\0\0\0\0\0\0<\20\0\0\0\0\0\34\0\0\0\0\0\0\0\34\0\0\0\0\0\0\0\20\0\0\0\0\0\0\0\1\0\0\0\5\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0D\275\21\0\0\0\0\0D\275\21\0\0\0\0\0\0\0\20\0\0\0\0\0\1\0\0\0\6\0\0\0\20\277\21\0\0\0\0\0\20\277!\0\0\0\0\0\20\277!\0\0\0\0\0(K\0\0\0\0\0\0\330\220\0\0\0\0\0\0\0\0\20\0\0\0\0\0\2\0\0\0\6\0\0\0\240\352\21\0\0\0\0\0\240\352!\0\0\0\0\0\240\352!\0\0\0\0\0\340\1\0\0\0\0\0\0\340\1\0\0\0\0\0\0\10\0\0\0\0\0\0\0\4\0\0\0\4\0\0\0\250\2\0\0\0\0\0\0\250\2\0\0\0\0\0\0\250\2\0\0\0\0\0\0 \0\0\0\0\0\0\0 \0\0\0\0\0\0\0\4\0\0\0\0\0\0\0\7\0\0\0\4\0\0\0\20\277\21\0\0\0\0\0\20\277!\0\0\0\0\0\20\277!\0\0\0\0\0\20\0\0\0\0\0\0\0P\0\0\0\0\0\0\0\10\0\0\0\0\0\0\0P\345td\4\0\0\0\34<\20\0\0\0\0\0\34<\20\0\0\0\0\0\34<\20\0\0\0\0\0$N\0\0\0\0\0\0$N\0\0\0\0\0\0\4\0\0\0\0\0\0\0Q\345td\6\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 616) = 616
lseek(3, 680, SEEK_SET)                 = 680
read(3, "\4\0\0\0\20\0\0\0\1\0\0\0GNU\0\0\0\0\0\2\0\0\0\6\0\0\0\6\0\0\0", 32) = 32
fstat(3, {st_mode=S_IFREG|0755, st_size=1255648, ...}) = 0
lseek(3, 64, SEEK_SET)                  = 64
read(3, "\6\0\0\0\5\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0h\2\0\0\0\0\0\0h\2\0\0\0\0\0\0\10\0\0\0\0\0\0\0\3\0\0\0\4\0\0\0\0<\20\0\0\0\0\0\0<\20\0\0\0\0\0\0<\20\0\0\0\0\0\34\0\0\0\0\0\0\0\34\0\0\0\0\0\0\0\20\0\0\0\0\0\0\0\1\0\0\0\5\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0D\275\21\0\0\0\0\0D\275\21\0\0\0\0\0\0\0\20\0\0\0\0\0\1\0\0\0\6\0\0\0\20\277\21\0\0\0\0\0\20\277!\0\0\0\0\0\20\277!\0\0\0\0\0(K\0\0\0\0\0\0\330\220\0\0\0\0\0\0\0\0\20\0\0\0\0\0\2\0\0\0\6\0\0\0\240\352\21\0\0\0\0\0\240\352!\0\0\0\0\0\240\352!\0\0\0\0\0\340\1\0\0\0\0\0\0\340\1\0\0\0\0\0\0\10\0\0\0\0\0\0\0\4\0\0\0\4\0\0\0\250\2\0\0\0\0\0\0\250\2\0\0\0\0\0\0\250\2\0\0\0\0\0\0 \0\0\0\0\0\0\0 \0\0\0\0\0\0\0\4\0\0\0\0\0\0\0\7\0\0\0\4\0\0\0\20\277\21\0\0\0\0\0\20\277!\0\0\0\0\0\20\277!\0\0\0\0\0\20\0\0\0\0\0\0\0P\0\0\0\0\0\0\0\10\0\0\0\0\0\0\0P\345td\4\0\0\0\34<\20\0\0\0\0\0\34<\20\0\0\0\0\0\34<\20\0\0\0\0\0$N\0\0\0\0\0\0$N\0\0\0\0\0\0\4\0\0\0\0\0\0\0Q\345td\6\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 616) = 616
mmap(NULL, 2248680, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2ab8d2d67000
mprotect(0x2ab8d2e83000, 1085416, PROT_NONE) = 0
mmap(0x2ab8d2f82000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x11b000) = 0x2ab8d2f82000
mmap(0x2ab8d2f88000, 16360, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2ab8d2f88000
close(3)                                = 0
open("/lib/libm.so.6", O_RDONLY)        = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\240>\0\0\0\0\0\0@\0\0\0\0\0\0\0P\255\10\0\0\0\0\0\0\0\0\0@\0008\0\n\0@\0!\0 \0\6\0\0\0\5\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0000\2\0\0\0\0\0\0000\2\0\0\0\0\0\0\10\0\0\0\0\0\0\0\3\0\0\0\4\0\0\0p\0\10\0\0\0\0\0p\0\10\0\0\0\0\0p\0\10\0\0\0\0\0\34\0\0\0\0\0\0\0\34\0\0\0\0\0\0\0\20\0\0\0\0\0\0\0\1\0\0\0\5\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\374A\10\0\0\0\0\0\374A\10\0\0\0\0\0\0\0\20\0\0\0\0\0\1\0\0\0\6\0\0\0\310M\10\0\0\0\0\0\310M\30\0\0\0\0\0\310M\30\0\0\0\0\0\330\3\0\0\0\0\0\0 \4\0\0\0\0\0\0\0\0\20\0\0\0\0\0\2\0\0\0\6\0\0\0\360M\10\0\0\0\0\0\360M\30\0\0\0\0\0\360M\30\0\0\0\0\0\260\1\0\0\0\0\0\0\260\1\0\0\0\0\0\0\10\0\0\0\0\0\0\0\4\0\0\0\4\0\0\0p\2\0\0\0\0\0\0p\2\0\0\0\0\0\0p\2\0\0\0\0\0\0 \0\0\0\0\0\0\0 \0\0\0\0\0\0\0\4\0\0\0\0\0\0\0P\345td\4\0\0\0\214\0\10\0\0\0\0\0\214\0\10\0\0\0\0\0\214\0\10\0\0\0\0\0T\16\0\0\0\0\0\0T\16\0\0\0\0\0\0\4\0\0\0\0\0\0\0Q\345td\6\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 640) = 640
lseek(3, 624, SEEK_SET)                 = 624
read(3, "\4\0\0\0\20\0\0\0\1\0\0\0GNU\0\0\0\0\0\2\0\0\0\6\0\0\0\6\0\0\0", 32) = 32
fstat(3, {st_mode=S_IFREG|0755, st_size=570768, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ab8d2f8c000
mmap(NULL, 1593832, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2ab8d2f8d000
mprotect(0x2ab8d3012000, 1049064, PROT_NONE) = 0
mmap(0x2ab8d3111000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x84000) = 0x2ab8d3111000
close(3)                                = 0
open("/lib/libsysfs.so.1", O_RDONLY)    = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\240/\0\0\0\0\0\0@\0\0\0\0\0\0\0X\303\0\0\0\0\0\0\0\0\0\0@\0008\0\6\0@\0\31\0\30\0\1\0\0\0\5\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\4\273\0\0\0\0\0\0\4\273\0\0\0\0\0\0\0\0\20\0\0\0\0\0\1\0\0\0\6\0\0\0\10\273\0\0\0\0\0\0\10\273\20\0\0\0\0\0\10\273\20\0\0\0\0\0\340\4\0\0\0\0\0\0\350\4\0\0\0\0\0\0\0\0\20\0\0\0\0\0\2\0\0\0\6\0\0\0000\273\0\0\0\0\0\0000\273\20\0\0\0\0\0000\273\20\0\0\0\0\0\220\1\0\0\0\0\0\0\220\1\0\0\0\0\0\0\10\0\0\0\0\0\0\0P\345td\4\0\0\0\370\246\0\0\0\0\0\0\370\246\0\0\0\0\0\0\370\246\0\0\0\0\0\0$\4\0\0\0\0\0\0$\4\0\0\0\0\0\0\4\0\0\0\0\0\0\0Q\345td\6\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\10\0\0\0\0\0\0\0\200\25\4e\0(\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\10\0\0\0\0\0\0\0\203\0\0\0\235\0\0\0>\0\0\0H\0\0\0\207\0\0\0h\0\0\0.\0\0\0+\0\0\0D\0\0\0\227\0\0\0\0\0\0\0q\0\0\0c\0\0\0\0\0\0\0\224\0\0\0i\0\0\0\206\0\0\0\0\0"..., 640) = 640
fstat(3, {st_mode=S_IFREG|0755, st_size=51608, ...}) = 0
mmap(NULL, 1097712, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2ab8d3113000
mprotect(0x2ab8d311f000, 1048560, PROT_NONE) = 0
mmap(0x2ab8d321e000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xb000) = 0x2ab8d321e000
close(3)                                = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ab8d321f000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ab8d3220000
mprotect(0x2ab8d2f82000, 12288, PROT_READ) = 0
mprotect(0x2ab8d2c26000, 4096, PROT_READ) = 0
arch_prctl(ARCH_SET_FS, 0x2ab8d321fae0) = 0
munmap(0x2ab8d2b28000, 92918)           = 0
open("/dev/urandom", O_RDONLY)          = 3
read(3, "~t\211\27s],\326", 8)          = 8
close(3)                                = 0
brk(0)                                  = 0x52e000
brk(0x54f000)                           = 0x54f000
open("/etc/sensors.conf", O_RDONLY)     = 3
open("/proc/mounts", O_RDONLY)          = 4
fstat(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ab8d2b28000
read(4, "rootfs / rootfs rw 0 0\n/dev/md1 / reiserfs rw,noatime 0 0\nproc /proc proc rw 0 0\nsysfs /sys sysfs rw 0 0\nudev /dev tmpfs rw,nosuid 0 0\ndevpts /dev/pts devpts rw 0 0\ncachedir /lib64/splash/cache tmpfs rw 0 0\n/dev/vg0/distfiles /mnt/vg0/distfiles reiserfs rw,noatime 0 0\nshm /dev/shm tmpfs rw,nosuid,nodev,noexec 0 0\nusbfs /proc/bus/usb usbfs rw 0 0\nhomes:/exports/Images/temp_homes /home nfs rw,v3,rsize=32768,wsize=32768,soft,lock,proto=tcp,addr=homes 0 0\nhomes:/exports/Images/Images /mnt/homes-imag"..., 1024) = 1013
close(4)                                = 0
munmap(0x2ab8d2b28000, 4096)            = 0
open("/proc/mounts", O_RDONLY)          = 4
fstat(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ab8d2b28000
read(4, "rootfs / rootfs rw 0 0\n/dev/md1 / reiserfs rw,noatime 0 0\nproc /proc proc rw 0 0\nsysfs /sys sysfs rw 0 0\nudev /dev tmpfs rw,nosuid 0 0\ndevpts /dev/pts devpts rw 0 0\ncachedir /lib64/splash/cache tmpfs rw 0 0\n/dev/vg0/distfiles /mnt/vg0/distfiles reiserfs rw,noatime 0 0\nshm /dev/shm tmpfs rw,nosuid,nodev,noexec 0 0\nusbfs /proc/bus/usb usbfs rw 0 0\nhomes:/exports/Images/temp_homes /home nfs rw,v3,rsize=32768,wsize=32768,soft,lock,proto=tcp,addr=homes 0 0\nhomes:/exports/Images/Images /mnt/homes-imag"..., 1024) = 1013
close(4)                                = 0
munmap(0x2ab8d2b28000, 4096)            = 0
lstat("/sys/class/hwmon", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
lstat("/sys/class/hwmon", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
open("/sys/class/hwmon", O_RDONLY|O_NONBLOCK|O_DIRECTORY) = 4
fstat(4, {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
fcntl(4, F_SETFD, FD_CLOEXEC)           = 0
getdents(4, /* 2 entries */, 4096)      = 48
getdents(4, /* 0 entries */, 4096)      = 0
close(4)                                = 0
write(2, "Can\'t access procfs/sysfs file\n", 31Can't access procfs/sysfs file
) = 31
write(2, "Unable to find i2c bus information;\nFor 2.6 kernels, make sure you have mounted sysfs and libsensors\nwas compiled with sysfs support!\nFor older kernels, make sure you have done \'modprobe i2c-proc\'!\n", 198Unable to find i2c bus information;
For 2.6 kernels, make sure you have mounted sysfs and libsensors
was compiled with sysfs support!
For older kernels, make sure you have done 'modprobe i2c-proc'!
) = 198
exit_group(1)                           = ?
datastore0 ~ #                                         

_________________
John

My gentoo overlay
Instructons for overlay
Back to top
View user's profile Send private message
Philantrop
Retired Dev
Retired Dev


Joined: 21 Dec 2004
Posts: 1130
Location: Germany

PostPosted: Thu Jun 15, 2006 2:38 pm    Post subject: Reply with quote

Thanks, drescherjm.

Apart from "." and ".." there are no directories in your /sys/class/hwmon direcory, right? That's bad as sensors will look there for the devices to monitor.

Please post the output of
Code:
ls /sys/devices/platform
and
Code:
lsmod
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Goto page 1, 2, 3  Next
Page 1 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum