Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Mar 2018 14:02:04 +0100
From:      Olivier Houchard <cognet@ci0.org>
To:        Adrian Chadd <adrian@freebsd.org>
Cc:        "Andrey V. Elsukov" <bu7cher@yandex.ru>, FreeBSD Net <freebsd-net@freebsd.org>
Subject:   Re: crash with ipfw nat on mips32
Message-ID:  <20180323130204.GA74266@ci0.org>
In-Reply-To: <CAJ-Vmont4vUtBxeLwJsxuapNVyVC1mpzVe-jNbBo3KPnPQLGzg@mail.gmail.com>
References:  <CAJ-Vmok5G93o4O6Ltb6qiGOKZ=LuxD4YDzvh_tXqmK1XYn%2BiQQ@mail.gmail.com> <f51a9986-d577-649e-d781-28d0f4d06a1d@yandex.ru> <CAJ-Vmok_kpLj6gjR8ScJAT5ySf_p9746g7T%2B8vZwSgyL0G2mrg@mail.gmail.com> <70a569db-fa82-f2f6-61ea-a0d1a3dd9dae@yandex.ru> <20180322130002.GA65574@ci0.org> <CAJ-VmonWadQgk7bWcM9ngWruB=2JaV1AW0-geOYEhpiRvZ9gWQ@mail.gmail.com> <CAJ-VmomPx8WCiR4KaBYa8ecwnF3c9Bw-kY9FjwXuP=EHayastA@mail.gmail.com> <20180322161543.GA66967@ci0.org> <CAJ-Vmont4vUtBxeLwJsxuapNVyVC1mpzVe-jNbBo3KPnPQLGzg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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