Fixed (was: Re: Kernel hanging after today cvsup at Timecounter
"TSC)
Robert Watson
rwatson at FreeBSD.org
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
>>
>> http://www.watson.org/~robert/freebsd/20070523-panic.png
>
> 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
5B
More information about the freebsd-current
mailing list