Re: Poweroff on Fedora 37

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks Roger,
I'll try that.
Angelo


On Fri, 12 May 2023 13:02:24 -0500
Roger Heflin <rogerheflin@xxxxxxxxx> wrote:

> you could do this and see if this works.
> 
> stop all apps you care about and then:
> sync
> echo o > /proc/sysrq-trigger
> 
> That will call the kernel directly and immediately power the machine
> off, if that does not work then the kernel itself does not know how to
> power it off.
> 
> And if that does not work, then the fix would be to find a kernel
> option that changes how the machine gets powered off.  There used to
> be options to do that, I don't know if they are still around.
> 
> 
> On Fri, May 12, 2023 at 11:59 AM Patrick Mansfield via users
> <users@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
> >
> > On Fri, May 12, 2023 at 03:00:26PM +0200, t_pol wrote:  
> > > On Fri, 12 May 2023 09:23:51 +0200
> > > Andras Simon <szajmi@xxxxxxxxx> wrote:
> > >
> > > Thanks for your answer Andras,
> > >
> > > To be honest that was the command I've always used
> > > before "systemd" came along.
> > > I don't know if it gives the same problem.
> > > I'm gonna try it.
> > >
> > > BTW. Didn't find anything in the log files (journal).
> > >
> > > Ciao,
> > > Angelo
> > >
> > >  
> > > > 2023-05-04 12:58 UTC+02:00, t_pol <t_pol@xxxxxxxxxx>:  
> > > > > Hi all.
> > > > >
> > > > > Frequently "systemctl poweroff" does NOT really "power off"
> > > > > the machine but simply halts the system.  
> > > >
> > > > Does
> > > >
> > > > shutdown -h now
> > > >
> > > > work? If yes, would it be an adequate replacement? If no, I'd
> > > > look into the log files for a clue.  
> >
> > shutdown -h is documented as the same thing as poweroff.
> >
> > It could be a hardware / BIOS issue, or whatever it is in the
> > kernel that sends the commands to your hardware.
> >
> > But if it's random ¯\_(ツ)_/¯
> >
> > I have some supermicro systems I use that sometimes don't power
> > off, even though AFAICT they are configured the same as others that
> > power off reliably.
> >
> > -- Patrick
> > _______________________________________________
> > users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
> > To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
> > Fedora Code of Conduct:
> > https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List
> > Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> > List Archives:
> > https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
> > Do not reply to spam, report it:
> > https://pagure.io/fedora-infrastructure/new_issue  
> _______________________________________________
> users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
> Fedora Code of Conduct:
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List
> Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives:
> https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
> Do not reply to spam, report it:
> https://pagure.io/fedora-infrastructure/new_issue
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux