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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
You will see from This_Thread that acpi is ropey on 10 year old boxes in the kernel. These older machines have a Northbridge/Southbridge design before the days of APUs which have different hardware requirements. Kernel-4.15.0 booted on my box, but it is very unhappy complaining of the dsdt. It crashes Hazel's.
Why don't you look in the logs to see what errors it is throwing? Does it get to reboot and freeze on startup, or does it fail on shutdown? /var/log/dmesg and /var/log/syslog are worth checking. Can you add a boot choice with the option "acpi=off" and see if that solves it? Don't stay running on this as the box might overheat. Also, in case Mint has some clever script that's invoked, you can suspend, hibernate, & restart with these three commands
Code:
# echo mem > /sys/power/state
# echo disk > /sys/power/state
# shutdown -r now
Problem is in shutdown; boot after forced power off is normal. The dlog says "Nothing has been logged yet." and syslog has no entry from shutdown; it begins with 'KLogPermitNonKernelFacility not permitted' (which may be why) then boot entries.
The "echo"s you suggest do not work in user or root mode. And in root the first causes an immediate crash to black screen. The "shutdown -r now" command has same freeze issue as any other shutdown.
Problem is in shutdown; boot after forced power off is normal. The dlog says "Nothing has been logged yet." and syslog has no entry from shutdown; it begins with 'KLogPermitNonKernelFacility not permitted' (which may be why) then boot entries.
The "echo"s you suggest do not work in user or root mode. And in root the first causes an immediate crash to black screen. The "shutdown -r now" command has same freeze issue as any other shutdown.
ADDENDUM: After forced power off Mint does not "auto login" after booting.
The first should suspend. Mine does. The second is hibernate, the third a reboot. It looks like a problem with your box, bios or acpi. One thing to try is to kill acpid, and immediately restart it as 'acpid -l' which should log acpi requests to syslog. We can at least see if acpi is being asked to do stuff. I would also see if there is a bios update.
Killing "apcid" before "shutdown" had no effect (still hangs after 2nd dot under logo). As a newbie I'm not sure how to shutdown or restart or boot without apci. Can you provide terminal code?
Killing "apcid" before "shutdown" had no effect (still hangs after 2nd dot under logo). As a newbie I'm not sure how to shutdown or restart or boot without apci. Can you provide terminal code?
Just a note that it is acpid and acpi (Advanced Configuration and Power Interface), not apcid and apci.
For older systems, you might have to also specify other boot options, like turning off acpi and / or apic. For example specifying acpi=off noapic during boot.
what happened it just went blank screen and hung? was you running anything, make some changes the did a quick reboot, just start up something then did a quick reboot?
mine hangs sometime when I do this or whatever, and hard power button off, then goes back to normal, I'd say is normal.
Machine is a Dell Vostro 1000 I'm setting up for an amateur (who won't want to hard power off every time she uses machine). Notebook starts the Shutdown (or first part of Restart) displays the Mint logo with 5 dots below and changes color of the first [leftmost] 2 dots then hangs forever. It doesn't matter if I use power from Menu or use console commands—result is always the same (but haven't tried from root as I don't want to show her how to act as root).
Right now am looking for a way to log the shutdown so I can identify what is hanging...
Found it. Although the Vostro BIOS does not have any ACPI specific settings it does have a "PowerNow Control" setting under Advanced which sounded suspicious. Disabling this BIOS Advanced option did the trick! Now both Shutdown and Restart work fine from the Menu.
Found it. Although the Vostro BIOS does not have any ACPI specific settings it does have a "PowerNow Control" setting under Advanced which sounded suspicious. Disabling this BIOS Advanced option did the trick! Now both Shutdown and Restart work fine from the Menu.
good investigatory skills. The way you posted it sounds like a one of them glitchy things where the user did something and didn't give the OS time to catch up to it, then shut down so it tossed it into a state of confusion where it just ends up hanging, sometimes trying to resolve the situation, but all you see it the same thing, it not doing what you're expecting it to do.
I suspected ACPI on this old laptop, but a quick browse through BIOS did not see any ACPI settings. It was only when I suspected anything related to “power” (which ACPI handles) that I thought to turn off the “PowerNow Control” setting.
I should have good “investigative” skills since I've been doing that for over 40 years, but the new Mint and Ubuntu are unfamiliar (the only Ubuntu I ran was server 6, but in the 70s I was a “Unix SVR4 wizard” though Linux has only superficial resemblance after 40 years of evolution). E.g. where has "/var/log/" shutdown log gone?
I'm not a big "Linux" know a lot, but syslog? if it does not have one got a find out why.
I have found that because Linux is open source and with all of the "knock offs" and original Linux/GNUs Distros, the ones that are knock off try to put there own spin on it.
So where one may find similarities between all of the different distros, their are times where one distro will not have what the other one did in order to do what it was you were doing when one was using that other distro. Even with setting up desktops, even though I like what Plasma has with desktop switching effects, I tend to stay with the less gui intense WM link WindowMaker, FLuxbox, and I've currently went back to openbox for a bit of a stay.
As a saying loosely goes, if you want to learn Linux use Slackware, if you want to learn whatever other distro that is out there, then use that one.
So depending on what Distro you are using you'd have to look it up for that distro for some of the stuff on Linux/GNU.
There is something called "snoopy logger" Snoopy is a tiny library that logs all executed commands (+ arguments) on your system. so you can see what "they" did to screw it up, and whatever.
just a little fyi. https://github.com/a2o/snoopy
could be in a repo, but look at your syslog see what you can see.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.