Date: Fri, 27 Oct 2017 16:41:32 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 223282] [kern.panic_reboot_wait_time] Does not work, immediate reboot Message-ID: <bug-223282-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D223282 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@FreeBSD.org Reporter: ben.rubson@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 reb= oot 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 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-223282-8>