/proc/acpi missing after upgrading to kernel 2.6.7
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.
/proc/acpi missing after upgrading to kernel 2.6.7
Hi everybody. I'm using slackware 10 with the 2.4.26 kernel with acpi support. Everything worked fine, I coud get some info like battery charge status, temp, etc., (I have a dell inspiron 600m). Then I installed the kernel 2.6.7 and I followed the instructions (installed kernel, modules and alsa, then I run mkinitrd, folllowing instrucions in README.initrd). After rebooting I couldn't get battery information anymore, then I returned to kernel 2.4.26. Trying to start acpid prints a message saying:
acpid: can't open /proc/acpi/event: No such file or directory
Before I did all of these, I had no problem and I had all information I need, (like /proc/acpi/processor/CPU0/throttling), but now I can't get it using the same kernel (2.4.26) I was using when everything worked fine.
it looks like you don't have ACPI in your 2.6 kernel enabled, or it's compiled as a module that is'n loaded. You need to reconfigure your kernel and enable ACPI directly into kernel, or as a module (don't forget to load it
i have the same problem.
in mdk 10, with the 2.6.3 kernel that came with it, i used to be able to run KLaptop and enable the kde acpi helper application, which then allowed me to try out hibernate/suspend... they didn't work that great, but at least i could run them.
now i have a compiled kernel 2.6.5 that has acpi support, but i can't do the same thing in KLaptop, i.e. i can't enable the kde acpi helper application. also, i tried echo {standby,disk} > /sys/power/state as instructed by linux/Documentation/power/states.txt, but nothing happened.
i have acpi statically compiled. here is the relevant part of .config:
#
# Power management options (ACPI, APM)
#
CONFIG_PM=y
# CONFIG_SOFTWARE_SUSPEND is not set
CONFIG_PM_DISK=y
CONFIG_PM_DISK_PARTITION="/dev/hda8"
#
# ACPI (Advanced Configuration and Power Interface) Support
#
CONFIG_ACPI=y
CONFIG_ACPI_BOOT=y
CONFIG_ACPI_INTERPRETER=y
# CONFIG_ACPI_SLEEP is not set
CONFIG_ACPI_AC=y
CONFIG_ACPI_BATTERY=y
CONFIG_ACPI_BUTTON=y
CONFIG_ACPI_FAN=y
CONFIG_ACPI_PROCESSOR=y
CONFIG_ACPI_THERMAL=y
CONFIG_ACPI_ASUS=m
# CONFIG_ACPI_TOSHIBA is not set
# CONFIG_ACPI_DEBUG is not set
CONFIG_ACPI_BUS=y
CONFIG_ACPI_EC=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_PCI=y
CONFIG_ACPI_SYSTEM=y
# CONFIG_X86_PM_TIMER is not set
At least you were able to get a /proc/acpi directory in kernel 2.4.26. I have had no such success on my laptop. I have an ACPI compliant BIOS (Phoenix BIOS 4.0 Realease 6) but have never been able to get that to work. I have even compiled a version 2.6.7 kernel version with the latest ACPI patch from acpi.sourcefourge.net and ACPI options compiled both as modules and statically. I have still yet to get that /proc/acpi directory.
I am not sure whether the problem is with the BIOS type but I tried a live-cd distro with a kernel 2.6.5 (Mepis Linux) on a different system having an Award BIOS and sure enough, a proc/acpi directory was present. However, when that same live cd was run on my laptop, no /proc/acpi directory was found.
Has anyone had any success with ACPI on a system with the version of the Phoenix BIOS 4.0 Release 6? I would sure appreciate that solution.
If I was able to use acpi before, why can't I do this anymore? I'm not using kernel 2.6 anymore, I'm using 2.4.26 wich worked perfectly before I tried the newer kernel. I didn't chage anything. Should I compile a new kernel by myself? or can I get acpi back with the one I'm using?
yes, /etc/rc.d/rc.acpid is executable and acpid is installed. I added an event to "/etc/acpi/events/" to make the lid button work, and it still works, when close the lcd it's turned off, isn't it weird?
Did anyone find a solution to this problem? I'm trying to help a friend to setup the acpi on his laptop. he's running slack 10, with the whole acpi section compiled into the kernel (2.6.7 from /testing on the slack cd). The /proc/acpi is missing, and acpid won't start. running /etc/rc.d/rc.acpid start does not accomplish anything (it doesn't output an error message, but the daemon won't start). Is there a separate module that has to be loaded in order to get the /proc/acpi folder?
The acpi code in the newer kernels has fuzzy detection of ACPI and if the BIOS is an older one then it will disable it regardless of whether it supports ACPI. Best way to check for this is in dmesg, if there is a line at the very top talking about the BIOS being from 19xx and to use acpi=force to enable (or something similiar), then there's your problem. If you're certain your BIOS supports ACPI you can add acpi=force to your kernel options. man grub or man lilo will show you how to do this if you don't already know.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.