From owner-freebsd-net@freebsd.org Fri Mar 23 13:02:12 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 36912F6A70E for ; Fri, 23 Mar 2018 13:02:12 +0000 (UTC) (envelope-from cognet@ci0.org) Received: from kanar.ci0.org (kanar.ci0.org [IPv6:2001:bc8:35e6::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "sd-123398", Issuer "sd-123398" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id B1B7772E6B; Fri, 23 Mar 2018 13:02:11 +0000 (UTC) (envelope-from cognet@ci0.org) Received: from kanar.ci0.org (pluxor@localhost [127.0.0.1]) by kanar.ci0.org (8.15.2/8.15.2) with ESMTPS id w2ND24IV074321 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 23 Mar 2018 14:02:04 +0100 (CET) (envelope-from cognet@ci0.org) Received: (from doginou@localhost) by kanar.ci0.org (8.15.2/8.15.2/Submit) id w2ND24H1074320; Fri, 23 Mar 2018 14:02:04 +0100 (CET) (envelope-from cognet@ci0.org) X-Authentication-Warning: kanar.ci0.org: doginou set sender to cognet@ci0.org using -f Date: Fri, 23 Mar 2018 14:02:04 +0100 From: Olivier Houchard To: Adrian Chadd Cc: "Andrey V. Elsukov" , FreeBSD Net Subject: Re: crash with ipfw nat on mips32 Message-ID: <20180323130204.GA74266@ci0.org> References: <70a569db-fa82-f2f6-61ea-a0d1a3dd9dae@yandex.ru> <20180322130002.GA65574@ci0.org> <20180322161543.GA66967@ci0.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.8.0 (2017-02-23) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Mar 2018 13:02:12 -0000 Hi Adrian, On Fri, Mar 23, 2018 at 12:46:02AM -0700, Adrian Chadd wrote: > Hi, > > The stack backtrace looks like a null pointer dereference. > "Stopped at 0". Does that mean the PC is at 0, or just that we tried to load 0 ? > The concurrencykit website mentions ARM and MIPS as future ports. Is > this actually true? Is concurrencykit supposed to actually run on > ARM/MIPS? Did anyone test? Actual MIPS hardware that we run on is like > $50. It's not exactly spendy to test out FreeBSD code on real > hardware. :) > If the website states that then it is outdated. There is a native arm port for quite some time. As for mips, it only works using gcc builtins, but it has been tested at some point. > I can't even build the regression suite from CK on github to run on > mips32 hardware. I don't suppose anyone would be able to figure that > particular mess out? > How does it fail ? > I'd really like to work some more on wifi stack stuff on this embedded > platform stuff and this just threw a spanner in my plans. I'd really > appreciate some help here cause I don't have time to wade through more > platform breakage just to do wifi stack / driver work. I have limited > spare time as it is these days :( > > Thanks, I'm certainly willing to help you. I'll try to reproduce it with qemu or something. Can you tell me a bit more about your setup, so that I can get it to happen ? Unfortunately, I'll be away for the week-end, so probably won't be able to do so before at least sunday evening (french time). Regards, Olivier