Fixed (was: Re: Kernel hanging after today cvsup at Timecounter "TSC)

Robert Watson rwatson at
Wed May 23 17:32:28 UTC 2007

On Wed, 23 May 2007, Attilio Rao wrote:

>> I've uploaded the actual stack trace with arguments as
> Ok, it seems that the new time_lock spinlock is initialized too late, and 
> infact cpu_initclocks() is called before it is initialized.
> It is enough to move the mtx_init() just before the cpu_initclocks() in 
> kern_clock.c::initclocks().
> Can someone try that and report if it works?
> I'm sorry for that, but I (and presumabily other people testing the patch) 
> never got that problems on all machines we used (probabilly beacause this is 
> just triggered when attaching vgaX).

I've made the change, sucessfully booted, and committed the fix as 
kern_clock.c:1.196.  Thanks!

Robert N M Watson
Computer Laboratory
University of Cambridge

More information about the freebsd-current mailing list