tech-kern archive

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

Re: MBUFTRACE panic (KASSERT off < percpu_nextoff)



On Thu, Apr 03, 2014 at 05:51:38PM +0200, Manuel Bouyer wrote:
> Hello,
> trying to debug
> http://mail-index.netbsd.org/current-users/2014/03/26/msg024535.html
> I built a kernel with MBUFTRACE (this is netbsd-6 of december).
> I got this almost immediatly:
> 
> panic: kernel diagnostic assertion "off < percpu_nextoff" failed: file 
> "../../.. /../kern/subr_percpu.c", line 76 
> cpu0: Begin traceback...
> kern_assert() at netbsd:kern_assert+0x48
> percpu_offset() at netbsd:percpu_offset+0x4b
> percpu_getref() at netbsd:percpu_getref+0x40
> m_claim() at netbsd:m_claim+0x44
> m_claimm() at netbsd:m_claimm+0x1d
> ether_input() at netbsd:ether_input+0x33
> carp_input() at netbsd:carp_input+0x7f

I found that carp(4) doens't do the proper initialisations for MBUFTRACE.
So this is fixed; now back to the mbuf leak issue ...

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index