Re: [blfs-support] lm_sensors-3.3.5

2015-06-06 Thread Richard Melville
On 5 June 2015 at 22:59, Paul Rogers paulgrog...@fastmail.fm wrote:

  Maybe I've partially answered my own question.  I just ran sensors-
  detect again and I noticed that at one stage there was a message:
  Failed to load module I2C-i801.  However, this driver is already
  built into my kernel. Does the message mean that lm_sensors doesn't
  recognise a driver unless it's a module?

 The lm-sensors package is problematical.  It doesn't play well with
 ACPI.  You'll have to use a boot parameter so ACPI will use lax
 restrictions.  ACPI of course suggests that's dangerous.  There is an
 acpi package that provides temperatures, but I've yet to get a
 completely satisfactory installation.  But I haven't beat on it enough
 yet--other fish...


Thanks for the replies.  The point where lm_sensors complains is: Do you
want to probe the I2C/SMBus adapters now?  When I type yes, it replies:
Using driver 'I2c-i801' for device :00:1f.3: Intel 82801G ICH7.  This
is immediately followed by: Failed to load module I2c-i801

As I've said already, I've built this driver into the kernel.

What I might do (if I can be bothered) is temporarily enable module support
in the kernel and make the I2c-i801 driver a module.  Then run
sensors-detect again and see if lm_sensors gives any further information,
which I doubt.

Paul, what was the ACPI package to which you were referring, and the boot
parameter?

As a side issue, despite recently enabling penguins they never appeared,
until fiddling with lm_sensors that is.  Now they appear sporadically.  I
can't see how it is anything to do with lm_sensors, but something must be
broken somewhere, illustrated, mainly, by the wrong screen size being
delivered to the console.

A further question: has anybody successfully built libx86?

Richard
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] lm_sensors-3.3.5

2015-06-06 Thread Alexey Orishko
On Sat, Jun 6, 2015 at 1:43 PM, Richard Melville
richard.melvill...@googlemail.com wrote:
 Thanks for the replies.  The point where lm_sensors complains is: Do you
 want to probe the I2C/SMBus adapters now?  When I type yes, it replies:
 Using driver 'I2c-i801' for device :00:1f.3: Intel 82801G ICH7.  This
 is immediately followed by: Failed to load module I2c-i801

When I was trying to find a right kernel configuration for LFS build
on the new HW, I run Ubuntu (or any other distro) from USB stick
initially and check what modules were loaded. It makes work
identifying a right driver much easier.

∕alexey
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] lm_sensors-3.3.5

2015-06-06 Thread Paul Rogers
 Paul, what was the ACPI package to which you were referring,

google acpi-1.6.tar.gz 
Pick yer poison.

You can also find it at ftp://ftp.osuosl.org(/pub/gentoo/distfiles) 

I use that a lot!  It's close.

 and the boot parameter?

Let see, google acpi lax lm-sensors
http://www.lm-sensors.org/wiki/FAQ/Chapter3

My sensors have stopped working in kernel 2.6.31 ... If you want to
restore the old behaviour (which might be dangerous) add:
acpi_enforce_resources=lax to the kernel cmdline when booting (or add
it in grub.conf to make this permanent). ...

The point I was too subtly trying to make is don't count on lm-
sensors, use acpi.
-- 
Paul Rogers
paulgrog...@fastmail.fm
Rogers' Second Law: Everything you do communicates.
(I do not personally endorse any additions after this line. TANSTAAFL :-)



-- 
http://www.fastmail.com - Email service worth paying for. Try it for free

-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] UPower

2015-06-06 Thread Simon Geard
On Fri, 2015-06-05 at 15:25 -0700, Paul Rogers wrote:
 Name me one thing marketing ever got right!  (And I'll name a 
 hundred it screwed up.)

Unfair... you get the easy side of that challenge... :)

Simon.
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] lm_sensors-3.3.5

2015-06-06 Thread Michael Shell
On Sat, 6 Jun 2015 12:43:59 +0100
Richard Melville richard.melvill...@googlemail.com wrote:

 The point where lm_sensors complains is: Do you
 want to probe the I2C/SMBus adapters now?  When I type yes, it replies:
 Using driver 'I2c-i801' for device :00:1f.3: Intel 82801G ICH7.  This
 is immediately followed by: Failed to load module I2c-i801
 
 As I've said already, I've built this driver into the kernel.


It may depend on the specific driver. I've got an older system
using lm_sensors 3.3.2 and it does not complain that a driver
is built statically in the kernel. The problem may be confined
to sensors-detect's detection routine and not the sensors
utility itself, at least once its config files are setup.

I found this from 2012:

https://forums.gentoo.org/viewtopic-t-817433-start-0.html

which refers to an article closely related to this one:

http://jviz.research.iat.sfu.ca/wiki/index.php?title=HOWTO_Setup_lm_sensors

Be forewarned that the information there may be out of date.
That said, they suggest putting

LOADMODULES=no
INITSENSORS=yes 

in /etc/sensors.conf or /etc/sensors3.conf for kernels in
which everything is compiled in. You can also make your
local changes in files located in the /etc/sensors.d
directory.

If sensors-detect always tries to load a module rather
than first checking if the driver is available, I'd
consider that to be a bug that should be reported.


  Cheers,

  Mike Shell


-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] lm_sensors-3.3.5

2015-06-06 Thread Richard Melville
On 6 June 2015 at 19:00, Michael Shell li...@michaelshell.org wrote:

 On Sat, 6 Jun 2015 12:43:59 +0100
 Richard Melville richard.melvill...@googlemail.com wrote:

  The point where lm_sensors complains is: Do you
  want to probe the I2C/SMBus adapters now?  When I type yes, it
 replies:
  Using driver 'I2c-i801' for device :00:1f.3: Intel 82801G ICH7.
 This
  is immediately followed by: Failed to load module I2c-i801
 
  As I've said already, I've built this driver into the kernel.


 It may depend on the specific driver. I've got an older system
 using lm_sensors 3.3.2 and it does not complain that a driver
 is built statically in the kernel. The problem may be confined
 to sensors-detect's detection routine and not the sensors
 utility itself, at least once its config files are setup.

 I found this from 2012:

 https://forums.gentoo.org/viewtopic-t-817433-start-0.html

 which refers to an article closely related to this one:

 http://jviz.research.iat.sfu.ca/wiki/index.php?title=HOWTO_Setup_lm_sensors

 Be forewarned that the information there may be out of date.
 That said, they suggest putting

 LOADMODULES=no
 INITSENSORS=yes

 in /etc/sensors.conf or /etc/sensors3.conf for kernels in
 which everything is compiled in. You can also make your
 local changes in files located in the /etc/sensors.d
 directory.

 If sensors-detect always tries to load a module rather
 than first checking if the driver is available, I'd
 consider that to be a bug that should be reported.


Thanks for the detailed reply Michael.  I should have said that everything
appears to be working OK, the relevant files have been created and both the
sensors and the sensord binaries has been built.  I was just querying the
sensors-detect warning about the module not being loaded when the driver
has been built-in, and wondering if that was stopping the detection of
further drivers.  I don't think that's the case though.  I agree that it
does appear to be a bug.

Your second link, the setup HOWTO was useful.  Thanks again.

Richard
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page