From owner-freebsd-usb@FreeBSD.ORG Mon Feb 21 22:00:08 2011 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 52D9A1065672 for ; Mon, 21 Feb 2011 22:00:08 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from mail.cksoft.de (mail.cksoft.de [IPv6:2001:4068:10::3]) by mx1.freebsd.org (Postfix) with ESMTP id BDDF98FC13 for ; Mon, 21 Feb 2011 22:00:07 +0000 (UTC) Received: from localhost (amavis.fra.cksoft.de [192.168.74.71]) by mail.cksoft.de (Postfix) with ESMTP id C96A841C7CB; Mon, 21 Feb 2011 23:00:06 +0100 (CET) X-Virus-Scanned: amavisd-new at cksoft.de Received: from mail.cksoft.de ([192.168.74.103]) by localhost (amavis.fra.cksoft.de [192.168.74.71]) (amavisd-new, port 10024) with ESMTP id prs5s399-WUX; Mon, 21 Feb 2011 23:00:06 +0100 (CET) Received: by mail.cksoft.de (Postfix, from userid 66) id 274C741C7D2; Mon, 21 Feb 2011 23:00:06 +0100 (CET) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id 7789C4448F3; Mon, 21 Feb 2011 21:57:39 +0000 (UTC) Date: Mon, 21 Feb 2011 21:57:38 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: Brandon Gooch In-Reply-To: Message-ID: <20110221215504.Y13400@maildrop.int.zabbadoz.net> References: <4D62A120.8040604@shapeshifter.se> <4D62B4E1.6070700@shapeshifter.se> X-OpenPGP-Key: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-1396095424-1298325458=:13400" Cc: freebsd-usb@freebsd.org Subject: Re: New uhso(4) device: Globetrotter HSUPA Modem Option N.V. X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Feb 2011 22:00:08 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-1396095424-1298325458=:13400 Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE On Mon, 21 Feb 2011, Brandon Gooch wrote: > On Mon, Feb 21, 2011 at 1:28 PM, Brandon Gooch > wrote: >>> Yeah, I got that message. =A0Not connecting and not getting an serial >>> console is a bit different. =A0From the output above it looks like >>> random garbage on the serial port. >>> >>> Try connecting to all different serial ports (without uhsoctl running) >>> with minicom or cu and try typing AT. (The diagnostic port >>> doesn't work, so skip that one). >> >> I just encountered a panic when the driver attaches after plugging in >> the device. >> >> The panic stems from uhso_attach(), and seems due to my kernel having >> the VIMAGE option compiled in -- it doesn't panic on my non-VIMAGE >> kernel (which I need to rebuild to continue helping debug). >> >> I'm trying to get a textdump ATM... > > Looks like I exceeded the VNET if_indexlim in /usr/src/sys/net/if.c on li= ne 190: > > static VNET_DEFINE(int, if_indexlim) =3D 8; > > Maybe I'll bump it up and give it another go... > > Bjoern, is there any reason I shouldn't be able to increase the number > from 8 to say, 16? I am lacking context reading about serial ports and network interfaces. If you create a network interface from USB you are currently running into the problem that CURVNETs are not properly setup. The indexlim, should just increase itself up to 64k if needed - see if_grow() in if.c. /bz --=20 Bjoern A. Zeeb You have to have visions! Stop bit received. Insert coin for new address family. --0-1396095424-1298325458=:13400--