LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 01-08-2004, 12:59 PM   #1
IamDaniel
Member
 
Registered: Mar 2003
Location: Sungai Petani
Distribution: Slackware
Posts: 143

Rep: Reputation: 15
Unhappy recompile kernel 2.4.23 support for apm..fails


I am just recompile my kernel to stable release 2.4.23, everything goes well until I want to power off my computer, the APM seems doesn't work as I compiled the APM support into the kernel already.

I was able to shutdown and power off the computer automatically when it was 2.4.5 (I loaded the apm modules). Now for 2.4.23, I compiled to support directly from kernel. But it didn't work..why?

Below is part of my kernel's .config file:

Quote:
#
# Automatically generated by make menuconfig: don't edit
#
CONFIG_X86=y
# CONFIG_SBUS is not set
CONFIG_UID16=y

<snip>...
CONFIG_PM=y
CONFIG_APM=y
# CONFIG_APM_IGNORE_USER_SUSPEND is not set
CONFIG_APM_DO_ENABLE=y
CONFIG_APM_CPU_IDLE=y
CONFIG_APM_DISPLAY_BLANK=y
CONFIG_APM_RTC_IS_GMT=y
CONFIG_APM_ALLOW_INTS=y
CONFIG_APM_REAL_MODE_POWER_OFF=y

#
# ACPI Support
#
# CONFIG_ACPI is not set
CONFIG_ACPI_BOOT=y
#
<snip>...
 
Old 01-08-2004, 01:07 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Is apmd still being started?

What does dmesg say, any hints on APM
loading (or failing) for that matter?


Cheers,
Tink
 
Old 01-08-2004, 01:20 PM   #3
IamDaniel
Member
 
Registered: Mar 2003
Location: Sungai Petani
Distribution: Slackware
Posts: 143

Original Poster
Rep: Reputation: 15
I get a message like below... a little fake, but I can't copy the full message since I am shutting down the computer.
Quote:
apmd[1] exit
This sound like the apmd is loaded, but fails to functioning ?
 
Old 01-08-2004, 01:37 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Have a look at your logs after reboot

cd /var/log
less `ls -tr * | tail -n 5`
:n (to switch between the files)
Shft+g (takes you to the end of the file(s))


Cheers,
Tink
 
Old 01-21-2004, 08:22 PM   #5
IamDaniel
Member
 
Registered: Mar 2003
Location: Sungai Petani
Distribution: Slackware
Posts: 143

Original Poster
Rep: Reputation: 15
Sorry for taking so long to reply, but during these day I still can't get thing to works...

Well, the dmesg only shown very few info about the apm:
Quote:
ACPI disabled because your bios is from 00 and too old
You can enable it with acpi=force
Kernel command line: BOOT_IMAGE=Linux-2.4.23 ro root=341
Local APIC disabled by BIOS -- reenabling.
Found and enabled local APIC!
Initializing CPU#0
...
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16)
Starting kswapd
...
and the /var/log/messages has the following:
Quote:
....
Jan 9 22:28:31 darkstar kernel: BIOS-provided physical RAM map:
Jan 9 22:28:31 darkstar kernel: 160MB LOWMEM available.
Jan 9 22:28:31 darkstar kernel: ACPI disabled because your bios is from 00 and too old
Jan 9 22:28:31 darkstar kernel: You can enable it with acpi=force
Jan 9 22:28:31 darkstar kernel: Initializing CPU#0
....
Jan 9 22:28:31 darkstar kernel: apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16)
....
Jan 9 22:28:40 darkstar apmd[94]: Version 3.0final (APM BIOS 1.2, Linux driver 1.16)
Jan 9 22:28:40 darkstar apmd[94]: Charge: * * * (-1% unknown)
I am curious that is APIC have any relationship with ACPI ?
 
Old 01-21-2004, 08:32 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
The logs look good, for all I know :)

And no, ACPI and APIC are not related :}

ACPI = Advanced Configuration Power Interface
APIC = Advanced Programmable Interrupt Controller


Cheers,
Tink
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
APM in kernel recompile linuxhippy Slackware 4 03-12-2005 09:51 AM
No APM support in kernel kermit Debian 8 12-17-2004 03:17 AM
No sound support after kernel recompile abu_a_m Red Hat 1 02-10-2004 10:06 AM
swap partition fails after recompile kernel IamDaniel Linux - General 7 01-08-2004 02:45 PM
APM support and kernel configuration Bug Linux - Software 3 07-14-2003 02:07 PM

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

All times are GMT -5. The time now is 08:57 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