[Bug 223282] [kern.panic_reboot_wait_time] Does not work, immediate reboot

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Oct 27 16:41:32 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223282

            Bug ID: 223282
           Summary: [kern.panic_reboot_wait_time] Does not work, immediate
                    reboot
           Product: Base System
           Version: 11.0-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: ben.rubson at gmail.com

Hi,

# uname -sr
FreeBSD 11.0-RELEASE-p13

# sysctl kern.panic_reboot_wait_time
kern.panic_reboot_wait_time: -1

According to source code (sys/kern/kern_shutdown.c), FreeBSD should not reboot
after a panic.
However it does, without displaying any message.
I also tried setting this sysctl to some seconds, same behavior.

I tried some debugging, kernel enter poweroff_wait(), but does not seem to
enter shutdown_*(), where it should finally wait in shutdown_panic().

I would like my systems not to reboot after a panic, so that I can get the
stack trace on the console if dump failed, thus allowing me to know what
happened.

Thank you !

Ben

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list