Re: New pre-patch (Re: [PATCH] kswapd fully sysctl tunable)

Byeong-ryeol Kim (
Mon, 4 May 1998 04:32:21 +0900 (KST)

On Sun, 3 May 1998, Andrea Arcangeli wrote:

> On Sun, 3 May 1998, David S. Miller wrote:
> >version number 100 in pre-100 Makefile, which breaks uname() under
> >most GLIBC based systems. Quick fix is the change the version back to
> >"99" in the toplevel Makefile.
> As you probably just know glibc uname() works fine.
> andrea@dragon:~$ uname -r
> 2.1.100
> To make pppd working I simply changed all "2.1.16" to "2.1.0" in
> pppd/sys-linux.c. I will never use kernel between 2.1.0 and 2.1.16 ;-).
> Andrea[s] Arcangeli
I use rh 5.0(glibc-2.0.7pre3+wcsmbs patch, egcs-1.0.2+ some latest
unoffical fixes, ppp-2.3.4...).

$ uname -a
Linux 2.1.100 #9 Mon May 4 01:33:48 KST 1998 i586 unknown

I resolved this problem in ppp-2.3.4 just by wrapping all 'utsname.release'
with "".
eg) strcmp(utsname.release, "2.1.0")
-> strcmp("utsname.release, "2.1.0")

Another method is as follows:

1. In ppp-2.3.4/pppd/sys-linux, insert '#include <linux/version.h>' into
proper position.

2. Replace all 'utsname.release' with "UTS_RELEASE"(including "").

3. make

PS: I don't know the reason why pppd compile was ok with 2.1.9x without
above change, and not ok with 2.1.100pre1, but at least it is not
due to 'y2k problem of linux' or 'uname bug of glibc2'.

"Where there is a will, there is a way."
For the future of you and me! hitel: jinbo21

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to