Date: Mon, 21 Feb 2011 20:54:10 -0600 From: Brandon Gooch <jamesbrandongooch@gmail.com> To: "Bjoern A. Zeeb" <bz@freebsd.org> Cc: freebsd-usb@freebsd.org Subject: Re: New uhso(4) device: Globetrotter HSUPA Modem Option N.V. Message-ID: <AANLkTinJ7tAgfRh6W2fuVvve4AaCMBa49=LVArrB%2Bn%2Bh@mail.gmail.com> In-Reply-To: <20110221215504.Y13400@maildrop.int.zabbadoz.net> 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> <20110221215504.Y13400@maildrop.int.zabbadoz.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Feb 21, 2011 at 3:57 PM, Bjoern A. Zeeb <bz@freebsd.org> wrote: > 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 >> line 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. I apologize for just "blurting" this out at you, my bad. I get a little anxious sometimes :{ > If you create a network interface from USB you are currently running > into the problem that CURVNETs are not properly setup. =A0The indexlim, > should just increase itself up to 64k if needed - see if_grow() in > if.c. ...and of course, I sound like a dork again for making absurd assertions about code I know nothing about LOL :) It totally slipped my mind that all of the bits are not yet in the tree to allow adding interfaces after the kernel is already running -- patience, patience... -Brandon
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTinJ7tAgfRh6W2fuVvve4AaCMBa49=LVArrB%2Bn%2Bh>