Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Jul 2009 19:13:39 +0100 (BST)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Jung-uk Kim <jkim@FreeBSD.org>
Cc:        Alexey Dokuchaev <danfe@nsu.ru>, freebsd-current@FreeBSD.org
Subject:   Re: Kernel panic with if_sf.ko
Message-ID:  <alpine.BSF.2.00.0907021912360.9548@fledge.watson.org>
In-Reply-To: <200907011842.01710.jkim@FreeBSD.org>
References:  <20090701162108.GA33681@regency.nsu.ru> <200907011737.15525.jkim@FreeBSD.org> <alpine.BSF.2.00.0907012241550.27367@fledge.watson.org> <200907011842.01710.jkim@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On Wed, 1 Jul 2009, Jung-uk Kim wrote:

> I cannot reproduce it any more.  It must be fixed already.  FYI, when it 
> happened, I traced it down to:
>
> shutdown ->
> dhclient closing fd ->
> bpf_dtor() ->
> mac_bpfdesc_destroy() ->
> mac_bpfdesc_label_free() ->	d->bd_label corrupt!
> bpfmac_labelzone_free() ->
> uma_zfree() ->
> ... -> 				page fault!
>
> Any way, sorry for the noise and thanks for fixing this, whoever that is.

This is almost certainly an ifnet-related race condition that has been fixed 
in 8.x, and that MAC is panicking is just a symptom that it picked up on a 
double free (or the like) since it has internal validation.  It may still 
existing in 7.x as there's a lot of ifnet/ifaddr work I haven't MFC'd yet (and 
won't for a few weeks at least).

Thanks,

Robert N M Watson
Computer Laboratory
University of Cambridge



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.0907021912360.9548>