Re: [Barry-devel] Blackberries rebooting during tethering ( was Re: Using pppob with a brazilian pro
Status: Beta
Brought to you by:
ndprojects
From: Bill P. <wp...@wi...> - 2009-01-22 03:31:36
|
Of all the gin joints in all the towns in all the world, Chris Frey had to walk into mine and say: > On Tue, Jan 20, 2009 at 09:24:29PM -0600, Andy Herkey wrote: > > Since we send that packet when using password I don't see those special > > packets. I only had rebooting problems when using the serial modem and > > that only happened when I went to this one web site. It would reboot > > every time I hit that site. When I got the ip_modem working with a > > password I never had any more problems. One time last November I pounded > > the hell out of it when my cable service went out during a .com site > > stress test. I was connected for over 4 hours and I had multiple > > monitors up feeding me data, multiple ssh windows open to web and app > > servers I even had a rdesktop session connected to my desktop at work. I > > was impressed to say the least with the BB and my service provider. > > Now that's testing! :-) Thanks very much for this. > > > For Bill's problem, if we move the closing curly bracket from line 318 > > to line 289 that will send the session_key packet for both password or > > non password devices. Below is a simple diff of the change: > > Done. > > Bill: Could you give the latest CVS/git a try and let us know if this > changes the reboot behaviour you've been seeing lately? > > Thanks, > - Chris Success! I tested the new version of the code with my Curve 8320, and I can confirm that the IPmodem Special packets no longer occur with every bulk write transfer, and the device does not crash even at high speeds. I transfered about 5MB worth of data at the max rate (26KB/sec) without any trouble. Also, it seems to me that the Blackberry itself is a little more responsive now during data transfers. Before it felt like the UI would get a little sluggish during periods of heavy traffic. If the special packets were the result of errors triggered by incorrect initialization, then the sluggishness could have been due to the CPU getting bogged down with all the excess error handling. Anyway, this seems to have done the trick. I think you can safely remove the debug code that was added previously. Thanks a lot everyone everyone for your hard work. Now if I can just get ppp(8) to handle those damn double quotes properly... -Bill -- ============================================================================= -Bill Paul (510) 749-2329 | Senior Engineer, Master of Unix-Fu wp...@wi... | Wind River Systems ============================================================================= "I put a dollar in a change machine. Nothing changed." - George Carlin ============================================================================= |