Re: Best way to print something from the kernel at 1s intervals?

2019-11-29 Thread Ian Lepore
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

Re: Best way to print something from the kernel at 1s intervals?

2019-11-29 Thread Peter Eriksson
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

Re: Best way to print something from the kernel at 1s intervals?

2019-11-29 Thread Enji Cooper
> 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),

Re: Best way to print something from the kernel at 1s intervals?

2019-11-29 Thread Rodney W. Grimes
> > 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

Re: Best way to print something from the kernel at 1s intervals?

2019-11-29 Thread Rodney W. Grimes
> 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