From owner-freebsd-current@FreeBSD.ORG Wed Jul 1 21:31:02 2009 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3DE1A1065678; Wed, 1 Jul 2009 21:31:02 +0000 (UTC) (envelope-from danfe@regency.nsu.ru) Received: from mx.nsu.ru (mx.nsu.ru [212.192.164.5]) by mx1.freebsd.org (Postfix) with ESMTP id D972B8FC08; Wed, 1 Jul 2009 21:31:01 +0000 (UTC) (envelope-from danfe@regency.nsu.ru) Received: from regency.nsu.ru ([193.124.210.26]) by mx.nsu.ru with esmtp (Exim 4.50) id 1MM76M-00034c-9E; Thu, 02 Jul 2009 04:12:22 +0700 Received: from regency.nsu.ru (localhost [127.0.0.1]) by regency.nsu.ru (8.14.2/8.14.2) with ESMTP id n61LDWvW004371; Thu, 2 Jul 2009 04:13:32 +0700 (NOVST) (envelope-from danfe@regency.nsu.ru) Received: (from danfe@localhost) by regency.nsu.ru (8.14.2/8.14.2/Submit) id n61LDRpU004329; Thu, 2 Jul 2009 04:13:27 +0700 (NOVST) (envelope-from danfe) Date: Thu, 2 Jul 2009 04:13:27 +0700 From: Alexey Dokuchaev To: Robert Watson Message-ID: <20090701211327.GA99767@regency.nsu.ru> References: <20090701162108.GA33681@regency.nsu.ru> <200907011613.10550.jkim@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i X-Mailman-Approved-At: Wed, 01 Jul 2009 21:40:04 +0000 Cc: freebsd-current@FreeBSD.org, Jung-uk Kim Subject: Re: Kernel panic with if_sf.ko X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Jul 2009 21:31:02 -0000 Robert Watson wrote: > Jung-uk Kim wrote: > >Last time I checked, bpf(4) with MAC caused a similar problem when it is > >destroying bpf descriptor label. GENERIC includes MAC by default now. If > >you don't need MAC, try removing "options MAC" from your kernel > >configuration. > > I was not aware of this problem -- could you provide some more details? > Any panic caused by having MAC in the kernel is a bug... My kernel is custom one, with everything I could moved out to modules (had to add "nodevice" entries for io and mem since they are in DEFAULTS these days). So I don't see how it can be related to MAC. ./danfe P.S. Took me couple of hours to figure out that "uart" must be compiled in, loading it via loader.conf does not quite work for serial console. :-(