tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: apparently missing locking in if_bnx.c

On Tue, Mar 06, 2012 at 10:45:11AM -0500, Beverly Schwartz wrote:
> I can get a kernel to boot with the recommended KASSERTs, but as soon as I 
> try to ssh into the machine, I get a panic on:
> KASSERT(curcpu()->ci_biglock_count > 0);

OK, so this means the kernel lock is not held. What's interesting
now is how we did get there. Can you set ddb.onpanic=1 in /etc/sysctl.conf
and get a stack trace from here ?

Manuel Bouyer <>
     NetBSD: 26 ans d'experience feront toujours la difference

Home | Main Index | Thread Index | Old Index