Re: Random PPP Dropouts

Harald Dunkel (harri@Synopsys.COM)
Wed, 06 Jan 1999 20:43:03 +0100


Mike Galbraith wrote:
>
>
> Hi Harri,
>
> This was driving me nuts. It appeared with pre1, and I reversed just
> about the entire patch piece by piece until just about the only thing
> left was drivers and the makefile version changes. You guessed it..
> the makefile changes. I haven't figured out why yet, but I now have a
> pre1 with everything except that, and the annoying route and demand dial
> problems are gone. 'Course it has an identity crisis, (it thinks it's
> 2.1.132) but it works.
>
> -Mike

Hi Mike,

As suggested I have renamed the pre4 kernel into 2.1.136, and the problem
disappeared!

The bug seems to be in ipppd/sys-linux.c. Decode_version() stumbles
over the '-pre4'. Attached is is a suggested workaround for
ipppd 3.0beta2. But probably it is more easy to remove the definition
of 'EXTRAVERSION' in the top level Makefile, delete
include/linux/version.h and rebuild the kernel. I guess EXTRAVESRION
will disappear with the final 2.2.0 kernel anyway.

Regards

Harri

-- 
Harald Dunkel | dunkel@Synopsys.COM | O glücklich, wer noch hoffen kann,
Synopsys GmbH | Kaiserstr. 100      | aus diesem Meer des Irrtums 
52134 Herzogenrath, Germany         | aufzutauchen.               Faust, 
+49 2407 9558 (fax? 44: 0)          |   Der Tragödie erster Teil, J.W.G.

--------------------------------------------------------------------------- *** ./ipppd/sys-linux.c~ Mon Nov 9 15:00:15 1998 --- ./ipppd/sys-linux.c Wed Jan 6 19:43:06 1999 *************** *** 1228,1240 **** *patch = (int) strtoul (buf, &buf, 10); } } ! if (*buf != '\0') { *version = *modification = *patch = 0; } } /* --- 1228,1241 ---- *patch = (int) strtoul (buf, &buf, 10); } } ! /* if (*buf != '\0') { *version = *modification = *patch = 0; } + */ } /*

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/