From owner-freebsd-net@freebsd.org Thu Mar 22 16:09:15 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 409E5F52343 for ; Thu, 22 Mar 2018 16:09:15 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wm0-x232.google.com (mail-wm0-x232.google.com [IPv6:2a00:1450:400c:c09::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AB08F7CF54 for ; Thu, 22 Mar 2018 16:09:14 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-wm0-x232.google.com with SMTP id 139so17220160wmn.2 for ; Thu, 22 Mar 2018 09:09:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=jkfXRQ+oohWvjKJnYcON2Nxw/2TjKrCfKvEC4f8nqeM=; b=Ea8OnTuGmaH96MNMdxJFCYCBXO81Vy6Qi4U6qWpH19CTKDpUijPkSHrea+mjjKargf tfvC97R1EjIaf4t3ouhMnaprE66tqN3a+S1SxCn3GjOpTl7kpor9975bMCGdK1Z9qguf 7tn/olNfdSoyeC+gDH+8HG79uv8PdiHXYs5BjgTL0h9HfhZdpliK7nPBIpTq8I9gbmYA msAW9DRFL92GTRw+tqsdR9uTGPHNIJLyLA0XGTDIEJv26Xx/8kTfR93W3eR7uVX4/w5B LaI1z7PN8x82wQTejEdHP7W5uNLiTUDM7ety1fvl/StmKFzNyet5E64lv4xSfFM24jV7 ahCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=jkfXRQ+oohWvjKJnYcON2Nxw/2TjKrCfKvEC4f8nqeM=; b=rsysD2CGWWEy3F3CID+4iQL2EJ/YbbGb4J67s63PRT9fiQ81Cj6I4BlcNcMg26Shgh HNuUxq2VKdXJuwH/mpLzUvFLs7fUwVRjDOwa+ON+rl8YTfZoOvk50r/wqeGVRLW8nPPx SwErv90cJA0HMInc91t0wD6a8dYYmsLtfAhO7GzeqIRW7u7njq/93fY0+hmDJnfgy1e8 jxkHaO5bLL0DM+84lGTefdQ8d0kJJs9+4wUF3qe2HoSumUuv5ryWm8pfWPXmz8HIyHYm 60ScxSq/jbFHwlQ/nsIFPQ93sSuB++HNzdp64mnq0XWB47ACRrs8sigxap4c0pmwi//U zaZQ== X-Gm-Message-State: AElRT7HjDifVwPW30sf/zjc3JWYQaCJqxdwM8UEgABPhtWiEf3mI3pqg QccLgo8XsprwMUPB8EpUyW5JylPbP57aYVVGr5I= X-Google-Smtp-Source: AG47ELu0cFc7k6Ylnok4cQnhf0zwfFdP3Dw4aouYPGbIeJ2TIdjtbBFDfxrcki71IfZUdaQfge9spKJTAgcOs1lJUV4= X-Received: by 10.28.214.2 with SMTP id n2mr5689288wmg.130.1521734953528; Thu, 22 Mar 2018 09:09:13 -0700 (PDT) MIME-Version: 1.0 Sender: adrian.chadd@gmail.com Received: by 10.28.4.12 with HTTP; Thu, 22 Mar 2018 09:09:12 -0700 (PDT) In-Reply-To: <20180322130002.GA65574@ci0.org> References: <70a569db-fa82-f2f6-61ea-a0d1a3dd9dae@yandex.ru> <20180322130002.GA65574@ci0.org> From: Adrian Chadd Date: Thu, 22 Mar 2018 09:09:12 -0700 X-Google-Sender-Auth: D5nAQsK2uRUGysQGYA253ivD9xU Message-ID: Subject: Re: crash with ipfw nat on mips32 To: Olivier Houchard Cc: "Andrey V. Elsukov" , FreeBSD Net Content-Type: text/plain; charset="UTF-8" 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: Thu, 22 Mar 2018 16:09:15 -0000 I dunno yet; this is a very embedded mips74k box. :) -a On 22 March 2018 at 06:00, Olivier Houchard wrote: > On Thu, Mar 22, 2018 at 03:52:39PM +0300, Andrey V. Elsukov wrote: >> On 22.03.2018 10:31, Adrian Chadd wrote: >> > Erk. I'll go see if I can figure out what's going on. >> > >> > Thanks! This is really quite grr-y. >> >>> Trap cause = 2 (TLB miss (load or instr. fetch) - kernel mode) >> >>> [ thread pid 11 tid 100010 ] >> >>> Stopped at 0 >> >>> db> bt >> >>> Tracing pid 11 tid 100010 td 0x80673b40 >> >>> dyn_expire_states+0x13c (?,?,?,?) ra c1d08f44 sp c1247c40 sz 144 >> >>> dyn_tick+0x238 (0,?,?,?) ra 80214dfc sp c1247cd0 sz 120 >> >>> itimer_fire+0x1440 (?,?,?,?) ra 802150c0 sp c1247d48 sz 88 >> >>> softclock+0x9c (?,?,?,?) ra 0 sp c1247da0 sz 0 >> >>> db> >> >> >> >> this is not NAT related, it is ipfw's dynamic states. >> >> I'm not sure, but this is seems related to ConcurrencyKit. >> >> It looks like CK doesn't declare support for mips. >> Probably we need to make compat shim, that uses old implementation for >> platforms, that are not supported by CK. >> > > Hi, > > mips should be supported by using the compiler builtins, as is riscv. If there > is a crash, it is definitively a bug. Can you guys tell me which CK > function dies that badly ? > > Regards, > > Olivier