Re: howto debug a complete hard reset

看板FB_current作者時間13年前 (2012/05/02 10:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串7/7 (看更多)
Jeremie Le Hen writes: > This is probably a sysctl handler that is causing the reboot. You can > run this one-liner to spot the culprit (use sh): > > for i in $(sysctl -Na); do sysctl $i >> ~/sysctl.out; sync; done > > Each sysctl will be called in turn and the output is appended to > a file, but the file will forcibly written to the disk before the > next occurence. Um ... it is my understanding sync(8) does not guarantee pending i/o will be written before it returns, but merely requests this happen irrespective of when it would normally occur. An I mistaken? Robert Huff _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
文章代碼(AID): #1Fe9Ll_I (FB_current)
討論串 (同標題文章)
文章代碼(AID): #1Fe9Ll_I (FB_current)