From owner-freebsd-embedded@FreeBSD.ORG Mon Nov 28 07:32:48 2011 Return-Path: Delivered-To: freebsd-embedded@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B2F79106566C for ; Mon, 28 Nov 2011 07:32:48 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from cell.glebius.int.ru (glebius.int.ru [81.19.64.117]) by mx1.freebsd.org (Postfix) with ESMTP id 2E9168FC13 for ; Mon, 28 Nov 2011 07:32:47 +0000 (UTC) Received: from cell.glebius.int.ru (localhost [127.0.0.1]) by cell.glebius.int.ru (8.14.5/8.14.5) with ESMTP id pAS7Wjh6061375; Mon, 28 Nov 2011 11:32:45 +0400 (MSK) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.glebius.int.ru (8.14.5/8.14.5/Submit) id pAS7WjwC061374; Mon, 28 Nov 2011 11:32:45 +0400 (MSK) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.glebius.int.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Mon, 28 Nov 2011 11:32:45 +0400 From: Gleb Smirnoff To: Oleksandr Tymoshenko Message-ID: <20111128073244.GH44498@glebius.int.ru> References: <87527FBF-645E-46F5-A02E-4B62AD648914@lassitu.de> <09F858C3-92A7-4EA7-8745-69F7866AA675@bluezbox.com> <20111128071043.GF44498@glebius.int.ru> <17A73B0C-468D-4BA3-868E-D2E2289A570C@bluezbox.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="yNb1oOkm5a9FJOVX" Content-Disposition: inline In-Reply-To: <17A73B0C-468D-4BA3-868E-D2E2289A570C@bluezbox.com> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-embedded@FreeBSD.org Subject: Re: TP-WR1043: trying NFS root X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Nov 2011 07:32:48 -0000 --yNb1oOkm5a9FJOVX Content-Type: text/plain; charset=koi8-r Content-Disposition: inline On Sun, Nov 27, 2011 at 11:18:10PM -0800, Oleksandr Tymoshenko wrote: O> > Stefan, Oleksandr, O> > O> > which revisions have you tried? Revisions between r227791 and r227958 are already O> > known to have problems. Can you please clarify that you have tried revision r227958 O> > or higher? O> O> My source tree is r227960. I do not see "can't allocate llinfo" messages, just "in_scrubprefix: err=51, prefix delete failed" Can you please obtain backtrace to determine which codepath causes error. Patch attached. -- Totus tuus, Glebius. --yNb1oOkm5a9FJOVX Content-Type: text/x-diff; charset=koi8-r Content-Disposition: attachment; filename="in.c.diff" Index: netinet/in.c =================================================================== --- netinet/in.c (revision 228049) +++ netinet/in.c (working copy) @@ -34,9 +34,11 @@ __FBSDID("$FreeBSD$"); #include "opt_mpath.h" +#include "opt_kdb.h" #include #include +#include #include #include #include @@ -1195,8 +1197,12 @@ error = rtinit(&(target->ia_ifa), (int)RTM_DELETE, rtinitflags(target)); if (error == 0) target->ia_flags &= ~IFA_ROUTE; - else + else { log(LOG_INFO, "in_scrubprefix: err=%d, prefix delete failed\n", error); +#ifdef KDB + kdb_backtrace(); +#endif + } return (error); } --yNb1oOkm5a9FJOVX--