On Fri, 2019-11-29 at 23:10 +0100, Peter Eriksson wrote:
> I love dtrace, but I seriously doubt that it could be used it for
> this. This is the absolutely last code that executes at kernel
> shutdown/reboot. All other processes are terminated when this is
> happening...
>
> Basically the code don
I love dtrace, but I seriously doubt that it could be used it for this. This is
the absolutely last code that executes at kernel shutdown/reboot. All other
processes are terminated when this is happening...
Basically the code done in kern_reboot() (and stuff it calls) in
/usr/src/sys/kern/kern_
> On Nov 28, 2019, at 12:52, Peter Eriksson wrote:
>
> I’ve been looking into the “kernel looks to be hung at reboot” problem at
> bit. Adding a lot of printf() calls to the relevant parts it looks like it
> actually isn’t hung but busy unmounting filesystems (which we have thousands
> of),
> > I?ve been looking into the ?kernel looks to be hung at reboot? problem at
> > bit. Adding a lot of printf() calls to the relevant parts it looks like it
> > actually isn?t hung but busy unmounting filesystems (which we have
> > thousands of), flushing disk caches, calling registered callback
> I?ve been looking into the ?kernel looks to be hung at reboot? problem at
> bit. Adding a lot of printf() calls to the relevant parts it looks like it
> actually isn?t hung but busy unmounting filesystems (which we have thousands
> of), flushing disk caches, calling registered callbacks and st