From owner-freebsd-current Sun Jun 7 00:03:28 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA16888 for freebsd-current-outgoing; Sun, 7 Jun 1998 00:03:28 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from dyson.iquest.net (dyson.iquest.net [198.70.144.127]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA16873 for ; Sun, 7 Jun 1998 00:03:24 -0700 (PDT) (envelope-from toor@dyson.iquest.net) Received: (from root@localhost) by dyson.iquest.net (8.8.8/8.8.8) id CAA01085; Sun, 7 Jun 1998 02:02:38 -0500 (EST) (envelope-from toor) Message-Id: <199806070702.CAA01085@dyson.iquest.net> Subject: Re: Another snap for -current improvements In-Reply-To: <199806070652.XAA09806@pozo.com> from Manfred Antar at "Jun 6, 98 11:52:17 pm" To: mantar@netcom.com (Manfred Antar) Date: Sun, 7 Jun 1998 02:02:38 -0500 (EST) Cc: current@FreeBSD.ORG From: "John S. Dyson" Reply-To: dyson@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL38 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Manfred Antar said: > At 12:50 AM 6/7/98 -0500, you wrote: > >Another snap at: > > > >http://www.freebsd.org/~dyson/sysjun07.diff.gz > > > >Might work on P5 now. Also, some strange problems that > >I could finally repeat have been fixed. New pte update > >code that considers the modification of VA space as > >a side effect, as opposed to depending upon the lack > >of compiler optimization. > > > >John > > > I have run tests on my PR 440 MB with no problems. However, that diagnostic that you are seeing is bogus, and reflects a coding error in the diagnostic :-(. I'll download a new, fixed patch. If you want to quick-fix the code in your hands, on approx line 3446 of sys/i386/i386/pmap.c (my line numbers won't match yours perfectly necessarily) there is an ifdef PMAP_DIAGNOSTIC, with the complaint that you are seeing. The variable "pmap" isn't initialized there, and the diagnostic itself has the error. Try removing that ifdef'ed section of code. I'll download a new update diff immediately. -- John | Never try to teach a pig to sing, dyson@freebsd.org | it just makes you look stupid, jdyson@nc.com | and it irritates the pig. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Jun 7 00:17:24 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA18746 for freebsd-current-outgoing; Sun, 7 Jun 1998 00:17:24 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from dyson.iquest.net (dyson.iquest.net [198.70.144.127]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA18741 for ; Sun, 7 Jun 1998 00:17:21 -0700 (PDT) (envelope-from toor@dyson.iquest.net) Received: (from root@localhost) by dyson.iquest.net (8.8.8/8.8.8) id CAA01426 for current@freebsd.org; Sun, 7 Jun 1998 02:17:20 -0500 (EST) (envelope-from toor) Message-Id: <199806070717.CAA01426@dyson.iquest.net> Subject: New, hopefully better -current patch ready To: current@FreeBSD.ORG Date: Sun, 7 Jun 1998 02:17:20 -0500 (EST) From: "John S. Dyson" Reply-To: dyson@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL38 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG With some help from Manfred, I found a bug in a diagnostic in the pmap code. A new version of the patch resides in: http://www.freebsd.org/~dyson/sysjun07a.diff.gz Thanks!!! -- John | Never try to teach a pig to sing, dyson@freebsd.org | it just makes you look stupid, jdyson@nc.com | and it irritates the pig. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Jun 7 01:14:01 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA23551 for freebsd-current-outgoing; Sun, 7 Jun 1998 01:14:01 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from dyson.iquest.net (dyson.iquest.net [198.70.144.127]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA23523 for ; Sun, 7 Jun 1998 01:13:58 -0700 (PDT) (envelope-from toor@dyson.iquest.net) Received: (from root@localhost) by dyson.iquest.net (8.8.8/8.8.8) id DAA01895 for current@freebsd.org; Sun, 7 Jun 1998 03:13:57 -0500 (EST) (envelope-from toor) From: "John S. Dyson" Message-Id: <199806070813.DAA01895@dyson.iquest.net> Subject: I am getting good reports on the latest -current stuff To: current@FreeBSD.ORG Date: Sun, 7 Jun 1998 03:13:57 -0500 (EST) X-Mailer: ELM [version 2.4ME+ PL38 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG The latest patch is: http://www.freebsd.org/~dyson/sysjun07b.diff.gz SMP performance should be much better than standard -current, and this code embodies the most of the changes necessary to support kernel threads properly in the VM code. I guess that there are still some interrupt latency problems for SIO, but YMMV. All in all, the system is much more responsive, and this code should fix a myriad of bugs. Cleaned up versions of these changes will be committed next weekend. Included in these changes are LL support of per-CPU kernel stacks for threaded processes (higher level kernel support isn't there yet), a little support for CPU affinity, and much more intelligent usage of TLB IPI's. The number of bugs fixed is overwhelming. John To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Jun 7 02:54:50 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA01025 for freebsd-current-outgoing; Sun, 7 Jun 1998 02:54:50 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from top.worldcontrol.com (surf52.cruzers.com [205.215.232.52]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id CAA01019 for ; Sun, 7 Jun 1998 02:54:47 -0700 (PDT) (envelope-from brian@worldcontrol.com) From: brian@worldcontrol.com Received: (qmail 8745 invoked by uid 100); 7 Jun 1998 09:55:40 -0000 Message-ID: <19980607025537.A8714@top.worldcontrol.com> Date: Sun, 7 Jun 1998 02:55:37 -0700 To: dyson@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: New, hopefully better (jun07a) patch ready References: <199806070717.CAA01426@dyson.iquest.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91i In-Reply-To: <199806070717.CAA01426@dyson.iquest.net>; from John S. Dyson on Sun, Jun 07, 1998 at 02:17:20AM -0500 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On %M 0, "John S. Dyson" wrote: > http://www.freebsd.org/~dyson/sysjun07a.diff.gz 2xPP150 w/CAM about 1/2 way through a 'make -j 8 buildworld' without and problems! yeah! No evil com silo overflows either! Three cheers for John! Hey that reminds me. I was out in one of my electronics storage buildings the other day and noticed I had piled some SCSI drives in a spot that look like they had somewhere to go. I had remembered that I had promised them to someone. I had also lost a great batch of emails some weeks ago, due to a crash, and an inability to get some more recent backups to restore. I got things back up with a three month old backup. Was that person you? I seem to remember it being a John. If so, where was I supposed to send them? -- Brian Litzinger To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Jun 7 03:52:18 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA09726 for freebsd-current-outgoing; Sun, 7 Jun 1998 03:52:18 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from awfulhak.org (awfulhak.force9.co.uk [195.166.136.63]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA09641 for ; Sun, 7 Jun 1998 03:52:04 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from gate.lan.awfulhak.org (localhost [127.0.0.1]) by awfulhak.org (8.8.8/8.8.8) with ESMTP id LAA00965; Sun, 7 Jun 1998 11:46:30 +0100 (BST) (envelope-from brian@gate.lan.awfulhak.org) Message-Id: <199806071046.LAA00965@awfulhak.org> X-Mailer: exmh version 2.0.1 12/23/97 To: John Polstra cc: toj@gorillanet.gorilla.net, current@FreeBSD.ORG Subject: Re: IP Packet Aliasing Broke? In-reply-to: Your message of "Mon, 01 Jun 1998 19:27:22 PDT." <199806020227.TAA25559@austin.polstra.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 07 Jun 1998 11:46:30 +0100 From: Brian Somers Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This stuff should be fixed now. dlopen() searches for the lib if the name has no ``/'' characters and the library's specified differently in ppp/loadalias.c for -current..... Now all we need is char *dlfind(const char *, int *major, int *minor) so that we can char *name; void *dl; int major = 2, minor = -1; name = dlfind("alias", &major, &minor); if (name) { if (minor < 5) fprintf(stderr, "Found version 2.%d, require at least " "version 2.5\n", minor); else { dl = dlopen(name, ....); .... } } free(name); Has anyone any objections to me implementing dlfind() ? > > > > On May 28 packet forwarding was working, on the 29 it was *not*. > > > > Any ideas or did I miss something? All I have done is make world > > > > and kernel rebuid. > > > > No, sorry for not being clear. User ppp ip packet aliasing. Trying to > > figure out what happened but haven't yet. > > You might have gotten bitten by the move of the libraries from > /usr/lib to /usr/lib/aout. Where is libalias.so.*? If it is in > /usr/lib/aout, try creating a symlink to it in /usr/lib. > > John > -- > John Polstra jdp@polstra.com > John D. Polstra & Co., Inc. Seattle, Washington USA > "Self-knowledge is always bad news." -- John Barth -- Brian , , Don't _EVER_ lose your sense of humour.... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Jun 7 03:53:01 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA09862 for freebsd-current-outgoing; Sun, 7 Jun 1998 03:53:01 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from totally.damaged.org (totally.damaged.org [198.142.63.35]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA09799 for ; Sun, 7 Jun 1998 03:52:39 -0700 (PDT) (envelope-from simon@totally.damaged.org) Received: (from simon@localhost) by totally.damaged.org (8.8.8/8.8.8) id UAA01323; Sun, 7 Jun 1998 20:52:06 +1000 (EST) (envelope-from simon) Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="_=XFMail.1.3.p0.FreeBSD:980607205205:5122=_" Date: Sun, 07 Jun 1998 20:52:05 +1000 (EST) From: Simon Coggins To: John Birrell , freebsd-current@FreeBSD.ORG Subject: More problems with Threads on -current. Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This message is in MIME format --_=XFMail.1.3.p0.FreeBSD:980607205205:5122=_ Content-Type: text/plain; charset=us-ascii Got another one for you :) Seems with threads there is something wrong with how fcntl() works, fcntl(fd, F_SETFD, 1) doesn't work when you compile against libc_r. I've included the program that shows this. [simon@totally]:/tmp/thread/b> gcc -o t threads_test.c [simon@totally]:/tmp/thread/b> ./t Before fcntl is 0 Before fcntl is 1 [simon@totally]:/tmp/thread/b> gcc -o t threads_test.c -pthread [simon@totally]:/tmp/thread/b> ./t Before fcntl is 0 Before fcntl is 0 Regards Simon +---------------------------------------------------------------+ | Email: chaos@ultra.net.au, chaos@oz.org, simon@bofh.com.au | | http://www.ultra.net.au/~chaos Ultranet Technical Admin. | | Chaos on IRC, IRC Operator for the OzORG Network | +---------------------------------------------------------------+ --- As long as the answer is right, who cares if the question is wrong? --_=XFMail.1.3.p0.FreeBSD:980607205205:5122=_ Content-Disposition: attachment; filename="threads_test.c" Content-Transfer-Encoding: base64 Content-Description: threads_test.c Content-Type: application/octet-stream; name=threads_test.c; SizeOnDisk=296 I2luY2x1ZGUgPHN0ZGlvLmg+CiNpbmNsdWRlIDxmY250bC5oPgoKdm9pZCBtYWluKCkKewoJaW50 IGZkOwoJCglmZD1vcGVuKCIvZGV2L3plcm8iLCBPX1JET05MWSk7CglpZihmZDwzKQoJewoJCXBl cnJvcigib3BlbigpIik7CgkJZXhpdCgwKTsKCX0KCXByaW50ZigiQmVmb3JlIGZjbnRsIGlzICVk XG4iLCBmY250bChmZCwgRl9HRVRGRCwgMCkpOwoJZmNudGwoZmQsIEZfU0VURkQsIDEpOwoJcHJp bnRmKCJCZWZvcmUgZmNudGwgaXMgJWRcbiIsIGZjbnRsKGZkLCBGX0dFVEZELCAwKSk7CgljbG9z ZShmZCk7Cn0KCgk= --_=XFMail.1.3.p0.FreeBSD:980607205205:5122=_-- End of MIME message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Jun 7 04:07:33 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA11754 for freebsd-current-outgoing; Sun, 7 Jun 1998 04:07:33 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from kremvax.demos.su (kremvax.demos.su [194.87.0.20]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id EAA11730 for ; Sun, 7 Jun 1998 04:07:17 -0700 (PDT) (envelope-from sinbin.demos.su!bag@kremvax.demos.su) Received: by kremvax.demos.su (8.6.13/D) from 0@sinbin.demos.su [194.87.5.31] with ESMTP id PAA07026; Sun, 7 Jun 1998 15:06:18 +0400 Received: by sinbin.demos.su id PAA17878; (8.6.12/D) Sun, 7 Jun 1998 15:05:36 +0400 From: bag@sinbin.demos.su (Alex G. Bulushev) Message-Id: <199806071105.PAA17878@sinbin.demos.su> Subject: Re: mbuf cluster problem continues!! In-Reply-To: <19980602192424.02082@demos.su> from "Mikhail A. Sokolov" at "Jun 2, 98 07:24:24 pm" X-ELM-OSV: (Our standard violations) no-mime=1; no-hdr-encoding=1 To: mishania@demos.su (Mikhail A. Sokolov) Date: Sun, 7 Jun 1998 15:05:35 +0400 (MSD) Cc: wollman@khavrinen.lcs.mit.edu, dg@root.com, freebsd-current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL32 (25)] Content-Type: text Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Hello, > > On Mon, Jun 01, 1998 at 12:26:41PM -0400, Garrett Wollman wrote: > # < said: > > # > I've seen several reports of mbuf leaks in the specific case of running > # > squid proxy servers. > > # Not seen here. > > # root@xyz(4)$ netstat -m > # 825/1408 mbufs in use: > > Oh well, it's not squid what is definite culprit here, not closing tcp > connections: let's take a machine, which is attacked by clients, is being > agressively used nfs server and doesn't even have any services besides nfs, > which could leave tcp connections not closed: > > {zz}~/# netstat -m > 10577/10688 mbufs in use: > 10057 mbufs allocated to data > 520 mbufs allocated to packet headers > 451/728 mbuf clusters in use > 2792 Kbytes allocated to network (79% in use) > 0 requests for memory denied > 0 requests for memory delayed > 0 calls to protocol drain routines > {zz}~/# uptime > 6:44ÐÐ up 1 day, 8:57, 21 users, load averages: 1.85, 1.80, 1.62 > > NMBCLUSTERS are 24k, and still the machine will leak mbuf's once a week. > it is intresting than in the case of nfs server (with mbuf's leak's) it is no problems with number of mbuf claster's, only number of mbuf's increased, for example: 4:29 up 6:42, 19 users, load averages: 1.06, 1.23, 1.48 ^^^^ after reboot > netstat -m 3609/3744 mbufs in use: ^^^^^^^^^ 3084 mbufs allocated to data 525 mbufs allocated to packet headers 485/660 mbuf clusters in use ^^^^^^^ 1788 Kbytes allocated to network (79% in use) 0 requests for memory denied 0 requests for memory delayed 0 calls to protocol drain routines so 485 mbuf clusters and 3600 mbuf's allocated and after several day's: 1:56 up 6 days, 4:09, 14 users, load averages: 0.58, 0.77, 0.84 ^^^^^^^^^^^^^ > netstat -m 34613/34752 mbufs in use: ^^^^^^^^^^^ 34393 mbufs allocated to data 220 mbufs allocated to packet headers 260/818 mbuf clusters in use ^^^^^^^ 5980 Kbytes allocated to network (81% in use) 0 requests for memory denied 0 requests for memory delayed 0 calls to protocol drain routines only 260 mbuf clusters allocated, but 34613 mbufs !!! so this nfs server state is "before crash" Alex. > > My 2 kopeks. > > -- > -mishania > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Jun 7 04:19:41 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA12834 for freebsd-current-outgoing; Sun, 7 Jun 1998 04:19:41 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from www.giovannelli.it (www.giovannelli.it [194.184.65.4]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA12704 for ; Sun, 7 Jun 1998 04:18:46 -0700 (PDT) (envelope-from gmarco@scotty.masternet.it) Received: from scotty.masternet.it (modem00.masternet.it [194.184.65.254]) by www.giovannelli.it (8.8.8/8.8.5) with ESMTP id NAA00569 for ; Sun, 7 Jun 1998 13:15:09 +0200 (MET DST) Message-ID: <357A76E0.AD3BE6A2@scotty.masternet.it> Date: Sun, 07 Jun 1998 13:17:52 +0200 From: Gianmarco Giovannelli Reply-To: gmarco@giovannelli.it X-Mailer: Mozilla 4.05 [en] (X11; I; FreeBSD 3.0-CURRENT i386) MIME-Version: 1.0 To: freebsd-current@FreeBSD.ORG Subject: Today (980607) make world breakage Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG After made and installed separately the mtree bin (the old one doesn't understand the keyword nochange) I receive this error... c++ -I/usr/obj/usr/src/tmp/usr/include/g++ -O -pipe -fno-for-scope -I/usr/src/gnu/usr.bin/groff/libgroff/../include -DHAVE_UNISTD_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_DIR_H=1 -DHAVE_STDLIB_H=1 -DUNISTD_H_DECLARES_GETOPT=1 -DSTDLIB_H_DECLARES_PUTENV=1 -DSTDIO_H_DECLARES_POPEN=1 -DSTDIO_H_DECLARE_PCLOSE=1 -DHAVE_CC_OSFCN_H=1 -DHAVE_CC_LIMITS_H=1 -DRETSIGTYPE=void -DHAVE_STRUCT_EXCEPTION=1 -DHAVE_RENAME=1 -DHAVE_MKSTEMP=1 -DSYS_SIGLIST_DECLARED=1 -I/usr/src/gnu/usr.bin/groff/libgroff/../../../../contrib/groff/include -fno-for-scope -I/usr/obj/usr/src/tmp/usr/include -c /usr/src/gnu/usr.bin/groff/libgroff/../../../../contrib/groff/libgroff/nametoindex.cc -o nametoindex.o c++ -I/usr/obj/usr/src/tmp/usr/include/g++ -O -pipe -fno-for-scope -I/usr/src/gnu/usr.bin/groff/libgroff/../include -DHAVE_UNISTD_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_DIR_H=1 -DHAVE_STDLIB_H=1 -DUNISTD_H_DECLARES_GETOPT=1 -DSTDLIB_H_DECLARES_PUTENV=1 -DSTDIO_H_DECLARES_POPEN=1 -DSTDIO_H_DECLARE_PCLOSE=1 -DHAVE_CC_OSFCN_H=1 -DHAVE_CC_LIMITS_H=1 -DRETSIGTYPE=void -DHAVE_STRUCT_EXCEPTION=1 -DHAVE_RENAME=1 -DHAVE_MKSTEMP=1 -DSYS_SIGLIST_DECLARED=1 -I/usr/src/gnu/usr.bin/groff/libgroff/../../../../contrib/groff/include -fno-for-scope -I/usr/obj/usr/src/tmp/usr/include -c /usr/src/gnu/usr.bin/groff/libgroff/../../../../contrib/groff/libgroff/new.cc -o new.o In file included from /usr/obj/usr/src/tmp/usr/include/sys/stat.h:50, from /usr/src/gnu/usr.bin/groff/libgroff/../../../../contrib/groff/include/posix.h:22, from /usr/src/gnu/usr.bin/groff/libgroff/../../../../contrib/groff/libgroff/new.cc:24: /usr/obj/usr/src/tmp/usr/include/sys/time.h:138: parse error before `private' *** Error code 1 The cvsup was done about 13:00 MET DST of 980607. --- Gianmarco "Unix expert since yesterday" http://www.giovannelli.it To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Jun 7 04:19:57 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA12894 for freebsd-current-outgoing; Sun, 7 Jun 1998 04:19:57 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from awfulhak.org (awfulhak.force9.co.uk [195.166.136.63]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA12822 for ; Sun, 7 Jun 1998 04:19:29 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from gate.lan.awfulhak.org (localhost [127.0.0.1]) by awfulhak.org (8.8.8/8.8.8) with ESMTP id MAA02168; Sun, 7 Jun 1998 12:18:52 +0100 (BST) (envelope-from brian@gate.lan.awfulhak.org) Message-Id: <199806071118.MAA02168@awfulhak.org> X-Mailer: exmh version 2.0.1 12/23/97 To: Brandon Lockhart cc: current@FreeBSD.ORG Subject: Re: More current PPP problems... In-reply-to: Your message of "Thu, 04 Jun 1998 14:33:18 EDT." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 07 Jun 1998 12:18:52 +0100 From: Brian Somers Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > For some reason, when I am using the newest version of PPP (Downloaded and > installed last saturday), I can not complete a connection. This is what > happens. > > I start ppp with "ppp -alias engulf". I then type "dial". It opens my > modem and begins to dial. It then waits for the connect. It attempts to > log in, and this is what happens. > > tun0: LCP: deflink: RecvConfigReq(2) state = Ack-Rcvd > tun0: LCP: MRU[4] 1006 > tun0: LCP: ACCMAP[6] 0x000a 0000 > tun0: LCP: PROTOCOMP[2] > tun0: LCP: ACFCOMP[2] > tun0: LCP: ENDDISC[9] MAC 00:c0:7b:71:84:14 > tun0: LCP: deflink: SendConfigNak(2) state = Ack-Rcvd > tun0: LCP: MRU[4] 2000 > tun0: HDLC: hdlc_Output > tun0: HDLC: ff 03 c0 21 03 02 00 08 01 04 07 d0 8c 9b > tun0: HDLC: hdlc_Input > tun0: HDLC: ff 03 c0 21 03 02 00 1b 01 04 03 ee 02 06 00 0a > tun0: HDLC: 00 00 07 02 08 02 13 09 03 c0 00 7b 71 84 14 55 > tun0: HDLC: 50 > > It does this about 5 times, then into some different headers. The other > headers basically say that the remote end asked the connection to be > terminated (It sends ands receives a TerminationReq). I can use my > /stand/ppp fine. Except the alias enable yes is looking for > libalias.so.2.4, and I have 2.5, and it won't load correctly. Any clue > why I can dialup with the old copy, but not the new one? > > This is my /etc/ppp/ppp.conf file. > > default: > set device /dev/cuaa1 > set speed 115200 > set log local +Phase > set log local +Chat > set log local +Connect > set log local +hdlc > set log local +LCP > set log local +IPCP > set log local +CCP > set log local +tun > deny lqr > set mtu 2000 This command is more forceful with the new ppp. Your ISP is ignoring the NAK and requesting an MRU of 1004 over and over again, so you won't connect unless you remove this. > set mru 2000 > set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0 OK-AT-OK \\dATDT\\T TIMEOUT 40 CONNECT" > > engulf: > set phone 4106269606 > set login "TIMEOUT 5 ogin:--ogin: brandon word: " > set timeout 120 > set redial 10.3 90 > set reconnect 1 900 > > ,--------------------------------,--------------------------------, > | Brandon Lockhart | Network Administrator | > | brandon@engulf.net | System Administrator | > | http://www.engulf.net/brandon/ | IRC Expert | > `--------------------------------`--------------------------------' -- Brian , , Don't _EVER_ lose your sense of humour.... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Jun 7 05:10:27 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA20526 for freebsd-current-outgoing; Sun, 7 Jun 1998 05:10:27 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from awfulhak.org (awfulhak.force9.co.uk [195.166.136.63]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA20101 for ; Sun, 7 Jun 1998 05:04:08 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from gate.lan.awfulhak.org (localhost [127.0.0.1]) by awfulhak.org (8.8.8/8.8.8) with ESMTP id MAA02754; Sun, 7 Jun 1998 12:33:08 +0100 (BST) (envelope-from brian@gate.lan.awfulhak.org) Message-Id: <199806071133.MAA02754@awfulhak.org> X-Mailer: exmh version 2.0.1 12/23/97 To: dag-erli@ifi.uio.no (Dag-Erling Coidan Sm rgrav ) cc: current@FreeBSD.ORG Subject: Re: Strange ppp behaviour In-reply-to: Your message of "04 Jun 1998 23:36:09 +0200." Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Date: Sun, 07 Jun 1998 12:33:08 +0100 From: Brian Somers Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by hub.freebsd.org id FAA20307 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG [.....] > I have had strange problems with ppp (segmenation faults, to be > precise). I checked out an older version (31/05/1998) which exhibited > the same symptoms: ppp