Strange issue after early AP startup

John Baldwin jhb at freebsd.org
Mon Jan 16 20:24:11 UTC 2017


On Monday, January 16, 2017 04:51:42 PM Hans Petter Selasky wrote:
> Hi,
> 
> When booting I observe an additional 30-second delay after this print:
> 
> > Timecounters tick every 1.000 msec
> 
> ~30 second delay and boot continues like normal.
> 
> Checking "vmstat -i" reveals that some timers have been running loose.
> 
> > cpu0:timer                         44300        442
> > cpu1:timer                         40561        404
> > cpu3:timer                      48462822     483058
> > cpu2:timer                      48477898     483209
> 
> Trying to add delays and/or prints around the Timecounters printout 
> makes the issue go away. Any ideas for debugging?

I have generally used KTR tracing to trace what is happening during
boot to debug EARLY_AP_STARTUP issues.

-- 
John Baldwin


More information about the freebsd-current mailing list