From: ppokorny@penguincomputing.com (Philip Pokorny)
To: lm-sensors@vger.kernel.org
Subject: 1250
Date: Thu, 19 May 2005 06:24:01 +0000 [thread overview]
Message-ID: <3EF7A5DE.7040004@penguincomputing.com> (raw)
In-Reply-To: <200306021011.37032.decibel8@charter.net>
I don't have my lm_sensors source handy right now, but I wanted to reply
so perhaps you or someone else could look into this...
I notice that the adapter is registered at address 6000. That's a bit
of a strange isa address. I believe that the original ISA bus only has
I/O addresses up to 3fff. Anything above that is either an alias or a
PCI bus address.
Perhaps there is a test in the ISA write function that makes sure the
address you're attempting to write is in the range: 0-3fff or less and
if not, returns an error.
If 6000 is an alias, then the "ISA" address would have been 2000... I
wonder why the VIA686A driver is looking for address 6000. Perhaps that
came from a PCI register programmed by the BIOS? If so, then the
VIA686A is really a PCI device and we need to generalize the isa
driver's notion of I/O address space for PCI devices...
:v)
David wrote:
> On Sunday 22 June 2003 03:44 pm, you wrote:
>
>>Well, the patch is either doing it's job or you didn't have the problem the
>>patch was designed to fix. However, in either case, your problem lies
>>someplace else.
>>
>>The second _sysctl() call above would not have said "CTL_DEV" if you had
>>the problem the patch was designed to solve.
>>
>>However, we *do* see that the kernel is denying write access to the files.
>>(-1 EACCESS (Permission denied)) when attempting to set the limits.
>>
>>
>>>write(2, "via686a-isa-6000: Can\'t access /"..., 55) = 55
>>>write(2, "Run as root?\n", 13) = 13
>>
>>Are you running "sensors -s" as root? While you can read sensors as any
>>user, only root can write the limits.
>>
>>The output from 'ls -l /proc/sys/dev/sensors/via686a-isa-6000' might also
>>be interesting to see.
>
>
>
>
> root # ls -l /proc/sys/dev/sensors/via686a-isa-6000
> total 0
> -r--r--r-- 1 root root 0 Jun 22 20:50 alarms
> -rw-r--r-- 1 root root 0 Jun 22 20:50 fan1
> -rw-r--r-- 1 root root 0 Jun 22 20:50 fan2
> -rw-r--r-- 1 root root 0 Jun 22 20:50 fan_div
> -rw-r--r-- 1 root root 0 Jun 22 20:50 in0
> -rw-r--r-- 1 root root 0 Jun 22 20:50 in1
> -rw-r--r-- 1 root root 0 Jun 22 20:50 in2
> -rw-r--r-- 1 root root 0 Jun 22 20:50 in3
> -rw-r--r-- 1 root root 0 Jun 22 20:50 in4
> -rw-r--r-- 1 root root 0 Jun 22 20:50 temp1
> -rw-r--r-- 1 root root 0 Jun 22 20:50 temp2
> -rw-r--r-- 1 root root 0 Jun 22 20:50 temp3
>
>
>
>>Are you running "sensors -s" as root? While you can read sensors as any
>>user, only root can write the limits.
>
>
> Hmmm, hope your joking here. But I guess sometimes you do have to ask.
>
> Dave
>
>
--
Philip Pokorny, Director of Engineering
Tel: 415-358-2635 Fax: 415-358-2646 Toll Free: 888-PENGUIN
PENGUIN COMPUTING, INC.
www.penguincomputing.com
next prev parent reply other threads:[~2005-05-19 6:24 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-19 6:23 1250 David
2005-05-19 6:23 ` 1250 Mark D. Studebaker
2005-05-19 6:23 ` 1250 Philip Pokorny
2005-05-19 6:23 ` 1250 Philip Pokorny
2005-05-19 6:23 ` 1250 Philip Pokorny
2005-05-19 6:24 ` 1250 Jean Delvare
2005-05-19 6:24 ` 1250 David
2005-05-19 6:24 ` 1250 Jean Delvare
2005-05-19 6:24 ` 1250 David
2005-05-19 6:24 ` 1250 DAVID
2005-05-19 6:24 ` 1250 Philip Pokorny
2005-05-19 6:24 ` Philip Pokorny [this message]
2005-05-19 6:24 ` 1250 Jean Delvare
2005-05-19 6:24 ` 1250 Philip Pokorny
2005-05-19 6:24 ` 1250 Jean Delvare
2005-05-19 6:24 ` 1250 David
2005-05-19 6:24 ` 1250 David
2005-05-19 6:24 ` 1250 Jean Delvare
2005-05-19 6:24 ` 1250 David
2005-05-19 6:24 ` 1250 David
2005-05-19 6:24 ` 1250 David
2005-05-19 6:24 ` 1250 Jean Delvare
2005-05-19 6:24 ` 1250 David
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3EF7A5DE.7040004@penguincomputing.com \
--to=ppokorny@penguincomputing.com \
--cc=lm-sensors@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.