Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jun 2016 18:45:07 -0400 (EDT)
From:      Keith White <kwhite@site.uottawa.ca>
To:        Ian Lepore <ian@freebsd.org>
Cc:        =?ISO-8859-15?Q?Otac=EDlio?= <otacilio.neto@bsd.com.br>, Mark Millard <markmi@dsl-only.net>, freebsd-arm <freebsd-arm@freebsd.org>, FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: (beagleboneblack/urtwn) Kernel page fault with the following non-sleepable locks held [ssh on rpi2 comparison]
Message-ID:  <alpine.BSF.2.20.1606211844160.38944@localhost.my.domain>
In-Reply-To: <1466531719.34556.72.camel@freebsd.org>
References:  <99277FB6-77EB-4D8B-8A55-FBD622D29AC3@dsl-only.net> <alpine.BSF.2.20.1606210626320.52002@localhost.my.domain> <22fe5f7f-6153-e092-c410-eddb1431a78a@bsd.com.br> <1466531719.34556.72.camel@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 21 Jun 2016, Ian Lepore wrote:

> On Tue, 2016-06-21 at 08:11 -0300, Otacílio wrote:
>> Em 21/06/2016 07:33, Keith White escreveu:
>>> In an earlier message Ian said that he thought he knew what the
>>> problem was...
>>
>> Here the problem occurs  when using wifi. I do not have tested wired
>> because I don't have a cable here.
>>
>>
>> []'s
>>
>> -Otacilio
>
> The wifi alignment fault should be fixed as of r302064.  Sorry it took
> so long.
>
> -- Ian

Many thanks Ian!  Yes, this has fixed the problem.  No more panics
on ssh to rpi-b.

...keith
From owner-freebsd-arm@freebsd.org  Tue Jun 21 23:13:59 2016
Return-Path: <owner-freebsd-arm@freebsd.org>
Delivered-To: freebsd-arm@mailman.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4951BAC4752
 for <freebsd-arm@mailman.ysv.freebsd.org>;
 Tue, 21 Jun 2016 23:13:59 +0000 (UTC) (envelope-from ian@freebsd.org)
Received: from outbound1b.ore.mailhop.org (outbound1b.ore.mailhop.org
 [54.200.247.200])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 0FBB42C2E
 for <freebsd-arm@freebsd.org>; Tue, 21 Jun 2016 23:13:58 +0000 (UTC)
 (envelope-from ian@freebsd.org)
X-MHO-User: e0ae30ae-3805-11e6-a0ff-e511cd071b9b
X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information
X-Originating-IP: 73.34.117.227
X-Mail-Handler: DuoCircle Outbound SMTP
Received: from ilsoft.org (unknown [73.34.117.227])
 by outbound1.ore.mailhop.org (Halon Mail Gateway) with ESMTPSA;
 Tue, 21 Jun 2016 23:14:17 +0000 (UTC)
Received: from rev (rev [172.22.42.240])
 by ilsoft.org (8.15.2/8.14.9) with ESMTP id u5LNDoxg006862;
 Tue, 21 Jun 2016 17:13:50 -0600 (MDT) (envelope-from ian@freebsd.org)
Message-ID: <1466550830.34556.73.camel@freebsd.org>
Subject: Re: (beagleboneblack/urtwn) Kernel page fault with the following
 non-sleepable locks held [ssh on rpi2 comparison]
From: Ian Lepore <ian@freebsd.org>
To: Mark Millard <markmi@dsl-only.net>, freebsd-arm <freebsd-arm@freebsd.org>,
 FreeBSD Current <freebsd-current@freebsd.org>
Cc: FreeBSD Toolchain <freebsd-toolchain@freebsd.org>
Date: Tue, 21 Jun 2016 17:13:50 -0600
In-Reply-To: <C7EFF9F0-7BA3-4E95-9CCF-5805295F76B3@dsl-only.net>
References: <C7EFF9F0-7BA3-4E95-9CCF-5805295F76B3@dsl-only.net>
Content-Type: text/plain; charset="ISO-8859-1"
X-Mailer: Evolution 3.16.5 FreeBSD GNOME Team Port 
Mime-Version: 1.0
Content-Transfer-Encoding: 8bit
X-BeenThere: freebsd-arm@freebsd.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "Porting FreeBSD to ARM processors." <freebsd-arm.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-arm>,
 <mailto:freebsd-arm-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-arm/>;
List-Post: <mailto:freebsd-arm@freebsd.org>
List-Help: <mailto:freebsd-arm-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-arm>,
 <mailto:freebsd-arm-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 21 Jun 2016 23:13:59 -0000

On Tue, 2016-06-21 at 15:30 -0700, Mark Millard wrote:
> Ian Lepore ian at freebsd.org  wrote on Tue Jun 21 17:55:28 UTC 2016
> :
> 
> > On Tue, 2016-06-21 at 08:11 -0300, Otacílio wrote:
> > > Em 21/06/2016 07:33, Keith White escreveu:
> > > > In an earlier message Ian said that he thought he knew what the
> > > > problem was... 
> > > 
> > > Here the problem occurs  when using wifi. I do not have tested
> > > wired 
> > > because I don't have a cable here.
> > > 
> > > 
> > > []'s
> > > 
> > > -Otacilio
> > 
> > The wifi alignment fault should be fixed as of r302064.  Sorry it
> > took
> > so long.
> > 
> > -- Ian
> > 
> 
> FYI: I've not had any -r301975 problems with WiFi on my rpi2.
> 
> But I cross build for TARGET_ARCH=armv6 with:
> 
> > XCFLAGS+= -march=armv7-a -mcpu=cortex-a7
> > XCXXFLAGS+= -march=armv7-a -mcpu=cortex-a7
> 
> (And similarly for self-hosted.) It may be that the -march and/or 
> -mcpu matter to the code generation and explain my lack of problems.
> 
> The builds also have INVARIANTS and WITNESS off.
> 
> ===
> Mark Millard
> markmi at dsl-only.net

INVARIANTS being on was one of the things required to trigger the
alignment fault.

-- Ian




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