On 04/03/2017 09:15 PM, Bruce Dubbs wrote:
[email protected] wrote:
On 04/03/2017 05:01 PM, Bruce Dubbs wrote:
[email protected] wrote:

Through LFS 7.10 I've suppressed ACPI errors with a /etc/sysctl.conf file
containing 'kernel.printk = 4.'

However, with LFS 8.0 and the 4.9.9 kernel the errors aren't suppressed. Is this a kernel issue? I see the following in Kernal Hacking/printk and
dmesg options  --->:

    Default message log level (1-7) (NEW)

The default value is 4.  It seems that should make /etc/sysctl.conf
unnecessary.  But building the kernel with that value displays
never-ending ACPI errors, with or without /etc/sysctl.conf. This isn't a
significant problem as it occurs only in command line mode but it is
annoying.

If I boot my 8.0 build with the 7.10 kernel and /etc/sysctl.conf the ACPI
errors are suppressed.  That suggests there's not an error with my 8.0
build.  Logical?

You don't say if you are building sysv or systemd.  If sysv, edit
/etc/sysconfig/rc.site and change the line:

#LOGLEVEL=7

to

LOGLEVEL=4

The actual command is in /etc/init.d/rc

 dmesg -n "${LOGLEVEL:-7}"

If you prefer, you can also set LOGLEVEL in /etc/sysconfig/console.

I've built sysv and tried both methods but still receive the errors.  I
assume /etc/sysctl.conf is no longer needed and deleted it.

I don't ever recall seeing ACPI errors anyplace other than /var/log/Xorg.0.log.

However I do install ACPI and do not get any errors at all there.

What errors are you seeing?

  -- Bruce



I receive errors in kern.log, sys.log, and Xorg.o.log.

kern.log

ACPI Error: Method parse/execution failed [\_SB.PCI0.LPCB.LGPA] (Node 
ffff88017b06b168), AE_NOT_FOUND (20160831/psparse-543)
ACPI Error: Method parse/execution failed [\_SB.PCI0.LPCB.LEVN] (Node 
ffff88017b06c7f8), AE_NOT_FOUND (20160831/psparse-543)
ACPI Error: Method parse/execution failed [\_SB.PCI0.LPCB.ECLV] (Node 
ffff88017b06c758), AE_NOT_FOUND (20160831/psparse-543)
ACPI Error: Method parse/execution failed [\_GPE._L10] (Node ffff88017b06c820), 
AE_NOT_FOUND (20160831/psparse-543)
ACPI Exception: AE_NOT_FOUND, while evaluating GPE method [_L10] 
(20160831/evgpe-646)
ACPI Error: [\_TZ_.THRM] Namespace lookup failure,

sys.log

ACPI Error: [\_TZ_.THRM] Namespace lookup failure, AE_NOT_FOUND 
(20160831/psargs-359)
ACPI Error: Method parse/execution failed [\_SB.PCI0.LPCB.LGPA] (Node 
ffff88017b06b168), AE_NOT_FOUND (20160831/psparse-543)
ACPI Error: Method parse/execution failed [\_SB.PCI0.LPCB.LEVN] (Node 
ffff88017b06c7f8), AE_NOT_FOUND (20160831/psparse-543)

Xorg.0.log

[    32.157] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or 
directory)

I believe they are box related as I'd also never had such errors. I went from zero errors on my old box to numerous such - same release. But they are suppressed with the older kernel.
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to