From owner-freebsd-current@FreeBSD.ORG Tue Aug 13 19:08:31 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 376BCE95 for ; Tue, 13 Aug 2013 19:08:31 +0000 (UTC) (envelope-from crodr001@gmail.com) Received: from mail-lb0-x22b.google.com (mail-lb0-x22b.google.com [IPv6:2a00:1450:4010:c04::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B0F482DB5 for ; Tue, 13 Aug 2013 19:08:30 +0000 (UTC) Received: by mail-lb0-f171.google.com with SMTP id t13so6172655lbd.16 for ; Tue, 13 Aug 2013 12:08:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=yY6l0ap8GEMnJkO7FJv/wZWTUjHquNAs7DbisRlA91U=; b=xRvqckJ+bu1K7f7Cd9/H/B5+myqPjhv2ESHLcuxtbDf8B1N5hlqlBv22wLegM1B+we 5Sz8k60i2/i5bjyQG4wAi6kgF+1BtcLbfMikeuUrVI7PmEwXx7s1cV2oB/XYS7uw7ex3 zQiEe7gm4ShUnVAQQY4LZAr60bvDcjFJtTcadXoZFGzBLyguHwJKjIU+JZQelAszqW8C Im4lEStE+93loe1NuvQN2BBKe10b2taoCqN0BoqJvvDr8WIM83ZnJDy+iS7E9nFdf0+C QlaLS0Hr44iVkXCYlNgBCOseS1KKgcWo54DP8moIzJXu1Kg+dnTA5rbU8EpXHHe17Ff4 ZEDQ== MIME-Version: 1.0 X-Received: by 10.112.130.134 with SMTP id oe6mr4685420lbb.30.1376420908468; Tue, 13 Aug 2013 12:08:28 -0700 (PDT) Sender: crodr001@gmail.com Received: by 10.112.22.100 with HTTP; Tue, 13 Aug 2013 12:08:28 -0700 (PDT) In-Reply-To: <20130813.125709.1168850046133874829.shigeru@iij.ad.jp> References: <20130812.124834.1287983109881683567.shigeru@iij.ad.jp> <20130813.125709.1168850046133874829.shigeru@iij.ad.jp> Date: Tue, 13 Aug 2013 12:08:28 -0700 X-Google-Sender-Auth: ujRsxeAIhoGvKGd5500vAMMutvg Message-ID: Subject: Re: quick hack to support "option VIMAGE" on USB Ethernet From: Craig Rodrigues To: YAMAMOTO Shigeru Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-current Current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Aug 2013 19:08:31 -0000 On Mon, Aug 12, 2013 at 8:57 PM, YAMAMOTO Shigeru wrote: > > My try is, > 1) I try to enable "option VIMAGE" at r254236@HEAD. > It causes panic at accessing V_if_index in ifindex_alloc_locked(). > Can you provide the kernel backtrace for this panic? It would be interesting to see where we need to initialize currvnet for USB Ethernet. I thought we already handled that case in subr_bus.c -- Craig