From owner-freebsd-stable Sun Sep 23 0: 5:54 2001 Delivered-To: freebsd-stable@freebsd.org Received: from sanctuary.magill.unisa.edu.au (sanctuary.magill.unisa.edu.au [130.220.227.239]) by hub.freebsd.org (Postfix) with ESMTP id 83EBE37B41E for ; Sun, 23 Sep 2001 00:05:50 -0700 (PDT) Received: from localhost (sayersjm@localhost) by sanctuary.magill.unisa.edu.au (8.11.6/8.11.4) with ESMTP id f8N75cq35774 for ; Sun, 23 Sep 2001 16:35:39 +0930 (CST) (envelope-from Jarrod.Sayers@unisa.edu.au) Date: Sun, 23 Sep 2001 16:35:38 +0930 (CST) From: Jarrod Sayers X-X-Sender: To: Subject: setuid perl Message-ID: <20010923163133.E20842-100000@sanctuary.magill.unisa.edu.au> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hmm. In 5 words ot less, is it possible to use perlcc to compile a perl script and setuid it to a user on the system which will then run in a web site. Reason: using a database which is owned by 'fred:fred' lets say. Apache runs as 'httpd:www'. I need this script to be setuid (or gid) fred so it can access the database WITHOUT me chgrping up the database folder to www. This was only the script can access the db, nothing else. I have a strong feeling that its going to be NO, so can anyone suggest any other methods? Cheers, Jarrod Sayers Information Technologist School of Communication, Information and New Media University of South Australia, Magill Campus. Phone: +61 8 83024045 Fax: +61 8 83024745 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Sun Sep 23 1:17: 5 2001 Delivered-To: freebsd-stable@freebsd.org Received: from post.mail.nl.demon.net (post-11.mail.nl.demon.net [194.159.73.21]) by hub.freebsd.org (Postfix) with ESMTP id C444337B42C for ; Sun, 23 Sep 2001 01:17:02 -0700 (PDT) Received: from [195.173.248.152] (helo=chain.demon.nl) by post.mail.nl.demon.net with smtp (Exim 3.22 #1) id 15l4Rh-000G7w-00 for freebsd-stable@FreeBSD.ORG; Sun, 23 Sep 2001 08:17:01 +0000 Received: from chain.demon.nl (spitfire.chain.loc [192.168.0.2]) by chain.demon.nl (8.11.6/8.11.6) with ESMTP id f8N8FdL04164 for ; Sun, 23 Sep 2001 10:15:39 +0200 (CEST) (envelope-from sven@chain.demon.nl) Message-ID: <3BAD9A28.90001@chain.demon.nl> Date: Sun, 23 Sep 2001 10:15:36 +0200 From: Sven Hazejager User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4) Gecko/20010913 X-Accept-Language: en-us MIME-Version: 1.0 To: freebsd-stable@FreeBSD.ORG Subject: Re: Parallel port config References: <200109222140.XAA07852@lurza.secnetix.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Interesting. It returns "device busy"... I've noticed that the drq line does not respond to the DMA set in the BIOS (= 3), I'm going to change that now... Sven Oliver Fromme wrote: > >Have you tried lptcontrol -e? > >Regards > Oliver > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Sun Sep 23 2: 8:16 2001 Delivered-To: freebsd-stable@freebsd.org Received: from heaven.gigo.com (gigo.com [207.173.11.186]) by hub.freebsd.org (Postfix) with ESMTP id 7F5E537B416 for ; Sun, 23 Sep 2001 02:08:14 -0700 (PDT) Received: from localhost (localhost.gigo.com [127.0.0.1]) by heaven.gigo.com (Postfix) with ESMTP id 2FB77B85A; Sun, 23 Sep 2001 02:07:39 -0700 (PDT) Date: Sun, 23 Sep 2001 02:07:39 -0700 (PDT) From: Jason Fesler To: Jarrod Sayers Cc: Subject: Re: setuid perl In-Reply-To: <20010923163133.E20842-100000@sanctuary.magill.unisa.edu.au> Message-ID: <20010923020531.Q84704-100000@heaven.gigo.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > I have a strong feeling that its going to be NO, so can anyone suggest any > other methods? 5 words: setuid scripts are way bad Alternatives to setuid, for your stated purposes: http://httpd.apache.org/docs/suexec.html http://cgiwrap.unixtools.org/ -- Jason Fesler http://gigo.com/resume.html "Those who give up essential liberties for temporary safety deserve neither liberty nor safety." - Benjamin Franklin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Sun Sep 23 3:45: 4 2001 Delivered-To: freebsd-stable@freebsd.org Received: from smtp8.xs4all.nl (smtp8.xs4all.nl [194.109.127.134]) by hub.freebsd.org (Postfix) with ESMTP id 7B28537B40D for ; Sun, 23 Sep 2001 03:44:59 -0700 (PDT) Received: from freebie.xs4all.nl (freebie.xs4all.nl [213.84.32.253]) by smtp8.xs4all.nl (8.9.3/8.9.3) with ESMTP id MAA13062; Sun, 23 Sep 2001 12:44:43 +0200 (CEST) Received: (from wkb@localhost) by freebie.xs4all.nl (8.11.6/8.11.4) id f8NAic009940; Sun, 23 Sep 2001 12:44:38 +0200 (CEST) (envelope-from wkb) Date: Sun, 23 Sep 2001 12:44:38 +0200 From: Wilko Bulte To: Matt Dillon Cc: "David W. Chapman Jr." , "Chad R. Larson" , "Daniel O'Connor" , j mckitrick , freebsd-stable@FreeBSD.ORG, Nuno Teixeira Subject: Re: hw.ata.wc && hw.ata.tags && softupdates short question Message-ID: <20010923124438.A9914@freebie.xs4all.nl> References: <20010921035414.B75668@dogma.freebsd-uk.eu.org> <20010922182052.B16388@freeway.dcfinc.com> <002501c143d0$78fa1b40$fe0c4042@inethouston.net> <200109230246.f8N2k2083827@earth.backplane.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200109230246.f8N2k2083827@earth.backplane.com>; from dillon@earth.backplane.com on Sat, Sep 22, 2001 at 07:46:02PM -0700 X-OS: FreeBSD 4.4-STABLE X-PGP: finger wilko@freebsd.org Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, Sep 22, 2001 at 07:46:02PM -0700, Matt Dillon wrote: > > : > :As pointed out, its believed that IBM uses capacitors to fix this problem. > > I'm rather skeptical of this. If someone can point out the article > or technical spec then ok, but otherwise it's just rumor. It would take > a fairly large capacitor to hold the input voltages in spec long enough > to write out the cache. > > -Matt A larger cap, absolutely. In days long gone by disk manufacturers used the energy stored in the rotation of the platters to power an emergency head-retract on AC powerfail. Sometimes a small rechargable battery was used. Of course neither of this fits the requirements of a cache flush. The last thing you want to do is write on a disk that is not at nominal rpm. W/ -- | / o / /_ _ email: wilko@FreeBSD.org |/|/ / / /( (_) Bulte Arnhem, The Netherlands To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Sun Sep 23 4:45:25 2001 Delivered-To: freebsd-stable@freebsd.org Received: from blueyonder.co.uk (pcow035o.blueyonder.co.uk [195.188.53.121]) by hub.freebsd.org (Postfix) with ESMTP id E685B37B420 for ; Sun, 23 Sep 2001 04:45:17 -0700 (PDT) Received: from reiteration.net ([62.31.233.77]) by blueyonder.co.uk with Microsoft SMTPSVC(5.5.1877.687.68); Sun, 23 Sep 2001 12:45:36 +0100 Message-ID: <9lT6+5AZscr7EwJa@reiteration.net> Date: Sun, 23 Sep 2001 12:44:25 +0100 To: freebsd-stable@freebsd.org From: John Subject: Re: cvsup-mirror port References: <20010922213907.A59475@freebsd.tekrealm.net> In-Reply-To: <20010922213907.A59475@freebsd.tekrealm.net> MIME-Version: 1.0 X-Mailer: Turnpike Integrated Version 5.01 U Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In article <20010922213907.A59475@freebsd.tekrealm.net>, Andrew Stuart writes >what you need to do is edit your config.sh (normal install is >/usr/local/etc/cvsup/config.sh) and change the >host="cvsup-master.freebsd.org" to whatever the closest mirror to you >is. such as cvsup3.freebsd.org. thanks, that fixed it! -- John - freebsd-lists@i-zone.demon.co.uk - jfm@reiteration.net http://www.reiteration.net/~jfm To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Sun Sep 23 7: 5:22 2001 Delivered-To: freebsd-stable@freebsd.org Received: from mmu.edu.my (ext-dns.mmu.edu.my [203.106.62.11]) by hub.freebsd.org (Postfix) with ESMTP id 90F5737B40C for ; Sun, 23 Sep 2001 07:05:17 -0700 (PDT) Received: from venus.cyber.mmu.edu.my (venus.cyber.mmu.edu.my [203.106.62.12]) by mmu.edu.my (8.9.1b+Sun/8.9.1) with ESMTP id WAA26992 for ; Sun, 23 Sep 2001 22:01:31 +0800 (MYT) Received: from there ([10.100.99.40]) by venus.cyber.mmu.edu.my (8.8.8+Sun/8.8.8) with SMTP id WAA03886 for ; Sun, 23 Sep 2001 22:01:24 +0800 (SGT) Message-Id: <200109231401.WAA03886@venus.cyber.mmu.edu.my> Content-Type: text/plain; charset="iso-8859-1" From: nuzrin yaapar Reply-To: nuzrin@goose.net.my Organization: multimedia university To: freebsd-stable@freebsd.org Subject: options HZ=1000 Date: Sun, 23 Sep 2001 22:15:12 +0800 X-Mailer: KMail [version 1.3] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi all, I've been searching for quite some time now but cannot find any pointers. It's regarding the options HZ=1000 in the kernel configuration file. Do anyone know what impact this setting might have to the overall performance? Any other things I should be aware of when I use this options? Any experiences shared or pointers will be greatly appreciated. Thanks. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Sun Sep 23 7:47:12 2001 Delivered-To: freebsd-stable@freebsd.org Received: from lurza.secnetix.de (lurza.secnetix.de [212.66.1.130]) by hub.freebsd.org (Postfix) with ESMTP id 95F5737B422 for ; Sun, 23 Sep 2001 07:47:08 -0700 (PDT) Received: (from olli@localhost) by lurza.secnetix.de (8.9.3/8.9.3) id QAA47034; Sun, 23 Sep 2001 16:47:00 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Date: Sun, 23 Sep 2001 16:47:00 +0200 (CEST) Message-Id: <200109231447.QAA47034@lurza.secnetix.de> From: Oliver Fromme To: freebsd-stable@FreeBSD.ORG, nuzrin@goose.net.my Reply-To: freebsd-stable@FreeBSD.ORG, nuzrin@goose.net.my Subject: Re: options HZ=1000 In-Reply-To: <200109231401.WAA03886@venus.cyber.mmu.edu.my> X-Newsgroups: list.freebsd-stable User-Agent: tin/1.5.4-20000523 ("1959") (UNIX) (FreeBSD/4.1-RELEASE (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG nuzrin yaapar wrote: > I've been searching for quite some time now but cannot find any pointers. > It's regarding the options HZ=1000 in the kernel configuration file. Do > anyone know what impact this setting might have to the overall performance? > Any other things I should be aware of when I use this options? > > Any experiences shared or pointers will be greatly appreciated. It depends what your intention is. To increase scheduler granularity, I'd recommend not to fiddle with HZ, but instead to decrese the kern.quantum sysctl. This helps especially when you're running processes that are cpu-bound and processes that are i/o- bound on the same machine. I've seen this on fileservers running rc5 (or seti, or prime number crunchers, or similar stuff). As soon as you started the cpu-bound process, the network performance of the fileserver dropped down noticeable, no matter whether you used nice (or even idprio) or not. Tuning kern.quantum fixed the problem. Increasing the rate by a factor of 10 shouldn't have any significant overhead. Keep in mind that a 1 GHz processor executes one million cycles within one millisecond. So, one millisecond is quite an eternity for a CPU. :-) Regards Oliver -- Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. "All that we see or seem is just a dream within a dream" (E. A. Poe) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Sun Sep 23 8:42: 0 2001 Delivered-To: freebsd-stable@freebsd.org Received: from fepF.post.tele.dk (fepF.post.tele.dk [195.41.46.135]) by hub.freebsd.org (Postfix) with ESMTP id 7FF3737B418 for ; Sun, 23 Sep 2001 08:41:56 -0700 (PDT) Received: from there ([62.243.124.171]) by fepF.post.tele.dk (InterMail vM.4.01.03.21 201-229-121-121-20010307) with SMTP id <20010923154154.KKON2356.fepF.post.tele.dk@there>; Sun, 23 Sep 2001 17:41:54 +0200 Content-Type: text/plain; charset="iso-8859-1" From: Bjarne Wichmann Petersen To: "Kurt D. Bollacker" , freebsd-stable@freebsd.org Subject: Re: "virtual timer expired" - me too Date: Sun, 23 Sep 2001 17:44:14 +0200 X-Mailer: KMail [version 1.3] References: <20010922002739.D36078@longnow.org> In-Reply-To: <20010922002739.D36078@longnow.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20010923154154.KKON2356.fepF.post.tele.dk@there> Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Saturday 22 September 2001 09:27, Kurt D. Bollacker wrote: > I just reinstalled my dual CPU Dell PowerEdge server (adaptec 7890 > SCSI chipset) with 4.4 (I was running 4.2), but during the creation of > backup superblocks during newfs on /, I get a "Virtual timer expired" > error. Of course, newfs halts, and the installation fails. I cannot > find any reference anywhere as to what this error means coming from > newfs. Since 4.2 and 4.3 install just fine, I have to assume this is > a 4.4 specific bug, am willing to investigate it, but I need to start > by knowing what the error means. I just upgraded to 4.4-STABLE as well today and I can't use vlc anymore. Every time I try to play a DVD I get "virtual timer expired". Though mounting it and playing the files directly pose no problem (apart from css that is...). Bjarne To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Sun Sep 23 8:47:11 2001 Delivered-To: freebsd-stable@freebsd.org Received: from ptavv.es.net (ptavv.es.net [198.128.4.29]) by hub.freebsd.org (Postfix) with ESMTP id 7DAED37B403 for ; Sun, 23 Sep 2001 08:47:07 -0700 (PDT) Received: from ptavv.es.net (localhost [127.0.0.1]) by ptavv.es.net (8.10.1/8.10.1) with ESMTP id f8NFiBR01658; Sun, 23 Sep 2001 08:44:13 -0700 (PDT) Message-Id: <200109231544.f8NFiBR01658@ptavv.es.net> To: "Chad R. Larson" Cc: "Daniel O'Connor" , j mckitrick , freebsd-stable@FreeBSD.ORG, Nuno Teixeira , "David W. Chapman Jr." Subject: Re: hw.ata.wc && hw.ata.tags && softupdates short question In-reply-to: Your message of "Sat, 22 Sep 2001 18:20:52 PDT." <20010922182052.B16388@freeway.dcfinc.com> Date: Sun, 23 Sep 2001 08:44:11 -0700 From: "Kevin Oberman" Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Chad, Many older removable SMD drives had enough momentum to keep spinning for minutes and used a dummy load across the motor to stop in a reasonable time. The big issue with these drives was parking the massive voice coil mounted heads stack. This took a LOT of energy and CDC drives used the capacitor bank to do the job, but some smaller drives (Diablo, Century) did use the motor as a generator. Of course, this was not an attempt to flush 2 MB of cache. They only had 512 bytes of cache to contain one sector of data and this was written out before the heads retracted on most disks. These drives lacked a smart controller and any drive optimization was entirely done in the driver. Modern ATA disks are tiny. The momentum in a spinning disk is also tiny and I doubt you could get enough energy to flush the entire cache with multiple seeks and many rotations at near full speed required to do the job. I strongly suspect that capacitance is the only game in town. R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Sun Sep 23 8:50:49 2001 Delivered-To: freebsd-stable@freebsd.org Received: from smtp.wagsky.com (wildside.wagsky.com [64.220.148.97]) by hub.freebsd.org (Postfix) with ESMTP id 8E25537B403 for ; Sun, 23 Sep 2001 08:50:45 -0700 (PDT) Received: from localhost (jeff@localhost) by smtp.wagsky.com (8.11.6/8.9.3) with ESMTP id f8NFoip42672 for ; Sun, 23 Sep 2001 08:50:45 -0700 (PDT) (envelope-from jeff@spotlife.com) X-Authentication-Warning: wildside.wagsky.com: jeff owned process doing -bs Date: Sun, 23 Sep 2001 08:50:44 -0700 (PDT) From: Jeff Kletsky X-Sender: jeff@wildside.wagsky.com Reply-To: Jeff Kletsky To: freebsd-stable@freebsd.org Subject: Two versions of 4.4 ISO-IMAGES Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Depending on when one pulled ISO images for 'install' and 'mini,' I find that the dates and MD5 are different. From the 4.4 Errata, and messages of 20 September in this group, I am guessing that the images of September 21st contain the (DOS installation) tools directory that was inadvertently omitted from the initial images. I am hoping that there are no other changes. Would someone in the know confirm the extent of the changes? Thanks Jeff ----- Jeffrey Marc Kletsky 650.356.6919 vox Director Of Product Management 650.356.6997 fax SpotLife Inc. 1950 Leslie St. San Mateo, CA 94403 Share your videos - live or recorded! Personal Video Broadcasting - www.spotlife.com See if I'm at my desk! http://www.spotlife.com/users/jeff/webcam/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Sun Sep 23 9: 2:27 2001 Delivered-To: freebsd-stable@freebsd.org Received: from freesbee.wheel.dk (freesbee.wheel.dk [193.162.159.97]) by hub.freebsd.org (Postfix) with ESMTP id 5B51637B409 for ; Sun, 23 Sep 2001 09:02:20 -0700 (PDT) Received: by freesbee.wheel.dk (Postfix, from userid 1001) id B47385D33; Sun, 23 Sep 2001 18:02:18 +0200 (CEST) Date: Sun, 23 Sep 2001 18:02:18 +0200 From: Jesper Skriver To: Jeff Kletsky Cc: freebsd-stable@freebsd.org Subject: Re: Two versions of 4.4 ISO-IMAGES Message-ID: <20010923180218.A28133@skriver.dk> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from jeff@spotlife.com on Sun, Sep 23, 2001 at 08:50:44AM -0700 X-PGP-Fingerprint: 6B88 9CE8 66E9 E631 C9C5 5EB4 22AB F0EC F956 1C31 X-PGP-Public-Key: http://freesbee.wheel.dk/~jesper/gpgkey.pub Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Sep 23, 2001 at 08:50:44AM -0700, Jeff Kletsky wrote: > Depending on when one pulled ISO images for 'install' and 'mini,' I find > that the dates and MD5 are different. From the 4.4 Errata, and messages > of 20 September in this group, I am guessing that the images of September > 21st contain the (DOS installation) tools directory that was inadvertently > omitted from the initial images. I am hoping that there are no other > changes. > > Would someone in the know confirm the extent of the changes? It's only the tools directory that's different. /Jesper -- Jesper Skriver, jesper(at)skriver(dot)dk - CCIE #5456 Work: Network manager @ AS3292 (Tele Danmark DataNetworks) Private: FreeBSD committer @ AS2109 (A much smaller network ;-) One Unix to rule them all, One Resolver to find them, One IP to bring them all and in the zone to bind them. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Sun Sep 23 9:35: 7 2001 Delivered-To: freebsd-stable@freebsd.org Received: from ptavv.es.net (ptavv.es.net [198.128.4.29]) by hub.freebsd.org (Postfix) with ESMTP id F064D37B405 for ; Sun, 23 Sep 2001 09:35:03 -0700 (PDT) Received: from ptavv.es.net (localhost [127.0.0.1]) by ptavv.es.net (8.10.1/8.10.1) with ESMTP id f8NGYwR28149; Sun, 23 Sep 2001 09:34:58 -0700 (PDT) Message-Id: <200109231634.f8NGYwR28149@ptavv.es.net> To: "Juha Saarinen" Cc: freebsd-stable@FreeBSD.ORG Subject: Re: loopback not working for anything other than 127.0.0.1 In-reply-to: Your message of "Sun, 23 Sep 2001 15:08:06 +1200." <000701c143dc$f7331230$0a01a8c0@den2> Date: Sun, 23 Sep 2001 09:34:58 -0700 From: "Kevin Oberman" Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > From: "Juha Saarinen" > Date: Sun, 23 Sep 2001 15:08:06 +1200 > Sender: owner-freebsd-stable@FreeBSD.ORG > > :: and note that the only ipv4 address listed is '127.0.0.1'. > > How come it works under Linux? Because the Linux IP stack is horribly broken. (No,this particular item is only stupid as the result of an anomalous reading of an RFC), but the over-all TCP/IP stack in some releases is totally hosed. We recently had a problem with some host flooding one of our OC-3 (155 Mbps) links from a Gig-E system. The traffic was TCP, not UDP, but it totally failed to back off when congestion was encountered, even when ACKs were taking up to 2 seconds to get back to the system, it kept blasting away. Please, please, never use Linux networking as good example! (And please, please, don't use Linux networking on my network.) R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message From owner-freebsd-stable Sun Sep 23 10:48:32 2001 Delivered-To: freebsd-stable@freebsd.org Received: from mw1.texas.net (mw1.texas.net [206.127.30.11]) by hub.freebsd.org (Postfix) with ESMTP id A6D2B37B405 for ; Sun, 23 Sep 2001 10:48:26 -0700 (PDT) Received: from staff3.texas.net (staff3.texas.net [207.207.0.40]) by mw1.texas.net (8.11.6/8.11.6) with ESMTP id f8NHmPr14669 for ; Sun, 23 Sep 2001 12:48:25 -0500 (CDT) Received: (from doug@localhost) by staff3.texas.net (8.11.6/8.11.6) id f8NHmPH16453 for freebsd-stable@freebsd.org; Sun, 23 Sep 2001 12:48:25 -0500 (CDT) (envelope-from doug) Date: Sun, 23 Sep 2001 12:48:24 -0500 From: Douglas Swarin To: freebsd-stable@freebsd.org Subject: 4.4-STABLE rslock panic (after vm_fault) Message-ID: <20010923124824.A16392@staff.texas.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG One of the machines I administer today paniced as described at the end of this message. A dmesg follows that. I was not running a debugging kernel at that time, but I have compiled one and installed it. I cannot reboot the machine since it is a production box, but if the crash happens twice more I will have a debug kernel in place to analyze the problem. Does anyone have any ideas what the problem might be? Thanks in advance. Doug Swarin doug@texas.net -- CRASH INFORMATION -------------------------------------------- SMP 2 cpus IdlePTD 3567616 initial pcb at 2cf2c0 panicstr: rslock: cpu: 1, addr: 0xd7ebfcec, lock: 0x01000001 panic messages: --- panic: rslock: cpu: 1, addr: 0xd7ebfcec, lock: 0x01000001 mp_lock = 01000001; cpuid = 1; lapic.id = 00000000 boot() called on cpu#1 syncing disks... 8 done Uptime: 4d3h16m40s --- (kgdb) back #0 0xc016d17e in dumpsys () #1 0xc016cf9f in boot () #2 0xc016d3b9 in panic () #3 0xc025bd0e in bsl1 () #4 0xc021eef0 in _unlock_things () #5 0xc021f90b in vm_fault () #6 0xc025d056 in trap_pfault () #7 0xc025cacb in trap () #8 0x80491c6 in ?? () -- OUTPUT OF DMESG ---------------------------------------------- Copyright (c) 1992-2001 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.4-RELEASE #3: Tue Sep 18 16:42:46 CDT 2001 doug@texas.net:/usr/obj/usr/src/sys/STAFF Timecounter "i8254" frequency 1193182 Hz CPU: Pentium II/Pentium II Xeon/Celeron (447.00-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x652 Stepping = 2 Features=0x183fbff real memory = 536870912 (524288K bytes) avail memory = 519020544 (506856K bytes) Changing APIC ID for IO APIC #0 from 0 to 2 on chip Programming 24 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 0 FreeBSD/SMP: Multiprocessor motherboard cpu0 (BSP): apic id: 1, version: 0x00040011, at 0xfee00000 cpu1 (AP): apic id: 0, version: 0x00040011, at 0xfee00000 io0 (APIC): apic id: 2, version: 0x00170011, at 0xfec00000 Preloaded elf kernel "kernel" at 0xc0348000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc034809c. Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 9 entries at 0xc00fc8f0 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard IOAPIC #0 intpin 20 -> irq 2 IOAPIC #0 intpin 22 -> irq 10 pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at 0.0 pcib2: at device 2.0 on pci0 IOAPIC #0 intpin 16 -> irq 11 pci2: on pcib2 ahc0: port 0xec00-0xecff mem 0xf9fff000-0xf9ffffff irq 11 at device 4.0 on pci2 aic7890/91: Ultra2 Wide Channel A, SCSI Id=7, 32/255 SCBs ahc1: port 0xe800-0xe8ff mem 0xf9ffe000-0xf9ffefff irq 11 at device 6.0 on pci2 aic7860: Ultra Single Channel A, SCSI Id=7, 3/255 SCBs isab0: at device 7.0 on pci0 isa0: on isab0 pci0: at 7.1 pci0: at 7.2 irq 0 Timecounter "PIIX" frequency 3579545 Hz chip1: port 0x850-0x85f at device 7.3 on pci0 fxp0: port 0xdce0-0xdcff mem 0xfe000000-0xfe0fffff,0xf7000000-0xf7000fff irq 2 at device 8.0 on pci0 fxp0: Ethernet address 00:90:27:45:ee:3f inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pci0: (vendor=0x10b7, dev=0x9055) at 12.0 irq 10 orm0: