LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 11-26-2003, 07:59 PM   #1
sirpelidor
Member
 
Registered: Oct 2003
Location: Madison
Distribution: mdk 8.2, 9.0, 9.2, slack 9.1
Posts: 403

Rep: Reputation: 30
what's diff between this kernel and that kernel? using mandrake 9.0


hi there, i've been spending the last few days try to figure out how to completely power down the computer when halt. as you probably expected, it has to do with either APM or ACPI.

while i was searching for solution, i found something interest, i wanted to share with you guys in hope that i'll be closer to the solution.

i downloaded MoviX from http://movix.sourceforge.net/Docs/MoviX/0.8.0/
just to mess around with my linux box. the kernel is comes with is:

linux kernel v2.4.20

(movix is a linux kernel w/ mplayer built in, no actual OS in there, all u can do is load linux up do whatever mplayer can do )

when using kernel from Movix, i was able to to completely power down the system when i choose: shutdown -h now, which i am not able to with the kernel that come with mandrake 9.0.

here's the kenrel that is able to power down my box when halt:

=======================================================================
CONFIG_APM=m
CONFIG_APM_IGNORE_USER_SUSPEND=y
# CONFIG_APM_DO_ENABLE is not set
# CONFIG_APM_CPU_IDLE is not set
# CONFIG_APM_DISPLAY_BLANK is not set
# CONFIG_APM_RTC_IS_GMT is not set
# CONFIG_APM_ALLOW_INTS is not set
# CONFIG_APM_REAL_MODE_POWER_OFF is not set

CONFIG_PM=y
# CONFIG_ACPI is not set
============================
=====================================================

here is the kernel (from mandrake 9.0) that is unable to completely power down the machine when halt:

[root@localhost boot]# cat config | grep APM
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 is not set
CONFIG_APM_RTC_IS_GMT=y
# CONFIG_APM_ALLOW_INTS is not set
# CONFIG_APM_REAL_MODE_POWER_OFF is not set
[root@localhost boot]# cat config | grep ACPI
# CONFIG_HOTPLUG_PCI_ACPI is not set
# CONFIG_ACPI is not set

==================
=====================================================

as you see, both don't support acpi. so its obvious is APM issue related. question i have here is, what's diff between this 2 kernel base on the msg you reading here? (let me know if you want more info)

i'm showing both are:

# CONFIG_APM_REAL_MODE_POWER_OFF is not set

which isn't suppose to mean u can't completely power down the machine when using halt? how come i'm able to power down with linux kernel v2.4.20 and i can't power down using mandrake 9.0 kernel?

there must be additional infomation i'm missinghere.
p.s: my /etc/lilo.conf
i got append="apm=on apm=power_off"

still can't get the sucker power down my machine heheh

thanks for your help in advance

-sirpelidor
 
Old 11-26-2003, 11:48 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Mineral, Virginia
Distribution: Debian 8
Posts: 7,880

Rep: Reputation: 328Reputation: 328Reputation: 328Reputation: 328
"still can't get the sucker power down my machine"

There are several variations of the halt and shutdown commands.
Try the command:
poweroff

and read:
man halt
for other variations that you could try.


___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
Old 11-27-2003, 11:37 AM   #3
sirpelidor
Member
 
Registered: Oct 2003
Location: Madison
Distribution: mdk 8.2, 9.0, 9.2, slack 9.1
Posts: 403

Original Poster
Rep: Reputation: 30
isn't from the /var/log/wmpt point of view

poweroff -p is same as shutdown -p , so as halt -p?

anyway, i tried all these options, none of those are able to power down my machine. i still have to reach behind the back and press the power button.

what else can be the problem, if its other then apm, or acpi?

p.s: i am able to power down this box with redhat 9, i'm able power down with kernel come with movix, but i can't with mandrake 9.0, so it must be configuration problem.

thanks
 
  


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
Mandrake 10.1, & 10.2 kernel and kernel-source match up. raxxal Mandriva 1 03-30-2005 11:57 PM
has anyone successfully compiled a kernel for a diff arch. other than i386? veritas Slackware 4 06-16-2004 06:19 PM
Downgrading Mandrake 10 kernel to kernel-2.4.22.10mdk-1-1mdk windeath Mandriva 4 05-11-2004 08:21 PM
How many diff methods of Installing, Compiling Kernel Sources are there? DriveMeCrazy Red Hat 6 05-10-2004 03:53 PM
modprobe and insmod same modules, diff kernel ? qwijibow Linux - Software 1 11-06-2003 10:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:26 PM.

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