Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Nov 2011 11:32:45 +0400
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        Oleksandr Tymoshenko <gonzo@bluezbox.com>
Cc:        freebsd-embedded@FreeBSD.org
Subject:   Re: TP-WR1043: trying NFS root
Message-ID:  <20111128073244.GH44498@glebius.int.ru>
In-Reply-To: <17A73B0C-468D-4BA3-868E-D2E2289A570C@bluezbox.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <sys/param.h>
 #include <sys/systm.h>
+#include <sys/kdb.h>
 #include <sys/sockio.h>
 #include <sys/malloc.h>
 #include <sys/priv.h>
@@ -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--



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