LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-11-2004, 11:05 PM   #1
miguelash
LQ Newbie
 
Registered: Mar 2002
Location: Queretaro, Mexico
Distribution: Slackware 10
Posts: 8

Rep: Reputation: 0
Unhappy /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.

What can I do to get acpi working again?

Thanks for any help

MIguel
 
Old 07-12-2004, 03:16 AM   #2
slano
Member
 
Registered: May 2003
Distribution: slack,gentoo
Posts: 57

Rep: Reputation: 16
hi,

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
 
Old 07-12-2004, 03:55 AM   #3
rgiggs
Member
 
Registered: Apr 2004
Location: berkeley, ca
Distribution: slk10, winxp
Posts: 313

Rep: Reputation: 30
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
 
Old 07-12-2004, 04:31 AM   #4
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
try with disable CONFIG_PM_DISK as you use ACPI.
# CONFIG_PM_DISK is not set
 
Old 07-12-2004, 05:16 AM   #5
dizzi
Member
 
Registered: Jun 2004
Location: Yorkshire, UK
Distribution: Mint, Slackware
Posts: 146

Rep: Reputation: 15
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.

Regards
 
Old 07-12-2004, 02:51 PM   #6
miguelash
LQ Newbie
 
Registered: Mar 2002
Location: Queretaro, Mexico
Distribution: Slackware 10
Posts: 8

Original Poster
Rep: Reputation: 0
Question

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?

Thanks
 
Old 07-12-2004, 03:38 PM   #7
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Did you try to chmod +x /etc/rc.d/rc.acpid ? Maybe reinstall acpid package can help.
 
Old 07-12-2004, 07:39 PM   #8
miguelash
LQ Newbie
 
Registered: Mar 2002
Location: Queretaro, Mexico
Distribution: Slackware 10
Posts: 8

Original Poster
Rep: Reputation: 0
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?

aby suggestion?
 
Old 07-31-2004, 02:07 PM   #9
isl01jbe
LQ Newbie
 
Registered: May 2004
Distribution: Slackware
Posts: 11

Rep: Reputation: 0
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?

/Jonas

Last edited by isl01jbe; 07-31-2004 at 02:11 PM.
 
Old 07-31-2004, 02:16 PM   #10
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
Have you hotplug enabled ?
 
Old 08-01-2004, 11:27 AM   #11
LILLY4117
LQ Newbie
 
Registered: Aug 2003
Location: Lund, Sweden
Distribution: Gentoo, win2000
Posts: 14

Rep: Reputation: 0
from isl01jbe

Posting a answer from "isl01jbe"

"I have hotplug installed."
 
Old 08-01-2004, 11:55 AM   #12
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
Nevermind, i read wrong.

If your laptop is old maybe APM is the one for you.

Last edited by gbonvehi; 08-01-2004 at 12:42 PM.
 
Old 08-11-2004, 08:57 PM   #13
treefrogger
LQ Newbie
 
Registered: Aug 2004
Posts: 1

Rep: Reputation: 0
miguelash,

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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
/proc/net/wireless missing after kernel recompile Outabux Debian 1 07-05-2004 03:16 PM
acpi (no /proc/acpi)??? JimDog Linux - Newbie 2 01-25-2004 12:14 AM
/proc/acpi missing no_leaf_clover Linux - Software 3 12-18-2003 04:28 AM
/proc/acpi does not exiat jjge Linux - Software 2 09-09-2003 01:00 PM
kernel 2.4.20 & acpi-20021212-2.4.20.diff => no /proc/acpi Tinkster Linux - Software 5 03-24-2003 01:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration