[SOLVED] dmesg warning about ACPI_PROCFS_POWER for kernel-generic-4.4.4
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
dmesg warning about ACPI_PROCFS_POWER for kernel-generic-4.4.4
I noticed this in my dmesg. Dunno whether it is crucial, but maybe something to change in future configs?
Code:
bash-4.3# dmesg | grep "procfs"
[ 7.541400] ACPI: Deprecated procfs I/F for AC is loaded, please retry with CONFIG_ACPI_PROCFS_POWER cleared
[ 7.580077] ACPI: Deprecated procfs I/F for battery is loaded, please retry with CONFIG_ACPI_PROCFS_POWER cleared
bash-4.3# tail -n 1000 /var/log/syslog | grep "procfs"
Mar 8 15:26:07 knotsUL kernel: [ 7.395114] ACPI: Deprecated procfs I/F for AC is loaded, please retry with CONFIG_ACPI_PROCFS_POWER cleared
Mar 8 15:26:07 knotsUL kernel: [ 7.417477] ACPI: Deprecated procfs I/F for battery is loaded, please retry with CONFIG_ACPI_PROCFS_POWER cleared
Mar 8 21:01:42 knotsUL kernel: [ 7.874882] ACPI: Deprecated procfs I/F for AC is loaded, please retry with CONFIG_ACPI_PROCFS_POWER cleared
Mar 8 21:01:42 knotsUL kernel: [ 8.110683] ACPI: Deprecated procfs I/F for battery is loaded, please retry with CONFIG_ACPI_PROCFS_POWER cleared
Mar 9 09:45:28 knotsUL kernel: [ 7.541400] ACPI: Deprecated procfs I/F for AC is loaded, please retry with CONFIG_ACPI_PROCFS_POWER cleared
Mar 9 09:45:28 knotsUL kernel: [ 7.580077] ACPI: Deprecated procfs I/F for battery is loaded, please retry with CONFIG_ACPI_PROCFS_POWER cleared
bash-4.3# cat /boot/config-generic-4.4.4 | grep "PROCFS_POWER"
CONFIG_ACPI_PROCFS_POWER=y
I am running slackware64-current on a laptop with an 8 core cpu:
Code:
vendor_id : GenuineIntel
cpu family : 6
model : 58
model name : Intel(R) Core(TM) i7-3632QM CPU @ 2.20GHz
stepping : 9
microcode : 0x15
cpu MHz : 1200.031
cache size : 6144 KB
I noticed this in my dmesg. Dunno whether it is crucial, but maybe something to change in future configs?
Code:
bash-4.3# dmesg | grep "procfs"
[ 7.541400] ACPI: Deprecated procfs I/F for AC is loaded, please retry with CONFIG_ACPI_PROCFS_POWER cleared
[ 7.580077] ACPI: Deprecated procfs I/F for battery is loaded, please retry with CONFIG_ACPI_PROCFS_POWER cleared
Well, here's what the Kconfig has to say about this option:
Quote:
For backwards compatibility, this option allows
deprecated power /proc/acpi/ directories to exist, even when
they have been replaced by functions in /sys.
The deprecated directories (and their replacements) include:
/proc/acpi/battery/* (/sys/class/power_supply/*)
/proc/acpi/ac_adapter/* (sys/class/power_supply/*)
This option has no effect on /proc/acpi/ directories
and functions, which do not yet exist in /sys
This option, together with the proc directories, will be
deleted in the future.
Say N to delete power /proc/acpi/ directories that have moved to /sys/
Generally I tend to leave options like this enabled, figuring that backwards compatibility is probably good until such time as the kernel actually deletes the feature. Seems like the kernel is being a bit too noisy about it here, but otherwise it's a harmless (and possibly helpful) option.
I think the new change is intended to be exactly for machine-digestion. Most normal users don't need to browse through /proc/ or /sys/, but many programs rely on information in there. The new change makes it easier for other programs to gain needed information without needing to parse a single output with a multitude of information (this of all that sed/awk/sort/etc fun you may have had in the past with that).
That being said, until this option is completely removed from the kernel, it doesn't hurt anything to keep it enabled, so I'm also glad Pat has kept it in our kernels
The option is not enabled when you do a make defconfig, but Linus doesn't like to break userspace so I can't see him yanking it out from under people completely. I guess making a little noise to encourage folks to disable it is their only approach for getting people to move on: short of giving them a nasty surprise one day!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.