Puppy used to turn off computer via power-off....but now just halts system...
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Distribution: Vector Linux 5.9 Light Beta 364 MB RAM/ 754.36 MHz AMD Duron /30G HD, (1/2 of which I'm sharing wi
Posts: 19
Rep:
Puppy used to turn off computer via power-off....but now just halts system...(solved)
HI!
I've read several threads similar to my problem...but no resolution.
When I hit Power-off computer...system halts...but computer does not shutdown. Have to turn off power manually. NO, it's not that hard to do.. but something's not working right and I want to fix it. It used to turn the computer off. I've apparently messed up something! All other OS turn off computer fine.
puppy linux 2.12
sh-3.00# fdisk -l
Disk /dev/hda: 30.6 GB, 30614814720 bytes
255 heads, 63 sectors/track, 3722 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 2550 20482843+ c W95 FAT32 (LBA)
/dev/hda2 2551 3060 4096575 83 Linux
/dev/hda3 3061 3570 4096575 83 Linux
/dev/hda4 3571 3722 1220940 82 Linux swap / Solaris
Thanks
Last edited by thunderheights; 07-04-2008 at 11:11 PM.
Reason: s
Without you answering the questions that were asked that doesn't really tell us much. That said, you don't seem to be running either the APM or ACPI daemons, which is possibly the cause of your problem. If your board is APM, try loading the apm module:
Code:
modprobe apm
If it loads fine (check with lsmod), try shutting-down again.
If your board is ACPI, try manually starting acpid, which on most distros would go like:
win32sux,
I followed your instructions and shutdown problems are no more!
Thank You!
That's great, but keep in mind that you'd still need to make adjustments to your startup scripts for the change to be permanent. Like, say that loading the apm module did the trick, you'd need to add said module to the list of modules to be loaded at startup. Or say that running the acpid init script did the trick, you'd need to figure-out why the script isn't getting run at startup in the first place.
Distribution: Vector Linux 5.9 Light Beta 364 MB RAM/ 754.36 MHz AMD Duron /30G HD, (1/2 of which I'm sharing wi
Posts: 19
Original Poster
Rep:
your right...I'm still having trouble...when shutting down, I get the message..
shutting down / : recources busy or unavailable...and in the tmp file I get lots of missing mods txt files...any ideas?
Last edited by thunderheights; 02-13-2008 at 07:22 PM.
I still have no clue which of the procedures allowed you box to shutdown properly. Additionally, it would be great if you could clarify whether or not the busy resources error appears only when you carry-out the procedure. I don't understand what you mean with "mods txt". Please try to be as verbose as possible when you post replies.
Distribution: Vector Linux 5.9 Light Beta 364 MB RAM/ 754.36 MHz AMD Duron /30G HD, (1/2 of which I'm sharing wi
Posts: 19
Original Poster
Rep:
Sorry...I'm still new and half the time have no idea what I'm doing...must be a slow learner...but I do appreciate the time spent helping me...
lsmod produced :
Next time please use code tags when you decide to post stuff like this. It makes things easier for everybody. That said, the questions I asked you in my previous post are still up in the air.
After a quick look at your init script, it would seem you'd just need to add the appropriate line in /etc/rc.d/rc.modules in order for your apm module to be automatically loaded. That is, of course, if you are on an APM board (which we don't really know since it's one of the questions we've never received and answer for).
Distribution: Vector Linux 5.9 Light Beta 364 MB RAM/ 754.36 MHz AMD Duron /30G HD, (1/2 of which I'm sharing wi
Posts: 19
Original Poster
Rep:
ok! found the problems!
puppy linux not shutting down...just halting system.
opened /boot/grub/menulst and
added..."PMEDIA=idehd acpi=force" to the end of kernel boot line..so it looked like this..
kernel /boot/vmlinuz root=/dev/hda2 ro vga=normal PMEDIA=idehd acpi=force
rebooted...shutdown problem fixed..
as for the missingmods.txt files...
SP212 - Unofficial Service Pack for Puppy 212
this fixes a minor bug ... files called missingmods*.txt are being created in /tmp
and are not being deleted
you can download the fix here: http://www.murga-linux.com/puppy/viewtopic.php?&t=12907
Thanks for all the help...and advice on posting!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.