You are not logged in.

#1 2006-08-22 16:45:11

mr.MikyMaus
Member
From: disabled
Registered: 2006-03-31
Posts: 285

slow PPP on custom kernel [bumped: new info, bug in beyond3]

Hi guys!

Since this is obviously more kernel-related issue than network-related, I've decided, after keeping this post for about four days in the network section, to post it here. I've already deleted the original post in Network.

I'm having trouble with my PPP connectionon my laptop: using GPRS via cellphone Motorola E398 as a hardware USB modem, set as /dev/ttyACM0.

I'm too lazy to set up PPP manually and so I use gnome-ppp to establish connection. Everything works fine on distributed 2.6.17-ARCH kernel (v. 2.6.17.8-1), but turns out in serious slowdown while running a custom built kernel (version 2.6.17-beyond3). This is not a 'latest kernel' issue, since on my desktop, where I have a custom built kernel too, everything works fine. My desktop's kernel is beyond2.2, or, maybe beyond3 (haven't been home for long time:) ).

A serious slowdown means that on ARCH kernel I achieve about 8KB/s average download, but on custom beyond3 kernel the speed is, well, jumpy. It jumps to about 4-5KB/s for a very short moment (no more than a second) and then it stalls between 0 and 1KB/s for another 5-10 seconds.

I've already tried to enable all PPP things in kernel and tweaked some network and usb settings, using ARCH's config file as an example, but none worked out for me. I even diffed both config files and tried to set all suspitious options in custom config to match the ARCH one.

I was wondering if the error may not be in the PPP but in USB settings, but I cannot see how. It may also be in the beyond3 patchet, but I cannot se how either. So far, the 'bug' may be anywhere in kernel.

Does anybody have any suggestions, points or tips on what can possibly cause this problem?

My actual .config file can be downloadet at http://tmp.mikymaus.org/config It might be a little messy right now because of that tweaking of mine so do not take it too seriously;)

-Miky.


What happened to Arch's KISS? systemd sure is stupid but I must have missed the simple part ...

... and who is general Failure and why is he reading my harddisk?

Offline

#2 2006-08-27 20:41:40

mr.MikyMaus
Member
From: disabled
Registered: 2006-03-31
Posts: 285

Re: slow PPP on custom kernel [bumped: new info, bug in beyond3]

Sorry for bumping my own post...

I finally got home so I could compare my desktop's kernel config against my unworking laptop's one. My desktop's kernel is, however, 2.6.16-beyond4.1.

So my conclusion is that the error is in 2.6.17 kernel, probably in beyond patchset (testet only 2.6.17-beyond3). Why in beyond? Well, if I use stock kernel 2.6.17-ARCH:

[miky@ghoulie ~]$ uname -rv 
2.6.17-ARCH #1 SMP PREEMPT Mon Aug 7 08:30:48 CEST 2006

connection works fine (using it right now).
(off topic: does anyone know, what does that #1 mean?)

When I use stock beyond3:

[miky@ghoulie ~]$ pacman -Ss kernel26beyond
extra/kernel26beyond 2.6.17.beyond3-1

or beyond3 built by myself, the result is completely the same as described in preceding post.

If will cease using this connection in about four days so I am not going to try to solve it anymore. It may just be fixed in next beyond/ck/kernel, or wherever the bug is.

If there is someone who may be interested in this problem anyway, I'm of course willing to cooperate wink

-M.


What happened to Arch's KISS? systemd sure is stupid but I must have missed the simple part ...

... and who is general Failure and why is he reading my harddisk?

Offline

Board footer

Powered by FluxBB