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

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