complete shutdown on a Frugal install


Forum: HD Install
Topic: complete shutdown on a Frugal install
started by: och

Posted by och on Jan. 04 2007,08:22
working with labtops whose BIOS can power on the computer at a scheduled time, I usually implement a daily shutdown for saving power (embedded applications). With DSL in a Frugal install, the shutdown is never complete for the operator should be able to remove the live CD and then push on a key.
Is there a way around that behaviour?

Posted by mikshaw on Jan. 04 2007,12:35
You might try the boot option "noeject"
Posted by och on Jan. 05 2007,10:51
It works!
Thank you!

Posted by och on April 26 2007,09:00
the problem is showing up again with DSL 3.3 on a DELL Latitude C600. In spite of the noeject cheatcode, the LED indicating that the power is on remains lighted and only a push on the on/off button can put it off (and the automatic BIOS wakeup available on that labtop won't work as long as that LED is lighted).
Is there anything I could try?

Posted by curaga on April 26 2007,10:41
See what power management stuff aka apm or acpi are enabled.. They're responsible for the actual power off...
Posted by och on April 26 2007,14:48
I am booting with cheatcodes noapm noacpi
but there is a /proc/acpi
What should I look for to go further in the understanding of the power management?

Posted by roberts on April 26 2007,16:50
If you system is not recognizing acpi then you might want to try the boot code:  acpi=force
Posted by chaostic on May 04 2007,03:25
How bout when booting from the cd does a full poweroff on shutdown, but a hd install with the same will not automatically poweroff on shutdown?
Posted by curaga on May 04 2007,15:57
Maybe the cd does not automatically use "noapm noacpi"...
Posted by och on May 09 2007,10:11
Keeping acpi and/or apm does not change anything.
I tested that it does not work with liveCD DSL 3.0 and 3.2, but it works with liveCD knoppix 5.1.
Does anybody know what the difference between Knoppix and DSL could be at that level?
I noticed some at least on messages:
DSL boot:
Code Sample
ACPI BIOS found, activating modules ac battery button fan processor thermal
apm overriden by acpi

Knoppix boot:
Code Sample
ACPI BIOS found, activating modules ac battery button container dock fan i2c_ac processor sbs thermal video

While shutting down DSL issues some errors:
Code Sample
insmod: /lib/modules/2.4.26/kernel/arch/i386/kernel/apm.o: init_module: No such device
insmod: /lib/modules/2.4.26/kernel/arch/i386/kernel/apm.o: insmod:char-major-16-134 failed

Posted by Juanito on May 09 2007,13:42
Quote
I tested that it does not work with liveCD DSL 3.0 and 3.2, but it works with liveCD knoppix 5.1.
Does anybody know what the difference between Knoppix and DSL could be at that level?
'Apologies if this is stating the obvious, but DSL is 2.4.26 and knoppix 5.1 is 2.6.x - I've found (for me at least) that anything to do with laptops/powersaving seems to work better in DSL-N (2.6.12) than DSL.

Quote
ACPI BIOS found, activating modules ac battery button fan processor thermal
apm overriden by acpi
From this I believe you could use the bootcode "noapm" and your machine will load up the acpi modules on its own.

I have a Dell Latitude D400 and shutdown works fine - there is a module named i8k that is supposed to work with acpi on Dell laptops that you could try (I'm not using this at the moment and can't find where I put it...) to see if that helps.

Dell laptops are notorious for having acpi bugs in their BIOS - if you didn't do it already, flashing your BIOS to the latest version from Dell might help.

Posted by och on May 14 2007,13:12
It took me some time to resume working on this issue for my first trial with apt-get install i8kutils ended  with lib6c not being installed. As I was already trying to install libc6 for  using perl modules (posted in apt section) I momentarily gave up the shutdown issue.
Now I can 'apt'  further and the i8kutils package tells me:
Code Sample
invoke-rc.d applet not found

Does that remind you of anything?

By the way, I am already using noapm as cheatcode

Posted by Juanito on May 14 2007,13:48
Quote
Does that remind you of anything?

In fact no, but I am not sure I compiled the utilities - I think I just loaded the module and looked at /proc/i8k.

BTW - looking at the DSL/Knoppix .config file, i8k is enabled as a module so if it isn't in DSL (I am not using DSL at the moment to check) it will be on the Knoppix 3.4 CD and directly useable in DSL.

All this being said, from looking < here >I am not sure that i8k will help with your issue unfortunately...

Posted by och on May 20 2007,12:02
So invoke-rc.d needed a forced re-installation:
After
Code Sample
sudo apt-get install file-rc

which will fail,
Code Sample
sudo dpkg -i --force-all  /var/cache/apt/archives/file-rc_0.8.7_all.deb

makes the trick.

Posted by och on May 20 2007,12:03
So invoke-rc.d needed a forced re-installation:
After
Code Sample
sudo apt-get install file-rc

which will fail,
Code Sample
sudo dpkg -i --force-all  /var/cache/apt/archives/file-rc_0.8.7_all.deb

makes the trick.

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.