From owner-freebsd-embedded@FreeBSD.ORG Mon Nov 28 09:33:20 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 D8B89106564A for ; Mon, 28 Nov 2011 09:33:20 +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 3F0E08FC0A for ; Mon, 28 Nov 2011 09:33:20 +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 pAS9XEeD062859; Mon, 28 Nov 2011 13:33:14 +0400 (MSK) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.glebius.int.ru (8.14.5/8.14.5/Submit) id pAS9XE4M062858; Mon, 28 Nov 2011 13:33:14 +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 13:33:13 +0400 From: Gleb Smirnoff To: Oleksandr Tymoshenko Message-ID: <20111128093313.GM44498@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> <20111128073244.GH44498@glebius.int.ru> <20111128082042.GK44498@glebius.int.ru> <349DB179-A627-4305-9348-9F3A97C4E1AC@bluezbox.com> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <349DB179-A627-4305-9348-9F3A97C4E1AC@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 09:33:20 -0000 On Mon, Nov 28, 2011 at 12:43:50AM -0800, Oleksandr Tymoshenko wrote: O> O> On 2011-11-28, at 12:20 AM, Gleb Smirnoff wrote: O> O> > On Mon, Nov 28, 2011 at 12:13:36AM -0800, Oleksandr Tymoshenko wrote: O> > O> O> > O> On 2011-11-27, at 11:32 PM, Gleb Smirnoff wrote: O> > O> O> > O> > On Sun, Nov 27, 2011 at 11:18:10PM -0800, Oleksandr Tymoshenko wrote: O> > O> > O> > Stefan, Oleksandr, O> > O> > O> > O> > O> > O> > which revisions have you tried? Revisions between r227791 and r227958 are already O> > O> > O> > known to have problems. Can you please clarify that you have tried revision r227958 O> > O> > O> > or higher? O> > O> > O> O> > O> > O> My source tree is r227960. I do not see "can't allocate llinfo" messages, just "in_scrubprefix: err=51, prefix delete failed" O> > O> > O> > O> > Can you please obtain backtrace to determine which codepath causes error. Patch O> > O> > attached. O> > O> O> > O> Sure, here it is: O> > O> O> > O> in_scrubprefix+57c (?,?,?,?) ra 80435d28 sp a12980 sz 160 O> > O> in_ifinit+38 (?,?,?,?) ra 80437328 sp a12a20 sz 96 O> > O> in_control+bf8 (?,?,?,?) ra 8040ebb4 sp a12a80 sz 112 O> > O> ifioctl+1974 (17ee000,?,?,?) ra 804add20 sp a12af0 sz 192 O> > O> bootpc_init+1be0 (?,?,?,?) ra 802a642c sp a12bb0 sz 320 O> > O> mi_startup+20c (?,?,?,?) ra 80100134 sp a12cf0 sz 32 O> > O> > Compiler have inlined bootpc_adjust_interface & bootpc_fakeup_interface into O> > bootpc_init so I can't determine which one is failing. O> O> It's bootpc_adjust_interface Can you please try r227790 (one before r227791) to check whether this printf from in_scrubprefix() existed before. It looks to me that this message is harmless, and the real problem is sosend() returning EINVAL. That is probably also fallout from r227791, but I suspect that digging into in_scrubprefix() is a wrong direction. -- Totus tuus, Glebius.