LinHES Forums
http://forum.linhes.org/

Dell GX240 no poweroff. SOLVED
http://forum.linhes.org/viewtopic.php?f=5&t=16416
Page 1 of 2

Author:  zetoune [ Mon Sep 10, 2007 9:55 pm ]
Post subject:  Dell GX240 no poweroff. SOLVED

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  "

Author:  cecil [ Tue Sep 11, 2007 1:02 am ]
Post subject: 

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]

Author:  Greg Frost [ Tue Sep 11, 2007 1:13 am ]
Post subject: 

My diskless frontend is a Dell GX240 and I have the same issue. Are the knoppmyth kernel sources from R5F27 available for download somewhere?

Author:  cecil [ Tue Sep 11, 2007 1:15 am ]
Post subject: 

You can use the source on the FTP. I'd just copy the current config and make old-config.

Author:  Greg Frost [ Tue Sep 11, 2007 6:05 am ]
Post subject: 

Forget compiling the kernel. My GX240 started powering down properly when I appended the boot option "acpi=force".

Author:  zetoune [ Tue Sep 11, 2007 7:49 am ]
Post subject: 

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.

Author:  Greg Frost [ Tue Sep 11, 2007 3:16 pm ]
Post subject: 

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.

Author:  zetoune [ Tue Sep 11, 2007 4:36 pm ]
Post subject: 

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.

Author:  Dale [ Tue Sep 11, 2007 4:54 pm ]
Post subject: 

You did reboot after the lilo change, right? As it won't take effect until a boot.

Author:  zetoune [ Tue Sep 11, 2007 5:15 pm ]
Post subject: 

yes I did!

Author:  Greg Frost [ Tue Sep 11, 2007 5:39 pm ]
Post subject: 

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.

Author:  zetoune [ Tue Sep 11, 2007 5:47 pm ]
Post subject: 

Great. Let me know when you are back. I got the last bios I found on dell website . A05.

Author:  Greg Frost [ Wed Sep 12, 2007 5:42 am ]
Post subject: 

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 :(

Author:  zetoune [ Wed Sep 12, 2007 7:07 am ]
Post subject: 

I'm gonna try to recompile Kernel this week and I will let you know

Author:  zetoune [ Wed Sep 12, 2007 7:26 pm ]
Post subject: 

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?

Page 1 of 2 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/