From owner-freebsd-arm@FreeBSD.ORG Tue Aug 27 13:26:10 2013 Return-Path: Delivered-To: freebsd-arm@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 A3D4AC74 for ; Tue, 27 Aug 2013 13:26:10 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from mail-ie0-f181.google.com (mail-ie0-f181.google.com [209.85.223.181]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 71B60275D for ; Tue, 27 Aug 2013 13:26:10 +0000 (UTC) Received: by mail-ie0-f181.google.com with SMTP id a14so7225279iee.40 for ; Tue, 27 Aug 2013 06:26:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-gm-message-state:sender:subject:mime-version:content-type:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to; bh=M2ER/tkQRYx3zKPJ7Mmf0LxG+1z6h+sh7uV8bpWvHHI=; b=NlCPqS51tte0NAy1q2z5nVmxAFuNtXhtk18jk0ir0PXAIXhIBMdU5tSrg5KnpdivsU ES8+DqqI3ax8V+mYXWvwjk7yvNDwgmizdZ46pqNoJJxIHHyWeqew88+kpQWp3WLmWHDT iyMDnP0rUtJbi0KfiVwy0zxH+DAnjQdepSHWVLudasO00qFmxmatNkQY0NyLk941BZUy 8fSm8idT645pTn/AvEWKkZBqaxDxmOD84q23vJZufxuALdlpn4i2ulLuzIqRrOIJ70hB dYuWdjtlPXu9/PEqAvkUSR4m/tIdDnLYMHAumG308w5gbofx/veYAQ4TiWmI2+yMoPxP n3bQ== X-Gm-Message-State: ALoCoQkLFOVynsiMFGGkqaoC2dFSGSVzhVs87pGSBRM7xRL0Tb5ihfvLt0bkz7+M2vIMpap5VxLf X-Received: by 10.43.111.5 with SMTP id em5mr1062966icc.40.1377609964385; Tue, 27 Aug 2013 06:26:04 -0700 (PDT) Received: from [10.0.0.53] (50-78-194-198-static.hfc.comcastbusiness.net. [50.78.194.198]) by mx.google.com with ESMTPSA id w4sm24365505igb.5.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 27 Aug 2013 06:26:03 -0700 (PDT) Sender: Warner Losh Subject: Re: ARM network trouble after recent mbuf changes Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: <20130827102810.37e2dfc7@bender> Date: Tue, 27 Aug 2013 07:26:03 -0600 Content-Transfer-Encoding: 7bit Message-Id: References: <1377550636.1111.156.camel@revolution.hippie.lan> <521BC472.7040804@freebsd.org> <521BD531.4090104@sbcglobal.net> <521C4CD9.4050308@freebsd.org> <20130827102810.37e2dfc7@bender> To: Andrew Turner X-Mailer: Apple Mail (2.1085) Cc: freebsd-arm , Andre Oppermann X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Aug 2013 13:26:10 -0000 On Aug 27, 2013, at 3:28 AM, Andrew Turner wrote: > On Tue, 27 Aug 2013 08:53:13 +0200 > Andre Oppermann wrote: >> Please try the patch below to confirm. If it fixes your problem for >> now I'm going to commit as an immediate fix while searching for a >> better long term stable solution. >> > > I tried this with a CTASSERT to check if struct m_hdr is the correct > length. In this test the size is incorrect. It appears __ILP32__ is not > defined on ARM. > > I have tested a fix suggested by Hans Petter Selasky where we mark > m_hdr with __aligned(8). With this change I can netboot a PandaBoard. Isn't that a bug with our arm compiler then? Warner