All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Anders Kullenberg" <akullen@swipnet.se>
To: lm-sensors@vger.kernel.org
Subject: Re: [lm-sensors] extreme fan rpms with atk0110
Date: Thu, 24 Mar 2011 17:23:08 +0000	[thread overview]
Message-ID: <000901cbea48$2567dde0$703799a0$@se> (raw)
In-Reply-To: <20110312212759.3c9e0e56@endymion.delvare>

Hi Jean,

> -----Ursprungligt meddelande-----
> Från: Jean Delvare [mailto:khali@linux-fr.org]
> Skickat: den 24 mars 2011 09:40
> Till: Anders Kullenberg
> Kopia: 'Luca Tettamanti'; 'LM Sensors'
> Ämne: Re: [lm-sensors] extreme fan rpms with atk0110
> 
> Hi Anders,
> 
> On Sun, 20 Mar 2011 23:36:32 +0100, Anders Kullenberg wrote:
> > > Från: Jean Delvare [mailto:khali@linux-fr.org]
> > > Skickat: den 16 mars 2011 12:38
> > > Till: Anders Kullenberg
> > > Kopia: 'Luca Tettamanti'; 'LM Sensors'
> > > Ämne: Re: [lm-sensors] extreme fan rpms with atk0110
> > > On Tue, 15 Mar 2011 20:39:12 +0100, Anders Kullenberg wrote:
> > > > Blacklisting is done in "/usr/src/linux-headers-2.6.35-27-
> > > server/.config" correct?
> > > > In the ACPI drivers section I have:
> > > > CONFIG_SENSORS_ATK0110=m
> > > > CONFIG_SENSORS_LIS3LV02D=m
> > > >
> > > > Should I comment both those out?
> > >
> > > No, blacklisting is done with statements in /etc/modprobe.d/*. On
> my
> > > distribution, I'd add:
> > >
> > > blacklist asus_atk0110
> > >
> > > to file etc/modprobe.d/99-local.conf. Or you can create a brand new
> > > file in this directory if you want.
> > >
> > > >
> > > > Where do I put the "acpi_enforce_resources=lax"
> > >
> > > It has to go on the boot command line, typically you add it when
> grub
> > > presents the boot options at system start-up. Alternatively, you
> can
> > > edit /boot/grub/menu.lst or /boot/grub/grub.cfg (depending on your
> > > distribution) manually to add it at the end of the relevant "linux"
> or
> > > "kernel" line.
> >
> > Followed the instructions and it worked until next reboot, then the
> CPU fan
> 
> Boot parameters typed on the grub command line are only for the current
> boot. If you want them to be permanent, you have to edit the grub
> configuration files instead.

I did added  GRUB_CMDLINE_LINUX="acpi_enforce_resources=lax" to
/etc/default/grub and ran update-grub2
That added it to the grub.cfg file for me. Does not that mean that it should
stick after reboot?

> 
> > jumped up to ~3000 rpm's. I went back to using the atk0110 again.
> > I have computed the CPU fan with @/32,32*@ and the chassis fan with
> @/8,8*@,
> > seams to give relatively correct figures. Tried using the set
> fanN_div
> > statement to get correct min values but I get an error when running
> sensors
> > afterwards. Any recommendations on that?
> 
> The asus_atk0110 driver doesn't support changing the divisor values,
> because the ACPI interface implemented by the BIOS doesn't expose these
> settings. So the error you hit is expected.
> 
> Please provide the output of the following command:
> # isadump 0xd05 0xd06

akullen@ubuntu64:~$ sudo isadump 0xd05 0xd06
[sudo] password for akullen:
WARNING! Running this program can cause system crashes, data loss and worse!
I will probe address register 0xd05 and data register 0xd06.
Continue? [Y/n] y
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00: 19 00 ff 03 00 00 00 00 00 80 7f 3b 07 80 ff ff
10: ff ff ff 77 87 80 7f 7f 00 ff ff ff ff ff ff ff
20: 46 ff cf ba ba ff ff ff cc 1e 2e 80 0e fe fe fe
30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
40: ff ff ff ff ff ff ff ff 2d ff ff ff ff ff ff ff
50: 1d 18 7f 7f 7f 00 56 00 90 56 ff 12 80 00 00 00
60: 00 23 7f 37 18 03 ff ff 00 19 7f 28 18 03 ff ff
70: 7f 7f 7f 00 00 7f ff ff ff ff ff ff ff ff ff ff
80: 00 00 00 00 ff ff ff ff 00 00 ff ca 02 00 99 99
90: 7f 7f 7f 00 00 7f ff ff 7f 7f 7f 00 00 7f ff ff
a0: 00 00 00 00 00 00 00 ff ff ff ff ff ff ff ff ff
b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff

> 
> This will show the IT8712F hardware monitoring registers, and in
> particular register 0x0c which contains the 8/16-bit fan configuration
> bits. Luca says that the ATK0110 code expects them to be set to 8-bit.
> 
> Additionally, I would like to know the exact revision of your IT8712F
> chip. The it87 driver logged the information when you loaded it, so you
> may be able to find the information in your logs. If not, the following
> dump will tell:
> # isadump -k 0x87,0x01,0x55,0x55 0x2e 0x2f 4

akullen@ubuntu64:/var/log$ sudo isadump -k 0x87,0x01,0x55,0x55 0x2e 0x2f 4
[sudo] password for akullen:
WARNING! Running this program can cause system crashes, data loss and worse!
I will probe address register 0x2e and data register 0x2f.
Probing bank 4 using bank register 0x07.
Continue? [Y/n] y
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00: 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 87 12 08 01 00 00 00 00 00 40 00 00 1d 00 00 00
30: 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 0d 00 0c 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 02 00 00 04 04 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 a0 00 fd 00 00 00 00 00 00 00 00 00

Also found this in the logs
messages:Mar 21 22:18:38 ubuntu64 kernel: [    6.528399] it87: Found IT8712F
chip at 0xd00, revision 8
messages:Mar 21 22:18:38 ubuntu64 kernel: [    6.528413] it87: in3 is VCC
(+5V)
messages:Mar 21 22:18:38 ubuntu64 kernel: [    6.528454] ACPI: resource it87
[io  0x0d05-0x0d06] conflicts w                       ith ACPI region ECRE
[mem 0x00000d00-0x00000d1f 64bit pref window disabled]

Is this something to worry about?

Thanks
Anders

> 
> --
> Jean Delvare
> http://khali.linux-fr.org/wishlist.html


_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

  parent reply	other threads:[~2011-03-24 17:23 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-12 20:27 [lm-sensors] extreme fan rpms with atk0110 Jean Delvare
2011-03-12 21:39 ` Anders Kullenberg
2011-03-12 21:56 ` Jean Delvare
2011-03-12 22:54 ` Luca Tettamanti
2011-03-14 20:39 ` Anders Kullenberg
2011-03-15 14:01 ` Luca Tettamanti
2011-03-15 14:58 ` Jean Delvare
2011-03-15 16:01 ` Luca Tettamanti
2011-03-15 19:39 ` Anders Kullenberg
2011-03-16 11:38 ` Jean Delvare
2011-03-20 22:36 ` Anders Kullenberg
2011-03-24  8:40 ` Jean Delvare
2011-03-24 17:23 ` Anders Kullenberg [this message]
2011-03-24 18:08 ` Jean Delvare

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='000901cbea48$2567dde0$703799a0$@se' \
    --to=akullen@swipnet.se \
    --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.