Bug 153935 - [hang] [suspend/resume] system hangs while trying to do 'shutdown -h now' after resuming from ACPI suspend
Summary: [hang] [suspend/resume] system hangs while trying to do 'shutdown -h now' aft...
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: amd64 (show other bugs)
Version: 8.0-RELEASE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-amd64 (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-12 18:20 UTC by Sebastian Chmielewski
Modified: 2018-09-30 17:13 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Chmielewski 2011-01-12 18:20:08 UTC
Systems hangs displaying message:

The operating system has halted.

Please press any key to reboot.



Rebooting...

cpu_reset: Stopping other CPUs

when shutdown -h now is used to switch off the system after resuming from ACPI suspend.

I've tried to debug this issue but setting break at 'generic_stop_cpus' by using gdb seems to be impossible:

cpu_reset: Stopping other CPUs



Fatal double fault

rip = 0xffffffff803e7cf0

rsp = 0xffffff8000023018

rbp = 0xffffff8000023050

cpuid = 0; apic id = 00

panic: double fault

cpuid = 0

KDB: stack backtrace:

#0 0xffffffff803dd2be at kdb_backtrace+0x5e

#1 0xffffffff803a97d7 at panic+0x187

#2 0xffffffff80645694 at dblfault_handler+0xa4

#3 0xffffffff8062d7ed at Xdblfault+0xad

KDB: enter: panic

System does not hang when 'Poweroff' button is pressed (except the case when pressing the button is not working, this is why 'shutdown -h now' is used)

How-To-Repeat: - power on
- use command 'zzz' or Fn+F1 hotkey to suspend the system
- resume 
- use command 'shutdown -h now'
- system hangs with message posted above
Comment 1 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 07:59:04 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped