From owner-freebsd-stable Mon Nov 10 02:19:07 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id CAA20206 for stable-outgoing; Mon, 10 Nov 1997 02:19:07 -0800 (PST) (envelope-from owner-freebsd-stable) Received: from bubble.didi.com (sjx-ca71-09.ix.netcom.com [207.92.177.73]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id CAA20184; Mon, 10 Nov 1997 02:18:59 -0800 (PST) (envelope-from asami@sunset.cs.berkeley.edu) Received: (from asami@localhost) by bubble.didi.com (8.8.7/8.8.7) id CAA13278; Mon, 10 Nov 1997 02:18:56 -0800 (PST) (envelope-from asami) Date: Mon, 10 Nov 1997 02:18:56 -0800 (PST) Message-Id: <199711101018.CAA13278@bubble.didi.com> To: gibbs@freebsd.org CC: scsi@freebsd.org, stable@freebsd.org Reply-to: scsi@freebsd.org Subject: timed out while idle From: asami@cs.berkeley.edu (Satoshi Asami) Sender: owner-freebsd-stable@freebsd.org X-Loop: FreeBSD.org Precedence: bulk (Reply-to: set to -scsi) Justin (and whoever else who can help), I've done some real stress tests on our NFS server and found that the crashes I've been reporting on -stable and IBM disks going "sleep" were related. It always starts like this, under heavy load (usually when there are a lot of NFS clients issuing random requests): === sd6(ahc1:13:0): SCB 0x3 - timed out while idle, LASTPHASE == 0x1, SCSISIGI == 0x0 SEQADDR = 0x5 SCSISEQ = 0x12 SSTAT0 = 0x5 SSTAT1 = 0xa Ordered Tag queued sd6(ahc1:13:0): SCB 0x3 - timed out while idle, LASTPHASE == 0x1, SCSISIGI == 0x0 SEQADDR = 0x7 SCSISEQ = 0x12 SSTAT0 = 0x5 SSTAT1 = 0xa sd6(ahc1:13:0): Queueing an Abort SCB sd6(ahc1:13:0): Abort Message Sent sd6(ahc1:13:0): SCB 3 - Abort Tag Completed. sd6(ahc1:13:0): no longer in timeout Ordered Tag sent ahc1: target 13 synchronous at 10.0MHz, offset = 0x8 sd6(ahc1:13:0): UNIT ATTENTION asc:29,0 sd6(ahc1:13:0): Power on, reset, or bus device reset occurred === The machine either crashes at this point, or keeps running. If it crashes, the crashdump is of very little help. The stack trace is very random and the only clue it offers is that it died doing something with NFS. If it keeps running, this disk goes into the "NOT READY" state I've reported before. (Thanks Peter, but I haven't had the time to try your hook. :<) Sometimes it will come back if I do a "scsi -r -f /dev/rsd6c", sometimes it will say "device not configured". When I reboot the machine, it usually comes back but sometimes it will die in fsck saying disk is not ready (usually the same disk). I thought about using Peter's hook or writing a program to monitor syslog and issuing a reprobe but if the machine is crashing before it goes into the "NOT READY" state, it's not going to help much. The disks identify themselves as: === ahc1: target 8 using 16Bit transfers ahc1: target 8 synchronous at 10.0MHz, offset = 0x8 ahc1: target 8 Tagged Queuing Device (ahc1:8:0): "IBM OEM DCHS09Y 2424" type 0 fixed SCSI 2 sd1(ahc1:8:0): Direct-Access 8689MB (17796077 512 byte sectors) === Do you have any idea what's going on? Does this sound like a firmware bug? Do you think you can find the problem if I give you access to the machine? Satoshi From owner-freebsd-stable Mon Nov 10 15:11:12 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id PAA06565 for stable-outgoing; Mon, 10 Nov 1997 15:11:12 -0800 (PST) (envelope-from owner-freebsd-stable) Received: from dragonlair.dal.net (root@dragonlair.dal.net [132.249.66.211]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id PAA06560 for ; Mon, 10 Nov 1997 15:11:09 -0800 (PST) (envelope-from Studded@dal.net) Received: from dt5h1n61.san.rr.com (dt5h1n61.san.rr.com [204.210.31.97]) by dragonlair.dal.net (8.8.5/8.8.5) with SMTP id PAA22738 for ; Mon, 10 Nov 1997 15:11:05 -0800 Message-Id: <199711102311.PAA22738@dragonlair.dal.net> From: "Studded" To: "FreeBSD Stable List" Date: Mon, 10 Nov 97 15:11:02 -0800 Reply-To: "Studded" Priority: Normal X-Mailer: PMMail 1.95a For OS/2 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Subject: Old stuff in 2.2.5 Sender: owner-freebsd-stable@freebsd.org X-Loop: FreeBSD.org Precedence: bulk First off, I want to emphasize that this is NOT a troll. I'm fully aware of the debates about the legacy stuff in -stable, and I don't want to re-open that can of worms. What I AM intersted in is learning which parts of -stable are out of date (in your opinion, I reserve final judgement :) and how I can replace them in the easiest possible way. My reasons for asking this is that with any kind of luck, I'm going to be installing FreeBSD systems on a commercial level, so I want the best, most secure systems possible, with the fewest steps. The two main things I know about are Perl and curses, so with that in mind, I have the following questions. PLEASE, keep all responses flame free and on topic. Thanks for any help offered, Doug 1. What part or parts of the 2.2.5-Stable code (or 22_releng if you prefer) do *you* consider out of date, and why? 2. What disadvantages does this out of date component (or components) cause? [I'm aware of the perl problems, but I would love some details on curses.] 3. What advantage would importing a new version of that component offer? 4. Is there an easy way to replace the version of that code that comes with -stable with the newer version *before* I do make world, so that I don't need to replace or recompile things in a second step after the make world is done. 5. Related to question 4, I am particularly interested in replacing perl 4 entirely, since I'm short on hd space (yes I know it's cheap nowadays, but I'm broke :). Can anyone tell me if replacing the perl sources that come from the /src directory on the ftp site with perl 5 will accomplish this, or if I'll have to install perl 5 after the make world. Also, assuming I will have to do it in 2 steps, what's the easiest way to delete all of perl 4? *** Proud operator, designer and maintainer of the world's largest *** Internet Relay Chat server. 4,168 clients and still growing. :-) *** Try spider.dal.net on ports 6662-4 (Powered by FreeBSD) *** Part of the DALnet IRC network *** From owner-freebsd-stable Mon Nov 10 20:17:31 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id UAA23783 for stable-outgoing; Mon, 10 Nov 1997 20:17:31 -0800 (PST) (envelope-from owner-freebsd-stable) Received: from austin.polstra.com (austin.polstra.com [206.213.73.10]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id UAA23773 for ; Mon, 10 Nov 1997 20:17:28 -0800 (PST) (envelope-from jdp@austin.polstra.com) Received: from austin.polstra.com (jdp@localhost) by austin.polstra.com (8.8.7/8.8.7) with ESMTP id UAA07249; Mon, 10 Nov 1997 20:16:35 -0800 (PST) (envelope-from jdp) Message-Id: <199711110416.UAA07249@austin.polstra.com> To: bemfica@militzer.me.tuns.ca Subject: Re: CVSup cannot parse stable-supfile? In-Reply-To: References: Organization: Polstra & Co., Seattle, WA Cc: stable@freebsd.org Date: Mon, 10 Nov 1997 20:16:34 -0800 From: John Polstra Sender: owner-freebsd-stable@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In article , Antonio Bemfica wrote: > When I try to use the example file available at ftp.freebsd.org, CVSup > gives me an error: > > mechv:/usr/sup.sh# cvsup -g -L 2 stable-supfile > Parsing supfile "/usr/sup.sh/stable-supfile" > Release not specified for collection "*default" > > I upgraded to the latest CVSup, but that didn't solve it. I do have a > working supfile, but still would like to know the proper syntax. Sorry I didn't answer sooner. I just came home from holiday. I am almost certain that you still have an old version of CVSup in your $PATH. Type "cvsup -v" and see what it says. If you have the current version, it will say "Software version: 15.2". I bet it won't say that. ;-) Use "which cvsup" to find the old version, and get rid of it. John From owner-freebsd-stable Mon Nov 10 21:07:03 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id VAA25964 for stable-outgoing; Mon, 10 Nov 1997 21:07:03 -0800 (PST) (envelope-from owner-freebsd-stable) Received: from lafcol (lafcol.lafayette.edu [139.147.8.5]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id VAA25958 for ; Mon, 10 Nov 1997 21:06:57 -0800 (PST) (envelope-from knollm@lafcol.lafayette.edu) Received: from believer by lafcol (SMI-8.6/SMI-SVR4) id AAA01832; Tue, 11 Nov 1997 00:06:06 -0500 Message-Id: <3.0.32.19971111000527.009999f0@lafcol.lafayette.edu> X-Sender: knollm@lafcol.lafayette.edu X-Mailer: Windows Eudora Pro Version 3.0 (32) Date: Tue, 11 Nov 1997 00:06:35 -0500 To: stable@freebsd.org From: Michael Knoll Subject: X11 and /tmp Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-stable@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I moved my /tmp directory to /usr/tmp, and I failed to copy the permissions. I noticed on a friends BSD box the permissions are set up as drwxrwxrwt. How do I set the t? What does it man? Also, I installed X11, and started XDM in a script in /usr/local/etc/rc.d. When it runs, the server(SVGA_???) goes up to 97% cpu time, and I can't log in locally. But, remote connections work, but I lose CPU clocks. If I start XDM from a shell as root, it all works fine. Where should I be automatically starting xdm on boot? Thanks Michael From owner-freebsd-stable Mon Nov 10 23:25:39 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id XAA04051 for stable-outgoing; Mon, 10 Nov 1997 23:25:39 -0800 (PST) (envelope-from owner-freebsd-stable) Received: from mail.travelshop.de (www.travelshop.de [194.25.152.25]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id XAA04040 for ; Mon, 10 Nov 1997 23:25:32 -0800 (PST) (envelope-from mailer@travelshop.de) ived: by mail.travelshop.de with MERCUR-SMTP/POP3-Server (v2.10) for at Tue, 11 Nov 97 06:02:01 +0100 To: freebsd-stable@FreeBSD.ORG CC: collections@hway.net From: TravelShop Date: Tue, 11 Nov 97 05:24:40 +0100 Subject: Worldwide Travel-Information X-Mailer: WM - http://www.travelshop.de/ Message-Id: <971111060201393000@mail.travelshop.de> Sender: owner-freebsd-stable@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Visit The Global Travel-Guide http://www.travelshop.de/index-e.html ------------------------------------------------------------- Good day, May we take this opportunity to present the marketplace for all things related to travel and tourism, the "TravelShop", in some more detail? Now, with more than 300 pages and over 30.000 daily hits, the TravelShop has carved out a place for itself at the peak of the tourism-related on-line marketplaces. Since September 97, the TravelShop is present on the Web in a completely revised and enhanced version. In addition to an improved layout, additional categories and an integrated search engine, there is also a terrific new contest. Please do stop by: http://www.travelshop.de/index-e.html Many thanks. Your TravelShop Team ------------------------------------- PS: TravelShop respects your online time and privacy. This is the reason why we don't add your eMail adress to our mailinglist. This is a one-time mailing only, if you don't like our travel-service you must not return this mail ! From owner-freebsd-stable Tue Nov 11 00:00:25 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id AAA06298 for stable-outgoing; Tue, 11 Nov 1997 00:00:25 -0800 (PST) (envelope-from owner-freebsd-stable) Received: from shell.futuresouth.com (shell.futuresouth.com [207.141.254.20]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id AAA06289; Tue, 11 Nov 1997 00:00:21 -0800 (PST) (envelope-from fullermd@futuresouth.com) Received: from shell.futuresouth.com (mail.futuresouth.com [207.141.254.21]) by shell.futuresouth.com (8.8.5/8.8.5) with SMTP id CAA02221; Tue, 11 Nov 1997 02:00:17 -0600 (CST) Date: Tue, 11 Nov 1997 02:00:16 -0600 (CST) From: "Matthew D. Fuller" To: Michael Knoll cc: questions@freebsd.org Subject: Re: X11 and /tmp In-Reply-To: <3.0.32.19971111000527.009999f0@lafcol.lafayette.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Tue, 11 Nov 1997, Michael Knoll wrote: > I moved my /tmp directory to /usr/tmp, and I failed to copy the > permissions. I noticed on a friends BSD box the permissions are set up as > drwxrwxrwt. How do I set the t? What does it man? t is the sticky bit, which means that even though everyone has write permissions, people can only delete files they own. Set it like: chmod 1777 tmp > Also, I installed X11, and started XDM in a script in /usr/local/etc/rc.d. > When it runs, the server(SVGA_???) goes up to 97% cpu time, and I can't log > in locally. But, remote connections work, but I lose CPU clocks. > > If I start XDM from a shell as root, it all works fine. > > Where should I be automatically starting xdm on boot? Your entry should look like this: xdm sleep 2 > Thanks > > Michael This belongs on -quuestions, redirected there. *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* | FreeBSD; the way computers were meant to be | * "The only reason I'm burning my candle at both ends, is * | that I haven't figured out how to light the middle yet."| * fullermd@futuresouth.com :-} MAtthew Fuller * | http://keystone.westminster.edu/~fullermd | *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* From owner-freebsd-stable Tue Nov 11 07:44:01 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id HAA00223 for stable-outgoing; Tue, 11 Nov 1997 07:44:01 -0800 (PST) (envelope-from owner-freebsd-stable) Received: from obie.softweyr.ml.org ([199.104.124.49]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id HAA00208 for ; Tue, 11 Nov 1997 07:43:57 -0800 (PST) (envelope-from wes@xmission.com) Received: (from wes@localhost) by obie.softweyr.ml.org (8.7.5/8.6.12) id IAA01571; Tue, 11 Nov 1997 08:58:36 -0700 (MST) Date: Tue, 11 Nov 1997 08:58:36 -0700 (MST) Message-Id: <199711111558.IAA01571@obie.softweyr.ml.org> From: Wes Peters To: Michael Knoll CC: stable@freebsd.org Subject: X11 and /tmp In-Reply-To: <3.0.32.19971111000527.009999f0@lafcol.lafayette.edu> References: <3.0.32.19971111000527.009999f0@lafcol.lafayette.edu> Sender: owner-freebsd-stable@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Michael Knoll writes: > I moved my /tmp directory to /usr/tmp, and I failed to copy the > permissions. I noticed on a friends BSD box the permissions are set up as > drwxrwxrwt. How do I set the t? What does it man? It's the "sticky" bit. Originally, it was used for executables, it told older versions of UNIX to save the text segment of the program in the swap space as long as possible; this was a way to increase the performance of system utilities that were run very often, like sh and ls. On a directory, it tells the system to only allow the owner of a file to delete it, very important for tmp directories. > Also, I installed X11, and started XDM in a script in /usr/local/etc/rc.d. > When it runs, the server(SVGA_???) goes up to 97% cpu time, and I can't log > in locally. But, remote connections work, but I lose CPU clocks. > > If I start XDM from a shell as root, it all works fine. > > Where should I be automatically starting xdm on boot? I do mine in /etc/rc.local, which is the equivalent of /usr/local/etc/rc.d. Here's the line I use: echo -n 'starting local daemons:' # put your local stuff here /usr/X11R6/bin/xdm && echo -n ' xdm' Pretty straightforward stuff. -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC http://www.xmission.com/~softweyr softweyr@xmission.com From owner-freebsd-stable Tue Nov 11 08:49:46 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id IAA04566 for stable-outgoing; Tue, 11 Nov 1997 08:49:46 -0800 (PST) (envelope-from owner-freebsd-stable) Received: from fledge.watson.org (root@FLEDGE.RES.CMU.EDU [128.2.91.116]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id IAA04560 for ; Tue, 11 Nov 1997 08:49:40 -0800 (PST) (envelope-from robert@cyrus.watson.org) Received: from moscow.watson.org (robert@moscow.pr.watson.org [192.0.2.6]) by fledge.watson.org (8.8.7/8.6.10) with SMTP id LAA11935 for ; Tue, 11 Nov 1997 11:49:28 -0500 (EST) Date: Tue, 11 Nov 1997 11:49:24 -0500 (EST) From: Robert Watson X-Sender: robert@moscow.watson.org Reply-To: Robert Watson To: freebsd-stable@freebsd.org Subject: fledge security check output (fwd) Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Today the de0 problem gave a new message -- alignment error. Robert N Watson Junior, Logic+Computation, Carnegie Mellon University http://www.cmu.edu/ Network Administrator, SafePort Network Services http://www.safeport.com/ robert@fledge.watson.org rwatson@safeport.com http://www.watson.org/~robert/ ---------- Forwarded message ---------- Date: Tue, 11 Nov 1997 02:00:06 -0500 (EST) From: System Administrator Subject: fledge security check output ... fledge kernel log messages: > :ff: bad crc > de0: receive: 00:a0:24:c8:e4:04: alignment error > de0: receive: ff:ff:ff:ff:ff:ff: bad crc > de0: receive: ff:ff:ff:ff:ff:ff: bad crc > de0: receive: ff:ff:ff:ff:ff:ff: bad crc > de0: receive: ff:ff:ff:ff:ff:ff: bad crc > de0: receive: 00:60:09:00:80:cb: bad crc > de0: receive: ff:ff:ff:ff:ff:ff: bad crc > de0: receive: 00:a0:24:74:ac:ba: bad crc > de0: receive: 00:a0:24:74:ac:ba: bad crc From owner-freebsd-stable Tue Nov 11 15:43:10 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id PAA04580 for stable-outgoing; Tue, 11 Nov 1997 15:43:10 -0800 (PST) (envelope-from owner-freebsd-stable) Received: from isgate.is (isgate.is [193.4.58.51]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id PAA04570 for ; Tue, 11 Nov 1997 15:43:04 -0800 (PST) (envelope-from totii@est.is) Received: from eh.est.is (eh.est.is [194.144.208.34]) by isgate.is (8.7.5-M/) with ESMTP id XAA28159; Tue, 11 Nov 1997 23:42:58 GMT Received: from didda.est.is (ppp-21.est.is [194.144.208.121]) by eh.est.is (8.8.5/8.8.5) with SMTP id XAA25949; Tue, 11 Nov 1997 23:43:01 GMT Message-ID: <3468ED7B.167EB0E7@est.is> Date: Tue, 11 Nov 1997 23:42:51 +0000 From: =?iso-8859-1?Q?=DEor=F0ur?= Ivarsson X-Mailer: Mozilla 3.01Gold (X11; I; FreeBSD 2.2.5-RELEASE i386) MIME-Version: 1.0 To: Wes Peters CC: Michael Knoll , stable@FreeBSD.ORG Subject: Re: X11 and /tmp References: <3.0.32.19971111000527.009999f0@lafcol.lafayette.edu> <199711111558.IAA01571@obie.softweyr.ml.org> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by hub.freebsd.org id PAA04573 Sender: owner-freebsd-stable@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Wes Peters wrote: > > Michael Knoll writes: > > I moved my /tmp directory to /usr/tmp, and I failed to copy the > > permissions. I noticed on a friends BSD box the permissions are set up as > > drwxrwxrwt. How do I set the t? What does it man? > > It's the "sticky" bit. Originally, it was used for executables, it told > older versions of UNIX to save the text segment of the program in the > swap space as long as possible; this was a way to increase the > performance of system utilities that were run very often, like sh and > ls. On a directory, it tells the system to only allow the owner of a > file to delete it, very important for tmp directories. > > > Also, I installed X11, and started XDM in a script in /usr/local/etc/rc.d. > > When it runs, the server(SVGA_???) goes up to 97% cpu time, and I can't log > > in locally. But, remote connections work, but I lose CPU clocks. > > > > If I start XDM from a shell as root, it all works fine. > > > > Where should I be automatically starting xdm on boot? > > I do mine in /etc/rc.local, which is the equivalent of NOT I got the same problem here! I think we need sleep or something into the start script or something is not already set up when xdm is started. In rc.local everything seems to be ok! > /usr/local/etc/rc.d. Here's the line I use: > > echo -n 'starting local daemons:' > > # put your local stuff here > > /usr/X11R6/bin/xdm && echo -n ' xdm' > > Pretty straightforward stuff. > > -- > "Where am I, and what am I doing in this handbasket?" > > Wes Peters Softweyr LLC > http://www.xmission.com/~softweyr softweyr@xmission.com -- Þórður Ívarsson Thordur Ivarsson Rafeindavirki Electronic technician Norðurgötu 30 Nordurgotu 30 Box 309 Box 309 602 Akureyri 602 Akureyri Ísland Iceland --------------------------------------------- FreeBSD has good features, Some others are full of unwanted features! --------------------------------------------- From owner-freebsd-stable Tue Nov 11 15:53:59 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id PAA05190 for stable-outgoing; Tue, 11 Nov 1997 15:53:59 -0800 (PST) (envelope-from owner-freebsd-stable) Received: from mail.uniserve.com (charon.uniserve.com [204.244.163.48]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id PAA05183 for ; Tue, 11 Nov 1997 15:53:54 -0800 (PST) (envelope-from tom@uniserve.com) Received: from shell.uniserve.com [204.244.210.252] by mail.uniserve.com with smtp (Exim 1.70 #1) id 0xVQ7r-0006a2-00; Tue, 11 Nov 1997 15:53:43 -0800 Date: Tue, 11 Nov 1997 15:53:39 -0800 (PST) From: Tom To: Studded cc: FreeBSD Stable List Subject: Re: Old stuff in 2.2.5 In-Reply-To: <199711102311.PAA22738@dragonlair.dal.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Mon, 10 Nov 1997, Studded wrote: > want to re-open that can of worms. What I AM intersted in is learning > which parts of -stable are out of date (in your opinion, I reserve final > judgement :) and how I can replace them in the easiest possible way. My > reasons for asking this is that with any kind of luck, I'm going to be > installing FreeBSD systems on a commercial level, so I want the best, most > secure systems possible, with the fewest steps. The two main things I out-of-date != insecure > know about are Perl and curses, so with that in mind, I have the following > questions. PLEASE, keep all responses flame free and on topic. > 1. What part or parts of the 2.2.5-Stable code (or 22_releng if you > prefer) do *you* consider out of date, and why? None. Everything works as-is. If I need additional functionaily, I get things out of packages. > 2. What disadvantages does this out of date component (or components) > cause? [I'm aware of the perl problems, but I would love some details on > curses.] perl problems? I'm not aware of any problems with the included perl4. If you require features not in perl4, use perl5, it is package. > 4. Is there an easy way to replace the version of that code that comes > with -stable with the newer version *before* I do make world, so that I > don't need to replace or recompile things in a second step after the make > world is done. There should no need to remove anything. > 5. Related to question 4, I am particularly interested in replacing perl > 4 entirely, since I'm short on hd space (yes I know it's cheap nowadays, > but I'm broke :). Can anyone tell me if replacing the perl sources that > come from the /src directory on the ftp site with perl 5 will accomplish > this, or if I'll have to install perl 5 after the make world. Also, > assuming I will have to do it in 2 steps, what's the easiest way to > delete all of perl 4? perl4 is tiny. You would barely save anything removing it. Tom From owner-freebsd-stable Tue Nov 11 20:54:17 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id UAA03108 for stable-outgoing; Tue, 11 Nov 1997 20:54:17 -0800 (PST) (envelope-from owner-freebsd-stable) Received: from set.spradley.dyn.ml.org (fcn105-97.tmi.net [207.170.105.97]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id UAA03093 for ; Tue, 11 Nov 1997 20:54:10 -0800 (PST) (envelope-from tsprad@spradley.dyn.ml.org) Received: from set.spradley.dyn.ml.org (localhost [127.0.0.1]) by set.spradley.dyn.ml.org (8.8.7/8.8.7) with ESMTP id XAA03728; Tue, 11 Nov 1997 23:06:24 -0600 (CST) (envelope-from tsprad@set.spradley.dyn.ml.org) Message-Id: <199711120506.XAA03728@set.spradley.dyn.ml.org> X-Mailer: exmh version 2.0zeta 7/24/97 To: Wes Peters cc: Michael Knoll , stable@FreeBSD.ORG Subject: Re: X11 and /tmp In-reply-to: Your message of "Tue, 11 Nov 1997 08:58:36 MST." <199711111558.IAA01571@obie.softweyr.ml.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 11 Nov 1997 23:06:23 -0600 From: Ted Spradley Sender: owner-freebsd-stable@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > Also, I installed X11, and started XDM in a script in /usr/local/etc/rc.d. > > When it runs, the server(SVGA_???) goes up to 97% cpu time, and I can't log > > in locally. But, remote connections work, but I lose CPU clocks. > > > > If I start XDM from a shell as root, it all works fine. > > > > Where should I be automatically starting xdm on boot? > > I do mine in /etc/rc.local, which is the equivalent of > /usr/local/etc/rc.d. Here's the line I use: > > echo -n 'starting local daemons:' > > # put your local stuff here > > /usr/X11R6/bin/xdm && echo -n ' xdm' In the FAQ it says: "Starting xdm via /etc/ttys is a Bad Thing. I don't know why this crept into some README file." No explanation at all of *why* it's a Bad Thing. I *hate* that. In defiance, I've been starting xdm by listing it in my /etc/ttys file for years with no noticeable ill effect. Can anyone tell me *why* it's a Bad Thing? From owner-freebsd-stable Tue Nov 11 21:31:18 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id VAA08684 for stable-outgoing; Tue, 11 Nov 1997 21:31:18 -0800 (PST) (envelope-from owner-freebsd-stable) Received: from fallout.campusview.indiana.edu (fallout.campusview.indiana.edu [149.159.1.1]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id VAA08665 for ; Tue, 11 Nov 1997 21:31:14 -0800 (PST) (envelope-from jfieber@indiana.edu) Received: from localhost (jfieber@localhost) by fallout.campusview.indiana.edu (8.8.7/8.8.7) with SMTP id AAA16811; Wed, 12 Nov 1997 00:30:17 -0500 (EST) Date: Wed, 12 Nov 1997 00:30:17 -0500 (EST) From: John Fieber To: Ted Spradley cc: Wes Peters , Michael Knoll , stable@FreeBSD.ORG Subject: Re: X11 and /tmp In-Reply-To: <199711120506.XAA03728@set.spradley.dyn.ml.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Tue, 11 Nov 1997, Ted Spradley wrote: > In the FAQ it says: "Starting xdm via /etc/ttys is a Bad Thing. I don't know > why this crept into some README file." No explanation at all of *why* it's a > Bad Thing. I *hate* that. In defiance, I've been starting xdm by listing it > in my /etc/ttys file for years with no noticeable ill effect. Can anyone tell > me *why* it's a Bad Thing? If you forget the -nodaemon option, it can cause mild discomfort as init tries to start numerous copies. Other than that, it has worked fine for me for years as well. -john From owner-freebsd-stable Tue Nov 11 21:39:09 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id VAA09828 for stable-outgoing; Tue, 11 Nov 1997 21:39:09 -0800 (PST) (envelope-from owner-freebsd-stable) Received: from ns.mt.sri.com (SRI-56K-FR.mt.net [206.127.65.42]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id VAA09812 for ; Tue, 11 Nov 1997 21:39:01 -0800 (PST) (envelope-from nate@rocky.mt.sri.com) Received: from rocky.mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with ESMTP id WAA06863; Tue, 11 Nov 1997 22:38:47 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: (from nate@localhost) by rocky.mt.sri.com (8.7.5/8.7.3) id WAA01996; Tue, 11 Nov 1997 22:38:44 -0700 (MST) Date: Tue, 11 Nov 1997 22:38:44 -0700 (MST) Message-Id: <199711120538.WAA01996@rocky.mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Ted Spradley Cc: Wes Peters , Michael Knoll , stable@freebsd.org Subject: Re: X11 and /tmp In-Reply-To: <199711120506.XAA03728@set.spradley.dyn.ml.org> References: <199711111558.IAA01571@obie.softweyr.ml.org> <199711120506.XAA03728@set.spradley.dyn.ml.org> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-stable@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > In the FAQ it says: "Starting xdm via /etc/ttys is a Bad Thing. I > don't know why this crept into some README file." No explanation at > all of *why* it's a Bad Thing. I *hate* that. In defiance, I've been > starting xdm by listing it in my /etc/ttys file for years with no > noticeable ill effect. Can anyone tell me *why* it's a Bad Thing? It should be removed, and was based on a mis-understanding J'org had about how xdm 'did it's thing'. Nate From owner-freebsd-stable Tue Nov 11 22:53:37 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id WAA19119 for stable-outgoing; Tue, 11 Nov 1997 22:53:37 -0800 (PST) (envelope-from owner-freebsd-stable) Received: from paert.tse-online.de (paert.tse-online.de [194.97.69.172]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id WAA19095 for ; Tue, 11 Nov 1997 22:53:29 -0800 (PST) (envelope-from ab@paert.tse-online.de) Received: (qmail 3226 invoked by uid 1000); 12 Nov 1997 07:02:49 -0000 Message-ID: <19971112080249.49049@paert.tse-online.de> Date: Wed, 12 Nov 1997 08:02:49 +0100 From: braukmann@tse-online.de To: FreeBSD Stable List Subject: Re: Old stuff in 2.2.5 References: <199711102311.PAA22738@dragonlair.dal.net> Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-md5; boundary=sOsTdHNUZQcU9YeF X-Mailer: Mutt 0.84 In-Reply-To: ; from Tom on Tue, Nov 11, 1997 at 03:53:39PM -0800 Organization: TSE TeleService GmbH Sender: owner-freebsd-stable@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk --sOsTdHNUZQcU9YeF Content-Type: text/plain; charset=us-ascii On Tue, Nov 11, 1997 at 03:53:39PM -0800, Tom wrote: > > 1. What part or parts of the 2.2.5-Stable code (or 22_releng if you > > prefer) do *you* consider out of date, and why? > > None. Everything works as-is. If I need additional functionaily, I get > things out of packages. For sure FreeBSD works (more or less) well out of the box. But I would like a more modular system more than the current one. > perl problems? I'm not aware of any problems with the included perl4. > If you require features not in perl4, use perl5, it is package. The perl5 vs. perl4 thing is easy to resolve, since perl5 purely adds functionality to the system. > > 4. Is there an easy way to replace the version of that code that comes > > with -stable with the newer version *before* I do make world, so that I > > don't need to replace or recompile things in a second step after the make > > world is done. > There should no need to remove anything. That argument counts only for changing revisions of delivered code pieces. But I can think of at least two cases where an 'make world' leads to a non-operationg system: a) named 4.9x vs. 8.x (in this case I may be wrong) b) fully replacing 'sendmail' by another MTA We are used to replace sendmail by qmail. (all sendmail components are removed from the system) But 'make world' insists on installing all the sendmail-stuff often resulting in a partly mis-operating system. It should really be possible to explicitly exclude certain 'packages' from the 'make install' process. It just might be possible now by struggling with the makefiles, but I don't want to modify the delivered build-environment only for being able to select which components I want. Regards, Andreas -- /// TSE TeleService GmbH | Gsf: Arne Reuter | /// Hovestrasse 14 | Andreas Braukmann | We do it with /// D-48351 Everswinkel | HRB: 1430, AG WAF | FreeBSD/SMP /// ------------------------------------------------------------------- /// PGP-Key: http://www.tse-online.de/~ab/public-key /// Key fingerprint: 12 13 EF BC 22 DD F4 B6 3C 25 C9 06 DC D3 45 9B --sOsTdHNUZQcU9YeF Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: 2.6.3ia iQCVAwUBNGlUmXKj4VjLq0fFAQFT1gQAqKCJm7M8JBGrGNkSntOBzpxOXELjzMIx NKH6J/DzEVl5qaSItgrzJmM8rTreWWwekkvcVeNGOUxAUBfffu1VwGLo3jIO6bZE VCmG9vDzsHPfoBkQIm3C5NyG4BLbkMm1uMFeNonQ8OYLrLrXD4rNTl3mOrIjZ4br dw/k66VJOn0= =Tuhh -----END PGP SIGNATURE----- --sOsTdHNUZQcU9YeF-- From owner-freebsd-stable Wed Nov 12 00:05:00 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id AAA29877 for stable-outgoing; Wed, 12 Nov 1997 00:05:00 -0800 (PST) (envelope-from owner-freebsd-stable) Received: from lafcol (lafcol.lafayette.edu [139.147.8.5]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id AAA29817 for ; Wed, 12 Nov 1997 00:04:43 -0800 (PST) (envelope-from knollm@lafcol.lafayette.edu) Received: from believer by lafcol (SMI-8.6/SMI-SVR4) id CAA15099; Wed, 12 Nov 1997 02:11:23 -0500 Message-Id: <3.0.32.19971112020937.00a15400@lafcol.lafayette.edu> X-Sender: knollm@lafcol.lafayette.edu X-Mailer: Windows Eudora Pro Version 3.0 (32) Date: Wed, 12 Nov 1997 02:11:36 -0500 To: Ted Spradley , stable@FreeBSD.ORG From: Michael Knoll Subject: Re: X11 and /tmp Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-stable@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >In the FAQ it says: "Starting xdm via /etc/ttys is a Bad Thing. I don't know >why this crept into some README file." No explanation at all of *why* it's a >Bad Thing. I *hate* that. In defiance, I've been starting xdm by listing it >in my /etc/ttys file for years with no noticeable ill effect. Can anyone tell >me *why* it's a Bad Thing? Loading XDM like this does not allow network XDM connections. How can I load it to get both local and network XDM logins. Michael From owner-freebsd-stable Wed Nov 12 00:13:43 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id AAA01482 for stable-outgoing; Wed, 12 Nov 1997 00:13:43 -0800 (PST) (envelope-from owner-freebsd-stable) Received: from gras-varg.worldgate.com (skafte@gras-varg.worldgate.com [198.161.84.12]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id AAA01472 for ; Wed, 12 Nov 1997 00:13:40 -0800 (PST) (envelope-from skafte@worldgate.com) Received: (from skafte@localhost) by gras-varg.worldgate.com (8.8.7/8.6.12) id BAA08209; Wed, 12 Nov 1997 01:13:38 -0700 (MST) Message-ID: <19971112011337.57349@worldgate.com> Date: Wed, 12 Nov 1997 01:13:37 -0700 From: Greg Skafte To: freebsd-stable@freebsd.org Subject: Make world fails Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.85 Organization: WorldGate Inc. X-PGP-Fingerprint: 42 9C 2C A8 4D 2B C9 C4 7D B6 00 B0 50 47 20 97 X-URL: http://gras-varg.worldgate.com/~skafte Sender: owner-freebsd-stable@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Over the last couple of days of of cvsuping releng_2_2 .... it seems that apm (8) seems to have gotten munged ---------------- begin error message ------------------------ /var/archive/FreeBSD/stable/src/usr.sbin/apm/apm.c: In function `apm_display': /var/archive/FreeBSD/stable/src/usr.sbin/apm/apm.c:98: `APMIO_DISPLAY' undeclared (first use this function) /var/archive/FreeBSD/stable/src/usr.sbin/apm/apm.c:98: (Each undeclared identifier is reported only once /var/archive/FreeBSD/stable/src/usr.sbin/apm/apm.c:98: for each function it appears in.) ---------------- end error message ------------------------ -- Email: skafte@worldgate.com Voice: +403 413 1910 Fax: +403 421 4929 #575 Sun Life Place * 10123 99 Street * Edmonton, AB * Canada * T5J 3H1 -- -- When things can't get any worse, they simplify themselves by getting a whole lot worse then complicated. A complete and utter disaster is the simplest thing in the world; it's preventing one that's complex. (Janet Morris) From owner-freebsd-stable Wed Nov 12 02:03:30 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id CAA20579 for stable-outgoing; Wed, 12 Nov 1997 02:03:30 -0800 (PST) (envelope-from owner-freebsd-stable) Received: from time.cdrom.com (root@time.cdrom.com [204.216.27.226]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id CAA20560 for ; Wed, 12 Nov 1997 02:03:25 -0800 (PST) (envelope-from jkh@time.cdrom.com) Received: from time.cdrom.com (jkh@localhost.cdrom.com [127.0.0.1]) by time.cdrom.com (8.8.7/8.6.9) with ESMTP id CAA01384; Wed, 12 Nov 1997 02:03:05 -0800 (PST) To: braukmann@tse-online.de cc: FreeBSD Stable List Subject: Re: Old stuff in 2.2.5 In-reply-to: Your message of "Wed, 12 Nov 1997 08:02:49 +0100." <19971112080249.49049@paert.tse-online.de> Date: Wed, 12 Nov 1997 02:03:04 -0800 Message-ID: <1380.879328984@time.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-freebsd-stable@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > It should really be possible to explicitly exclude certain 'packages' > from the 'make install' process. It just might be possible now by > struggling with the makefiles, but I don't want to modify the delivered > build-environment only for being able to select which components I > want. Nonetheless, that's exactly what you're going to have to do. Jordan From owner-freebsd-stable Wed Nov 12 06:44:59 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id GAA07722 for stable-outgoing; Wed, 12 Nov 1997 06:44:59 -0800 (PST) (envelope-from owner-freebsd-stable) Received: from fallout.campusview.indiana.edu (fallout.campusview.indiana.edu [149.159.1.1]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id GAA07716 for ; Wed, 12 Nov 1997 06:44:56 -0800 (PST) (envelope-from jfieber@indiana.edu) Received: from localhost (jfieber@localhost) by fallout.campusview.indiana.edu (8.8.7/8.8.7) with SMTP id JAA17931; Wed, 12 Nov 1997 09:44:32 -0500 (EST) Date: Wed, 12 Nov 1997 09:44:32 -0500 (EST) From: John Fieber To: Michael Knoll cc: Ted Spradley , stable@FreeBSD.ORG Subject: Re: X11 and /tmp In-Reply-To: <3.0.32.19971112020937.00a15400@lafcol.lafayette.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Wed, 12 Nov 1997, Michael Knoll wrote: > >Bad Thing. I *hate* that. In defiance, I've been starting xdm by listing it > >in my /etc/ttys file for years with no noticeable ill effect. Can anyone > >tell me *why* it's a Bad Thing? > > Loading XDM like this does not allow network XDM connections. How can I > load it to get both local and network XDM logins. For what its worth, I've never observed this behavior. I've always started xdm in /etc/ttys and frequntly log in from remote X terminals using XDMCP without any problem. -john From owner-freebsd-stable Wed Nov 12 07:56:46 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id HAA12934 for stable-outgoing; Wed, 12 Nov 1997 07:56:46 -0800 (PST) (envelope-from owner-freebsd-stable) Received: from ns.mt.sri.com (SRI-56K-FR.mt.net [206.127.65.42]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id HAA12928 for ; Wed, 12 Nov 1997 07:56:43 -0800 (PST) (envelope-from nate@rocky.mt.sri.com) Received: from rocky.mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with ESMTP id IAA10536; Wed, 12 Nov 1997 08:56:37 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: (from nate@localhost) by rocky.mt.sri.com (8.7.5/8.7.3) id IAA03930; Wed, 12 Nov 1997 08:56:35 -0700 (MST) Date: Wed, 12 Nov 1997 08:56:35 -0700 (MST) Message-Id: <199711121556.IAA03930@rocky.mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Greg Skafte Cc: freebsd-stable@freebsd.org Subject: Re: Make world fails In-Reply-To: <19971112011337.57349@worldgate.com> References: <19971112011337.57349@worldgate.com> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-stable@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > Over the last couple of days of of cvsuping releng_2_2 .... it seems that > apm (8) seems to have gotten munged Did you update your include files? It won't work unless you update your include files. # cd /usr/src/include # make all && make install Nate From owner-freebsd-stable Wed Nov 12 10:55:11 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id KAA27351 for stable-outgoing; Wed, 12 Nov 1997 10:55:11 -0800 (PST) (envelope-from owner-freebsd-stable) Received: from ohio.river.org (ohio.river.org [199.4.65.219]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id KAA27341 for ; Wed, 12 Nov 1997 10:55:08 -0800 (PST) (envelope-from dhawk@ohio.river.org) Received: (from dhawk@localhost) by ohio.river.org (8.7.3/8.7.3) id KAA27697 for stable@freebsd.org; Wed, 12 Nov 1997 10:54:16 -0800 (PST) From: David Hawkins Message-Id: <199711121854.KAA27697@ohio.river.org> Subject: Trying to upgrade: 2.1.7.1 to 2.2.5 To: stable@freebsd.org Date: Wed, 12 Nov 1997 10:54:15 -0800 (PST) X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-stable@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I'm trying to upgrade to 2.2.5 from 2.1.7.1 I've been running cvsup for the past few weeks to get the files in sync, but hadn't tried compiling until now. I removed /usr/obj and compiled a new /usr/bin/make since it was griping about the '-m' flag. Did a 'make depend all install' on /usr/src/include and that went OK. Trying the same on /usr/src/lib fails repeatedly. So I did rm -rf /usr/src/lib and called up cvsup and it rebuilt the directory. But 'make depend' and 'make all' still fail. ===> libgnumalloc ===> libipx rm -f .depend files=""; if [ "$files" != "" ]; then mkdep -a $files; fi files="ipx_addr.c ipx_ntoa.c"; if [ "$files" != "" ]; then mkdep -a $files; fi ipx_addr.c:42: netipx/ipx.h: No such file or directory ipx_ntoa.c:39: netipx/ipx.h: No such file or directory mkdep: compile failed. *** Error code 1 Stop. *** Error code 1 Stop. Also, is the following from my cvsup file correct? # Defaults that apply to all the collections *default host=cvsup2.FreeBSD.org *default base=/usr *default prefix=/usr *default release=cvs tag=RELENG_2_2 *default delete use-rel-suffix Thanks. later, david -- David Hawkins -- dhawk@river.org http://www.river.org To err is human, to moo bovine. From owner-freebsd-stable Wed Nov 12 12:44:04 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id MAA07608 for stable-outgoing; Wed, 12 Nov 1997 12:44:04 -0800 (PST) (envelope-from owner-freebsd-stable) Received: from ohio.river.org (ohio.river.org [199.4.65.219]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id MAA07603 for ; Wed, 12 Nov 1997 12:44:02 -0800 (PST) (envelope-from dhawk@ohio.river.org) Received: (from dhawk@localhost) by ohio.river.org (8.7.3/8.7.3) id MAA03388 for stable@freebsd.org; Wed, 12 Nov 1997 12:43:09 -0800 (PST) From: David Hawkins Message-Id: <199711122043.MAA03388@ohio.river.org> Subject: Re: Trying to upgrade: 2.1.7.1 to 2.2.5 To: stable@freebsd.org Date: Wed, 12 Nov 1997 12:43:09 -0800 (PST) In-Reply-To: <199711121854.KAA27697@ohio.river.org> from "David Hawkins" at Nov 12, 97 10:54:15 am X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-stable@freebsd.org X-Loop: FreeBSD.org Precedence: bulk make depend also fails on bin/csh with In file included from /var/src/bin/csh/str.c:55: /var/src/bin/csh/csh.h:87: errnum.h: No such file or directory In file included from /var/src/bin/csh/time.c:47: /var/src/bin/csh/csh.h:87: errnum.h: No such file or directory mkdep: compile failed. *** Error code 1 Stop. *** Error code 1 Stop. Evidently looking for an 'errnum.h' I haven't been able to find anywhere. later, david -- David Hawkins -- dhawk@river.org http://www.river.org Some rainy winter Sundays when there's a little boredom, you should always carry a gun. Not to shoot yourself, but to know exactly that you're always making a choice. -- Lina Wertmuller From owner-freebsd-stable Wed Nov 12 15:53:47 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id PAA21821 for stable-outgoing; Wed, 12 Nov 1997 15:53:47 -0800 (PST) (envelope-from owner-freebsd-stable) Received: from ohio.river.org (ohio.river.org [199.4.65.219]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id PAA21812 for ; Wed, 12 Nov 1997 15:53:40 -0800 (PST) (envelope-from dhawk@ohio.river.org) Received: (from dhawk@localhost) by ohio.river.org (8.7.3/8.7.3) id PAA00474 for stable@freebsd.org; Wed, 12 Nov 1997 15:52:47 -0800 (PST) From: David Hawkins Message-Id: <199711122352.PAA00474@ohio.river.org> Subject: More Make World failure To: stable@freebsd.org Date: Wed, 12 Nov 1997 15:52:47 -0800 (PST) X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-stable@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I've cvsup'd over and over. ;-) Got /usr/include built and installed and working on building /usr/src/lib getting the following messages: cc -O -I/usr/include/rpcsvc -c yppasswd_xdr.c -o yppasswd_xdr.o cc -O -I/usr/include/rpcsvc -c ypxfrd_xdr.c -o ypxfrd_xdr.o ypxfrd_xdr.c:94: redefinition of `xdr_xfrstat' ypxfrd_xdr.c:10: `xdr_xfrstat' previously defined here ypxfrd_xdr.c:108: redefinition of `xdr_xfr_db_type' ypxfrd_xdr.c:24: `xdr_xfr_db_type' previously defined here ypxfrd_xdr.c:122: redefinition of `xdr_xfr_byte_order' ypxfrd_xdr.c:38: `xdr_xfr_byte_order' previously defined here *** Error code 1 Stop. *** Error code 1 later, david -- David Hawkins -- dhawk@river.org http://www.river.org Some rainy winter Sundays when there's a little boredom, you should always carry a gun. Not to shoot yourself, but to know exactly that you're always making a choice. -- Lina Wertmuller From owner-freebsd-stable Wed Nov 12 16:58:55 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA26508 for stable-outgoing; Wed, 12 Nov 1997 16:58:55 -0800 (PST) (envelope-from owner-freebsd-stable) Received: from pcpsj.pfcs.com (HPvoMWUtmvgY3VeeWMogYaN3LYJgcG63@harlan.fred.net [205.252.219.31]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id QAA26503 for ; Wed, 12 Nov 1997 16:58:51 -0800 (PST) (envelope-from harlan@mumps.pfcs.com) Received: from mumps.pfcs.com (mumps.pfcs.com [192.52.69.11]) by pcpsj.pfcs.com (8.8.6/8.6.9) with SMTP id TAA23433 for ; Wed, 12 Nov 1997 19:58:40 -0500 (EST) Received: from localhost by mumps.pfcs.com with SMTP id AA28296 (5.67b/IDA-1.5 for ); Wed, 12 Nov 1997 19:58:38 -0500 To: stable@freebsd.org Subject: Anybody else having trouble with libstdc++? Date: Wed, 12 Nov 1997 19:58:37 -0500 Message-Id: <28294.879382717@mumps.pfcs.com> From: Harlan Stenn Sender: owner-freebsd-stable@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >From "make world" I'm still getting: c++ -O2 -m486 -pipe -I/D/2/usr.src/gnu/lib/libstdc++/../../../contrib/libg++/include -I/usr/include/g++ -I. -I/D/2/usr.src/gnu/lib/libstdc++/../../../contrib/libg++/include -I/D/2/usr.src/gnu/lib/libstdc++/../../../contrib/libg++/libio -I/D/2/usr.src/gnu/lib/libstdc++/../../../contrib/libg++/libstdc++ -fno-implicit-templates -DC -DEXTRACT -DINSERT -DGETLINE -c /D/2/usr.src/gnu/lib/libstdc++/../../../contrib/libg++/libstdc++/sinst.cc -o cstrio.o /D/2/usr.src/gnu/lib/libstdc++/../../../contrib/libg++/libstdc++/sinst.cc:146: no matching template for `getline(istream &, basic_string > &)' found *** Error code 1 I've deleted libstdc++ and re-cvsup'd it - no change. Any ideas on what's going on here? H From owner-freebsd-stable Wed Nov 12 17:14:14 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA28057 for stable-outgoing; Wed, 12 Nov 1997 17:14:14 -0800 (PST) (envelope-from owner-freebsd-stable) Received: from pop.uniserve.com (pop.uniserve.com [204.244.156.3]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id RAA28052 for ; Wed, 12 Nov 1997 17:14:11 -0800 (PST) (envelope-from tom@uniserve.com) Received: from shell.uniserve.com [204.244.210.252] by pop.uniserve.com with smtp (Exim 1.73 #1) id 0xVnr3-0001ti-00; Wed, 12 Nov 1997 17:13:57 -0800 Date: Wed, 12 Nov 1997 17:13:54 -0800 (PST) From: Tom To: David Hawkins cc: stable@freebsd.org Subject: Re: Trying to upgrade: 2.1.7.1 to 2.2.5 In-Reply-To: <199711121854.KAA27697@ohio.river.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Wed, 12 Nov 1997, David Hawkins wrote: > I'm trying to upgrade to 2.2.5 from 2.1.7.1 > > I've been running cvsup for the past few weeks to get the files > in sync, but hadn't tried compiling until now. > > I removed /usr/obj and compiled a new /usr/bin/make since it was > griping about the '-m' flag. Did a 'make depend all install' on > /usr/src/include and that went OK. Trying the same on /usr/src/lib > fails repeatedly. So I did rm -rf /usr/src/lib > and called up cvsup and it rebuilt the directory. But 'make depend' > and 'make all' still fail. Why are you doing it this way? You should do a "make buildworld". The "buildworld" target knows the correct order that things should be built in. Tom From owner-freebsd-stable Wed Nov 12 19:58:06 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id TAA10147 for stable-outgoing; Wed, 12 Nov 1997 19:58:06 -0800 (PST) (envelope-from owner-freebsd-stable) Received: from ren.dtir.qld.gov.au (firewall-user@ns.dtir.qld.gov.au [203.108.138.66]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id TAA10142 for ; Wed, 12 Nov 1997 19:58:00 -0800 (PST) (envelope-from syssgm@dtir.qld.gov.au) Received: by ren.dtir.qld.gov.au; id OAA07973; Thu, 13 Nov 1997 14:14:21 +1000 (EST) Received: from ogre.dtir.qld.gov.au(167.123.8.3) by ren.dtir.qld.gov.au via smap (3.2) id xma007967; Thu, 13 Nov 97 14:14:07 +1000 Received: from localhost.dtir.qld.gov.au (localhost.dtir.qld.gov.au [127.0.0.1]) by ogre.dtir.qld.gov.au (8.8.7/8.8.7) with SMTP id NAA25461; Thu, 13 Nov 1997 13:56:31 +1000 (EST) Message-Id: <199711130356.NAA25461@ogre.dtir.qld.gov.au> X-Authentication-Warning: ogre.dtir.qld.gov.au: localhost.dtir.qld.gov.au [127.0.0.1] didn't use HELO protocol To: David Hawkins cc: freebsd-stable@freebsd.org, syssgm@dtir.qld.gov.au Subject: Re: Trying to upgrade: 2.1.7.1 to 2.2.5 References: <199711121854.KAA27697@ohio.river.org> In-Reply-To: <199711121854.KAA27697@ohio.river.org> from David Hawkins at "Wed, 12 Nov 1997 18:54:15 +0000" Date: Thu, 13 Nov 1997 13:56:31 +1000 From: Stephen McKay Sender: owner-freebsd-stable@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Wednesday, 12th November 1997, David Hawkins wrote: >I'm trying to upgrade to 2.2.5 from 2.1.7.1 > >I've been running cvsup for the past few weeks to get the files >in sync, but hadn't tried compiling until now. [disaster elided] During the 2.2.5 beta period I upgraded the same box from 2.1.5 to 2.2.5 several times using just the source. You should have no trouble if you take note of a couple hints: 1) put the source in /usr/src (and be sure it is *not* read-only) 2) make sure you have 'mail' and 'network' in /etc/group 3) in /usr/src, run 'make buildworld' (you might like to redirect the output) 4) check that the stuff in /usr/obj looks good and the error logs were ok 5) in /usr/src, run 'make installworld' 6) update /etc from /usr/src/etc by hand, very carefully. That's it. The magic happens in 'make buildworld'. Stephen. From owner-freebsd-stable Wed Nov 12 20:07:50 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id UAA10789 for stable-outgoing; Wed, 12 Nov 1997 20:07:50 -0800 (PST) (envelope-from owner-freebsd-stable) Received: from gaia.coppe.ufrj.br ([146.164.5.200]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id UAA10784 for ; Wed, 12 Nov 1997 20:07:47 -0800 (PST) (envelope-from jonny@coppe.ufrj.br) Received: (from jonny@localhost) by gaia.coppe.ufrj.br (8.8.7/8.8.7) id CAA17788 for stable@freebsd.org; Thu, 13 Nov 1997 02:07:39 -0200 (EDT) (envelope-from jonny) From: Joao Carlos Mendes Luis Message-Id: <199711130407.CAA17788@gaia.coppe.ufrj.br> Subject: Firewall Race ? To: stable@freebsd.org Date: Thu, 13 Nov 1997 02:07:39 -0200 (EDT) X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi, Sorry for sending a "bug report" without more info, but since I upgraded from 2.1-stable to 2.2-stable, I cross my fingers everytime I have to reload the ipfw code. There are big chances that the hole system will crash, if not during the reload, sometime after very soon. Has anybody else seen this ? My ipfw config has around 85 rules, and is still under developement, so I have to clean and reload it sometimes. Jonny -- Joao Carlos Mendes Luis jonny@gta.ufrj.br +55 21 290-4698 jonny@coppe.ufrj.br Universidade Federal do Rio de Janeiro UFRJ/COPPE/CISI PGP fingerprint: 29 C0 50 B9 B6 3E 58 F2 83 5F E3 26 BF 0F EA 67 From owner-freebsd-stable Wed Nov 12 21:11:54 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id VAA14542 for stable-outgoing; Wed, 12 Nov 1997 21:11:54 -0800 (PST) (envelope-from owner-freebsd-stable) Received: from mhub2.tc.umn.edu (0@mhub2.tc.umn.edu [128.101.131.52]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id VAA14537 for ; Wed, 12 Nov 1997 21:11:46 -0800 (PST) (envelope-from seck@d.umn.edu) Received: from mail.d.umn.edu by mhub2.tc.umn.edu; Wed, 12 Nov 97 23:11:37 -0600 Received: from ci (dialup-7-144.d.umn.edu [131.212.35.144]) by mail.d.umn.edu (8.8.6.Beta3/8.8.3) with SMTP id XAA22323 for ; Wed, 12 Nov 1997 23:06:29 -0600 (CST) Message-Id: <3.0.32.19971112230237.0069c458@mail.d.umn.edu> X-Sender: seck@mail.d.umn.edu X-Mailer: Windows Eudora Pro Version 3.0 (32) Date: Wed, 12 Nov 1997 23:02:44 -0600 To: freebsd-stable@freebsd.org From: Steve Eck Subject: 2.2.5 install freezing Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-stable@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I am installing 2.2.5 Release on a new computer and it doesn't seem to want to work. When I boot with boot.flp it boots fine. I go through the kernel config and remove all the conflicting devices. Then it goes through the normal probing messages, and finally prints "/stand/sysinstall running on vty0" and then clears the screen and puts a cursor in the lower left corner. (I scrolled back to see the /stand/sysinstall message) If I switch to vty1, there are several debug messages printed. They say: DEBUG: ioctl(3,TIOCCONS,null) = 0 (success) DEBUG: found a disk device named wd0 DEBUG: found a DOS partition wd0s1 on drive wd0 DEBUG: found a DOS partition wd0s2 on drive wd0 DEBUG: found a disk device named wd1 DEBUG: try for cd0a returns errno2 DEBUG: try for mcd0a returns errno2 DEBUG: try for scd0a returns errno2 DEBUG: try for matcd0a returns errno2 I don't have any of the cd devices enabled because i just have a ide cdrom, and the install files are on a DOS partition. The computer is a P2-300, with 64 megs of ram. I've installed FreeBSD several times before on my old computer and never had a problem, so this one mystifies me. Thanks in advance Steve Eck From owner-freebsd-stable Wed Nov 12 21:32:53 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id VAA15834 for stable-outgoing; Wed, 12 Nov 1997 21:32:53 -0800 (PST) (envelope-from owner-freebsd-stable) Received: from shasta.wstein.com (joes@shasta.wstein.com [207.173.11.132]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id VAA15826 for ; Wed, 12 Nov 1997 21:32:50 -0800 (PST) (envelope-from joes@shasta.wstein.com) Received: (from joes@localhost) by shasta.wstein.com (8.8.8/8.8.8) id VAA02677; Wed, 12 Nov 1997 21:32:24 -0800 (PST) From: Joseph Stein Message-Id: <199711130532.VAA02677@shasta.wstein.com> Subject: Re: Trying to upgrade: 2.1.7.1 to 2.2.5 (upgrading /etc) In-Reply-To: <199711130356.NAA25461@ogre.dtir.qld.gov.au> from Stephen McKay at "Nov 13, 97 01:56:31 pm" To: syssgm@dtir.qld.gov.au (Stephen McKay) Date: Wed, 12 Nov 1997 21:32:23 -0800 (PST) Cc: dhawk@river.org, freebsd-stable@FreeBSD.ORG, syssgm@dtir.qld.gov.au X-Mailer: ELM [version 2.4ME+ PL31H (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > 6) update /etc from /usr/src/etc by hand, very carefully. I've gotten pretty good at this. I have been doing just '/usr/bin/time make update world >& /usr/src/log& ; sleep 5 && tail -f /usr/src/log' but recently started making update first, and then.... (drum roll, please) ----- mkdir /var/tmp/n cd /usr/src/etc make distrib-dirs DESTDIR=/var/tmp/n make distribution DESTDIR=/var/tmp/n cd /var/tmp/n/etc diff -r --paginate /etc . | lpr ----- I don't update rc.conf (I use it stock, and override everything in /etc/rc.conf.local), so usually it is just a matter of copying over and/or merging in the .conf files in the /etc directory (syslog.conf, etc). When the make world finishes, I make a new kernel, rebuild sendmail (I've got my own hacks built in), build Bind-8.1.1, and then, from single user mode I ... ----- mv /var/tmp/n/dev / mv /var/tmp/n/etc / ----- Works pretty well.... From owner-freebsd-stable Wed Nov 12 21:37:01 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id VAA16130 for stable-outgoing; Wed, 12 Nov 1997 21:37:01 -0800 (PST) (envelope-from owner-freebsd-stable) Received: from shasta.wstein.com (joes@shasta.wstein.com [207.173.11.132]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id VAA16125 for ; Wed, 12 Nov 1997 21:36:58 -0800 (PST) (envelope-from joes@shasta.wstein.com) Received: (from joes@localhost) by shasta.wstein.com (8.8.8/8.8.8) id VAA02723; Wed, 12 Nov 1997 21:36:44 -0800 (PST) From: Joseph Stein Message-Id: <199711130536.VAA02723@shasta.wstein.com> Subject: Re: Trying to upgrade: 2.1.7.1 to 2.2.5 (upgrading /etc) In-Reply-To: From joes at "Nov 12, 97 09:32:23 pm" To: joes@seaport.net (joes) Date: Wed, 12 Nov 1997 21:36:44 -0800 (PST) Cc: syssgm@dtir.qld.gov.au, dhawk@river.org, freebsd-stable@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL31H (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > single user mode I ... > > ----- DATE=`date +%d%b%Y` mv /etc /var/backups/etc.$DATE > mv /var/tmp/n/dev / > mv /var/tmp/n/etc / > ----- > > Works pretty well.... > From owner-freebsd-stable Wed Nov 12 21:37:13 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id VAA16153 for stable-outgoing; Wed, 12 Nov 1997 21:37:13 -0800 (PST) (envelope-from owner-freebsd-stable) Received: from shasta.wstein.com (joes@shasta.wstein.com [207.173.11.132]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id VAA16148 for ; Wed, 12 Nov 1997 21:37:11 -0800 (PST) (envelope-from joes@shasta.wstein.com) Received: (from joes@localhost) by shasta.wstein.com (8.8.8/8.8.8) id VAA02741 for freebsd-stable@freebsd.org; Wed, 12 Nov 1997 21:37:06 -0800 (PST) From: Joseph Stein Message-Id: <199711130537.VAA02741@shasta.wstein.com> Subject: Re: Trying to upgrade: 2.1.7.1 to 2.2.5 (upgrading /etc) In-Reply-To: From joes at "Nov 12, 97 09:32:23 pm" To: joes@seaport.net (joes) Date: Wed, 12 Nov 1997 21:36:44 -0800 (PST) Cc: syssgm@dtir.qld.gov.au, dhawk@river.org, freebsd-stable@freebsd.org X-Mailer: ELM [version 2.4ME+ PL31H (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > single user mode I ... > > ----- DATE=`date +%d%b%Y` mv /etc /var/backups/etc.$DATE > mv /var/tmp/n/dev / > mv /var/tmp/n/etc / > ----- > > Works pretty well.... > From owner-freebsd-stable Wed Nov 12 23:52:53 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id XAA26057 for stable-outgoing; Wed, 12 Nov 1997 23:52:53 -0800 (PST) (envelope-from owner-freebsd-stable) Received: from dragonlair.dal.net (root@dragonlair.dal.net [132.249.66.211]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id XAA26050 for ; Wed, 12 Nov 1997 23:52:51 -0800 (PST) (envelope-from Studded@dal.net) Received: from sizzle.tns.net (sizzle.tns.net [204.216.142.190]) by dragonlair.dal.net (8.8.5/8.8.5) with SMTP id XAA13829; Wed, 12 Nov 1997 23:52:43 -0800 Message-Id: <199711130752.XAA13829@dragonlair.dal.net> From: "Studded" To: "Harlan Stenn" , "stable@FreeBSD.ORG" Date: Wed, 12 Nov 97 23:52:36 -0800 Reply-To: "Studded" Priority: Normal X-Mailer: PMMail 1.95a For OS/2 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Subject: Re: Anybody else having trouble with libstdc++? Sender: owner-freebsd-stable@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Wed, 12 Nov 1997 19:58:37 -0500, Harlan Stenn wrote: >I've deleted libstdc++ and re-cvsup'd it - no change. > >Any ideas on what's going on here? I just got done building the 11/11 snap, and it worked fine for me. Did you try rm -rf /usr/obj/* then starting make -DNOCLEAN world ? Doug *** Proud operator, designer and maintainer of the world's largest *** Internet Relay Chat server. 4,168 clients and still growing. :-) *** Try spider.dal.net on ports 6662-4 (Powered by FreeBSD) *** Part of the DALnet IRC network *** From owner-freebsd-stable Thu Nov 13 07:30:30 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id HAA20709 for stable-outgoing; Thu, 13 Nov 1997 07:30:30 -0800 (PST) (envelope-from owner-freebsd-stable) Received: from gaia.coppe.ufrj.br ([146.164.5.200]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id HAA20696 for ; Thu, 13 Nov 1997 07:30:27 -0800 (PST) (envelope-from jonny@coppe.ufrj.br) Received: (from jonny@localhost) by gaia.coppe.ufrj.br (8.8.8/8.8.7) id NAA29230 for stable@FreeBSD.ORG; Thu, 13 Nov 1997 13:30:24 -0200 (EDT) (envelope-from jonny) From: Joao Carlos Mendes Luis Message-Id: <199711131530.NAA29230@gaia.coppe.ufrj.br> Subject: Re: Firewall Race ? In-Reply-To: <199711130407.CAA17788@gaia.coppe.ufrj.br> from Joao Carlos Mendes Luis at "Nov 13, 97 02:07:39 am" To: stable@FreeBSD.ORG Date: Thu, 13 Nov 1997 13:30:24 -0200 (EDT) X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk #define quoting(Joao Carlos Mendes Luis) // Sorry for sending a "bug report" without more info, but since I upgraded // from 2.1-stable to 2.2-stable, I cross my fingers everytime I have to // reload the ipfw code. There are big chances that the hole system will // crash, if not during the reload, sometime after very soon. // // Has anybody else seen this ? // // My ipfw config has around 85 rules, and is still under developement, // so I have to clean and reload it sometimes. I've already had some suggestions, but none has an explanation for the problem. Let me try to clarify it. For crashing I mean just freezing or even a panic. I may get more detail the next time it happens. It's not that I'm getting locked outside of my machine or that logs can't reach syslog. My firewall reload program does not use "ipfw flush", instead, it cleans rule by rule, leaving just the last one, which is "pass all from any to any", so I don't have any lockup problem. Looking at the behaviour, I just can think of a race condition in the ipfw setup code. A stack trace shows nothing useful, making me believe the panic occurs in interrupt context. Jonny -- Joao Carlos Mendes Luis jonny@gta.ufrj.br +55 21 290-4698 jonny@coppe.ufrj.br Universidade Federal do Rio de Janeiro UFRJ/COPPE/CISI PGP fingerprint: 29 C0 50 B9 B6 3E 58 F2 83 5F E3 26 BF 0F EA 67 From owner-freebsd-stable Thu Nov 13 12:07:10 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id MAA15080 for stable-outgoing; Thu, 13 Nov 1997 12:07:10 -0800 (PST) (envelope-from owner-freebsd-stable) Received: from ironduke.crle.uoguelph.ca (ironduke.crle.uoguelph.ca [131.104.238.108]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id MAA15067 for ; Thu, 13 Nov 1997 12:07:06 -0800 (PST) (envelope-from mark@crle.uoguelph.ca) Received: from localhost (mark@localhost) by ironduke.crle.uoguelph.ca (8.8.6/8.8.6) with SMTP id PAA09119 for ; Thu, 13 Nov 1997 15:10:12 -0500 (EST) Date: Thu, 13 Nov 1997 15:10:12 -0500 (EST) From: Mark Mayo To: stable@freebsd.org Subject: de0 underflow error Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi all, I've got a firewall machine with 2 ethernet cards in it - one is DEC21040 (10Mbit/s) on de0, the other an Intel Pro/100B (fxp0). It's been working fine for 6 months or so, but since my last system update (about 1.5 weeks ago) I've been getting an occasional: de0: abnormal interupt: transmit underflow Nothing appears to be wrong; packets are still flowing fine, etc.. Just curious what could be causing this. I used to have 2 de0 cards in the machine, and only recently switched to the Intel when we moved the interior LAN to 100MBit/s.. maybe the two cards aren't happy together or something. I dunno. Any suggestions would be appreciated! TIA, -Mark --- Mark Mayo mark@crle.uoguelph.ca Computing Research Lab for the Environment ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ University degrees are a bit like adultery: you may not want to get involved with that sort of thing, but you don't want to be thought incapable. -Sir Peter Imbert From owner-freebsd-stable Thu Nov 13 14:54:44 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id OAA29839 for stable-outgoing; Thu, 13 Nov 1997 14:54:44 -0800 (PST) (envelope-from owner-freebsd-stable) Received: from vinyl.quickweb.com (vinyl.quickweb.com [209.112.4.14]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id OAA29830 for ; Thu, 13 Nov 1997 14:54:39 -0800 (PST) (envelope-from mark@quickweb.com) Received: (from mark@localhost) by vinyl.quickweb.com (8.8.7/8.6.12) id RAA25507; Thu, 13 Nov 1997 17:55:46 -0500 (EST) Message-ID: <19971113175545.11351@vmunix.com> Date: Thu, 13 Nov 1997 17:55:45 -0500 From: Mark Mayo To: Steve Eck Cc: freebsd-stable@FreeBSD.ORG Subject: Re: 2.2.5 install freezing References: <3.0.32.19971112230237.0069c458@mail.d.umn.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.85e In-Reply-To: <3.0.32.19971112230237.0069c458@mail.d.umn.edu>; from Steve Eck on Wed, Nov 12, 1997 at 11:02:44PM -0600 X-Operating-System: FreeBSD 2.2.5-STABLE i386 Sender: owner-freebsd-stable@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Wed, Nov 12, 1997 at 11:02:44PM -0600, Steve Eck wrote: > I am installing 2.2.5 Release on a new computer and it doesn't seem to > want to work. When I boot with boot.flp it boots fine. I go through the > kernel config and remove all the conflicting devices. Then it goes > through the normal probing messages, and finally prints "/stand/sysinstall > running on vty0" and then clears the screen and puts a cursor in the lower > left corner. (I scrolled back to see the /stand/sysinstall message) If I > switch to vty1, there are several debug messages printed. They say: > > DEBUG: ioctl(3,TIOCCONS,null) = 0 (success) > DEBUG: found a disk device named wd0 > DEBUG: found a DOS partition wd0s1 on drive wd0 > DEBUG: found a DOS partition wd0s2 on drive wd0 > DEBUG: found a disk device named wd1 > DEBUG: try for cd0a returns errno2 > DEBUG: try for mcd0a returns errno2 > DEBUG: try for scd0a returns errno2 > DEBUG: try for matcd0a returns errno2 > > I don't have any of the cd devices enabled because i just have a ide > cdrom, and the install files are on a DOS partition. > The computer is a P2-300, with 64 megs of ram. I've installed FreeBSD > several times before on my old computer and never had a problem, so this > one mystifies me. Thanks in advance Have you tried waiting a few minutes? :-) Seriously, on my PPro 150 (a REALLY old one, well, as old as a PPro can be..) for some reason it exhibits the same behaviour as you are seeing - the cursor is in the bottom left corner after the probing, but if I leave it for about 1.5 minutes, the blue install screen comes up just fine! Spooky, but it's always worked. :-) I also had a P2 266 that would lock EVERY time during the install when it got to the extracting /info part.. I was installing off the Net, so I grabbed a later snapshot and it worked fine. (the 2.2.5 release would lock). -Mark > > Steve Eck -- ------------------------------------------------------------------------ Mark Mayo mark@vmunix.com RingZero Comp. http://www.vmunix.com/mark finger mark@vmunix.com for my PGP key and GCS code ------------------------------------------------------------------------ Win95/NT - 32 bit extensions and a graphical shell for a 16 bit patch to an an 8 bit operating system originally coded for a 4 bit microprocessor, written by a 2 bit company that can't stand 1 bit of competition. -UGU From owner-freebsd-stable Thu Nov 13 17:33:28 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA11963 for stable-outgoing; Thu, 13 Nov 1997 17:33:28 -0800 (PST) (envelope-from owner-freebsd-stable) Received: from magicnet.magicnet.net (root@magicnet.magicnet.net [204.96.116.9]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id RAA11958 for ; Thu, 13 Nov 1997 17:33:25 -0800 (PST) (envelope-from nikolai@magicnet.net) Received: from magicnet.net (pm28-19.magicnet.net [206.104.207.148]) by magicnet.magicnet.net (8.8.6/8.8.6) with ESMTP id UAA04269 for ; Thu, 13 Nov 1997 20:33:22 -0500 (EST) Message-ID: <346BAA74.692A11F6@magicnet.net> Date: Thu, 13 Nov 1997 20:33:41 -0500 From: "Nikolai E. Wendorf" X-Mailer: Mozilla 4.03b8 [en] (X11; I; FreeBSD 2.2.5-STABLE i386) MIME-Version: 1.0 To: freebsd-stable@FreeBSD.ORG Subject: (no subject) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk subscribe freebsd-stable From owner-freebsd-stable Thu Nov 13 23:26:26 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id XAA06152 for stable-outgoing; Thu, 13 Nov 1997 23:26:26 -0800 (PST) (envelope-from owner-freebsd-stable) Received: from mail.san.rr.com (san.rr.com [204.210.0.1]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id XAA06144 for ; Thu, 13 Nov 1997 23:26:24 -0800 (PST) (envelope-from studded@san.rr.com) Received: (from studded@localhost) by mail.san.rr.com (8.8.7/8.8.7) id XAA05912; Thu, 13 Nov 1997 23:25:53 -0800 (PST) Message-Id: <199711140725.XAA05912@mail.san.rr.com> From: "Studded" To: "FreeBSD Stable List" Date: Thu, 13 Nov 97 23:25:46 -0800 Reply-To: "Studded" Priority: Normal X-Mailer: PMMail 1.95a For OS/2 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Subject: Serious problem with ipfw in 11/10 Snap Sender: owner-freebsd-stable@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I was going to try and put more detail in this, but I don't have the time to do any digging right now. After using a tried and true make world process to upgrade to the 2.2-stable snap from 11/10, I built the kernel with the same options that were working in an earlier 2.2-stable snap, including ipfw, and rebooted only to find a dead machine. What happened was that an error somewhere in the ipfw code caused the default rule of deny all from any to any to load as rule 00000 instead of 65535, causing the box to be locked out from the net. The rule persisted even after a flush, so it was definitely a problem with the code. The 11/11 snap does not have this problem, and we're happily running it now. At the same time, the person who owns the hardware and bandwidth our server runs on is extremely frustrated with FreeBSD. This is twice now that we've been bitten in the ass by foolish mistakes in ipfw in what is supposed to be the STABLE branch. He suggested that if this happens again, he's going to put up a note on the server for the 40,000 users we get every day apologizing for the outage, and explaining that they can blame it on FreeBSD. IPFW problems are especially bad for us because our 2 servers are in a colo that goes without people for several days. Therefore, problems that isolate the machines from the net can cost us days in uptime. I've two reasons for writing this. The most important is to notify whoever is working on this part of the code, and helpfully make sure it doesn't happen again. Secondly, to urge caution when changes are made to -stable. I know that y'all are volunteers, but so am I. :) Finally, if anyone can tell me exactly where in the code I can look to double check this problem in the future, I'd appreciate it. If ever there was a case for the default rule to be open, I'd say this is it. :-/ Thanks, Doug From owner-freebsd-stable Fri Nov 14 05:17:11 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id FAA27025 for stable-outgoing; Fri, 14 Nov 1997 05:17:11 -0800 (PST) (envelope-from owner-freebsd-stable) Received: from king.ki.informatik.uni-frankfurt.de (king.ki.informatik.uni-frankfurt.de [141.2.10.16]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id FAA27018 for ; Fri, 14 Nov 1997 05:17:07 -0800 (PST) (envelope-from marko@king.ki.informatik.uni-frankfurt.de) Received: (from marko@localhost) by king.ki.informatik.uni-frankfurt.de (8.7.1/8.7.1) id OAA13258; Fri, 14 Nov 1997 14:12:15 +0100 (MEZ) Date: Fri, 14 Nov 1997 14:12:15 +0100 (MEZ) Message-Id: <199711141312.OAA13258@king.ki.informatik.uni-frankfurt.de> From: Marko Schuetz MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Nate Williams Cc: freebsd-stable@freebsd.org Subject: Re: FreeBSD 2.2.5 and PAO ???? In-Reply-To: <199711140721.AAA05744@trout.mt.sri.com> References: <86k9eowvxu.fsf@kiste.ki.informatik.uni-frankfurt.de> <199711042100.OAA16354@trout.mt.sri.com> <199711051226.NAA06805@kiste.ki.informatik.uni-frankfurt.de> <199711140721.AAA05744@trout.mt.sri.com> X-Mailer: VM 6.34 under Emacs 20.2.1 Sender: owner-freebsd-stable@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >>>>> "Nate" == Nate Williams writes: Nate> [ Sorry for the long delay. ] >> I have a Toshiba Portege 610CT, D-Link DE-650 Ethernet and Megahertz >> i3288 modem. I would be glad to use your code, do I understand you >> correctly that your progress is already included in 2.2.5? Nate> Almost. It's post-2.2.5R code, in 2.2.5-STABLE. >> What are the known gotchas? Nate> The card entries in /etc/pccard.conf need to be a bit more specific, no Nate> PCI/CardBus support, and not all of the drivers from PAO have been Nate> ported over. I'm not sure if your Toshiba is a PCI/CardBus machine, nor Nate> what driver is used to support your D-Link card. If it's a standard Nate> (older) PCMCIA bus box that uses if_ed, then it shold work great. So what is the 'correct' way to upgrade a 2.2.1/PAO system to 2.2.5-STABLE? Marko From owner-freebsd-stable Fri Nov 14 06:37:30 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id GAA02855 for stable-outgoing; Fri, 14 Nov 1997 06:37:30 -0800 (PST) (envelope-from owner-freebsd-stable) Received: from Kitten.mcs.com (Kitten.mcs.com [192.160.127.90]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id GAA02816 for ; Fri, 14 Nov 1997 06:36:57 -0800 (PST) (envelope-from nash@Venus.mcs.net) Received: from Venus.mcs.net (nash@Venus.mcs.net [192.160.127.92]) by Kitten.mcs.com (8.8.5/8.8.2) with ESMTP id IAA06344; Fri, 14 Nov 1997 08:35:00 -0600 (CST) Received: from localhost (nash@localhost) by Venus.mcs.net (8.8.7/8.8.2) with SMTP id IAA20704; Fri, 14 Nov 1997 08:34:54 -0600 (CST) Date: Fri, 14 Nov 1997 08:34:54 -0600 (CST) From: Alex Nash To: Studded cc: FreeBSD Stable List Subject: Re: Serious problem with ipfw in 11/10 Snap In-Reply-To: <199711140725.XAA05912@mail.san.rr.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Thu, 13 Nov 1997, Studded wrote: [...] > persisted even after a flush, so it was definitely a problem with the code. [...] > He suggested that if this happens again, he's going to put > up a note on the server for the 40,000 users we get every day apologizing for > the outage, and explaining that they can blame it on FreeBSD. [...] > I've two reasons for writing this. The most important is to notify whoever > is working on this part of the code, and helpfully make sure it doesn't happen > again. This code hasn't changed on the 2.2 branch since August 23. The same code that's in 2.2.5 is in the 11/10 snap (that you claim is broken) and the 11/11 snap (that you claim is fixed). Alex From owner-freebsd-stable Fri Nov 14 08:16:56 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id IAA10136 for stable-outgoing; Fri, 14 Nov 1997 08:16:56 -0800 (PST) (envelope-from owner-freebsd-stable) Received: from dfw-ix10.ix.netcom.com (dfw-ix10.ix.netcom.com [206.214.98.10]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id IAA10126 for ; Fri, 14 Nov 1997 08:16:53 -0800 (PST) (envelope-from a.conrad@ix.netcom.com) Received: (from smap@localhost) by dfw-ix10.ix.netcom.com (8.8.4/8.8.4) id KAA16211 for ; Fri, 14 Nov 1997 10:16:21 -0600 (CST) Received: from socks11d.raleigh.ibm.com(204.146.167.233) by dfw-ix10.ix.netcom.com via smap (V1.3) id rma016179; Fri Nov 14 10:15:48 1997 Message-ID: <346C7911.6A1A@ix.netcom.com> Date: Fri, 14 Nov 1997 11:15:13 -0500 From: Aaron Springer X-Mailer: Mozilla 3.0 (WinNT; I) MIME-Version: 1.0 To: freebsd-stable@FreeBSD.ORG Subject: subscribe Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk subscribe a.conrad@ix.netcom.com From owner-freebsd-stable Fri Nov 14 08:32:28 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id IAA11073 for stable-outgoing; Fri, 14 Nov 1997 08:32:28 -0800 (PST) (envelope-from owner-freebsd-stable) Received: from ns.mt.sri.com (SRI-56K-FR.mt.net [206.127.65.42]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id IAA11067 for ; Fri, 14 Nov 1997 08:32:23 -0800 (PST) (envelope-from nate@rocky.mt.sri.com) Received: from rocky.mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with ESMTP id JAA28654; Fri, 14 Nov 1997 09:32:16 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: (from nate@localhost) by rocky.mt.sri.com (8.7.5/8.7.3) id JAA15307; Fri, 14 Nov 1997 09:32:14 -0700 (MST) Date: Fri, 14 Nov 1997 09:32:14 -0700 (MST) Message-Id: <199711141632.JAA15307@rocky.mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Marko Schuetz Cc: Nate Williams , freebsd-stable@freebsd.org Subject: Re: FreeBSD 2.2.5 and PAO ???? In-Reply-To: <199711141312.OAA13258@king.ki.informatik.uni-frankfurt.de> References: <86k9eowvxu.fsf@kiste.ki.informatik.uni-frankfurt.de> <199711042100.OAA16354@trout.mt.sri.com> <199711051226.NAA06805@kiste.ki.informatik.uni-frankfurt.de> <199711140721.AAA05744@trout.mt.sri.com> <199711141312.OAA13258@king.ki.informatik.uni-frankfurt.de> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-stable@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > So what is the 'correct' way to upgrade a 2.2.1/PAO system to > 2.2.5-STABLE? I don't know. I've never run PAO, but *I* usually upgrade by updating all of the sources on my box to the most recent versions, do a 'make world' to install all of the newest binaries, build and install a new kernel (after building the world), then reboot. Then, I make a backup copy of /etc (cp -rP /etc /etc-save), go through all the files in /etc and update them with the changes from /usr/src/etc, reboot again and pray that it works. Most of the time it does, but sometimes I have to tweak things. :) Nate From owner-freebsd-stable Fri Nov 14 08:57:30 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id IAA12827 for stable-outgoing; Fri, 14 Nov 1997 08:57:30 -0800 (PST) (envelope-from owner-freebsd-stable) Received: from gate.imall.com (mail@gate.imall.com [207.173.184.8]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id IAA12799 for ; Fri, 14 Nov 1997 08:57:13 -0800 (PST) (envelope-from jlp@imall.com) Received: (from mail@localhost) by gate.imall.com (8.8.5/8.8.5) id JAA24684; Fri, 14 Nov 1997 09:57:04 -0700 (MST) Received: from mail.imall.com(10.0.5.2) by gate.imall.com via smap (V2.0) id xma024674; Fri, 14 Nov 97 09:56:41 -0700 Received: from banana.imall.com (banana.imall.com [10.0.5.37]) by mail.imall.com (8.8.5/8.8.5) with ESMTP id JAA28871; Fri, 14 Nov 1997 09:56:41 -0700 (MST) Received: from banana.imall.com (localhost [127.0.0.1]) by banana.imall.com (8.8.8/8.8.5) with ESMTP id JAA29684; Fri, 14 Nov 1997 09:56:37 -0700 (MST) Message-Id: <199711141656.JAA29684@banana.imall.com> To: "Studded" cc: "FreeBSD Stable List" Subject: Re: Serious problem with ipfw in 11/10 Snap X-face: p=61=y<.Il$z+k*y~"j>%c[8R~8{j3WTnaSd-'RyC>t.Ub>AAm\zYA#5JF +W=G?EI+|EI);]=fs_MOfKN0n9`OlmB[1^0;L^64K5][nOb&gv/n}p@mm06|J|WNa asp7mMEw0w)e_6T~7v-\]yHKvI^1}[2k)] References: <199711140725.XAA05912@mail.san.rr.com> In-reply-to: Your message of "Thu, 13 Nov 1997 23:25:46 PST." <199711140725.XAA05912@mail.san.rr.com> Date: Fri, 14 Nov 1997 09:56:36 -0700 From: "Jan L. Peterson" Sender: owner-freebsd-stable@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk This is unrelated to your ipfw, but I have a comment about this statement of yours: > are especially bad for us because our 2 servers are in a colo that > goes without people for several days. Therefore, problems that > isolate the machines from the net can cost us days in uptime. What you should do is configure your co-located machines for a serial console and hook them together (or to a modem) so that you can get on the console remotely. This way, you will be able to access them even if your firewall rules are screwed up. You will also be able to do something if they drop into single user mode at boot time due to a bad fsck or something. We have four freebsd servers, a freebsd based firewall, and a cisco router at a coloc about 45 miles from our main office. All of the machines have their serial ports connected to a xylogics microannex (a terminal server), which also has a modem on it. This way, even if the router flakes out, we can still get console access to all of our servers without having to drive there. The only thing we can't do remotely at the moment is powercycle the machines. We're looking into X10 for that. :-) -jan- -- Jan L. Peterson iMALL, Inc. tel. +1 801 377 0899 Senior Systems Admin 1185 S Mike Jense Cir fax +1 801 373 1947 jlp@imall.com Provo, UT 84601 (USA) http://www.imall.com/~jlp/ From owner-freebsd-stable Fri Nov 14 10:42:39 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id KAA21768 for stable-outgoing; Fri, 14 Nov 1997 10:42:39 -0800 (PST) (envelope-from owner-freebsd-stable) Received: from loverso.southborough.ma.us (simplon.osf.org [130.105.7.200]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id KAA21757 for ; Fri, 14 Nov 1997 10:42:22 -0800 (PST) (envelope-from john@loverso.southborough.ma.us) Received: from localhost.southborough.ma.us (localhost.southborough.ma.us [127.0.0.1]) by loverso.southborough.ma.us (8.8.7/8.6.9) with SMTP id NAA18515; Fri, 14 Nov 1997 13:40:37 -0500 (EST) Message-Id: <199711141840.NAA18515@loverso.southborough.ma.us> X-Authentication-Warning: loverso.southborough.ma.us: localhost.southborough.ma.us [127.0.0.1] didn't use HELO protocol To: "Jan L. Peterson" Cc: "Studded" , "FreeBSD Stable List" Subject: Re: Serious problem with ipfw in 11/10 Snap In-reply-to: Message from "Jan L. Peterson" <199711141656.JAA29684@banana.imall.com> . X-Face: "UZ!}1W2N?eJdN(`1%|/OOPqJ).Idk?UyvWw'W-%`Gto8^IkEm>.g1O$[.;~}8E=Ire0|lO .o>:NlJS1@vO9bVmswRoq3j DdX9YGSeJ5a(mfX[1u>Z63G5_^+'8LVqjqvn X-Url: http://www.osf.org/~loverso/ Date: Fri, 14 Nov 1997 13:40:36 -0500 From: John Robert LoVerso Sender: owner-freebsd-stable@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > The only thing we can't do remotely at the moment is powercycle the > machines. We're looking into X10 for that. :-) It works just fine. For what it is worth, I have some Tcl code that talks to a X-10 CP-290 interface via an Annex that we use for power cycling remote crash&burn computers (in a testing farm). See http://www.opengroup.org/~loverso/tcl-tk/ and look for "cp-290". John From owner-freebsd-stable Fri Nov 14 11:39:02 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id LAA25936 for stable-outgoing; Fri, 14 Nov 1997 11:39:02 -0800 (PST) (envelope-from owner-freebsd-stable) Received: from implode.root.com (implode.root.com [198.145.90.17]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id LAA25923 for ; Fri, 14 Nov 1997 11:38:57 -0800 (PST) (envelope-from root@implode.root.com) Received: from implode.root.com (localhost [127.0.0.1]) by implode.root.com (8.8.5/8.8.5) with ESMTP id LAA08498; Fri, 14 Nov 1997 11:40:09 -0800 (PST) Message-Id: <199711141940.LAA08498@implode.root.com> To: "Jan L. Peterson" cc: "Studded" , "FreeBSD Stable List" Subject: Re: Serious problem with ipfw in 11/10 Snap In-reply-to: Your message of "Fri, 14 Nov 1997 09:56:36 MST." <199711141656.JAA29684@banana.imall.com> From: David Greenman Reply-To: dg@root.com Date: Fri, 14 Nov 1997 11:40:09 -0800 Sender: owner-freebsd-stable@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >The only thing we can't do remotely at the moment is powercycle the >machines. We're looking into X10 for that. :-) For wcarchive, I constructed a "remote console" machine that hooks to wcarchive's console serial port. The remote console is on the net as well, and I always have an xterm (with logging enabled) open on wcarchive's console. Additionally, I modified a cheap internal modem so that the hook relay was connected to the reset switch on wcarchive. Thus, I can reset wcarchive with a simple "atdt" on the remote console machine. I also wrote a watchdog script that pings wcarchive regularly and does an automatic reset if the machine becomes unreachable for an extended period. I've never had a need to power cycle the hardware - reset has always been sufficient and it is much less tramatic on the hardware (wcarchive fills most of a 6 foot rack). -DG David Greenman Core-team/Principal Architect, The FreeBSD Project From owner-freebsd-stable Fri Nov 14 16:13:18 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA14902 for stable-outgoing; Fri, 14 Nov 1997 16:13:18 -0800 (PST) (envelope-from owner-freebsd-stable) Received: from mail.san.rr.com (mail-atm.san.rr.com [204.210.0.1]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id QAA14895 for ; Fri, 14 Nov 1997 16:13:14 -0800 (PST) (envelope-from studded@san.rr.com) Received: (from studded@localhost) by mail.san.rr.com (8.8.7/8.8.7) id QAA28539; Fri, 14 Nov 1997 16:12:26 -0800 (PST) Message-Id: <199711150012.QAA28539@mail.san.rr.com> From: "Studded" To: "Jan L. Peterson" Cc: "FreeBSD Stable List" Date: Fri, 14 Nov 97 16:12:19 -0800 Reply-To: "Studded" Priority: Normal X-Mailer: PMMail 1.95a For OS/2 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Subject: Re: Serious problem with ipfw in 11/10 Snap Sender: owner-freebsd-stable@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Fri, 14 Nov 1997 09:56:36 -0700, Jan L. Peterson wrote: >What you should do is configure your co-located machines for a serial >console and hook them together (or to a modem) so that you can get on >the console remotely. I almost mentioned this in my post, but I wanted to keep it brief. This actually is being worked on, but I'm 600 miles away from the machines, so I'm at the mercy of the techs having a free minute, or the sysadmin making it a priority. After this latest incident, it did move up the list quite a few notches though. Thank you for the suggestion, Doug *** Proud operator, designer and maintainer of the world's largest *** Internet Relay Chat server. 4,168 clients and still growing. :-) *** Try spider.dal.net on ports 6662-4 (Powered by FreeBSD) *** Part of the DALnet IRC network *** From owner-freebsd-stable Fri Nov 14 16:22:48 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA15497 for stable-outgoing; Fri, 14 Nov 1997 16:22:48 -0800 (PST) (envelope-from owner-freebsd-stable) Received: from mail.san.rr.com (san.rr.com [204.210.0.1]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id QAA15486 for ; Fri, 14 Nov 1997 16:22:39 -0800 (PST) (envelope-from studded@san.rr.com) Received: (from studded@localhost) by mail.san.rr.com (8.8.7/8.8.7) id QAA02869; Fri, 14 Nov 1997 16:21:29 -0800 (PST) Message-Id: <199711150021.QAA02869@mail.san.rr.com> From: "Studded" To: "Alex Nash" Cc: "FreeBSD Stable List" Date: Fri, 14 Nov 97 16:21:18 -0800 Reply-To: "Studded" Priority: Normal X-Mailer: PMMail 1.95a For OS/2 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Subject: Re: Serious problem with ipfw in 11/10 Snap Sender: owner-freebsd-stable@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Fri, 14 Nov 1997 08:34:54 -0600 (CST), Alex Nash wrote: >This code hasn't changed on the 2.2 branch since August 23. The same >code that's in 2.2.5 is in the 11/10 snap (that you claim is broken) and >the 11/11 snap (that you claim is fixed). Ok, I'll take your word for that, but I'm still at a loss as to how the problem could have occurred. FWIW, I rm -r /usr/obj/* and /usr/src/* before I make the world, then ftp the ...-SNAP/src/* tree to make sure I've got everything fresh. If you're telling me the code hasn't changed, then something else has either changed, or is vulnerable to change, since I used the same procedures I always do. More detail on the problem in case it's useful. 1. The rule appeared as 00000 deny ip from any to any 2. That rule, and only that rule persisted after a flush. 3. IPFW was able to load my usual (well-tested) rc.firewall script just fine, but none of the rules in it mattered because the 00000 rule was always parsed first. Please understand, I'm not trying to point the finger of blame at anyone. I simply would like to be sure that this problem can't take anyone else by surprise. Thanks for your time, Doug *** Proud operator, designer and maintainer of the world's largest *** Internet Relay Chat server. 4,168 clients and still growing. :-) *** Try spider.dal.net on ports 6662-4 (Powered by FreeBSD) *** Part of the DALnet IRC network *** From owner-freebsd-stable Fri Nov 14 17:42:08 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA20400 for stable-outgoing; Fri, 14 Nov 1997 17:42:08 -0800 (PST) (envelope-from owner-freebsd-stable) Received: from Kitten.mcs.com (Kitten.mcs.com [192.160.127.90]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id RAA20393 for ; Fri, 14 Nov 1997 17:42:06 -0800 (PST) (envelope-from nash@Jupiter.Mcs.Net) Received: from Jupiter.Mcs.Net (nash@Jupiter.mcs.net [192.160.127.88]) by Kitten.mcs.com (8.8.5/8.8.2) with ESMTP id TAA04359; Fri, 14 Nov 1997 19:42:02 -0600 (CST) Received: from localhost (nash@localhost) by Jupiter.Mcs.Net (8.8.7/8.8.2) with SMTP id TAA28584; Fri, 14 Nov 1997 19:42:01 -0600 (CST) Date: Fri, 14 Nov 1997 19:42:01 -0600 (CST) From: Alex Nash Reply-To: Alex Nash To: Studded cc: FreeBSD Stable List Subject: Re: Serious problem with ipfw in 11/10 Snap In-Reply-To: <199711150021.QAA02869@mail.san.rr.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Fri, 14 Nov 1997, Studded wrote: > >This code hasn't changed on the 2.2 branch since August 23. The same > >code that's in 2.2.5 is in the 11/10 snap (that you claim is broken) and > >the 11/11 snap (that you claim is fixed). > > Ok, I'll take your word for that, It's simple to check for yourself by typing: ident /usr/src/sys/netinet/ip_fw.[ch] /usr/src/sbin/ipfw/ipfw.c I get this (2.2.5-stable, last cvs update on November 4th): $Id: ip_fw.c,v 1.51.2.5 1997/08/23 14:31:52 alex Exp $ $Id: ip_fw.h,v 1.23.2.3 1997/08/21 01:30:23 alex Exp $ $Id: ipfw.c,v 1.34.2.7 1997/08/21 01:30:21 alex Exp $ Alternatively, you can check with cvsweb: http://www.freebsd.org/cgi-bin/cvsweb > but I'm still at a loss as to > how the problem could have occurred. FWIW, I rm -r /usr/obj/* and > /usr/src/* before I make the world, then ftp the ...-SNAP/src/* tree to > make sure I've got everything fresh. If you're telling me the code hasn't > changed, then something else has either changed, or is vulnerable to > change, since I used the same procedures I always do. If you have a copy of the CVS tree handy, look at CVSROOT/commitlogs/sys. I looked for changes on the 2.2 branch between 11/10 and 11/11, and saw: - APM & BT848 changes (I assume neither apply to your server) - ep driver fixes (merged from -current) I'm currently running ipfw with the ep driver before the above fixes, and everything works fine. Therefore I think we can rule out the ep driver as fixing whatever problem you saw (assuming you use the ep driver, of course). > More detail on the problem in case it's useful. > > 1. The rule appeared as 00000 deny ip from any to any > 2. That rule, and only that rule persisted after a flush. > 3. IPFW was able to load my usual (well-tested) rc.firewall script just > fine, but none of the rules in it mattered because the 00000 rule was > always parsed first. It shouldn't be possible to generate a rule with #0 since that has a special meaning to the kernel -- that is, insert this rule after the highest numbered rule. I looked at the code, but can't see any way that this could happen. Just out of curiosity, did you also see the 65535 deny all rule? If not, it may indicate that ipfw's rules were damaged by a memory overwrite. This rule's number is set at boot time in the kernel by: deny.fw_number = (u_short)-1; Furthermore it is (theoretically) impossible to delete this entry. If you didn't see this rule, then something very unexpected has happened. > Please understand, I'm not trying to point the finger of blame at > anyone. I simply would like to be sure that this problem can't take > anyone else by surprise. Fair enough, but please use the resources above and exercise restraint before saying things like: "it was definitely a problem with the code" "This is twice now that we've been bitten in the ass by foolish mistakes in ipfw" "if this happens again, he's going to put up a note on the server for the 40,000 users we get every day apologizing for the outage, and explaining that they can blame it on FreeBSD." We're here to help -- but not if you turn 40,000 people against us :) Alex From owner-freebsd-stable Sat Nov 15 13:32:45 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id NAA16130 for stable-outgoing; Sat, 15 Nov 1997 13:32:45 -0800 (PST) (envelope-from owner-freebsd-stable) Received: from mail.san.rr.com (san.rr.com [204.210.0.1]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id NAA16104 for ; Sat, 15 Nov 1997 13:32:42 -0800 (PST) (envelope-from studded@san.rr.com) Received: (from studded@localhost) by mail.san.rr.com (8.8.7/8.8.7) id NAA01650; Sat, 15 Nov 1997 13:31:37 -0800 (PST) Message-Id: <199711152131.NAA01650@mail.san.rr.com> From: "Studded" To: "Alex Nash" Cc: "FreeBSD Stable List" Date: Sat, 15 Nov 97 13:31:29 -0800 Reply-To: "Studded" Priority: Normal X-Mailer: PMMail 1.95a For OS/2 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Subject: Re: Serious problem with ipfw in 11/10 Snap Sender: owner-freebsd-stable@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Fri, 14 Nov 1997 19:42:01 -0600 (CST), Alex Nash wrote: >On Fri, 14 Nov 1997, Studded wrote: > >> >This code hasn't changed on the 2.2 branch since August 23. The same >> >code that's in 2.2.5 is in the 11/10 snap (that you claim is broken) and >> >the 11/11 snap (that you claim is fixed). >> >> Ok, I'll take your word for that, > >It's simple to check for yourself by typing: [instructions snipped] I should have mentioned that I'm not a programmer, although I was aware of the steps you outlined, and tried doing some digging on my own. I kept finding new places where ipfw was referenced, and I figured out pretty fast that I was in over my head. >> but I'm still at a loss as to >> how the problem could have occurred. FWIW, I rm -r /usr/obj/* and >> /usr/src/* before I make the world, then ftp the ...-SNAP/src/* tree to >> make sure I've got everything fresh. If you're telling me the code hasn't >> changed, then something else has either changed, or is vulnerable to >> change, since I used the same procedures I always do. > >If you have a copy of the CVS tree handy, look at CVSROOT/commitlogs/sys. >I looked for changes on the 2.2 branch between 11/10 and 11/11, and saw: > > - APM & BT848 changes (I assume neither apply to your server) > - ep driver fixes (merged from -current) > >I'm currently running ipfw with the ep driver before the above fixes, and >everything works fine. Therefore I think we can rule out the ep driver >as fixing whatever problem you saw (assuming you use the ep driver, of >course). Actually we do use the ep driver on that machine. However if the ep driver had remained unchanged for more than a week or two prior to that fix being included, you're right, it can't be the problem. >> More detail on the problem in case it's useful. >> >> 1. The rule appeared as 00000 deny ip from any to any >> 2. That rule, and only that rule persisted after a flush. >> 3. IPFW was able to load my usual (well-tested) rc.firewall script just >> fine, but none of the rules in it mattered because the 00000 rule was >> always parsed first. > >It shouldn't be possible to generate a rule with #0 since that has a >special meaning to the kernel -- that is, insert this rule after the >highest numbered rule. I looked at the code, but can't see any way that >this could happen. > >Just out of curiosity, did you also see the 65535 deny all rule? I had to get a copy of the log where the tech was explaining the problem to me, and according to him, when he did a flush the only rule present was 00000 deny ip from any to any. I asked him to double-check, and he copied it exactly. >If >not, it may indicate that ipfw's rules were damaged by a memory overwrite. I'm not sure what that means. >This rule's number is set at boot time in the kernel by: > > deny.fw_number = (u_short)-1; > >Furthermore it is (theoretically) impossible to delete this entry. > >If you didn't see this rule, then something very unexpected has happened. I would agree with you there. :) >> Please understand, I'm not trying to point the finger of blame at >> anyone. I simply would like to be sure that this problem can't take >> anyone else by surprise. > >Fair enough, but please use the resources above and exercise >restraint before saying things like: Ah, yes, well, my apologies. I was trying to convey that the person who owns the hardware and bandwidth was very frustrated with the situation, and it was rolling downhill. I do appreciate your time in helping to track this problem down. I have a test system with a similar configuration, if there is something I can do to help, let me know. Doug *** Proud operator, designer and maintainer of the world's largest *** Internet Relay Chat server. 4,168 clients and still growing. :-) *** Try spider.dal.net on ports 6662-4 (Powered by FreeBSD) *** Part of the DALnet IRC network *** From owner-freebsd-stable Sat Nov 15 13:59:15 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id NAA02182 for stable-outgoing; Sat, 15 Nov 1997 13:59:15 -0800 (PST) (envelope-from owner-freebsd-stable) Received: from mail.san.rr.com (san.rr.com [204.210.0.1]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id NAA02160 for ; Sat, 15 Nov 1997 13:59:13 -0800 (PST) (envelope-from studded@san.rr.com) Received: (from studded@localhost) by mail.san.rr.com (8.8.7/8.8.7) id NAA12930; Sat, 15 Nov 1997 13:58:39 -0800 (PST) Message-Id: <199711152158.NAA12930@mail.san.rr.com> From: "Studded" To: "braukmann@tse-online.de" , "FreeBSD Stable List" Date: Sat, 15 Nov 97 13:58:30 -0800 Reply-To: "Studded" Priority: Normal X-Mailer: PMMail 1.95a For OS/2 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Subject: Re: Old stuff in 2.2.5 Sender: owner-freebsd-stable@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Wed, 12 Nov 1997 08:02:49 +0100, braukmann@tse-online.de wrote: >It should really be possible to explicitly exclude certain 'packages' >from the 'make install' process. It just might be possible now by >struggling with the makefiles, but I don't want to modify the delivered >build-environment only for being able to select which components I >want. I decided to experiment with this, and was able to prevent perl4 from building during a make world by going into /usr/src/usr.sbin/Makefile and deleting perl in the SUBDIRS section. I commented on this on another thread, and a couple people have said that they've taken similar steps with success. I'm not sure what all is involved with sendmail, but you might want to give it a go, and tell us how it worked for you. :) On another note, I'm taking the fact that no one else commented on things that might need to be upgraded on a 2.2-Stable system (other than perl and curses) as a good sign. :) I'm still interested in someone 'splaining what a new curses library would do for me, and how hard it would be to install if anyone is interested. I think I have perl beaten into submission. Hope this helps, Doug *** Proud operator, designer and maintainer of the world's largest *** Internet Relay Chat server. 4,168 clients and still growing. :-) *** Try spider.dal.net on ports 6662-4 (Powered by FreeBSD) *** Part of the DALnet IRC network *** From owner-freebsd-stable Sat Nov 15 14:35:37 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id OAA17452 for stable-outgoing; Sat, 15 Nov 1997 14:35:37 -0800 (PST) (envelope-from owner-freebsd-stable) Received: from Kitten.mcs.com (Kitten.mcs.com [192.160.127.90]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id OAA17406 for ; Sat, 15 Nov 1997 14:35:32 -0800 (PST) (envelope-from nash@Jupiter.Mcs.Net) Received: from Jupiter.Mcs.Net (nash@Jupiter.mcs.net [192.160.127.88]) by Kitten.mcs.com (8.8.5/8.8.2) with ESMTP id QAA17159; Sat, 15 Nov 1997 16:35:31 -0600 (CST) Received: from localhost (nash@localhost) by Jupiter.Mcs.Net (8.8.7/8.8.2) with SMTP id QAA13642; Sat, 15 Nov 1997 16:35:30 -0600 (CST) Date: Sat, 15 Nov 1997 16:35:30 -0600 (CST) From: Alex Nash Reply-To: Alex Nash To: Studded cc: FreeBSD Stable List Subject: Re: Serious problem with ipfw in 11/10 Snap In-Reply-To: <199711152131.NAA01650@mail.san.rr.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Sat, 15 Nov 1997, Studded wrote: > >If > >not, it may indicate that ipfw's rules were damaged by a memory overwrite. > > I'm not sure what that means. Basically, some piece of ipfw or other kernel code unknowingly stomped on the two bytes of RAM which contained the rule number. The rule should have contained 65535 (as a short), or 0xFFFF, but instead had 0x0000. Another mystery is why a flush would not have eliminated this rule. The flush code removes everything but rule #65535. Do you still have the problem SNAP kernel? If it's configured with 2940 or 53c810 support I'd like to give it a try here. Alex