Date: Mon, 16 Sep 2013 19:33:46 +0200 From: =?utf-8?Q?Hans_Petter_Selasky?= <hans.petter.selasky@bitfrost.no> To: =?utf-8?Q?Mark_Johnston?= <markj@freebsd.org> Cc: =?utf-8?Q?freebsd-current=40freebsd=2Eorg?= <freebsd-current@freebsd.org> Subject: RE: General Protection Fault in prelist_remove() Message-ID: <zarafa.523740fa.1daf.2b3105294aefe141@mail.lockless.no> In-Reply-To: <20130916171016.GA1509@charmander> References: <52372362.10506@bitfrost.no>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Mark,=0D=0A=0D=0A-----Original message-----=0D=0A> From:Mark Johnston = <markj@freebsd.org <mailto:markj@freebsd.org> >=0D=0A> Sent: Monday 16th = September 2013 19:09=0D=0A> To: Hans Petter Selasky <hans.petter.selasky@= bitfrost.no <mailto:hans.petter.selasky@bitfrost.no> >=0D=0A> Cc: freebsd= -current@freebsd.org <mailto:freebsd-current@freebsd.org>=20=0D=0A> Subje= ct: Re: General Protection Fault in prelist_remove()=0D=0A>=20=0D=0A> On = Mon, Sep 16, 2013 at 05:27:30PM +0200, Hans Petter Selasky wrote:=0D=0A> = > Hi,=0D=0A> >=20=0D=0A> > I caught a General protection fault in prelist= _remove. Any clues what=20=0D=0A> > this might be=3F=0D=0A>=20=0D=0A> Any= chance you were creating or destroying interfaces around the time=0D=0A>= this crash happened=3F=0D=0A=0D=0AYes, I have some tunneling software ru= nning, which create and destroy tunX nodes regularly.=0D=0A=0D=0A>=20=0D=0A= > There is no locking in the code which manipulates the prefix list (or=0D= =0A> any of the global NDP data structures), so it's possible to get cras= hes=0D=0A> if, for instance, the prefix expiry callout races with in6_ifd= etach() to=0D=0A> delete a prefix. It's not clear what caused your crash = (not without a=0D=0A> crash dump at least), but I imagine it has somethin= g to do with this.=0D=0A>=20=0D=0A> I've partially fixed this at work by = adding a rw lock to protect access=0D=0A> to the the prefix, default rout= er, and DAD lists. The patch is here:=0D=0A> http://people.freebsd.org/=CB= =9Cmarkj/patches/ndp-locking.diff <http://people.freebsd.org/=CB=9Cmarkj/= patches/ndp-locking.diff>=20=0D=0A>=20=0D=0A> If anyone can review or tes= t this patch, please let me know.=0D=0A>=20=0D=0A=0D=0A--HPS=0D=0A=0D=0A From owner-freebsd-current@FreeBSD.ORG Mon Sep 16 19:50:07 2013 Return-Path: <owner-freebsd-current@FreeBSD.ORG> Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 61EF44C2; Mon, 16 Sep 2013 19:50:07 +0000 (UTC) (envelope-from mattia.rossi.mate@gmail.com) Received: from mail-we0-x232.google.com (mail-we0-x232.google.com [IPv6:2a00:1450:400c:c03::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A84AD28A4; Mon, 16 Sep 2013 19:50:06 +0000 (UTC) Received: by mail-we0-f178.google.com with SMTP id u57so4225587wes.9 for <multiple recipients>; Mon, 16 Sep 2013 12:50:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:reply-to:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=llm3jn5eUkdWQ3piInCxyEe67wPyt5/WqWFP4ZuhDmw=; b=binydf7tjz/RFZYrPHBliKifLixCS54ohoM/F6Flh/6S8tQfUrGvs5VOxK14cIoUAx 5hJXTfnHB19o7Sovf0gLyJAsqHWinH7C9nnGOtV4h6bR5XaVx796GRZZ3wKOGTnJb3ae RJvzm7qBSmqqLtb8/1hxt3RwTio+oAprmtHZqxAz1fkfFD5yS9VzoNUyfXSJwiK7Rf9B +zp2df0qPRWp5RTZHf4eeIKI45NZG4tsNsqnSOGIoCWe2KRgFv1Wc/bXhWEtypfmNd9e G9ymEAQqsgpfqxyG7WAjddv9cfzSCFKWEeYPyZ7N2/ROChzvLSIpzfsSCUIpT6hMnqGi rnPg== X-Received: by 10.180.106.40 with SMTP id gr8mr14830718wib.11.1379361004989; Mon, 16 Sep 2013 12:50:04 -0700 (PDT) Received: from [192.168.0.10] (46-126-92-160.dynamic.hispeed.ch. [46.126.92.160]) by mx.google.com with ESMTPSA id u15sm17682737wib.5.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 16 Sep 2013 12:50:03 -0700 (PDT) Message-ID: <523760EA.7090306@gmail.com> Date: Mon, 16 Sep 2013 21:50:02 +0200 From: Mattia Rossi <mattia.rossi.mate@gmail.com> User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: freebsd-arm@freebsd.org, freebsd-current@freebsd.org, freebsd-ports@freebsd.org Subject: Installing ports without info files Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Mon, 16 Sep 2013 19:59:24 +0000 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: mattia.rossi.mate@gmail.com List-Id: Discussions about the use of FreeBSD-current <freebsd-current.freebsd.org> List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-current>, <mailto:freebsd-current-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-current> List-Post: <mailto:freebsd-current@freebsd.org> List-Help: <mailto:freebsd-current-request@freebsd.org?subject=help> List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-current>, <mailto:freebsd-current-request@freebsd.org?subject=subscribe> X-List-Received-Date: Mon, 16 Sep 2013 19:50:07 -0000 Hi all, I've build a world with the following constraints: -DWITHOUT_INFO -DWITHOUT_MAN -DWITHOUT_SHAREDOCS -DWITHOUT_EXAMPLES -DWITHOUT_HTML as I don't need that stuff. Turns out, this prevents tools like install-info being built. Now trying to build devel/gettext I can't get it installed, as it always wants to install info files using install-info, which of course fails. How do I tell the system not to build info files (or manpages or all of the stuff above I don't want in the first place) when building ports? I've tried with "make -DWITHOUT_INFO install" as well as with putting WITHOUT_INFO=yes in make.conf. Gettext will still fail to install. Is this a gettext problem? Or a generic ports problem? I'm running current on arm (thanks again to freebsd-arm people for fixing it): FreeBSD dreamplug 10.0-ALPHA1 FreeBSD 10.0-ALPHA1 #15 r255499M: It's also not possible to "make index" for INDEX-10 if you use a stripped-down ports tree (none of the language ports), as there are some dependencies in the tree to french (cad-astk) and russian (stardict-*) which obviously can't be resolved. Help is appreciated! Cheers, Mat
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?zarafa.523740fa.1daf.2b3105294aefe141>