View previous topic :: View next topic |
Author |
Message |
drescherjm Advocate
Joined: 05 Jun 2004 Posts: 2790 Location: Pittsburgh, PA, USA
|
Posted: Thu Jun 15, 2006 8:18 pm Post subject: |
|
|
Quote: | Apart from "." and ".." there are no directories in your /sys/class/hwmon direcory, right? |
Code: | datastore0 ~ # ls -al /sys/class/hwmon
total 0
drwxr-xr-x 2 root root 0 Jun 14 02:36 .
drwxr-xr-x 27 root root 0 Jun 15 07:47 ..
|
And here is the output of the two commands:
Code: | datastore0 ~ # ls /sys/devices/platform
i2c-0 i2c-1 i2c-2 i2c-9191 i8042 power serial8250 uevent vesafb.0
datastore0 ~ # lsmod
Module Size Used by
lm85 38116 0
i2c_dev 11912 0
nvidia 5424660 8
it87 25508 0
hwmon_vid 3136 2 lm85,it87
i2c_isa 6144 1 it87
nfsd 266608 13
nfs_acl 4288 1 nfsd
nfs 224560 4
lockd 69264 3 nfsd,nfs
sunrpc 169544 11 nfsd,nfs_acl,nfs,lockd
forcedeth 26372 0
ata_piix 12420 0
sata_vsc 9988 0
sata_sis 9412 0
sata_sx4 15556 0
sata_via 10052 0
sata_svw 9220 0
sata_sil 12232 0
sata_promise 13956 0
sbp2 24388 0
ohci1394 34952 0
ieee1394 108856 2 sbp2,ohci1394
ohci_hcd 22276 0
uhci_hcd 34656 0
usb_storage 71232 0
usbhid 41504 0
ehci_hcd 34440 0
|
_________________ John
My gentoo overlay
Instructons for overlay |
|
Back to top |
|
|
Philantrop Retired Dev
Joined: 21 Dec 2004 Posts: 1130 Location: Germany
|
Posted: Thu Jun 15, 2006 8:52 pm Post subject: |
|
|
This is interesting. sensors is looking for another directory below /sys/class/hwmon/ which you don't have for reasons unknown:
Code: | gentest ~ # ls -l /sys/class/hwmon/
total 0
drwxr-xr-x 2 root root 0 15. Jun 22:35 hwmon0
|
Inside that directory, I have a symlink "device" which points to the actual device:
Code: | gentest ~ # ls -l /sys/class/hwmon/hwmon0/
total 0
lrwxrwxrwx 1 root root 0 15. Jun 21:02 device -> ../../../devices/platform/i2c-9191/9191-0290
--w------- 1 root root 4096 15. Jun 22:35 uevent
|
I suppose your /sys/devices/platform/i2c-9191/ looks something like this?
Code: | drwxr-xr-x 3 root root 0 15. Jun 21:02 9191-0290
lrwxrwxrwx 1 root root 0 15. Jun 22:34 i2c-adapter:i2c-9191 -> ../../../class/i2c-adapter/i2c-9191
-r--r--r-- 1 root root 4096 15. Jun 21:02 name
drwxr-xr-x 2 root root 0 13. Jun 23:32 power
--w------- 1 root root 4096 15. Jun 22:34 uevent
|
If so, we have to find the "missing link", so to speak, which would be the "hwmon0" directory. I have no idea yet what creates it. |
|
Back to top |
|
|
drescherjm Advocate
Joined: 05 Jun 2004 Posts: 2790 Location: Pittsburgh, PA, USA
|
Posted: Thu Jun 15, 2006 9:25 pm Post subject: |
|
|
Code: | datastore0 ~ # ls -al /sys/devices/platform/i2c-9191/
total 0
drwxr-xr-x 3 root root 0 Jun 14 06:46 .
drwxr-xr-x 10 root root 0 Jun 15 05:21 ..
lrwxrwxrwx 1 root root 0 Jun 16 05:26 i2c-adapter:i2c-9191 -> ../../../class/i2c-adapter/i2c-9191
-r--r--r-- 1 root root 4096 Jun 16 05:26 name
drwxr-xr-x 2 root root 0 Jun 14 06:46 power
--w------- 1 root root 4096 Jun 16 05:26 uevent
|
_________________ John
My gentoo overlay
Instructons for overlay |
|
Back to top |
|
|
Philantrop Retired Dev
Joined: 21 Dec 2004 Posts: 1130 Location: Germany
|
Posted: Sat Jun 17, 2006 11:01 am Post subject: |
|
|
After more research, digging through mailinglist archives, googling and trying to reproduce this, I'm almost out of ideas.
I would now suggest using the lm_sensors support flow-chart/diagnose web page. Follow it to the letter and feel free to record and post the flow of items you're going through.
Maybe that'll give us a new idea. |
|
Back to top |
|
|
drescherjm Advocate
Joined: 05 Jun 2004 Posts: 2790 Location: Pittsburgh, PA, USA
|
|
Back to top |
|
|
RazielFMX l33t
Joined: 23 Apr 2005 Posts: 835 Location: NY, USA
|
Posted: Tue Jun 27, 2006 8:52 am Post subject: |
|
|
Has there been any solution to this? This is driving me NUTS!
Code: |
smbox ~ # lsmod
Module Size Used by
i2c_i801 8852 0
fglrx 437748 0
intel_agp 22336 1
agpgart 29156 2 fglrx,intel_agp
capability 4488 0
commoncap 6400 1 capability
tg3 94852 0
|
Yet...
Code: |
smbox ~ # 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'!
|
I am currently using the following kernel: 2.6.16-gentoo-r9
I have tried various things in tems of hardware monitoring support kernel modules, and I know my i2c settings are right (built in i2c-core, i2c-dev, and i2c bit banged, module eeprom and i2c-801, since this is a DELL gx620 with intel chipset).
Code: |
smbox ~ # lspci
00:00.0 Host bridge: Intel Corporation 945G/GZ/P/PL Express Memory Controller Hub (rev 02)
00:01.0 PCI bridge: Intel Corporation 945G/GZ/P/PL Express PCI Express Root Port (rev 02)
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: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 PCI Bridge (rev e1)
00:1e.2 Multimedia audio controller: Intel Corporation 82801G (ICH7 Family) AC'97 Audio Controller (rev 01)
00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01)
00:1f.2 IDE interface: Intel Corporation 82801GB/GR/GH (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: ATI Technologies Inc RV380 [Radeon X600 (PCIE)]
01:00.1 Display controller: ATI Technologies Inc RV380 [Radeon X600]
02:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5751 Gigabit Ethernet PCI Express (rev 01)
|
The lm_sensors site has nothing on this that I can find, and google seems to only return the following answer: Load i2c-dev, yet, I have that built in so loading it is not an option.
Any help would be greatly appreciated.
Also of note, since it is complaining about missing sysfs (which is not it my fstab but is mounted), along with trying to start it from init.d, lsmod afterwards, etc...
I hope that somehwere is all this info is a clue to help me solve this....
Code: |
smbox log # /etc/init.d/lm_sensors start
* Loading lm_sensors modules...
* Loading i2c-i801 ... [ ok ]
* Loading eeprom ... [ ok ]
* Initializing sensors ... [ !! ]
smbox log #
smbox log # lsmod
Module Size Used by
eeprom 6928 0
i2c_i801 8852 0
fglrx 437748 0
intel_agp 22336 1
agpgart 29156 2 fglrx,intel_agp
capability 4488 0
commoncap 6400 1 capability
tg3 94852 0
smbox log #
smbox log # cat /etc/fstab
# /etc/fstab: static file system information.
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed; notail increases performance of ReiserFS (at the expense of storage
# efficiency). It's safe to drop the noatime options if you want and to
# switch between notail / tail freely.
#
# The root filesystem should have a pass number of either 0 or 1.
# All other filesystems should have a pass number of 0 or greater than 1.
#
# See the manpage fstab(5) for more information.
#
# <fs> <mountpoint> <type> <opts> <dump/pass>
# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/sda1 /boot ext2 defaults,noatime 1 2
/dev/sda3 / ext3 noatime 0 1
/dev/sda2 none swap sw 0 0
/dev/sda4 /var ext3 noatime 0 1
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro,users 0 0
/dev/fd0 /mnt/floppy auto noauto,users 0 0
# NOTE: The next line is critical for boot!
proc /proc proc defaults 0 0
# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
# use almost no memory if not populated with files)
tmpfs /dev/shm tmpfs nodev,nosuid,noexec 0 0
#iPod entries
/dev/ipod /media/ipod vfat async,nodev,nosuid,users,rw,noauto 0 0
smbox log #
smbox log # mount
/dev/sda3 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/sda1 on /boot type ext2 (rw,noatime)
/dev/sda4 on /var type ext3 (rw,noatime)
tmpfs on /dev/shm type tmpfs (rw,noexec,nosuid,nodev)
usbfs on /proc/bus/usb type usbfs (rw,devmode=0664,devgid=85)
|
_________________ I am not anti-systemd; I am pro-choice. If being the latter makes you feel that I am the former, then so be it. |
|
Back to top |
|
|
drescherjm Advocate
Joined: 05 Jun 2004 Posts: 2790 Location: Pittsburgh, PA, USA
|
Posted: Tue Jun 27, 2006 1:25 pm Post subject: |
|
|
Quote: | Has there been any solution to this? This is driving me NUTS! |
Sorry, I have not fould a solution that works. If I get some time I may try downgrading the kernel to 2.6.15 and see if that helps. _________________ John
My gentoo overlay
Instructons for overlay |
|
Back to top |
|
|
cleber n00b
Joined: 05 Aug 2003 Posts: 74 Location: São Paulo - Brazil
|
Posted: Wed Jul 05, 2006 7:59 pm Post subject: |
|
|
Hey Raziel,
Did you get this Dell GX620 sensors to work? I'm having the exact same problem as you, with this Dell GX620...
I read in the http://www.lm-sensors.org/wiki/FAQ/Chapter3#SensorssaysCantaccessprocfssysfsfile that it's need to Code: | modprobe i2c_sensor | but there is no i2c_sensor module:
Code: |
2ks linux # modprobe i2c_sensor
FATAL: Module i2c_sensor not found.
|
Did you get any luck with it?
[]'s
RazielFMX wrote: | Has there been any solution to this? This is driving me NUTS!
Code: |
smbox ~ # lsmod
Module Size Used by
i2c_i801 8852 0
fglrx 437748 0
intel_agp 22336 1
agpgart 29156 2 fglrx,intel_agp
capability 4488 0
commoncap 6400 1 capability
tg3 94852 0
|
Yet...
Code: |
smbox ~ # 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'!
|
I am currently using the following kernel: 2.6.16-gentoo-r9
...
|
_________________ Saru mo ki kara ochiru - Japanese proverb.
Cleber Mori Home Page: http://www.2ks.com.br |
|
Back to top |
|
|
drescherjm Advocate
Joined: 05 Jun 2004 Posts: 2790 Location: Pittsburgh, PA, USA
|
Posted: Wed Jul 05, 2006 8:32 pm Post subject: |
|
|
Quote: | but there is no i2c_sensor module |
I believe this is only for 2.4 kernels so the docs are way out of date... _________________ John
My gentoo overlay
Instructons for overlay |
|
Back to top |
|
|
gnac Guru
Joined: 30 Jun 2003 Posts: 302 Location: Columbia River Gorge
|
Posted: Thu Jul 06, 2006 1:43 am Post subject: |
|
|
sry, no help here. I'm having the same problem. I'm just posting so I am updated to any further posts. _________________ "I thought she'd steal my heart, instead she stole my kidney,
and now its for sale, on the black market in Sydney" - Better Abraham |
|
Back to top |
|
|
RazielFMX l33t
Joined: 23 Apr 2005 Posts: 835 Location: NY, USA
|
Posted: Thu Jul 06, 2006 1:58 am Post subject: |
|
|
I gave up for now, haven't had time to really play with it, since this is my work box, and I haven't felt like staying late to debug, lol. _________________ I am not anti-systemd; I am pro-choice. If being the latter makes you feel that I am the former, then so be it. |
|
Back to top |
|
|
fafhrd Retired Dev
Joined: 14 May 2002 Posts: 431 Location: Williamstown, MA
|
Posted: Thu Jul 06, 2006 3:12 am Post subject: |
|
|
I think I just figured this out for those of us who only have/use i2c_i801 and eeprom (others who've had similar issues but with other chipsets and busses, the following probably doesn't apply to).
So, in 2.10.0, lm_sensor's sensors command doesn't consider chipsets that don't have actual sensor-like capabilities as sensors (this makes sense). So, lm_sensors start script will always fail when the sensors -s command is launched, and sensors command itself will always fail, with it's annoying "load sysfs" error 'cause there simply are no sensors with sensing capabilities.
if eeprom is loaded and otherwise seemingly working, you can run 'decode-dimms.pl', which is installed in the lm_sensors package 2.10.0 (maybe earlier versions, too, don't know offhand), and you will notice that it does output valid data.
Annoyed, but no longer stumped. _________________ jñanam bandha |
|
Back to top |
|
|
RazielFMX l33t
Joined: 23 Apr 2005 Posts: 835 Location: NY, USA
|
Posted: Thu Jul 06, 2006 6:48 am Post subject: |
|
|
Wow... Thank you! That really was annoying me. Now I'm still annoyed, like you, but knowing why takes the edge off it. _________________ I am not anti-systemd; I am pro-choice. If being the latter makes you feel that I am the former, then so be it. |
|
Back to top |
|
|
kjelle n00b
Joined: 05 Jul 2006 Posts: 16 Location: Norway, Lillehammer
|
Posted: Tue Jul 11, 2006 6:52 am Post subject: |
|
|
Hello.
I got a similar problem with my amd64 kernel on athlonxp (asus a8n sli motherboard)
Code: | hunter ~ # mount | grep sys
sysfs on /sys type sysfs (rw)
hunter ~ # mount | grep proc
proc on /proc type proc (rw)
usbfs on /proc/bus/usb type usbfs (rw,devmode=0664,devgid=85)
hunter ~ # ls -l /sys/bus/i2c
total 0
drwxr-xr-x 2 root root 0 Jul 11 10:32 devices
drwxr-xr-x 4 root root 0 Jul 11 10:32 drivers
hunter ~ # uname -a
Linux hunter 2.6.16-gentoo-r9 #5 SMP Mon Jul 10 16:14:41 CEST 2006 x86_64 AMD Athlon(tm) 64 Processor 3700+ GNU/Linux
hunter ~ #
hunter ~ # ls -l /usr/src/linux
lrwxrwxrwx 1 root root 22 Jul 6 10:57 /usr/src/linux -> linux-2.6.16-gentoo-r9 |
Code: | hunter ~ # grep "I2C" /usr/src/linux-`uname -r`/.config
# I2C support
CONFIG_I2C=m
CONFIG_I2C_CHARDEV=m
# I2C Algorithms
# CONFIG_I2C_ALGOBIT is not set
# CONFIG_I2C_ALGOPCF is not set
# CONFIG_I2C_ALGOPCA is not set
# I2C Hardware Bus support
# CONFIG_I2C_ALI1535 is not set
# CONFIG_I2C_ALI1563 is not set
# CONFIG_I2C_ALI15X3 is not set
# CONFIG_I2C_AMD756 is not set
# CONFIG_I2C_AMD8111 is not set
# CONFIG_I2C_I801 is not set
# CONFIG_I2C_I810 is not set
# CONFIG_I2C_PIIX4 is not set
CONFIG_I2C_NFORCE2=m
# CONFIG_I2C_PARPORT_LIGHT is not set
# CONFIG_I2C_PROSAVAGE is not set
# CONFIG_I2C_SAVAGE4 is not set
# CONFIG_I2C_SIS5595 is not set
# CONFIG_I2C_SIS630 is not set
# CONFIG_I2C_SIS96X is not set
# CONFIG_I2C_STUB is not set
# CONFIG_I2C_VIA is not set
# CONFIG_I2C_VIAPRO is not set
# CONFIG_I2C_VOODOO3 is not set
# CONFIG_I2C_PCA_ISA is not set
# Miscellaneous I2C Chip support
# CONFIG_RTC_X1205_I2C is not set
# 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
|
Code: | hunter log # strace -s500 sensors -s >sensors_debug 2>&1
hunter log # more sensors_debug
execve("/usr/bin/sensors", ["sensors", "-s"], [/* 35 vars */]) = 0
uname({sys="Linux", node="hunter", ...}) = 0
brk(0) = 0x521000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2af7dbb7d000
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", 0x7fffffacace0) = -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", 0x7fffffacace0) = -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", 0x7fffffacace0) = -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=4096, ...}) = 0
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=84793, ...}) = 0
mmap(NULL, 84793, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2af7dbb7e000
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\0008\326\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<\263\1\0\0\0\0\0<\263\1\0\0\0\0\0\0\0\20\0\0\0\0\0\1\0\0\0\6\0\0\0@\263\1\0\0\0\0\0@\263
\21\0\0\0\0\0@\263\21\0\0\0\0\0\304\36\2\0\0\0\0\0h1\2\0\0\0\0\0\0\0\20\0\0\0\0\0\2\0\0\0\6\0\0\0\220\267\1\0\0\0\0\0\220\267\21\0\0\0\0\0\220\267\
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\246\1\0\0\0\0\0\264\246\1\0\0\0\0\0\264\246\1\0\0\0\0\0t\2\0\0
\0\0\0\0t\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\0\0\0\0\0\0\0\0\0\0"..., 640) = 640
fstat(3, {st_mode=S_IFREG|0755, st_size=253112, ...}) = 0
mmap(NULL, 1303720, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2af7dbc7f000
madvise(0x2af7dbc7f000, 1303720, MADV_SEQUENTIAL|0x1) = 0
mprotect(0x2af7dbc9b000, 1189032, PROT_NONE) = 0
mmap(0x2af7dbd9a000, 143360, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b000) = 0x2af7dbd9a000
mmap(0x2af7dbdbd000, 1192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2af7dbdbd000
close(3) = 0
open("/usr/local/lib/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/tls/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\360\306\1\0\0\0\0\0@\0\0\0\0\0\0\0@J\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\340a\20\0\0\0\0\0\340a\20\0\0\0\0\0
\340a\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\0T\343\21\0\0\0
\0\0T\343\21\0\0\0\0\0\0\0\20\0\0\0\0\0\1\0\0\0\6\0\0\0\0\357\21\0\0\0\0\0\0\357!\0\0\0\0\0\0\357!\0\0\0\0\0008K\0\0\0\0\0\0\10\221\0\0\0\0\0\0\0\0
\20\0\0\0\0\0\2\0\0\0\6\0\0\0\240\32\22\0\0\0\0\0\240\32\"\0\0\0\0\0\240\32\"\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\0\357\21\0\0\0\0\0\0\
357!\0\0\0\0\0\0\357!\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\374a\20\0\0\0\0\0\374"..., 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\340a\20\0\0\0
\0\0\340a\20\0\0\0\0\0\340a\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\0T\343\21\0\0\0\0\0T\343\21\0\0\0\0\0\0\0\20\0\0\0\0\0\1\0\0\0\6\0\0\0\0\357\21\0\0\0\0\0\0\357!\0\0\0\0\0\0\357!\0\0\0\0\0008K\0\0\0\0\0\0\
10\221\0\0\0\0\0\0\0\0\20\0\0\0\0\0\2\0\0\0\6\0\0\0\240\32\22\0\0\0\0\0\240\32\"\0\0\0\0\0\240\32\"\0\0\0\0\0\340\1\0\0\0\0\0\0\340\1\0\0\0\0\0\0\1
0\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
\0\357\21\0\0\0\0\0\0\357!\0\0\0\0\0\0\357!\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\374a\20\0\0\0\0\0\374a\20\0\0
\0\0\0\374a\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"..., 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\t\0\0\0", 32) = 32
fstat(3, {st_mode=S_IFREG|0755, st_size=1268224, ...}) = 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\340a\20\0\0\0
\0\0\340a\20\0\0\0\0\0\340a\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\0T\343\21\0\0\0\0\0T\343\21\0\0\0\0\0\0\0\20\0\0\0\0\0\1\0\0\0\6\0\0\0\0\357\21\0\0\0\0\0\0\357!\0\0\0\0\0\0\357!\0\0\0\0\0008K\0\0\0\0\0\0\
10\221\0\0\0\0\0\0\0\0\20\0\0\0\0\0\2\0\0\0\6\0\0\0\240\32\22\0\0\0\0\0\240\32\"\0\0\0\0\0\240\32\"\0\0\0\0\0\340\1\0\0\0\0\0\0\340\1\0\0\0\0\0\0\1
0\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
\0\357\21\0\0\0\0\0\0\357!\0\0\0\0\0\0\357!\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\374a\20\0\0\0\0\0\374a\20\0\0
\0\0\0\374a\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"..., 616) = 616
mmap(NULL, 2261000, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2af7dbdbe000
madvise(0x2af7dbdbe000, 2261000, MADV_SEQUENTIAL|0x1) = 0
mprotect(0x2af7dbedd000, 1085448, PROT_NONE) = 0
mmap(0x2af7dbfdc000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x11e000) = 0x2af7dbfdc000
mmap(0x2af7dbfe2000, 16392, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2af7dbfe2000
close(3) = 0
open("/lib/tls/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@>\0\0\0\0\0\0@\0\0\0\0\0\0\0\320\323\5\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\0@,\5\0\0\0\0\0@,\5\0\0\0\0\0@,\5\
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\0004i\5\0\0\0\0\0004i\5\
0\0\0\0\0\0\0\20\0\0\0\0\0\1\0\0\0\6\0\0\0\330m\5\0\0\0\0\0\330m\25\0\0\0\0\0\330m\25\0\0\0\0\0\20\t\0\0\0\0\0\0`\t\0\0\0\0\0\0\0\0\20\0\0\0\0\0\2\
0\0\0\6\0\0\0\0n\5\0\0\0\0\0\0n\25\0\0\0\0\0\0n\25\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\\,\5\0\0\0\0\0\\,\5\0\0\0\0\0\\,\5\0\0\0\0\0L\r\0\0\0\0\0\
0L\r\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"..., 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\t\0\0\0", 32) = 32
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2af7dbfe7000
fstat(3, {st_mode=S_IFREG|0755, st_size=384016, ...}) = 0
mmap(NULL, 1406776, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2af7dbfe8000
madvise(0x2af7dbfe8000, 1406776, MADV_SEQUENTIAL|0x1) = 0
mprotect(0x2af7dc03f000, 1050424, PROT_NONE) = 0
mmap(0x2af7dc13e000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x56000) = 0x2af7dc13e000
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\0p\300\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\34\270\0\0\0\0\0\0\34\270\0\0\0\0\0\0\0\0\20\0\0\0\0\0\1\0\0\0\6\0\0\0 \270\0\0\0\0\0\0 \270
\20\0\0\0\0\0 \270\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\0H\270\0\0\0\0\0\0H\270\20\0\0\0\0\0H\270\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\0h\243\0\0\0\0\0\0h\243\0\0\0\0\0\0h\243\0\0\0\0\0\0L\4\0\0\0\0\0\0L\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\0
h\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\0\0P\0\0\0\0\0\0\0"..., 640) = 640
fstat(3, {st_mode=S_IFREG|0755, st_size=50864, ...}) = 0
mmap(NULL, 1096968, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2af7dc140000
madvise(0x2af7dc140000, 1096968, MADV_SEQUENTIAL|0x1) = 0
mprotect(0x2af7dc14c000, 1047816, PROT_NONE) = 0
mmap(0x2af7dc24b000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xb000) = 0x2af7dc24b000
close(3) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2af7dc24c000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2af7dc24d000
mprotect(0x2af7dbfdc000, 12288, PROT_READ) = 0
mprotect(0x2af7dbc7d000, 4096, PROT_READ) = 0
arch_prctl(ARCH_SET_FS, 0x2af7dc24cae0) = 0
munmap(0x2af7dbb7e000, 84793) = 0
open("/dev/urandom", O_RDONLY) = 3
read(3, "\225\376\377\245\263v\23F", 8) = 8
close(3) = 0
brk(0) = 0x521000
brk(0x542000) = 0x542000
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) = 0x2af7dbb7e000
read(4, "rootfs / rootfs rw 0 0\n/dev/root / ext3 rw,noatime,data=ordered 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\nshm /dev/shm tmpfs rw,nosuid,nodev,noexec 0 0\nusbfs /proc/bus/usb usbfs rw 0 0\n/dev/sda2 /mnt/win_d nt
fs ro,uid=0,gid=100,umask=0727,nls=iso8859-1,errors=continue,mft_zone_multiplier=1 0 0\n", 1024) = 364
close(4) = 0
munmap(0x2af7dbb7e000, 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) = 0x2af7dbb7e000
read(4, "rootfs / rootfs rw 0 0\n/dev/root / ext3 rw,noatime,data=ordered 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\nshm /dev/shm tmpfs rw,nosuid,nodev,noexec 0 0\nusbfs /proc/bus/usb usbfs rw 0 0\n/dev/sda2 /mnt/win_d nt
fs ro,uid=0,gid=100,umask=0727,nls=iso8859-1,errors=continue,mft_zone_multiplier=1 0 0\n", 1024) = 364
close(4) = 0
munmap(0x2af7dbb7e000, 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!\n
For 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) = ?
Process 14077 detached |
This is the more interessting part... No i2c here:
Code: | hunter log # ls /sys/devices/platform
floppy.0 i2c-2 i2c-3 i2c-4 i2c-9191 i8042 power serial8250 uevent vesafb.0
|
Code: | hunter log # lsmod
Module Size Used by
i2c_dev 11080 0
eeprom 8528 0
i2c_isa 6400 0
i2c_nforce2 8640 0
nvidia 5419668 0
hunter log # |
Code: | hunter log # sensors
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'!
|
Code: | hunter log # /etc/init.d/lm_sensors start
* Re-caching dependency info (mtimes differ)...
* Could not get dependency info for "lm_sensors"!
* Please run:
* # /sbin/depscan.sh
* to try and fix this.
* Re-caching dependency info (mtimes differ)...
* Could not get dependency info for "lm_sensors"!
* Please run:
* # /sbin/depscan.sh
* to try and fix this.
* Re-caching dependency info (mtimes differ)...
* Could not get dependency info for "lm_sensors"!
* Please run:
* # /sbin/depscan.sh
* to try and fix this.
* Re-caching dependency info (mtimes differ)...
* Could not get dependency info for "lm_sensors"!
* Please run:
* # /sbin/depscan.sh
* to try and fix this.
* Loading lm_sensors modules...
* Loading i2c-nforce2 ... [ ok ]
* Loading i2c-isa ... [ !! ]
* Loading smbus-arp ... [ !! ]
* Loading eeprom ... [ !! ]
* Loading it87 ... [ !! ]
* Initializing sensors ... [ !! ] |
Have anyone else using amd64 kernel-2.6 similar problems? |
|
Back to top |
|
|
Eduard.Czimbalmos n00b
Joined: 12 Jul 2006 Posts: 1 Location: Budapest
|
Posted: Wed Jul 12, 2006 9:18 am Post subject: SMBus missing |
|
|
I have similar problem on a HP NC8000 laptop.
eduard linux # sensors
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'!
But I don't have the SMBus device either:
eduard linux # lspci
00:00.0 Host bridge: Intel Corporation 82855PM Processor to I/O Controller (rev 03)
00:01.0 PCI bridge: Intel Corporation 82855PM Processor to AGP Controller (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 83)
00:1f.0 ISA bridge: Intel Corporation 82801DBM (ICH4-M) LPC Interface Bridge (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801DBM (ICH4-M) IDE Controller (rev 03)
00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 03)
00:1f.6 Modem: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller (rev 03)
01:00.0 VGA compatible controller: ATI Technologies Inc RV350 [Mobility Radeon 9600 M10]
02:06.0 CardBus bridge: O2 Micro, Inc. OZ711M3/MC3 4-in-1 MemoryCardBus Controller
02:06.1 CardBus bridge: O2 Micro, Inc. OZ711M3/MC3 4-in-1 MemoryCardBus Controller
02:06.2 System peripheral: O2 Micro, Inc. OZ711Mx 4-in-1 MemoryCardBus Accelerator
02:06.3 CardBus bridge: O2 Micro, Inc. OZ711M3/MC3 4-in-1 MemoryCardBus Controller
02:0d.0 FireWire (IEEE 1394): Texas Instruments TSB43AB22/A IEEE-1394a-2000 Controller (PHY/Link)
02:0e.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5705M_2 Gigabit Ethernet (rev 03)
eduard linux #
I tried with a kubuntu livecd, the device it should be:
0000:00:1f.3 SMBus: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller (rev 03)
Kernel:
eduard linux # uname -a
Linux eduard 2.6.17-gentoo-r2 #2 PREEMPT Wed Jul 12 09:29:45 CEST 2006 i686 Intel(R) Pentium(R) M processor 1500MHz GenuineIntel GNU/Linux
I suspect that the kernel does not recognize the device.
Any advice? |
|
Back to top |
|
|
chy1013m1 Tux's lil' helper
Joined: 12 Jul 2006 Posts: 76
|
Posted: Mon Aug 14, 2006 4:12 am Post subject: |
|
|
Hi, about HP nc8000, I managed to get SMbus to appear.. by using *vanilla-sources* , not gentoo-sources.. as soon as I switch back to gentoo-sources, it disappears
now I can execute sensors.. and get PC health data out of it |
|
Back to top |
|
|
lovecraft Tux's lil' helper
Joined: 01 Jun 2003 Posts: 86 Location: Massachusetts, USA
|
Posted: Sun Oct 29, 2006 1:32 pm Post subject: Any further info? |
|
|
Hi,
I am in a similar situation. AMD64x2, 939Dual-VSTA, gentoo-sources-2.6.17-r8, all lm_sensors and hw monitoring compiled as modules. sensors-detect works to load these modules:
Code: | MODULE_0=i2c-ali1563
MODULE_1=i2c-isa
MODULE_2=eeprom
MODULE_3=w83627ehf
|
sensors -s produces the "Can't access procfs/sysfs file" error messages
Philantrop wrote: | This is interesting. sensors is looking for another directory below /sys/class/hwmon/ which you don't have for reasons unknown:
Code: | gentest ~ # ls -l /sys/class/hwmon/
total 0
drwxr-xr-x 2 root root 0 15. Jun 22:35 hwmon0
|
Inside that directory, I have a symlink "device" which points to the actual device:
Code: | gentest ~ # ls -l /sys/class/hwmon/hwmon0/
total 0
lrwxrwxrwx 1 root root 0 15. Jun 21:02 device -> ../../../devices/platform/i2c-9191/9191-0290
--w------- 1 root root 4096 15. Jun 22:35 uevent
|
|
I have nothing in the hwmon directory except "." and "..".
Philantrop wrote: | I suppose your /sys/devices/platform/i2c-9191/ looks something like this?
Code: | drwxr-xr-x 3 root root 0 15. Jun 21:02 9191-0290
lrwxrwxrwx 1 root root 0 15. Jun 22:34 i2c-adapter:i2c-9191 -> ../../../class/i2c-adapter/i2c-9191
-r--r--r-- 1 root root 4096 15. Jun 21:02 name
drwxr-xr-x 2 root root 0 13. Jun 23:32 power
--w------- 1 root root 4096 15. Jun 22:34 uevent
|
If so, we have to find the "missing link", so to speak, which would be the "hwmon0" directory. I have no idea yet what creates it. |
In my case, there is nothing related to i2c under /sys/devices/platform. lsmod produces this output, edited to remove things I knew didn't pertain:
Code: | Module Size Used by
i2c_dev 13512 0
ns558 5952 0
radeonfb 112320 1
i2c_algo_bit 10632 1 radeonfb
uli526x 19860 0
i2c_ali15x3 10308 0
i2c_ali1563 9924 0
i2c_core 30080 5 i2c_dev,radeonfb,i2c_algo_bit,i2c_ali15x3,i2c_ali1563
sl811_hcd 15616 0
|
Anyone try one of the later "testing" kernels to see if this is fixed? _________________ Never underestimate the power of denial |
|
Back to top |
|
|
curio77 n00b
Joined: 06 Nov 2006 Posts: 21 Location: Germany
|
Posted: Mon Nov 06, 2006 5:11 pm Post subject: |
|
|
I'm in the same boat: Gigabyte GA-P945-S3, gentoo-sources-2.6.17-r8, lm_sensors-2.10.0. sensors-detect runs successfully and suggests the following modules:
Code: | MODULE_0=i2c-isa
MODULE_1=eeprom
MODULE_2=it87 |
However, "sensors -s" and "sensors" both fail despite these modules being loaded:
Code: | 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'! |
My "/sys/class/hwmon" directory is empty, too. My "/sys/devices/platform/i2c-9191" directory contains the following:
Code: | i2c-adapter:i2c-9191 name power uevent |
wherein "i2c-adapter:i2c-9191" links to "/sys/devices/platform/i2c-9191/i2c-adapter:i2c-9191", where "device/name" yields "ISA main adapter".
lspci says:
Code: | 00:00.0 Host bridge: Intel Corporation 945G/GZ/P/PL Express Memory Controller Hub (rev 02)
00:01.0 PCI bridge: Intel Corporation 945G/GZ/P/PL Express PCI Express Root Port (rev 02)
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.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 PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01)
00:1f.2 IDE interface: Intel Corporation 82801GB/GR/GH (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 7900 GT (rev a1)
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. Unknown device 8168 (rev 01)
04:01.0 Multimedia video controller: Brooktree Corporation Bt848 Video Capture (rev 11) |
Specifically, there is an SMBus adapter.
Any idea anyone? |
|
Back to top |
|
|
Laitr Keiows Bodhisattva
Joined: 04 Jul 2005 Posts: 891 Location: Kobe, Japan
|
|
Back to top |
|
|
curio77 n00b
Joined: 06 Nov 2006 Posts: 21 Location: Germany
|
Posted: Tue Nov 07, 2006 7:18 pm Post subject: |
|
|
Where are those? Under "ACPI Support", there's no such option, nor could I find anything like that in the ".config". I do have ACPI enabled, with modules for buttons, video, fan, processor (+ thermal zone). I figure this hint refers to "suspend" support, but I couldn't find that option either. In conclusion, I'm not sure this applies to current kernels any more (there's no CONFIG_ACPI_SLEEP option).
Applying the patch at
succeeds but doesn't seem to have any effect (yes, I did add the kernel command line parameter).
Laitr Keiows wrote: | And try upgrading to sys-apps/lm_sensors-2.10.1 |
This appears to just change the text of the error message to:
Code: | No sensors found!
Make sure you loaded all the kernel drivers you need.
Try sensors-detect to find out which these are. |
All modules suggested by "sensors-detect" are loaded (just as with the older version of lm_sensors). |
|
Back to top |
|
|
Laitr Keiows Bodhisattva
Joined: 04 Jul 2005 Posts: 891 Location: Kobe, Japan
|
Posted: Wed Nov 08, 2006 6:31 pm Post subject: |
|
|
curio77 wrote: | I'm not sure this applies to current kernels any more (there's no CONFIG_ACPI_SLEEP option). |
What version of kernel do you use? I'm using 2.6.18-suspend2
Code: | $ cat .config | grep ACPI_SLEEP
#CONFIG_ACPI_SLEEP is not set |
|
|
Back to top |
|
|
curio77 n00b
Joined: 06 Nov 2006 Posts: 21 Location: Germany
|
Posted: Wed Nov 08, 2006 7:36 pm Post subject: |
|
|
Laitr Keiows wrote: | curio77 wrote: | I'm not sure this applies to current kernels any more (there's no CONFIG_ACPI_SLEEP option). |
What version of kernel do you use? I'm using 2.6.18-suspend2 |
Used to use gentoo-sources-2.6.17-r[78]; I have now upgraded to (unstable) gentoo-sources-2.6.18-r2 without any changes in this regard.
Laitr Keiows wrote: | Code: | $ cat .config | grep ACPI_SLEEP
#CONFIG_ACPI_SLEEP is not set |
|
Yields nothing on my system. |
|
Back to top |
|
|
Laitr Keiows Bodhisattva
Joined: 04 Jul 2005 Posts: 891 Location: Kobe, Japan
|
Posted: Thu Nov 09, 2006 7:12 am Post subject: |
|
|
curio77 wrote: | Used to use gentoo-sources-2.6.17-r[78]; I have now upgraded to (unstable) gentoo-sources-2.6.18-r2 without any changes in this regard. |
I'm experiencing same problem as you. Even with vanilla-sources-2.6.19_rc3
Gonna file a bug at http://bugme.osdl.org/ even after looking at http://bugme.osdl.org/show_bug.cgi?id=4391
If it happen that you fill the bug before me there please let me know. |
|
Back to top |
|
|
Vulpes_ Tux's lil' helper
Joined: 24 Apr 2004 Posts: 119 Location: Hungary
|
Posted: Fri Dec 29, 2006 2:40 pm Post subject: lm_sensors |
|
|
Had the same problem as the others: lm_sensors set up correctly, but no go and complaints about sysfs. On my mobo (Gigabyte P965-DS4) there is an IT8718F sensor chip, and according to the lm_sensors homepage supported hardware section, this chip is only supported by lm_sensors-2.10.1. Moreover, it is only supported by kernel 2.6.19 by default, as earlier kernels must be patched to run lm_sensors with this chip properly (patch provided on the page).
Solution: upgrade kernel 2.6.19-r2 and lm_sensors 2.10.1, both ~ARCH. This way, lm_sensors works like a charm, although the default readings a far from perfect, but hey, what is /etc/sensors.conf is for? Other good things are that with the kernel upgrade I got rid of the annoying "Port is slow to respond..." SATA-bug at boot, and this kernel finally supports the JMicron SATA/PATA Controller integrated to my mobo. |
|
Back to top |
|
|
shadco n00b
Joined: 04 Nov 2004 Posts: 31
|
Posted: Sat Dec 30, 2006 4:27 pm Post subject: |
|
|
vulpes
thanks I think you finally put me on the right trial.
I'm trying to fix this in Kubuntu 2.6.17 with a gigabyte ga-965p-ds3 |
|
Back to top |
|
|
|
|
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
|
|