Date: Mon, 21 Feb 2011 21:57:38 +0000 (UTC) From: "Bjoern A. Zeeb" <bz@FreeBSD.org> To: Brandon Gooch <jamesbrandongooch@gmail.com> Cc: freebsd-usb@freebsd.org Subject: Re: New uhso(4) device: Globetrotter HSUPA Modem Option N.V. Message-ID: <20110221215504.Y13400@maildrop.int.zabbadoz.net> In-Reply-To: <AANLkTi=b4gMJS1-nuih9MDocQ5oWGxNPVsbuPYNasSOj@mail.gmail.com> References: <AANLkTi=YgTF434WgoF7w1B=y2rTBW_6Jqg3g3ncuy4-d@mail.gmail.com> <4D62A120.8040604@shapeshifter.se> <AANLkTikrhvNk%2Bk7jo5PLSPkTc22pT-5F=7Wr%2B87R2C_A@mail.gmail.com> <4D62B4E1.6070700@shapeshifter.se> <AANLkTim-qR8TTCHATL0fFPBmeVfwPJwGRCLg6cCBf8=Z@mail.gmail.com> <AANLkTi=b4gMJS1-nuih9MDocQ5oWGxNPVsbuPYNasSOj@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 > <jamesbrandongooch@gmail.com> 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<enter>. (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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110221215504.Y13400>