View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 25 posts ] 
Go to page 1, 2  Next

Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Mon Sep 10, 2007 9:55 pm 
Offline
Joined: Sun Oct 16, 2005 12:15 pm
Posts: 288
According to this thread http://howto.wikia.com/wiki/Howto_get_the_Linux_kernel_to_properly_power_down_the_Dell_Optiplex_GX240_using_ACPI it's a bug of the kernel (I'm using Knoppmyth R5F27). My Dell doesn't power off after calling halt. (I tried poweroff, shutdown, halt -p).

The thread gives a fix and finishes by "compile the kernel as normal".

I found a howto in knoppmyth for compiling a kernel, but it shows how to recompile all modules as well. Will I need to recompile every module as well? I'm afraid I'm gonna break everything if I try a big thing like this. Or is there an easier way to do it?

EDIT: thank to Greg Frost. Edit /etc/lilo.conf and add "acpi=force" in "append=..." and remove apm=poweroff and reboot

It should look like this :
Code:
append="acpi=force nomce quiet  "


Last edited by zetoune on Sat Sep 15, 2007 4:29 pm, edited 2 times in total.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 11, 2007 1:02 am 
Offline
Site Admin
Joined: Fri Sep 19, 2003 6:37 pm
Posts: 2659
Location: Whittier, Ca
Can you like with it for a few days. I might be able to use you as a guinea pig. I'd jump in head first if I were you, that is what I must do some times. Just do a backup before you compile and install. If something breaks, auto upgrade.[/code]


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 11, 2007 1:13 am 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
My diskless frontend is a Dell GX240 and I have the same issue. Are the knoppmyth kernel sources from R5F27 available for download somewhere?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 11, 2007 1:15 am 
Offline
Site Admin
Joined: Fri Sep 19, 2003 6:37 pm
Posts: 2659
Location: Whittier, Ca
You can use the source on the FTP. I'd just copy the current config and make old-config.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 11, 2007 6:05 am 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
Forget compiling the kernel. My GX240 started powering down properly when I appended the boot option "acpi=force".


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 11, 2007 7:49 am 
Offline
Joined: Sun Oct 16, 2005 12:15 pm
Posts: 288
Greg : I tried this before, but it didn't work in my case, but it was with version R5F1.
Just to be jure. I have to add "acpi=force" in lilo.conf in the append string, don't I?

cecil: No problem, I can leave it as is if you need me to be a guinea pig. Just let me know what you want me to do.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 11, 2007 3:16 pm 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
zetoune wrote:
Greg : I tried this before, but it didn't work in my case, but it was with version R5F1.
Just to be jure. I have to add "acpi=force" in lilo.conf in the append string, don't I?

Yes, in /etc/lilo.conf and then run the lilo command as root for that change to take effect. This is not the way I did it because in my case it is a diskless frontend. I had to add "acpi=force" to the append line in the file /tftpboot/pxelinux.cfg/default.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 11, 2007 4:36 pm 
Offline
Joined: Sun Oct 16, 2005 12:15 pm
Posts: 288
Greg Frost: you are lucky. I just came back from the office, I tried to force acpi with no luck. It still doesn't power off. I think I have to compile kernel.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 11, 2007 4:54 pm 
Offline
Site Admin
Joined: Fri Oct 31, 2003 11:40 pm
Posts: 357
Location: Irvine, Ca
You did reboot after the lilo change, right? As it won't take effect until a boot.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 11, 2007 5:15 pm 
Offline
Joined: Sun Oct 16, 2005 12:15 pm
Posts: 288
yes I did!


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 11, 2007 5:39 pm 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
Well, I don't know what to say other than it works for me on my diskless frontend. Could this be effected by bios settings? You have carefully checked them right? When I get home I'll have a look at the BIOS version that I'm running and see what settings I have.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 11, 2007 5:47 pm 
Offline
Joined: Sun Oct 16, 2005 12:15 pm
Posts: 288
Great. Let me know when you are back. I got the last bios I found on dell website . A05.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 12, 2007 5:42 am 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
I had a look at the BIOS. I am running A04. I couldn't see any settings in the BIOS that looked like they were ACPI related :(


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 12, 2007 7:07 am 
Offline
Joined: Sun Oct 16, 2005 12:15 pm
Posts: 288
I'm gonna try to recompile Kernel this week and I will let you know


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 12, 2007 7:26 pm 
Offline
Joined: Sun Oct 16, 2005 12:15 pm
Posts: 288
it gives me headache. I looked for the file "boot.c" in : arch/i386/kernel/acpi/boot.c , it's not there. Only Makefile.

So I though it was because I didn't have the source. On the FTP, the only file I found is a *.deb. I don't how to extract file from a deb package.


I tried the beginning of Compile Kernel from this thread http://mysettopbox.tv/phpBB2/viewtopic.php?t=9218&highlight= as well and I got an error:
Code:
 
make menuconfig
scripts/kconfig/mconf arch/i386/Kconfig
drivers/Kconfig:57: can't open file "drivers/media/Kconfig"
make[1]: *** [menuconfig] Error 1
make: *** [menuconfig] Error 2



Can someone give me some tips?


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 25 posts ] 
Go to page 1, 2  Next



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 40 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu