[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



--
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