The magic is in the 'sensors.strace' file that should have been created. >> and post the last 20 >> or 30 lines of the sensors.strace file?. I'm looking for pairs of >> calls to sysctl where the first works and the second has a strange >> (???) entry in the first argument to sysctl. At this point it *does* look like the same problem I had on SuSE... I've attached the one-line fix... :v) David wrote: > Didn't even get very far to even provide you with useful information. Here are > the results though. > By the way I am running Gentoo Linux, with gentoo-sources kernel > (2.4.20-gentoo-r5) > > The results are: > >>strace -o sensors.strace sensors -s > > > ptrace: umoven: Input/output error > ptrace: umoven: Input/output error > ptrace: umoven: Input/output error > ptrace: umoven: Input/output error > ptrace: umoven: Input/output error > ptrace: umoven: Input/output error > ptrace: umoven: Input/output error > ptrace: umoven: Input/output error > ptrace: umoven: Input/output error > via686a-isa-6000: Can't access /proc file for writing; > Run as root? > > That is as far as it got. Sorry. Thanks for the help. > > Dave > > > On Monday 02 June 2003 08:56 pm, you wrote: > >>You shouldn't actually need write permissions to the directory since >>user-space won't be creating or deleteing files in via686a-isa-6000... >> >>And all the individual files have the right permisions... >> >>David, what OS are you running on? I had a similar problem on SuSE >>Linux 8 for 64-bit Opteron that was caused by sensors_proc_write having >>it's data violated by some other code... >> >>Can you run 'strace -o sensors.strace sensors -s' and post the last 20 >>or 30 lines of the sensors.strace file?. I'm looking for pairs of calls >>to sysctl where the first works and the second has a strange (???) entry >>in the first argument to sysctl. >> >>If so, I've got a patch that you can try... >> >>:v) >> >>Mark D. Studebaker wrote: >> >>>devfs could be it. no other good ideas at the moment. >>> >>>David wrote: >>> >>>>ls -l /proc/sys/dev/sensors >>>>total 0 >>>>-rw-r--r-- 1 root root 0 Jun 2 10:05 chips >>>>dr-xr-xr-x 2 root root 0 Jun 2 09:49 via686a-isa-6000 >>>> >>>>ls -l /proc/sys/dev/sensors/via* >>>>total 0 >>>>-r--r--r-- 1 root root 0 Jun 2 10:06 alarms >>>>-rw-r--r-- 1 root root 0 Jun 2 10:06 fan1 >>>>-rw-r--r-- 1 root root 0 Jun 2 10:06 fan2 >>>>-rw-r--r-- 1 root root 0 Jun 2 10:06 fan_div >>>>-rw-r--r-- 1 root root 0 Jun 2 10:06 in0 >>>>-rw-r--r-- 1 root root 0 Jun 2 10:06 in1 >>>>-rw-r--r-- 1 root root 0 Jun 2 10:06 in2 >>>>-rw-r--r-- 1 root root 0 Jun 2 10:06 in3 >>>>-rw-r--r-- 1 root root 0 Jun 2 10:06 in4 >>>>-rw-r--r-- 1 root root 0 Jun 2 10:06 temp1 >>>>-rw-r--r-- 1 root root 0 Jun 2 10:06 temp2 >>>>-rw-r--r-- 1 root root 0 Jun 2 10:06 temp3 >>>> >>>>But even when I change the via686a-isa-6000 folder to have root write >>>>permissions it doesn't work. >>>> >>>>ls -l /proc/sys/dev/sensors >>>>total 0 >>>>-rw-r--r-- 1 root root 0 Jun 2 10:07 chips >>>>drwxr-xr-x 2 root root 0 Jun 2 09:49 via686a-isa-6000 >>>> >>>>So still get: sensors -s >>>>via686a-isa-6000: Can't access /proc file for writing; >>>>Run as root? >>>> >>>>I don't think the permission is staying either. Would devfs have >>>>something to do with this? >>> > -- Philip Pokorny, Director of Engineering Tel: 415-358-2635 Fax: 415-358-2646 Toll Free: 888-PENGUIN PENGUIN COMPUTING, INC. www.penguincomputing.com -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: lm_sensors-2.7.0-sysctl-1.patch Url: http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20030603/1924bccf/attachment.pl