From owner-freebsd-current@FreeBSD.ORG Mon Sep 16 17:33:33 2013 Return-Path: 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 88B35488; Mon, 16 Sep 2013 17:33:33 +0000 (UTC) (envelope-from hans.petter.selasky@bitfrost.no) Received: from mta.bitpro.no (mta.bitpro.no [92.42.64.202]) by mx1.freebsd.org (Postfix) with ESMTP id 1966E2EB2; Mon, 16 Sep 2013 17:33:32 +0000 (UTC) Received: from mail.lockless.no (mail.lockless.no [46.29.221.38]) by mta.bitpro.no (Postfix) with ESMTP id 5F8227A201; Mon, 16 Sep 2013 19:33:30 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail.lockless.no (Postfix) with ESMTP id E1E6F8EEC1F; Mon, 16 Sep 2013 19:33:47 +0200 (CEST) X-Virus-Scanned: by amavisd-new-2.6.4 (20090625) (Debian) at lockless.no Received: from mail.lockless.no ([127.0.0.1]) by localhost (mail.lockless.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KsfnbWRnhsBt; Mon, 16 Sep 2013 19:33:47 +0200 (CEST) Received: from mail.lockless.no (localhost [127.0.0.1]) by mail.lockless.no (Postfix) with ESMTP id 08FDB8EEC0C; Mon, 16 Sep 2013 19:33:47 +0200 (CEST) Subject: RE: General Protection Fault in prelist_remove() From: =?utf-8?Q?Hans_Petter_Selasky?= To: =?utf-8?Q?Mark_Johnston?= Date: Mon, 16 Sep 2013 19:33:46 +0200 Mime-Version: 1.0 In-Reply-To: <20130916171016.GA1509@charmander> References: <52372362.10506@bitfrost.no> X-Priority: 3 (Normal) X-Mailer: Zarafa 7.1.4-41394 Message-Id: X-Mailman-Approved-At: Mon, 16 Sep 2013 18:33:45 +0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: =?utf-8?Q?freebsd-current=40freebsd=2Eorg?= X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Mon, 16 Sep 2013 17:33:33 -0000 Hi Mark,=0D=0A=0D=0A-----Original message-----=0D=0A> From:Mark Johnston = >=0D=0A> Sent: Monday 16th = September 2013 19:09=0D=0A> To: Hans Petter Selasky >=0D=0A> Cc: 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 =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: 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 ; 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 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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