From owner-freebsd-stable@FreeBSD.ORG Sun Jan 4 05:14:07 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AFDE916A4CE for ; Sun, 4 Jan 2004 05:14:07 -0800 (PST) Received: from regix.com (regisr.net1.nerim.net [62.212.109.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id E914143D3F for ; Sun, 4 Jan 2004 05:14:05 -0800 (PST) (envelope-from regisr@regix.com) Received: from crocoite.home.regix.com (localhost.home.regix.com [127.0.0.1]) by regix.com (8.12.10/8.12.9) with ESMTP id i04DDvbj001832; Sun, 4 Jan 2004 14:13:57 +0100 (CET) (envelope-from regisr@crocoite.home.regix.com) Received: (from regisr@localhost) by crocoite.home.regix.com (8.12.10/8.12.9/Submit) id i04DDvcC001831; Sun, 4 Jan 2004 14:13:57 +0100 (CET) Message-ID: X-Mailer: XFMail 1.5.4 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20040104070100.GA603@kolic.net> Date: Sun, 04 Jan 2004 14:13:57 +0100 (CET) Organization: Regix Sender: regisr@crocoite.regix.com From: regis rampnoux To: freebsd-stable cc: Zoran Kolic Subject: re: sis driver X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jan 2004 13:14:07 -0000 On 04-Jan-2004 Zoran Kolic wrote: > on it.) If it works as > you wish, try to go to > "/boot/device.hints" > and find something like > "hint.sys.0.irq=12" > and change it to 1. Don't Thanks. Now it is working but I will be happy to understand why! I have: %cat /boot/device.hints hint.sys.0.irq=1 % In the config file: options HZ=2000 options DEVICE_POLLING # device ata0 at isa? port IO_WD1 irq 14 # device psm0 at atkbdc? irq 12 But dmesg reports that ata0 exists and the sis0 is on the same IRQ: ata0: at 0x1f0 irq 14 on atapci1 sis0: port 0xc800-0xc8ff mem 0xe0141000-0xe0141fff irq 14 at device 11.0 on pci0 sis0: Ethernet address: 00:40:f4:60:ad:47 miibus0: on sis0 ukphy0: on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto The PS/2 mouse and ata0 are disabled in the bios (may be I should put my CD-ROM on the first IDE channel). PS: Why your lines are so shorts? -- regisr From owner-freebsd-stable@FreeBSD.ORG Mon Jan 5 07:18:01 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 557C916A4CF for ; Mon, 5 Jan 2004 07:18:01 -0800 (PST) Received: from simmts12-srv.bellnexxia.net (simmts12.bellnexxia.net [206.47.199.141]) by mx1.FreeBSD.org (Postfix) with ESMTP id 99C2B43D1F for ; Mon, 5 Jan 2004 07:17:59 -0800 (PST) (envelope-from techservices@onlinehobbyist.com) Received: from freebie.perlnerd.com ([65.95.242.144]) by simmts12-srv.bellnexxia.netESMTP <20040105151758.GKEZ19505.simmts12-srv.bellnexxia.net@freebie.perlnerd.com> for ; Mon, 5 Jan 2004 10:17:58 -0500 Received: from onlinehobbyist.com (monster [192.168.1.181]) by freebie.perlnerd.com (8.12.10/8.12.10) with ESMTP id i05FI3DH038724 for ; Mon, 5 Jan 2004 10:18:04 -0500 (EST) (envelope-from techservices@onlinehobbyist.com) Message-ID: <3FF98026.8070802@onlinehobbyist.com> Date: Mon, 05 Jan 2004 10:17:58 -0500 From: Clint Gilders Organization: OnlineHobbyist.com, Inc. User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en, fr-ca, de, en-us MIME-Version: 1.0 To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: /kernel: em0: Link is Down X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jan 2004 15:18:01 -0000 Hi I'm seeing a lot of the error messages below on a dual Xeon 2.5 Ghz running 4.9-STABLE built on Wed Nov 26 2003. The errors started when I moved a fairly busy database to this server. Jan 4 17:56:50 king7 /kernel: em0: Link is up 100 Mbps Full Duplex Jan 4 19:04:18 king7 /kernel: em0: Link is Down Jan 4 19:04:20 king7 /kernel: em0: Link is up 100 Mbps Full Duplex Jan 4 23:59:06 king7 /kernel: em0: Link is Down Jan 4 23:59:08 king7 /kernel: em0: Link is up 100 Mbps Full Duplex Jan 5 01:04:48 king7 /kernel: em0: Link is Down Jan 5 01:04:50 king7 /kernel: em0: Link is up 100 Mbps Full Duplex I found menton of changing '#define EM_REPORT_TX_EARLY 0' to '#define EM_REPORT_TX_EARLY 1' in /usr/src/sys/dev/em/if_em.h but my if_em.h doesn't have this line Anyone have any suggestions on how to remedy this? Is this a known problem that would have been fixed since my system was compiled in November? Thanks -- Clint Gilders Director of Technology Services OnlineHobbyist.com, Inc. From owner-freebsd-stable@FreeBSD.ORG Mon Jan 5 07:23:49 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A0FA916A4CE for ; Mon, 5 Jan 2004 07:23:49 -0800 (PST) Received: from mercury.jorsm.com (mercury.jorsm.com [66.170.168.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 305C743D1D for ; Mon, 5 Jan 2004 07:23:48 -0800 (PST) (envelope-from steveb@mercury.jorsm.com) Received: from localhost (localhost [127.0.0.1]) by localhost (Postfix) with ESMTP id 9B2FB1E1943; Mon, 5 Jan 2004 09:23:47 -0600 (CST) Received: from mercury.jorsm.com (localhost [127.0.0.1]) by localhost (VaMailArmor-2.0.1.16) id 04023-46C4697A; Mon, 05 Jan 2004 09:23:47 -0600 Received: by mercury.jorsm.com (Postfix, from userid 4147) id 75BAB1E193E; Mon, 5 Jan 2004 09:23:47 -0600 (CST) Received: from localhost (localhost [127.0.0.1]) by mercury.jorsm.com (Postfix) with ESMTP id 743831E193C; Mon, 5 Jan 2004 09:23:47 -0600 (CST) Date: Mon, 5 Jan 2004 09:23:47 -0600 (CST) From: Stephen Bader To: Clint Gilders In-Reply-To: <3FF98026.8070802@onlinehobbyist.com> Message-ID: <20040105092029.Y75732-100000@mercury.jorsm.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-AntiVirus: checked by Vexira MailArmor (version: 2.0.1.16; VAE: 6.23.0.2; VDF: 6.23.0.25; host: jorsm.com) cc: freebsd-stable@freebsd.org Subject: Re: /kernel: em0: Link is Down X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jan 2004 15:23:49 -0000 Just to verify, I would assume you've checked the following?: - Bad Cable - May not have appeared until it got loaded - Auto Negotiate Issues (check duplex) - Very common - Force to 10mbps to see if it still happens - For to half duplex in both 10 & 100 mbps - Different physical port on the switch I haven't seen any issues on this list with the em driver, but I may be wrong. I don't have em cards, so other than the above, I can't offer much. -Steve ------------------------------------------------------------------------- Stephen Bader JORSM Internet, Regional Internet Services Systems Administrator 7 Area Codes in Chicagoland and NW Indiana steveb@jorsm.com 100Mbps+ Connectivity, 56K-DS3, V.90, ISDN (219) 322-2180 Quality Service, Affordable Prices http://www.jorsm.com Serving Gov, Biz, Indivds Since 1995 ------------------------------------------------------------------------- On Mon, 5 Jan 2004, Clint Gilders wrote: > Hi > > I'm seeing a lot of the error messages below on a dual Xeon 2.5 Ghz running 4.9-STABLE > built on Wed Nov 26 2003. The errors started when I moved a fairly busy database to this > server. > > Jan 4 17:56:50 king7 /kernel: em0: Link is up 100 Mbps Full Duplex > Jan 4 19:04:18 king7 /kernel: em0: Link is Down > Jan 4 19:04:20 king7 /kernel: em0: Link is up 100 Mbps Full Duplex > Jan 4 23:59:06 king7 /kernel: em0: Link is Down > Jan 4 23:59:08 king7 /kernel: em0: Link is up 100 Mbps Full Duplex > Jan 5 01:04:48 king7 /kernel: em0: Link is Down > Jan 5 01:04:50 king7 /kernel: em0: Link is up 100 Mbps Full Duplex > > I found menton of changing '#define EM_REPORT_TX_EARLY 0' to '#define EM_REPORT_TX_EARLY > 1' in /usr/src/sys/dev/em/if_em.h but my if_em.h doesn't have this line > > Anyone have any suggestions on how to remedy this? Is this a known problem that would > have been fixed since my system was compiled in November? > > Thanks > -- > Clint Gilders > Director of Technology Services > OnlineHobbyist.com, Inc. > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > From owner-freebsd-stable@FreeBSD.ORG Mon Jan 5 09:19:36 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DC4C116A4D1 for ; Mon, 5 Jan 2004 09:19:36 -0800 (PST) Received: from web14107.mail.yahoo.com (web14107.mail.yahoo.com [216.136.172.137]) by mx1.FreeBSD.org (Postfix) with SMTP id B264343D58 for ; Mon, 5 Jan 2004 09:19:35 -0800 (PST) (envelope-from cguttesen@yahoo.dk) Message-ID: <20040105171935.41829.qmail@web14107.mail.yahoo.com> Received: from [194.248.174.33] by web14107.mail.yahoo.com via HTTP; Mon, 05 Jan 2004 18:19:35 CET Date: Mon, 5 Jan 2004 18:19:35 +0100 (CET) From: =?iso-8859-1?q?Claus=20Guttesen?= To: Clint Gilders , freebsd-stable@freebsd.org In-Reply-To: <3FF98026.8070802@onlinehobbyist.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: Re: /kernel: em0: Link is Down X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jan 2004 17:19:37 -0000 > I'm seeing a lot of the error messages below on a > dual Xeon 2.5 Ghz running 4.9-STABLE > built on Wed Nov 26 2003. The errors started when I > moved a fairly busy database to this > server. > > Jan 4 17:56:50 king7 /kernel: em0: Link is up 100 > Mbps Full Duplex > Jan 4 19:04:18 king7 /kernel: em0: Link is Down Are you using ACPI? I had a similar issue running the 5.1 branch two months ago. Disabling ACPI cured my problem on an ASUS motherboard. regards Claus Yahoo! Mail (http://dk.mail.yahoo.com) - Gratis: 6 MB lagerplads, spamfilter og virusscan From owner-freebsd-stable@FreeBSD.ORG Mon Jan 5 12:49:04 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2499B16A4CE for ; Mon, 5 Jan 2004 12:49:04 -0800 (PST) Received: from ganymede.hub.org (u46n208.hfx.eastlink.ca [24.222.46.208]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2741F43D31 for ; Mon, 5 Jan 2004 12:49:03 -0800 (PST) (envelope-from scrappy@hub.org) Received: by ganymede.hub.org (Postfix, from userid 1000) id 4BC2336A43; Mon, 5 Jan 2004 16:45:25 -0400 (AST) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id 3838736A30; Mon, 5 Jan 2004 16:45:25 -0400 (AST) Date: Mon, 5 Jan 2004 16:45:25 -0400 (AST) From: "Marc G. Fournier" To: Stephen Bader In-Reply-To: <20040105092029.Y75732-100000@mercury.jorsm.com> Message-ID: <20040105164415.M28998@ganymede.hub.org> References: <20040105092029.Y75732-100000@mercury.jorsm.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-stable@freebsd.org Subject: Re: /kernel: em0: Link is Down X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jan 2004 20:49:04 -0000 On Mon, 5 Jan 2004, Stephen Bader wrote: > Just to verify, I would assume you've checked the following?: > > - Bad Cable - May not have appeared until it got loaded > - Auto Negotiate Issues (check duplex) - Very common > - Force to 10mbps to see if it still happens > - For to half duplex in both 10 & 100 mbps > - Different physical port on the switch > > I haven't seen any issues on this list with the em driver, but I may be > wrong. I don't have em cards, so other than the above, I can't offer much. Actually, I'm having odd problems with my em ethernet where its not allowing me to re-assign IPs from another server over to it, as if the appropriate ARP isn't being sent out ... but re-assigning it to a server with fxp0 devices works like a charm ... ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email: scrappy@hub.org Yahoo!: yscrappy ICQ: 7615664 From owner-freebsd-stable@FreeBSD.ORG Mon Jan 5 20:00:41 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3BAE516A4CE for ; Mon, 5 Jan 2004 20:00:41 -0800 (PST) Received: from mail6.speakeasy.net (mail6.speakeasy.net [216.254.0.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4ED8E43D5C for ; Mon, 5 Jan 2004 20:00:32 -0800 (PST) (envelope-from wavefn@speakeasy.net) Received: (qmail 17272 invoked by uid 64014); 6 Jan 2004 04:00:31 -0000 Received: from wavefn@speakeasy.net by mail6.speakeasy.net with AmikaGuardian-Server-2.1.2; 06 Jan 2004 04:00:31 -0000 X-AmikaGuardian-Id: mail6.speakeasy.net107336163126117257 X-AmikaGuardian-Action: Do Nothing() Received: from dialup-67.31.187.61.dial1.denver1.level3.net (HELO speakeasy.net) (sholly@[67.31.187.61]) (envelope-sender )encrypted SMTP for ; 6 Jan 2004 04:00:30 -0000 Message-ID: <3FFA3372.1080506@speakeasy.net> Date: Mon, 05 Jan 2004 21:02:58 -0700 From: "J. Shollenberger" User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20040103 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-stable@freebsd.org, freebsd-mozilla@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: linuxpluginwrapper woes X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jan 2004 04:00:41 -0000 Hi all, I am trying to get www/linuxpluginwrapper and www/linux-flashplugin6 running with mozilla on 4.9-STABLE. I've patched the rtld-elf source, installed, installed the ports referenced above, and set up /etc/libmap.conf like linuxpluginwrapper's pkg-message says to do. But every time I launch mozilla, I get the following error: LoadPlugin: failed to initialize shared library /usr/local/lib/linux-flashplugin6/libflashplayer.so [Shared object "libpthread.so.0" not found] LoadPlugin: failed to initialize shared library /usr/local/Acrobat5/Browsers/intellinux/nppdf.so [Shared object "libc.so.6" not found] The only thing I haven't done is built+installed world since Oct. 25th. Any suggestions, please let me know. Thanks in advance, Jay Shollenberger From owner-freebsd-stable@FreeBSD.ORG Mon Jan 5 21:38:58 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D4F8716A4CE; Mon, 5 Jan 2004 21:38:58 -0800 (PST) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id B3ACE43D53; Mon, 5 Jan 2004 21:38:57 -0800 (PST) (envelope-from eischen@vigrid.com) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mail.pcnet.com (8.12.10/8.12.1) with ESMTP id i065cuiw029029; Tue, 6 Jan 2004 00:38:57 -0500 (EST) Date: Tue, 6 Jan 2004 00:38:56 -0500 (EST) From: Daniel Eischen X-Sender: eischen@pcnet5.pcnet.com To: "J. Shollenberger" In-Reply-To: <3FFA3372.1080506@speakeasy.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-mozilla@freebsd.org cc: freebsd-stable@freebsd.org Subject: Re: linuxpluginwrapper woes X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jan 2004 05:38:59 -0000 On Mon, 5 Jan 2004, J. Shollenberger wrote: > Hi all, > > I am trying to get www/linuxpluginwrapper and www/linux-flashplugin6 > running with mozilla on > 4.9-STABLE. I've patched the rtld-elf source, installed, installed the > ports referenced above, and set up > /etc/libmap.conf like linuxpluginwrapper's pkg-message says to do. But > every time I launch mozilla, I get the > following error: > > LoadPlugin: failed to initialize shared library > /usr/local/lib/linux-flashplugin6/libflashplayer.so > [Shared object "libpthread.so.0" not found] > LoadPlugin: failed to initialize shared library > /usr/local/Acrobat5/Browsers/intellinux/nppdf.so > [Shared object "libc.so.6" not found] Try changing the entry for "/usr/local/lib/linux-flashplugin6/libflashplayer.so" to "/usr/X11R6/lib/browser_plugins/libflashplayer.so" in /etc/libmap.conf. The plugins are loaded from /usr/X11R6/lib/browser_plugins/ but they are really just links to the actual plugins. I guess this sometimes screws up libmap'ing. You might try the same thing for the nppdf.so entry. Also make sure that linux-flashplugin5 is not installed and that the plugin is not in /usr/X11R6/lib/browser_plugins. From owner-freebsd-stable@FreeBSD.ORG Tue Jan 6 03:29:15 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8EF3F16A4CE; Tue, 6 Jan 2004 03:29:15 -0800 (PST) Received: from alogis.com (firewall.solit-ag.de [212.184.102.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id C78A243D49; Tue, 6 Jan 2004 03:29:12 -0800 (PST) (envelope-from Holger.Kipp@alogis.com) Received: from intserv.int1.b.intern (localhost [127.0.0.1]) by alogis.com (8.11.1/8.9.3) with SMTP id i06BTAY75957; Tue, 6 Jan 2004 12:29:10 +0100 (CET) (envelope-from hk@alogis.com) Message-Id: <200401061129.i06BTAY75957@alogis.com> Date: Tue, 06 Jan 2004 11:29:05 +0000 From: Holger Kipp To: stable@freebsd.org X-Mailer: phpGroupWare (http://www.phpgroupware.org) MIME-version: 1.0 Content-type: text/plain; charset="iso-8859-1" Content-Disposition: inline Content-description: Mail message body cc: current@freebsd.org Subject: perl malloc slow? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Holger.Kipp@alogis.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jan 2004 11:29:15 -0000 Happy new year to all! I experience an interesting Problem with perl (both 5.0 and 5.8.0) and Compress::Zlib::memGunzip on FreeBSD 4.9-STABLE (Oct. 28th 2003): Uncompressing a larger ascii-file (200-300kB compressed, 20-40MB uncompressed) in memory takes a ___long____ time (the larger the uncompressed file, the more time it takes per extracted MB): uncompressed size 5 MB => ca. 25 seconds ( 5 seconds/MB) 40 MB => ca. 1200 seconds (30 seconds/MB) gunzip only needs slightly more than 1 second for the 40MB file. I don't have this problem with SuSE Linux 8.1 where extraction with memGunzip only needs about 1.5 seconds and with gunzip around 0.5 seconds (Linux is on a faster system). I am not sure if this problem still exists with CURRENT. Searching on the internet gave the impression that this might be malloc/FreeBSD related. Any chance of this being resolved? Regards, Holger Kipp Example perl program: --- 8< ------------------------------------------------------- use Compress::Zlib; use Time::HiRes qw(gettimeofday tv_interval) ; my $start = [ gettimeofday ] ; my $file = shift ; open FILE, "<$file" || die "Cannot open file $file: $!\n" ; undef $/ ; my $in = ; close FILE ; my $out = Compress::Zlib::memGunzip($in); die "undefined\n" if ! defined $out ; open FILE, ">$file.tmp" || die "Cannot open file $file: $!\n" ; print FILE $out; my $elapsed = tv_interval ( $start, [gettimeofday]); print "elapsed time is $elapsed\n" ; --- 8< ------------------------------------------------------- From owner-freebsd-stable@FreeBSD.ORG Tue Jan 6 04:19:04 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C915516A4CE; Tue, 6 Jan 2004 04:19:04 -0800 (PST) Received: from mailout06.sul.t-online.com (mailout06.sul.t-online.com [194.25.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6D71E43D46; Tue, 6 Jan 2004 04:19:03 -0800 (PST) (envelope-from Alexander@Leidinger.net) Received: from fwd08.aul.t-online.de by mailout06.sul.t-online.com with smtp id 1Adq9K-0004Li-01; Tue, 06 Jan 2004 13:17:30 +0100 Received: from Andro-Beta.Leidinger.net (XdosimZ-Ye8Tn7AbQc77hzvQkh1ArogR-6lNM61X+hWLfH-IUIxkEI@[80.131.126.23]) by fmrl08.sul.t-online.com with esmtp id 1Adq9A-1pMp7Y0; Tue, 6 Jan 2004 13:17:20 +0100 Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) i06CHDJb017884; Tue, 6 Jan 2004 13:17:15 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from Magellan.Leidinger.net (netchild@localhost [127.0.0.1]) i06CHLTL034946; Tue, 6 Jan 2004 13:17:21 +0100 (CET) (envelope-from Alexander@Leidinger.net) Date: Tue, 6 Jan 2004 13:17:20 +0100 From: Alexander Leidinger To: Holger.Kipp@alogis.com Message-Id: <20040106131720.12ed997c@Magellan.Leidinger.net> In-Reply-To: <200401061129.i06BTAY75957@alogis.com> References: <200401061129.i06BTAY75957@alogis.com> X-Mailer: Sylpheed version 0.9.8claws (GTK+ 1.2.10; i386-portbld-freebsd5.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Seen: false X-ID: XdosimZ-Ye8Tn7AbQc77hzvQkh1ArogR-6lNM61X+hWLfH-IUIxkEI@t-dialin.net cc: stable@freebsd.org cc: current@freebsd.org Subject: Re: perl malloc slow? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jan 2004 12:19:04 -0000 On Tue, 06 Jan 2004 11:29:05 +0000 Holger Kipp wrote: > Searching on the internet gave the impression that this might be > malloc/FreeBSD related. Any chance of this being resolved? Use perls own malloc implementation (make -DWITHOUT_PERL_MALLOC for an up-to-date perl5.8 port, if you use make -DWITH_THREADS perls own malloc implementation gets disabled by the FreeBSD port)? AFAIK perl 5.0 in the 4.x basesystem doesn't use its own malloc implementation. I've tried it on -current with perl 5.6.1: - I've aborted your testcode after 5 minutes without perl malloc - with perl malloc it needs ~9 seconds Bye, Alexander. -- I will be available to get hired in April 2004. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7 From owner-freebsd-stable@FreeBSD.ORG Tue Jan 6 06:48:31 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8881016A4CE for ; Tue, 6 Jan 2004 06:48:31 -0800 (PST) Received: from mail17.messagelabs.com (mail17.messagelabs.com [62.231.131.67]) by mx1.FreeBSD.org (Postfix) with SMTP id DFEAF43D3F for ; Tue, 6 Jan 2004 06:48:28 -0800 (PST) (envelope-from tpalfi@phoenixmedical.co.uk) X-VirusChecked: Checked X-Env-Sender: tpalfi@phoenixmedical.co.uk X-Msg-Ref: server-10.tower-17.messagelabs.com!1073400461!3653500 X-StarScan-Version: 5.1.15; banners=phoenixmedical.co.uk,-,- Received: (qmail 24740 invoked from network); 6 Jan 2004 14:47:54 -0000 Received: from unallocated.star.net.uk (HELO ?62.231.142.146?) (62.231.142.146) by server-10.tower-17.messagelabs.com with SMTP; 6 Jan 2004 14:47:54 -0000 Received: from no.name.available by [62.231.142.146] ESMTP; Tue, 6 Jan 2004 14:40:28 +0000 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 Date: Tue, 6 Jan 2004 14:47:39 -0000 Message-ID: <310AB5D4144D3F4ABC8E6985ACEC2E570C5A99@indy.enzo.phoenixmedical.co.uk> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Index: AcPUZAfgQfadaJydQoSLJ7iAIkvlfg== From: "Tomas Palfi" To: Subject: X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jan 2004 14:48:31 -0000 To=20all, Is=20there=20a=20way=20how=20I=20could=20read=20passwords=20of=20anonymous= =20users=20that=20ftp=20to my=20ftp=20server.=20=20Any=20help=20or=20indication=20appreciated. Thanks -- tp=20 ________________________________________________________________________ This=20e-mail=20has=20been=20scanned=20for=20all=20viruses=20by=20Star=20I= nternet.=20The service=20is=20powered=20by=20MessageLabs.=20For=20more=20information=20on= =20a=20proactive anti-virus=20service=20working=20around=20the=20clock,=20around=20the=20gl= obe,=20visit: http://www.star.net.uk ________________________________________________________________________ From owner-freebsd-stable@FreeBSD.ORG Tue Jan 6 07:36:58 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8205F16A4CE; Tue, 6 Jan 2004 07:36:58 -0800 (PST) Received: from alogis.com (firewall.solit-ag.de [212.184.102.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3159543D1F; Tue, 6 Jan 2004 07:36:56 -0800 (PST) (envelope-from Holger.Kipp@alogis.com) Received: from intserv.int1.b.intern (localhost [127.0.0.1]) by alogis.com (8.11.1/8.9.3) with SMTP id i06FadY90540; Tue, 6 Jan 2004 16:36:39 +0100 (CET) (envelope-from hk@alogis.com) Message-Id: <200401061536.i06FadY90540@alogis.com> Date: Tue, 06 Jan 2004 15:36:34 +0000 From: Holger Kipp To: Alexander@Leidinger.net X-Mailer: phpGroupWare (http://www.phpgroupware.org) MIME-version: 1.0 Content-type: text/plain; charset="iso-8859-1" Content-Disposition: inline Content-description: Mail message body cc: stable@freebsd.org cc: current@freebsd.org Subject: Re: perl malloc slow? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Holger.Kipp@alogis.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jan 2004 15:36:58 -0000 Alexander Leidinger (Alexander@Leidinger.net) wrote: > >On Tue, 06 Jan 2004 11:29:05 +0000 >Holger Kipp wrote: > >> Searching on the internet gave the impression that this might be >> malloc/FreeBSD related. Any chance of this being resolved? > >Use perls own malloc implementation (make -DWITHOUT_PERL_MALLOC for an >up-to-date perl5.8 port, if you use make -DWITH_THREADS perls own malloc >implementation gets disabled by the FreeBSD port)? AFAIK perl 5.0 in the >4.x basesystem doesn't use its own malloc implementation. Upgraded Perl 5.8.0 to 5.8.2 which has these switches set already, so I guess the problem is well-known. Kris Kennaway wrote: "For any algorithm one can come up with a workload that makes it perform badly. The trick is making it perform well for common workloads, which FreeBSD's malloc does." (http://lists.freebsd.org/pipermail/freebsd-hackers/2003-September/003059.html) Even so, if Perl malloc and Linux malloc are O(n) with a small constant and FreeBSD malloc behaves like O(n*n) or worse with a large constant in this easy example (of a real-world applikation), this behaviour should imho be investigated.... See also http://www.dent.med.uni-muenchen.de/~wmglo/malloc-slides.html Regards, Holger From owner-freebsd-stable@FreeBSD.ORG Tue Jan 6 08:19:33 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B32C016A4CE; Tue, 6 Jan 2004 08:19:33 -0800 (PST) Received: from mailout07.sul.t-online.com (mailout07.sul.t-online.com [194.25.134.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9245A43D1F; Tue, 6 Jan 2004 08:19:24 -0800 (PST) (envelope-from Alexander@Leidinger.net) Received: from fwd03.aul.t-online.de by mailout07.sul.t-online.com with smtp id 1Adttt-00075z-07; Tue, 06 Jan 2004 17:17:49 +0100 Received: from Andro-Beta.Leidinger.net (GQJPKiZcreESP0YXaVOvlPo3JKMWrn7WvXT3tjYfN4WUL95K2AIdry@[80.131.126.23]) by fmrl03.sul.t-online.com with esmtp id 1Adtti-0rhUAa0; Tue, 6 Jan 2004 17:17:38 +0100 Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) i06GHWJb051208; Tue, 6 Jan 2004 17:17:33 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from Magellan.Leidinger.net (netchild@localhost [127.0.0.1]) i06GHfTL065300; Tue, 6 Jan 2004 17:17:41 +0100 (CET) (envelope-from Alexander@Leidinger.net) Date: Tue, 6 Jan 2004 17:17:40 +0100 From: Alexander Leidinger To: Holger.Kipp@alogis.com Message-Id: <20040106171740.201f6581@Magellan.Leidinger.net> In-Reply-To: <200401061536.i06FadY90540@alogis.com> References: <200401061536.i06FadY90540@alogis.com> X-Mailer: Sylpheed version 0.9.8claws (GTK+ 1.2.10; i386-portbld-freebsd5.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Seen: false X-ID: GQJPKiZcreESP0YXaVOvlPo3JKMWrn7WvXT3tjYfN4WUL95K2AIdry@t-dialin.net cc: stable@freebsd.org cc: current@freebsd.org Subject: Re: perl malloc slow? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jan 2004 16:19:33 -0000 On Tue, 06 Jan 2004 15:36:34 +0000 Holger Kipp wrote: > Kris Kennaway wrote: "For any algorithm one can come up with a workload that > makes it perform badly. The trick is making it perform well for > common workloads, which FreeBSD's malloc does." > (http://lists.freebsd.org/pipermail/freebsd-hackers/2003-September/003059.html) > > Even so, if Perl malloc and Linux malloc are O(n) with a small constant and > FreeBSD malloc behaves like O(n*n) or worse with a large constant in this > easy example (of a real-world applikation), this behaviour should imho be > investigated.... You need to make a context switch for every malloc call. AFAIK perls malloc has a resource pool, from which it allocates if possible. This saves a context switch for each malloc call which can be satisfied from the resource pool. If the Zlib module allocates alot of small memory regions with the same size one after another and frees alot of them after a short period of time, this results in a huge amount of context switches in the non-perl-malloc case and in nearly no context switch in the with-perl-malloc case. The right thing to do in such a case is to optimize the application to use e.g. a ring buffer. A static number of malloc() calls at startup, use them for a long time, free() them. Or to manage a malloc resource pool on it's own. This is what perl does in the with-perl-malloc case. AFAIK perl uses its own malloc on GNU/Linux... feel free to correct me (perl -V | grep usemymalloc). I tried to convince our perl maintainer to use perls malloc (5.6.1 doesn't use it by default) long ago, but I failed (but I got the WITH_PERL_MALLOC switch in the port). Somewhat (un)related: use perl malloc if you encounter problems in a perl application which uses signals. Bye, Alexander. -- I will be available to get hired in April 2004. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7 From owner-freebsd-stable@FreeBSD.ORG Tue Jan 6 08:30:15 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7FFA816A4CE for ; Tue, 6 Jan 2004 08:30:15 -0800 (PST) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3186F43D1F for ; Tue, 6 Jan 2004 08:30:13 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [127.0.0.1]) i06GU9xn075998 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 6 Jan 2004 16:30:09 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i06GU9hw075997; Tue, 6 Jan 2004 16:30:09 GMT (envelope-from matthew) Date: Tue, 6 Jan 2004 16:30:09 +0000 From: Matthew Seaman To: Tomas Palfi Message-ID: <20040106163009.GC74304@happy-idiot-talk.infracaninophile.co.uk> References: <310AB5D4144D3F4ABC8E6985ACEC2E570C5A99@indy.enzo.phoenixmedical.co.uk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="w7PDEPdKQumQfZlR" Content-Disposition: inline In-Reply-To: <310AB5D4144D3F4ABC8E6985ACEC2E570C5A99@indy.enzo.phoenixmedical.co.uk> User-Agent: Mutt/1.5.5.1i X-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.61 X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on happy-idiot-talk.infracaninophile.co.uk cc: stable@freebsd.org Subject: Re: your mail X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jan 2004 16:30:15 -0000 --w7PDEPdKQumQfZlR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jan 06, 2004 at 02:47:39PM -0000, Tomas Palfi wrote: > Is there a way how I could read passwords of anonymous users that ftp to > my ftp server. Any help or indication appreciated. Follow the instructions in /etc/syslog.conf for enabling /var/log/all.log. If that doesn't give you enough information, and assuming you're using the system ftpd(8), add another '-l' to the command line flags for the ftp service in /etc/inetd.conf. Note that there's no way to force anonymous users to give anything meaningful as their password, and if they're using eg. a web browser to access your site, chances are you're just going to get a blank as the password. Cheers, Matthew=09 --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --w7PDEPdKQumQfZlR Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQE/+uKRdtESqEQa7a0RAuBhAJ0XWbXk070beP6QeLKux4+AIXderACbBHJ6 fIjYIrR1ldzWMVwJOEQKfRE= =kbkf -----END PGP SIGNATURE----- --w7PDEPdKQumQfZlR-- From owner-freebsd-stable@FreeBSD.ORG Tue Jan 6 13:37:12 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5E43E16A4CE for ; Tue, 6 Jan 2004 13:37:12 -0800 (PST) Received: from smtpzilla2.xs4all.nl (smtpzilla2.xs4all.nl [194.109.127.138]) by mx1.FreeBSD.org (Postfix) with ESMTP id D232E43D39 for ; Tue, 6 Jan 2004 13:37:07 -0800 (PST) (envelope-from eurosur@xs4all.nl) Received: from RODRIGO (a80-126-65-168.adsl.xs4all.nl [80.126.65.168]) by smtpzilla2.xs4all.nl (8.12.9/8.12.9) with SMTP id i06Lb64f098962 for ; Tue, 6 Jan 2004 22:37:06 +0100 (CET) Message-ID: <008701c3d49d$3b41ae20$9600000a@RODRIGO> From: "euroSur" To: Date: Tue, 6 Jan 2004 22:37:05 +0100 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: NEC 1300A DVD-R writing X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jan 2004 21:37:12 -0000 Melvyn, I'm currently having similars problems like the one you had in your = message in list.freebsd.org on the 5th Jul 2003. I'm having kind of similar problems as described above. I bought a NEC = DVD_RW ND-1300A with some DVD+R RW a box of 50 Nashua DVD-R 4.7GB=20 Burning DVD+R RW I did not encounter any problem.=20 When I tried to burn a Nashua DVD-R with several software like Nero, DVD = Decrypter I have the following error: Cannot write medium - incompatible format When Cancel I got: Failed to reserve track Do you have any idea why is this occurring?=20 I thought DVD_RW ND-1300A was compatible for both DVD+R and -R Thanks in advance=20 Regards, Rodrigo From owner-freebsd-stable@FreeBSD.ORG Tue Jan 6 16:51:19 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7525B16A4CE; Tue, 6 Jan 2004 16:51:19 -0800 (PST) Received: from server.vk2pj.dyndns.org (c211-30-75-229.belrs2.nsw.optusnet.com.au [211.30.75.229]) by mx1.FreeBSD.org (Postfix) with ESMTP id 54C0143D3F; Tue, 6 Jan 2004 16:51:15 -0800 (PST) (envelope-from peterjeremy@optushome.com.au) Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1])i070nM7B029937; Wed, 7 Jan 2004 11:49:22 +1100 (EST) (envelope-from peter@server.vk2pj.dyndns.org) Received: (from peter@localhost) by server.vk2pj.dyndns.org (8.12.10/8.12.10/Submit) id i070nGM6029936; Wed, 7 Jan 2004 11:49:16 +1100 (EST) (envelope-from peter) Date: Wed, 7 Jan 2004 11:49:16 +1100 From: Peter Jeremy To: Alexander Leidinger Message-ID: <20040107004916.GB25474@server.vk2pj.dyndns.org> References: <200401061536.i06FadY90540@alogis.com> <20040106171740.201f6581@Magellan.Leidinger.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040106171740.201f6581@Magellan.Leidinger.net> User-Agent: Mutt/1.4.1i cc: stable@freebsd.org cc: current@freebsd.org Subject: Re: perl malloc slow? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jan 2004 00:51:19 -0000 On Tue, Jan 06, 2004 at 05:17:40PM +0100, Alexander Leidinger wrote: >On Tue, 06 Jan 2004 15:36:34 +0000 >Holger Kipp wrote: > >> Kris Kennaway wrote: "For any algorithm one can come up with a workload that >> makes it perform badly. The trick is making it perform well for >> common workloads, which FreeBSD's malloc does." >> (http://lists.freebsd.org/pipermail/freebsd-hackers/2003-September/003059.html) >> >> Even so, if Perl malloc and Linux malloc are O(n) with a small constant and >> FreeBSD malloc behaves like O(n*n) or worse with a large constant in this >> easy example (of a real-world applikation), this behaviour should imho be >> investigated.... > >You need to make a context switch for every malloc call. This isn't true. There are no circumstances under which phkmalloc requires a context switch. Since Unix uses a pre-emptive scheduler, a context switch may occur at any time, though it is preferentially performed during system calls. If the free memory pool managed by phkmalloc has insufficient space to fulfil the request, or is excessively large following a free() then it will use brk(2) to allocate/return additional memory. The kernel may choose to schedule an alternative process during the brk() call. > If the Zlib module allocates alot of small memory >regions with the same size one after another and frees alot of them >after a short period of time, this results in a huge amount of context >switches in the non-perl-malloc case and in nearly no context switch in >the with-perl-malloc case. Phkmalloc makes it trivial to trace malloc() family calls. Actually tracing calls to malloc et al whilst running Compress::Zlib::memGunzip on 4.9-STABLE shows that there are relatively few calls - about 500 calls whilst uncompressing 284K to 1484K in my test. The reason for the poor performance is that most (~72%) of the calls are of the form "realloc(ptr, size+=4096)", where size starts at 4097. This probably triggers the worst-case performance for any general purpose malloc - O(n^2). This is due to the requirement to continually copy the buffer contents to a new buffer. Similar behaviour is demonstrated by perl -e '$x=350; $y = ""; print ".\n"; while ($x-- > 0) { $y .= "." x 4096;} print length($y), "\n";' It's not clear why the builtin perl malloc is so much faster in this case. A quick check of the perl malloc code suggests that it uses a geometric-progression bucket arrangement (whereas phkmalloc appears to use page-sized buckets for large allocations) - this would significantly reduce the number of realloc() copies. >The right thing to do in such a case is to optimize the application to >use e.g. a ring buffer. A static number of malloc() calls at startup, >use them for a long time, free() them. Or to manage a malloc resource >pool on it's own. This is what perl does in the with-perl-malloc case. In this particular case, the right thing to do is to use a larger- than-default buffer size in Compress::Zlib::memGunzip. Patching the code to use a buffer size matching the input string size resulted in an order of magnitude speedup in my test case (13.9 seconds to 1.16 seconds). I similar problem presumably exists with Compress::Zlib::memGzip, though I haven't checked this. I have sent a suggested patch to the Compress::Zlib author. Peter From owner-freebsd-stable@FreeBSD.ORG Tue Jan 6 17:01:33 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B453516A4CE for ; Tue, 6 Jan 2004 17:01:33 -0800 (PST) Received: from gatekeeper.oremut02.us.wh.verio.net (gatekeeper.oremut02.us.wh.verio.net [198.65.168.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id AC8FC43D49 for ; Tue, 6 Jan 2004 17:01:28 -0800 (PST) (envelope-from aaronm@orem.verio.net) Received: from mx.dmz.orem.verio.net (mx.dmz.orem.verio.net [172.16.146.6]) 821A41E7A00 for ; Tue, 6 Jan 2004 18:01:28 -0700 (MST) Received: from mx.dmz.orem.verio.net (localhost [127.0.0.1]) i0711N1d057936; Tue, 6 Jan 2004 18:01:23 -0700 (MST) (envelope-from aaronm@mx.dmz.orem.verio.net) Received: from localhost (aaronm@localhost)i0711MUn057933; Tue, 6 Jan 2004 18:01:23 -0700 (MST) Date: Tue, 6 Jan 2004 18:01:22 -0700 (MST) From: Aaron Mildenstein To: euroSur In-Reply-To: <008701c3d49d$3b41ae20$9600000a@RODRIGO> Message-ID: <20040106175822.A99036@mx.dmz.orem.verio.net> References: <008701c3d49d$3b41ae20$9600000a@RODRIGO> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-stable@freebsd.org Subject: Re: NEC 1300A DVD-R writing X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jan 2004 01:01:33 -0000 What you are experiencing can be cleared up with a firmware update. What you may not like is the need to be in a (gasp!) windows environment to do so. I had to do this for my own NEC 1300A to be able to burn the newer 4x DVD-Rs I sent out for Christmas. Everything worked flawlessly after that. The file I found on the internet was 1198_Firmware_ND-1300A_WIN108.zip If you can't find it out there, drop me an email and I'll send it to you via email (it's all of 522K). Aaron Mildenstein Senior UNIX Systems Administrator SME Hosting, NTT/Verio __ "Do not meddle in the affairs of Dragons, for you are crunchy and taste good with ketchup." On Tue, 6 Jan 2004, euroSur wrote: > > Melvyn, > > I'm currently having similars problems like the one you had in your message in list.freebsd.org on the 5th Jul 2003. > > I'm having kind of similar problems as described above. I bought a NEC DVD_RW ND-1300A with some DVD+R RW a box of 50 Nashua DVD-R 4.7GB > > Burning DVD+R RW I did not encounter any problem. > > When I tried to burn a Nashua DVD-R with several software like Nero, DVD Decrypter I have the following error: > > Cannot write medium - incompatible format > > When Cancel I got: > > Failed to reserve track > > Do you have any idea why is this occurring? > > I thought DVD_RW ND-1300A was compatible for both DVD+R and -R > > Thanks in advance > > Regards, > > Rodrigo > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > From owner-freebsd-stable@FreeBSD.ORG Tue Jan 6 18:54:12 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 06FC116A4CE for ; Tue, 6 Jan 2004 18:54:12 -0800 (PST) Received: from flora.securenet.com.au (ns1.securenet.com.au [202.125.0.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id ADAF843D5A for ; Tue, 6 Jan 2004 18:53:51 -0800 (PST) (envelope-from anwsmh@IPAustralia.Gov.AU) Received: from leal.securenet.com.au (leal.isecure.com.au [202.125.0.94] (may be forged))i072roCr012100 for ; Wed, 7 Jan 2004 13:53:50 +1100 Received: (from root@localhost) by leal.securenet.com.au (8.12.6/8.12.6) id i072robF012984 for ; Wed, 7 Jan 2004 13:53:50 +1100 (EST) Received: from nodnsquery(10.11.3.10) by leal.securenet.com.au via csmap (V6.0) id srcAAAIza4wz; Wed, 7 Jan 04 13:53:50 +1100 Received: from vmail.aipo.gov.au (localhost [127.0.0.1]) id i072rnIf022046 for ; Wed, 7 Jan 2004 13:53:49 +1100 Received: from pc09011.aipo.gov.au (PC09011.aipo.gov.au [10.0.3.110]) by vmail.aipo.gov.au (8.12.6/8.12.6) with ESMTP id i072rnZM057725 for ; Wed, 7 Jan 2004 13:53:49 +1100 (EST) (envelope-from anwsmh@IPAustralia.Gov.AU) Received: from pc09011.aipo.gov.au (localhost [127.0.0.1]) by pc09011.aipo.gov.au (8.12.9p2/8.12.3) with ESMTP id i072rn9r047183 for ; Wed, 7 Jan 2004 13:53:49 +1100 (EST) (envelope-from anwsmh@pc09011.aipo.gov.au) Received: (from anwsmh@localhost) by pc09011.aipo.gov.au (8.12.9p2/8.12.3/Submit) id i072rnCo047182 for FreeBSD-stable@FreeBSD.ORG; Wed, 7 Jan 2004 13:53:49 +1100 (EST) Date: Wed, 7 Jan 2004 13:53:49 +1100 From: Stanley Hopcroft To: FreeBSD-stable@FreeBSD.ORG Message-ID: <20040107135347.B46756@IPAustralia.Gov.AU> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i Subject: Sio problems with 4.9-RELEASE-p1 ? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jan 2004 02:54:12 -0000 Dear Ladies and Gentlemen, Since upgrading to 4.9-RELEASE-p1 (or thereabouts) on 6 i386 low end (P5/PII class) platforms, I find I can no longer dial-in (async access _not_ PPP). The upgrade procedure is - excepting the boot to single-user mode - that documented in /usr/src/UPDATING from a local copy of the CVS repo. Mergemaster has been applied and the specific items for /etc/ttys merged. Likewise /dev/MAKEDEV has been run to remake any non-standard devices. The problem machines share this serial hardware . Modem (serial modem, not USB) . Multi-port serial card (AST clone, 4 port) Some of the other problem characteristics are . Modem can be accessed with tip. . Getty process state does not change from siocdcd, . Modem answers but does not leave command mode (evidently). . There have been no kernel configuration changes or platform hardware changes (the kernel configuration hasn't been changed since 2002). > ll /usr/src/sys/i386/conf/ total 133 drwxr-xr-x 2 root wheel 512 Apr 20 2002 CVS -rw-r--r-- 1 root wheel 9763 Apr 28 2003 GENERIC -rw-r--r-- 1 root wheel 104976 Oct 23 05:04 LINT -rw-r--r-- 1 root wheel 9692 Apr 20 2002 MY_BF_TERMSERVER > . There have been no cabling changes, and as noted the modem has worked on the same hardware/cable/serial port thruought all 4.x-RELEASES. I don't know when I lost dialin access since the modem is rarely used, but I think it would have been unlikely before 4.8-RELEASE. There have been changes in sio.c but rebuilding the kernel with sio.c and sioreg.h does not help. Replacing Getty with MGetty also fails to help. Any comments will be warmly welcomed. Yours sincerely. -- ------------------------------------------------------------------------ Stanley Hopcroft ------------------------------------------------------------------------ '...No man is an island, entire of itself; every man is a piece of the continent, a part of the main. If a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friend's or of thine own were. Any man's death diminishes me, because I am involved in mankind; and therefore never send to know for whom the bell tolls; it tolls for thee...' from Meditation 17, J Donne. From owner-freebsd-stable@FreeBSD.ORG Wed Jan 7 02:45:23 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9B52416A4CE for ; Wed, 7 Jan 2004 02:45:23 -0800 (PST) Received: from izb.knu.ac.kr (izb.knu.ac.kr [155.230.157.93]) by mx1.FreeBSD.org (Postfix) with SMTP id 9FB8C43D55 for ; Wed, 7 Jan 2004 02:45:22 -0800 (PST) (envelope-from bh@izb.knu.ac.kr) Received: (qmail 42864 invoked by uid 10001); 7 Jan 2004 19:45:15 +0900 Date: Wed, 7 Jan 2004 19:45:15 +0900 From: "Byung-hee H." To: freebsd-stable@FreeBSD.org Message-ID: <20040107104515.GA42786@izb.knu.ac.kr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD/i386 X-Originating-IP: [155.230.157.93] Subject: 4.x -> 5.x X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jan 2004 10:45:23 -0000 i want upgrade from 4.x to 5.x Can you tell me a way? From owner-freebsd-stable@FreeBSD.ORG Wed Jan 7 04:21:56 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9929716A4CE for ; Wed, 7 Jan 2004 04:21:56 -0800 (PST) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8CED843D1F for ; Wed, 7 Jan 2004 04:21:54 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [127.0.0.1]) i07CFpLc087610 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 7 Jan 2004 12:15:51 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i07CFnMY087605; Wed, 7 Jan 2004 12:15:49 GMT (envelope-from matthew) Date: Wed, 7 Jan 2004 12:15:49 +0000 From: Matthew Seaman To: "Byung-hee H." Message-ID: <20040107121549.GC86459@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: "Byung-hee H." , freebsd-stable@freebsd.org References: <20040107104515.GA42786@izb.knu.ac.kr> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="p2kqVDKq5asng8Dg" Content-Disposition: inline In-Reply-To: <20040107104515.GA42786@izb.knu.ac.kr> User-Agent: Mutt/1.5.5.1i X-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.61 X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on happy-idiot-talk.infracaninophile.co.uk cc: freebsd-stable@freebsd.org Subject: Re: 4.x -> 5.x X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jan 2004 12:21:56 -0000 --p2kqVDKq5asng8Dg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jan 07, 2004 at 07:45:15PM +0900, Byung-hee H. wrote: > i want upgrade from 4.x to 5.x > Can you tell me a way? The easiest way is to back up all your important files from your 4.x system and wipe your disk and do a clean install of 5.x on it. Then recover your stuff from the backup. This has a number of advantages: you can resize your partitions -- something that often needs to be done with a major bump in version numbers -- and you can create UFS2 filesystems. It is possible to upgrade from 4.x to 5.x by downloading the sources and compiling and installing. However, the procedure is fairly complex with all sorts of trickly 'gotchas' that have to be worked around. Not suitable for inexperienced users. See http://www.freebsd.org/cgi/cvsweb.cgi/src/UPDATING?rev=3D1.282.2.3&content-= type=3Dtext/x-cvsweb-markup for all of the gory details. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --p2kqVDKq5asng8Dg Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQE/+/h1dtESqEQa7a0RAnPHAJ9iaWhmoroFRnRk2VU5cmjx2WO2+wCgiREs RV+iiEpHh1frT3UaNT97H6k= =578U -----END PGP SIGNATURE----- --p2kqVDKq5asng8Dg-- From owner-freebsd-stable@FreeBSD.ORG Wed Jan 7 04:40:44 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BD61F16A4CE for ; Wed, 7 Jan 2004 04:40:44 -0800 (PST) Received: from sbtm.yonsei.net (sbtm.yonsei.net [61.100.191.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id C554443D31 for ; Wed, 7 Jan 2004 04:40:39 -0800 (PST) (envelope-from perky@sbtm.yonsei.net) Received: by sbtm.yonsei.net (Postfix, from userid 1001) id 67CDB28440; Wed, 7 Jan 2004 21:40:38 +0900 (KST) Date: Wed, 7 Jan 2004 21:40:38 +0900 From: Hye-Shik Chang To: "Byung-hee H." Message-ID: <20040107124038.GA37600@i18n.org> References: <20040107104515.GA42786@izb.knu.ac.kr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040107104515.GA42786@izb.knu.ac.kr> X-Accept-Language: ko, en User-Agent: Mutt/1.5.5.1i cc: freebsd-stable@freebsd.org Subject: Re: 4.x -> 5.x X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jan 2004 12:40:44 -0000 On Tue, Jan 06, 2004 at 05:45:23PM +0000, Byung-hee H. wrote: > i want upgrade from 4.x to 5.x > Can you tell me a way? For remote upgrade: 1) update your source tree to 5.x 2) mergemaster -p 3) cd /usr/src && make buildworld buildkernel 4) mergemaster 5) make installkernel 5) mkdir /usr/tmpfs && make installworld DESTDIR=/usr/tmpfs 6) chflags noschg /bin/* /sbin/* /usr/bin/* /usr/sbin/* /usr/lib/* \ /usr/libexec/* 7) tar -C /usr/tmpfs -cpf . | tar -C / -xpvf - 8) reboot Regards, Hye-Shik From owner-freebsd-stable@FreeBSD.ORG Wed Jan 7 04:43:10 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 340DF16A4CE; Wed, 7 Jan 2004 04:43:10 -0800 (PST) Received: from mailout09.sul.t-online.com (mailout09.sul.t-online.com [194.25.134.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3EC5643D31; Wed, 7 Jan 2004 04:43:08 -0800 (PST) (envelope-from Alexander@Leidinger.net) Received: from fwd02.aul.t-online.de by mailout09.sul.t-online.com with smtp id 1AeCz6-0006dM-00; Wed, 07 Jan 2004 13:40:28 +0100 Received: from Andro-Beta.Leidinger.net (Z4a6P8ZUQeIYwlZYFOWpM-SmPAJA653IdEJSy6EcpRjiUBvNAe5jr-@[217.229.210.170]) by fmrl02.sul.t-online.com with esmtp id 1AeCyE-25XPRA0; Wed, 7 Jan 2004 13:39:34 +0100 Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) i07CdKJb021840; Wed, 7 Jan 2004 13:39:21 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from Magellan.Leidinger.net (netchild@localhost [127.0.0.1]) i07CdU9g017349; Wed, 7 Jan 2004 13:39:30 +0100 (CET) (envelope-from Alexander@Leidinger.net) Date: Wed, 7 Jan 2004 13:39:30 +0100 From: Alexander Leidinger To: Peter Jeremy Message-Id: <20040107133930.47eb851b@Magellan.Leidinger.net> In-Reply-To: <20040107004916.GB25474@server.vk2pj.dyndns.org> References: <200401061536.i06FadY90540@alogis.com> <20040106171740.201f6581@Magellan.Leidinger.net> <20040107004916.GB25474@server.vk2pj.dyndns.org> X-Mailer: Sylpheed version 0.9.8claws (GTK+ 1.2.10; i386-portbld-freebsd5.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Seen: false X-ID: Z4a6P8ZUQeIYwlZYFOWpM-SmPAJA653IdEJSy6EcpRjiUBvNAe5jr-@t-dialin.net cc: stable@freebsd.org cc: current@freebsd.org Subject: Re: perl malloc slow? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jan 2004 12:43:10 -0000 On Wed, 7 Jan 2004 11:49:16 +1100 Peter Jeremy wrote: > >You need to make a context switch for every malloc call. > > This isn't true. There are no circumstances under which phkmalloc > requires a context switch. Since Unix uses a pre-emptive scheduler, > a context switch may occur at any time, though it is preferentially > performed during system calls. Yes, wrong wording by me. I was trying to say it has to enter the kernel via a syscall. In the worst case for every malloc()/free(). And entering the kernel is expensive, compared to not entering the kernel and doing stuff in userland. > If the free memory pool managed by phkmalloc has insufficient space to > fulfil the request, or is excessively large following a free() then it > will use brk(2) to allocate/return additional memory. The kernel may > choose to schedule an alternative process during the brk() call. With a sufficiently large amount of syscalls the wall clock time will increase. And that's what Holger reported (further reading your mail: not because of this fact, but I hadn't digged into the perl module). [reason why the perl module behaves poorly] > It's not clear why the builtin perl malloc is so much faster in this > case. A quick check of the perl malloc code suggests that it uses a > geometric-progression bucket arrangement (whereas phkmalloc appears to > use page-sized buckets for large allocations) - this would > significantly reduce the number of realloc() copies. This is IMHO the right allocation algorithm for such programs (at least I don't know of a better one and I've seen it in several places where you can't guess the amount of memory you need). I'm sure the perl developers tuned the perl_malloc() with real world perl programs. Maybe this kind of behavior is typical for a lot of perl programs. Bye, Alexander. -- I will be available to get hired in April 2004. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7 From owner-freebsd-stable@FreeBSD.ORG Wed Jan 7 05:11:31 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4A99916A4CE; Wed, 7 Jan 2004 05:11:31 -0800 (PST) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id E097943D53; Wed, 7 Jan 2004 05:11:27 -0800 (PST) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.10/8.12.10) with ESMTP id i07DB9D7031179; Wed, 7 Jan 2004 14:11:25 +0100 (CET) (envelope-from phk@phk.freebsd.dk) To: Alexander Leidinger From: "Poul-Henning Kamp" In-Reply-To: Your message of "Wed, 07 Jan 2004 13:39:30 +0100." <20040107133930.47eb851b@Magellan.Leidinger.net> Date: Wed, 07 Jan 2004 14:11:09 +0100 Message-ID: <31178.1073481069@critter.freebsd.dk> cc: Peter Jeremy cc: stable@freebsd.org cc: current@freebsd.org Subject: Re: perl malloc slow? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jan 2004 13:11:31 -0000 In message <20040107133930.47eb851b@Magellan.Leidinger.net>, Alexander Leidinge r writes: >> It's not clear why the builtin perl malloc is so much faster in this >> case. A quick check of the perl malloc code suggests that it uses a >> geometric-progression bucket arrangement (whereas phkmalloc appears to >> use page-sized buckets for large allocations) - this would >> significantly reduce the number of realloc() copies. > >This is IMHO the right allocation algorithm for such programs (at least >I don't know of a better one and I've seen it in several places where >you can't guess the amount of memory you need). I'm sure the perl >developers tuned the perl_malloc() with real world perl programs. Maybe >this kind of behavior is typical for a lot of perl programs. One of the assumptions I made ten years ago, was that we would expose more of the possible VM gymnastics to userland and in particular it was my expectation that it would be cheap for a process to do some sort of page-flipping or page-exchange. This has not materialized in the meantime, and VMwizards have generally been a lot less than enthusiastic about it when I have tried to coax them into providing this sort of thing. The result is that applications which use realloc() a lot suffer. The interesting catch22 is that the reason why they use realloc() a lot is no longer valid, and hasn't been since virtual memory came into use 15-20 years ago: If I need to read a string in, and I don't know how long it is, I can do it two ways: l = 80; /* User is probably using punched cards */ p = malloc(l); for (;;) { [...] /* Damn, add another card */ l += 80; p = realloc(p, l); [...] } This kind of code is based on the assumption that the amount of address-space in my process is important for performance. This was true before VM systems because the entire address-space of the process got swapped in and out. VM systems on the other hand, operates on a page level, and modern code would be much better off like this: l = PAGE_SIZE; p = malloc(l); for (;;) { [...] /* Damn */ l *= 16; p = realloc(p, l); [...] } /* Now trim */ p = realloc(p, strlen(p)); (For some value of 16.) The important thing to be aware of, is that under VM systems, having a page allocated but unused is very cheap. If the system comes under memory pressure, those pages will get paged out (if they have been written into) and never be paged in again. This btw, might be FAQ fodder. Poul-Henning -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. From owner-freebsd-stable@FreeBSD.ORG Wed Jan 7 10:34:30 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1544616A4CE for ; Wed, 7 Jan 2004 10:34:30 -0800 (PST) Received: from rsmba.biz (evrtwa1-ar19-4-41-158-208.evrtwa1.dsl-verizon.net [4.41.158.208]) by mx1.FreeBSD.org (Postfix) with SMTP id CCEED43D66 for ; Wed, 7 Jan 2004 10:34:27 -0800 (PST) (envelope-from rschi@rsmba.biz) Received: (qmail 502 invoked from network); 7 Jan 2004 18:33:54 -0000 Received: from localhost (HELO foghorn.rsmba.biz) (127.0.0.1) by localhost with SMTP; 7 Jan 2004 18:33:54 -0000 Date: Wed, 7 Jan 2004 10:33:53 -0800 From: Richard Schilling To: freebsd-stable@freebsd.org Message-ID: <20040107183353.GA422@foghorn.rsmba.biz> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Mailer: Balsa 1.4.4 Lines: 9 Subject: rebuilding top seems to take forever. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jan 2004 18:34:30 -0000 I'm rebuilding top. What command do you use to build top? Judging on the contents of /usr/src/contrib/top, the BSD build of top may be slightly different that what's described in the INSTALL and README files. When I run the ./Configure command it seems to take forever and doesn't complete. the machine subdirectory is missing. Or, is there another way I should build top? uname -a output: FreeBSD hostname.not.included 4.9-STABLE FreeBSD 4.9-STABLE #3: Sun Nov 16 08:32:18 GMT 2003 root@hostname.not.included:/usr/obj/usr/src/sys/DEVELOPMENT i386 From owner-freebsd-stable@FreeBSD.ORG Wed Jan 7 10:41:29 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3813A16A4CE for ; Wed, 7 Jan 2004 10:41:29 -0800 (PST) Received: from rwcrmhc11.comcast.net (rwcrmhc11.comcast.net [204.127.198.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5F53D43D48 for ; Wed, 7 Jan 2004 10:41:25 -0800 (PST) (envelope-from freebsd-stable-local@be-well.ilk.org) Received: from be-well.no-ip.com ([66.30.200.37]) by comcast.net (rwcrmhc11) with ESMTP id <20040107184124013005fgege>; Wed, 7 Jan 2004 18:41:24 +0000 Received: by be-well.no-ip.com (Postfix, from userid 1147) id 722443A; Wed, 7 Jan 2004 13:41:24 -0500 (EST) Sender: lowell@be-well.ilk.org To: Richard Schilling References: <20040107183353.GA422@foghorn.rsmba.biz> From: Lowell Gilbert Date: 07 Jan 2004 13:41:24 -0500 In-Reply-To: <20040107183353.GA422@foghorn.rsmba.biz> Message-ID: <44n08z1u0b.fsf@be-well.ilk.org> Lines: 13 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: freebsd-stable@freebsd.org Subject: Re: rebuilding top seems to take forever. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jan 2004 18:41:29 -0000 Richard Schilling writes: > I'm rebuilding top. What command do you use to build top? Judging on the contents of /usr/src/contrib/top, the BSD build of top may be slightly different that what's described in the INSTALL and README files. > > When I run the ./Configure command it seems to take forever and doesn't complete. the machine subdirectory is missing. > > Or, is there another way I should build top? cd /usr/src/usr.bin/top && make > uname -a output: > > FreeBSD hostname.not.included 4.9-STABLE FreeBSD 4.9-STABLE #3: Sun Nov 16 08:32:18 GMT 2003 root@hostname.not.included:/usr/obj/usr/src/sys/DEVELOPMENT i386 From owner-freebsd-stable@FreeBSD.ORG Wed Jan 7 12:46:37 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 66F5116A4CE for ; Wed, 7 Jan 2004 12:46:37 -0800 (PST) Received: from deepblack.lolitacoders.org (deepblack.lolitacoders.org [213.221.113.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id DCBA543D48 for ; Wed, 7 Jan 2004 12:46:31 -0800 (PST) (envelope-from chris@schwer.bewaff.net) Received: from schwer.bewaff.net (ip129.76.1311A-CUD12K-01.ish.de [62.143.76.129]) (using TLSv1 with cipher DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by deepblack.lolitacoders.org (Postfix) with ESMTP id 5EA528842 for ; Wed, 7 Jan 2004 21:46:30 +0100 (CET) Date: Wed, 7 Jan 2004 21:46:28 +0100 Mime-Version: 1.0 (Apple Message framework v553) Content-Type: text/plain; charset=US-ASCII; format=flowed From: Christian Klein To: freebsd-stable@freebsd.org Content-Transfer-Encoding: 7bit Message-Id: <91136089-4152-11D8-942B-000393076EEC@schwer.bewaff.net> X-Mailer: Apple Mail (2.553) Subject: getsockname() X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jan 2004 20:46:37 -0000 Hi, I have a problem that is similar to the problem described in http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/22868 My program, that opens a tcp socket and binds to INADDR_ANY:0, getsockname() returns either the correct answer or, for some time, a wrong answer, see below (this is of course not my program, just some code that does the same) --- snipp --- #include #include #include #include #include #include #include int main() { int sock, len; struct sockaddr_in addr, foo; if((sock=socket(AF_INET, SOCK_STREAM, 0))<0) { exit(0); } memset(&addr, 0, sizeof(struct sockaddr_in)); addr.sin_family = AF_INET; addr.sin_addr.s_addr = INADDR_ANY; addr.sin_port = htons(0); if(bind(sock, (struct sockaddr *) &addr, sizeof(struct sockaddr_in))<0) { perror("bind"); exit(0); } if(listen(sock, 5)<0) { perror("listen"); exit(0); } getsockname(sock, (struct sockaddr *) &foo, &len); fprintf(stderr, "listening on %s:%d\n", inet_ntoa(foo.sin_addr), ntohs(foo.sin_port)); return 0; } --- snap --- $ ./a.out listening on 86.186.4.40:49087 $ ./a.out listening on 0.0.0.0:3810 regards, Chris PS: It is even stranger than I thought, I compiled this program: gcc -o freebsd freebsd.c and ran it serveral times: $ ./freebsd listening on 86.186.4.40:49087 $ mv freebsd a.out $ ./a.out listening on 0.0.0.0:4364 $ mv a.out freebsd $ ./freebsd listening on 86.186.4.40:49087 $ mv freebsd a.out $ ./a.out listening on 0.0.0.0:4604 From owner-freebsd-stable@FreeBSD.ORG Wed Jan 7 13:41:03 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9487616A4CE for ; Wed, 7 Jan 2004 13:41:03 -0800 (PST) Received: from shell.webmaster.com (mail.webmaster.com [216.152.64.131]) by mx1.FreeBSD.org (Postfix) with ESMTP id 858D243D1F for ; Wed, 7 Jan 2004 13:41:00 -0800 (PST) (envelope-from davids@webmaster.com) Received: from however ([206.171.168.138]) by shell.webmaster.com (Post.Office MTA v3.5.3 release 223 ID# 0-12345L500S10000V35) with SMTP id com; Wed, 7 Jan 2004 13:40:57 -0800 From: "David Schwartz" To: "Christian Klein" , Date: Wed, 7 Jan 2004 13:40:54 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: <91136089-4152-11D8-942B-000393076EEC@schwer.bewaff.net> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2055 Importance: Normal Subject: RE: getsockname() X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jan 2004 21:41:03 -0000 > (this is of course not my program, just some code that does the same) > > --- snipp --- > #include > #include > #include > #include > #include > #include > #include > > int main() > { > int sock, len; Okay, you haven't set the value of 'len'. > struct sockaddr_in addr, foo; > > if((sock=socket(AF_INET, SOCK_STREAM, 0))<0) > { > exit(0); > } > > memset(&addr, 0, sizeof(struct sockaddr_in)); > addr.sin_family = AF_INET; > addr.sin_addr.s_addr = INADDR_ANY; > addr.sin_port = htons(0); > > if(bind(sock, (struct sockaddr *) &addr, sizeof(struct > sockaddr_in))<0) > { > perror("bind"); > exit(0); > } > > if(listen(sock, 5)<0) > { > perror("listen"); > exit(0); > } > > getsockname(sock, (struct sockaddr *) &foo, &len); Hmm, you still haven't set the value of 'len'. And you ignore the return value of 'getsockname'. > fprintf(stderr, "listening on %s:%d\n", inet_ntoa(foo.sin_addr), > ntohs(foo.sin_port)); > > return 0; > } > $ ./a.out > listening on 86.186.4.40:49087 > $ ./a.out > listening on 0.0.0.0:3810 Fix those two bugs and see if you still have a problem. DS From owner-freebsd-stable@FreeBSD.ORG Wed Jan 7 13:52:36 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A7A8C16A4CE for ; Wed, 7 Jan 2004 13:52:36 -0800 (PST) Received: from deepblack.lolitacoders.org (deepblack.lolitacoders.org [213.221.113.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D68B43D31 for ; Wed, 7 Jan 2004 13:52:35 -0800 (PST) (envelope-from chris@schwer.bewaff.net) Received: from schwer.bewaff.net (ip129.76.1311A-CUD12K-01.ish.de [62.143.76.129]) (using TLSv1 with cipher DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by deepblack.lolitacoders.org (Postfix) with ESMTP id 3504381E7 for ; Wed, 7 Jan 2004 22:52:34 +0100 (CET) Date: Wed, 7 Jan 2004 22:52:32 +0100 Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v553) From: Christian Klein To: freebsd-stable@freebsd.org Content-Transfer-Encoding: 7bit In-Reply-To: Message-Id: X-Mailer: Apple Mail (2.553) Subject: Re: getsockname() X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jan 2004 21:52:36 -0000 Am Mittwoch, 07.01.04, um 22:40 Uhr (Europe/Berlin) schrieb David Schwartz: > > Fix those two bugs and see if you still have a problem. > > DS Ok, here's the diff of the changes: $ diff public_html/haunted.c haunted.c 11c11 < int sock, len; --- > int sock, len=0; 36,37c36,40 < getsockname(sock, (struct sockaddr *) &foo, &len); < fprintf(stderr, "listening on %s:%d\n", inet_ntoa(foo.sin_addr), ntohs(foo.sin_port)); --- > if(getsockname(sock, (struct sockaddr *) &foo, &len)<0) > { > perror("getsockname"); > } else > fprintf(stderr, "listening on %s:%d\n", inet_ntoa(foo.sin_addr), ntohs(foo.sin_port)); But still the same :-( (BTW, the problem does not occur on my FreeBSD-current machine) Chris From owner-freebsd-stable@FreeBSD.ORG Wed Jan 7 14:01:55 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8C6C816A4CE for ; Wed, 7 Jan 2004 14:01:55 -0800 (PST) Received: from smtp.netli.com (ip2-pal-focal.netli.com [66.243.52.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id D8FCE43D48 for ; Wed, 7 Jan 2004 14:01:53 -0800 (PST) (envelope-from vlm@netli.com) Received: (qmail 26315 invoked by uid 84); 7 Jan 2004 22:01:51 -0000 Received: from vlm@netli.com by l3-1 with qmail-scanner-0.96 (uvscan: v4.1.40/v4121. . Clean. Processed in 0.160029 secs); 07 Jan 2004 22:01:51 -0000 Received: from unknown (HELO netli.com) (172.17.1.12) by mx01-pal-lan.netli.lan with SMTP; 7 Jan 2004 22:01:51 -0000 Message-ID: <3FFC81F5.8090807@netli.com> Date: Wed, 07 Jan 2004 14:02:29 -0800 From: Lev Walkin Organization: Netli, Inc. User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20031019 X-Accept-Language: ru, en-us, en MIME-Version: 1.0 To: Christian Klein References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-stable@freebsd.org Subject: Re: getsockname() X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jan 2004 22:01:55 -0000 Christian Klein wrote: > > Am Mittwoch, 07.01.04, um 22:40 Uhr (Europe/Berlin) schrieb David Schwartz: > >> >> Fix those two bugs and see if you still have a problem. >> >> DS > > > Ok, here's the diff of the changes: > > $ diff public_html/haunted.c haunted.c > 11c11 > < int sock, len; > --- > > int sock, len=0; > 36,37c36,40 > < getsockname(sock, (struct sockaddr *) &foo, &len); > < fprintf(stderr, "listening on %s:%d\n", inet_ntoa(foo.sin_addr), > ntohs(foo.sin_port)); > --- len = sizeof(*foo); > > if(getsockname(sock, (struct sockaddr *) &foo, &len)<0) > > { > > perror("getsockname"); > > } else > > fprintf(stderr, "listening on %s:%d\n", > inet_ntoa(foo.sin_addr), ntohs(foo.sin_port)); > > But still the same :-( > > (BTW, the problem does not occur on my FreeBSD-current machine) > > Chris > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" -- Lev Walkin vlm@netli.com From owner-freebsd-stable@FreeBSD.ORG Wed Jan 7 14:07:13 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 21C6E16A4CE for ; Wed, 7 Jan 2004 14:07:13 -0800 (PST) Received: from deepblack.lolitacoders.org (deepblack.lolitacoders.org [213.221.113.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 930E043D5E for ; Wed, 7 Jan 2004 14:07:11 -0800 (PST) (envelope-from chris@schwer.bewaff.net) Received: from schwer.bewaff.net (ip129.76.1311A-CUD12K-01.ish.de [62.143.76.129]) (using TLSv1 with cipher DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by deepblack.lolitacoders.org (Postfix) with ESMTP id C61D781ED for ; Wed, 7 Jan 2004 23:07:09 +0100 (CET) Date: Wed, 7 Jan 2004 23:07:07 +0100 Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v553) From: Christian Klein To: freebsd-stable@freebsd.org Content-Transfer-Encoding: 7bit In-Reply-To: <3FFC81F5.8090807@netli.com> Message-Id: X-Mailer: Apple Mail (2.553) Subject: Re: getsockname() X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jan 2004 22:07:13 -0000 Am Mittwoch, 07.01.04, um 23:02 Uhr (Europe/Berlin) schrieb Lev Walkin: > len = sizeof(*foo); Oh, thanks a lot! I should have read the manual more careful! I thought then len parameter would be filled by getsockname(). Thank you! From owner-freebsd-stable@FreeBSD.ORG Wed Jan 7 14:11:03 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5B27116A4CE for ; Wed, 7 Jan 2004 14:11:03 -0800 (PST) Received: from smtp.netli.com (ip2-pal-focal.netli.com [66.243.52.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2BF7143D45 for ; Wed, 7 Jan 2004 14:11:01 -0800 (PST) (envelope-from vlm@netli.com) Received: (qmail 27290 invoked by uid 84); 7 Jan 2004 22:10:59 -0000 Received: from vlm@netli.com by l3-1 with qmail-scanner-0.96 (uvscan: v4.1.40/v4121. . Clean. Processed in 0.148742 secs); 07 Jan 2004 22:10:59 -0000 Received: from unknown (HELO netli.com) (172.17.1.12) by mx01-pal-lan.netli.lan with SMTP; 7 Jan 2004 22:10:58 -0000 Message-ID: <3FFC8418.8010201@netli.com> Date: Wed, 07 Jan 2004 14:11:36 -0800 From: Lev Walkin Organization: Netli, Inc. User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20031019 X-Accept-Language: ru, en-us, en MIME-Version: 1.0 To: Christian Klein References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-stable@freebsd.org Subject: Re: getsockname() X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jan 2004 22:11:03 -0000 Christian Klein wrote: > > Am Mittwoch, 07.01.04, um 23:02 Uhr (Europe/Berlin) schrieb Lev Walkin: > >> len = sizeof(*foo); > > > Oh, thanks a lot! > I should have read the manual more careful! > I thought then len parameter would be filled by getsockname(). It is. But its original value is being used too. -- Lev Walkin vlm@netli.com From owner-freebsd-stable@FreeBSD.ORG Wed Jan 7 14:11:50 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3353316A4CE; Wed, 7 Jan 2004 14:11:50 -0800 (PST) Received: from kientzle.com (h-66-166-149-50.SNVACAID.covad.net [66.166.149.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8BF5D43D41; Wed, 7 Jan 2004 14:11:34 -0800 (PST) (envelope-from kientzle@acm.org) Received: from acm.org ([66.166.149.54]) by kientzle.com (8.12.9/8.12.9) with ESMTP id i07MBWkX045329; Wed, 7 Jan 2004 14:11:33 -0800 (PST) (envelope-from kientzle@acm.org) Message-ID: <3FFC8414.9040008@acm.org> Date: Wed, 07 Jan 2004 14:11:32 -0800 From: Tim Kientzle User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4) Gecko/20031006 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Poul-Henning Kamp References: <31178.1073481069@critter.freebsd.dk> In-Reply-To: <31178.1073481069@critter.freebsd.dk> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: Alexander Leidinger cc: stable@freebsd.org cc: current@freebsd.org cc: Peter Jeremy Subject: Re: perl malloc slow? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: kientzle@acm.org List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jan 2004 22:11:50 -0000 Poul-Henning Kamp compares two different ways of resizing a buffer (edited slightly): > for (;;) { if (buffer too small) > p = realloc(p, l += 80); > [...] > } versus > for (;;) { if (buffer too small) > p = realloc(p, l *= 16); > [...] > } > p = realloc(p, strlen(p) + 1); It's also worth pointing out that the second algorithm here is A LOT FASTER (for any value of 16; in practice, 16 is often equal to 2). This is something that a lot of people miss; bumping the size by a constant results in quadratic amortized allocation time (because of the copying), where the second algorithm gives linear amortized allocation time. If you don't know what that means, don't worry, just remember one thing: DO NOT use the first one. It's a bad idea, it doesn't scale, it should be fixed wherever you see it. Tim From owner-freebsd-stable@FreeBSD.ORG Wed Jan 7 20:28:19 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DE1FF16A4CE; Wed, 7 Jan 2004 20:28:19 -0800 (PST) Received: from VARK.homeunix.com (adsl-68-121-150-113.dsl.pltn13.pacbell.net [68.121.150.113]) by mx1.FreeBSD.org (Postfix) with ESMTP id 955BF43D2D; Wed, 7 Jan 2004 20:28:18 -0800 (PST) (envelope-from das@FreeBSD.ORG) Received: from VARK.homeunix.com (localhost [127.0.0.1]) by VARK.homeunix.com (8.12.10/8.12.10) with ESMTP id i084SHHh002037; Wed, 7 Jan 2004 20:28:17 -0800 (PST) (envelope-from das@FreeBSD.ORG) Received: (from das@localhost) by VARK.homeunix.com (8.12.10/8.12.10/Submit) id i084SGBD002036; Wed, 7 Jan 2004 20:28:16 -0800 (PST) (envelope-from das@FreeBSD.ORG) X-Authentication-Warning: VARK.homeunix.com: das set sender to das@FreeBSD.ORG using -f Date: Wed, 7 Jan 2004 20:28:16 -0800 From: David Schultz To: Poul-Henning Kamp Message-ID: <20040108042816.GA1813@VARK.homeunix.com> Mail-Followup-To: Poul-Henning Kamp , Alexander Leidinger , Peter Jeremy , stable@FreeBSD.ORG, current@FreeBSD.ORG References: <20040107133930.47eb851b@Magellan.Leidinger.net> <31178.1073481069@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <31178.1073481069@critter.freebsd.dk> cc: Alexander Leidinger cc: stable@FreeBSD.ORG cc: current@FreeBSD.ORG cc: Peter Jeremy Subject: Re: perl malloc slow? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jan 2004 04:28:20 -0000 On Wed, Jan 07, 2004, Poul-Henning Kamp wrote: > One of the assumptions I made ten years ago, was that we would expose > more of the possible VM gymnastics to userland and in particular it > was my expectation that it would be cheap for a process to do some > sort of page-flipping or page-exchange. > > This has not materialized in the meantime, and VMwizards have > generally been a lot less than enthusiastic about it when I have > tried to coax them into providing this sort of thing. > > The result is that applications which use realloc() a lot suffer. FWIW, you can do the required gymnastics with mmap() as long as the mapped region is backed by a file. There were some discussions about a year ago about how to extend that idea to swap-backed storage. As I recall, both dillon and wollman wanted it to happen but disagreed about the API, so one nasty bikeshed later, it all evaporated. From owner-freebsd-stable@FreeBSD.ORG Wed Jan 7 21:13:21 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 63E5C16A4CE for ; Wed, 7 Jan 2004 21:13:21 -0800 (PST) Received: from saturn.karelen.elektra.ru (mail.karelen.onego.ru [195.161.137.138]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6118843D1F for ; Wed, 7 Jan 2004 21:13:16 -0800 (PST) (envelope-from slapin@tec.karelen.elektra.ru) Received: from saturn.karelen.elektra.ru (root@localhost) i085D2Ng096165 for ; Thu, 8 Jan 2004 08:13:02 +0300 (MSK) Received: from tec-gw.tec.karelen.elektra.ru (tec-gw.tec.karelen.elektra.ru [192.168.68.1])i085D2O4096160 for ; Thu, 8 Jan 2004 08:13:02 +0300 (MSK) Received: from tec.karelen.elektra.ru (slapin.tec.karelen.elektra.ru [192.168.68.253])i085D1df050352 for ; Thu, 8 Jan 2004 08:13:01 +0300 (MSK) (envelope-from slapin@tec.karelen.elektra.ru) Message-ID: <3FFCE6DD.4000402@tec.karelen.elektra.ru> Date: Thu, 08 Jan 2004 08:13:01 +0300 From: Sergey Lapin User-Agent: Mozilla/5.0 (X11; U; Linux i686; ru-RU; rv:1.3) Gecko/20030312 X-Accept-Language: ru, en MIME-Version: 1.0 To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Two silly questions aboun netbooting X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jan 2004 05:13:21 -0000 Hi, all! I have two silly questions: 1. I have p1-75 with a small disk (40Mb), where I want to put kernel. And then want it to mount root from 192.168.1.1:/nfsroot, so diskless scripts located there took control and system should be running? The best could be if DHCP/BOOTP be avoided since there are such servers exist in our network and running on non-standard ports could become a nightmare... 2. I have old Compaq LTE Elite 486 notebook without hard drive (no disk cage, so no possibility to put hard drive inside), and 3c589 PCMCIA ethernet card - is it possible to make it netbooting? Floppy works, so is it possible to make X terminal from it, booting kernel from floppy and mounting NFS root? Server is DEC Ultrix system (DECstation 5000/200), if it is interesting. Thanks a lot beforehand!!! S. From owner-freebsd-stable@FreeBSD.ORG Wed Jan 7 23:24:20 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2D2BE16A4CE for ; Wed, 7 Jan 2004 23:24:20 -0800 (PST) Received: from obsecurity.dyndns.org (adsl-67-119-53-122.dsl.lsan03.pacbell.net [67.119.53.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id E6ACC43D39 for ; Wed, 7 Jan 2004 23:24:18 -0800 (PST) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 8EC6966E61; Wed, 7 Jan 2004 23:24:18 -0800 (PST) Date: Wed, 7 Jan 2004 23:24:18 -0800 From: Kris Kennaway To: Richard Schilling Message-ID: <20040108072418.GA53486@xor.obsecurity.org> References: <20040107183353.GA422@foghorn.rsmba.biz> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="x+6KMIRAuhnl3hBn" Content-Disposition: inline In-Reply-To: <20040107183353.GA422@foghorn.rsmba.biz> User-Agent: Mutt/1.4.1i cc: freebsd-stable@freebsd.org Subject: Re: rebuilding top seems to take forever. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jan 2004 07:24:20 -0000 --x+6KMIRAuhnl3hBn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jan 07, 2004 at 10:33:53AM -0800, Richard Schilling wrote: > I'm rebuilding top. What command do you use to build top? Judging on th= e contents of /usr/src/contrib/top, the BSD build of top may be slightly di= fferent that what's described in the INSTALL and README files. >=20 > When I run the ./Configure command it seems to take forever and doesn't c= omplete. the machine subdirectory is missing. >=20 > Or, is there another way I should build top? The recommended way is 'make buildworld', but you can probably get away with 'cd /usr/src/usr.bin/top; make all'. Building from contrib/ is always wrong. Kris --x+6KMIRAuhnl3hBn Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE//QWiWry0BWjoQKURAvi4AJ9l3JyJDufNqvffNVORhKG2YaQkOQCfZlcU ddHoCLs9cQuzqWGk2GYO2KY= =yd2a -----END PGP SIGNATURE----- --x+6KMIRAuhnl3hBn-- From owner-freebsd-stable@FreeBSD.ORG Thu Jan 8 00:03:45 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4B3DF16A4CE; Thu, 8 Jan 2004 00:03:45 -0800 (PST) Received: from server.vk2pj.dyndns.org (c211-30-75-229.belrs2.nsw.optusnet.com.au [211.30.75.229]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1184543D53; Thu, 8 Jan 2004 00:03:42 -0800 (PST) (envelope-from peterjeremy@optushome.com.au) Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1])i0883Z7B033803; Thu, 8 Jan 2004 19:03:35 +1100 (EST) (envelope-from peter@server.vk2pj.dyndns.org) Received: (from peter@localhost) by server.vk2pj.dyndns.org (8.12.10/8.12.10/Submit) id i0883YS8033802; Thu, 8 Jan 2004 19:03:34 +1100 (EST) (envelope-from peter) Date: Thu, 8 Jan 2004 19:03:34 +1100 From: Peter Jeremy To: Poul-Henning Kamp Message-ID: <20040108080334.GK25474@server.vk2pj.dyndns.org> References: <20040107133930.47eb851b@Magellan.Leidinger.net> <31178.1073481069@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <31178.1073481069@critter.freebsd.dk> User-Agent: Mutt/1.4.1i cc: stable@freebsd.org cc: current@freebsd.org Subject: Re: perl malloc slow? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jan 2004 08:03:45 -0000 On Wed, Jan 07, 2004 at 02:11:09PM +0100, Poul-Henning Kamp wrote: >One of the assumptions I made ten years ago, was that we would expose >more of the possible VM gymnastics to userland and in particular it >was my expectation that it would be cheap for a process to do some >sort of page-flipping or page-exchange. > >This has not materialized in the meantime, and VMwizards have >generally been a lot less than enthusiastic about it when I have >tried to coax them into providing this sort of thing. Maybe we need a mremap(2) implementation. This would allow cheap realloc(), though phkmalloc would need to be modified to use mmap() rather than [s]brk() for heap allocation. (We need mremap() for the Linux emulation anyway). I don't know how easy this would be to implement - I suspect not very, and excessive use of mremap() could severely fragment a processes address space (which could wreak havoc with the page tables). >VM systems on the other hand, operates on a page level, and modern >code would be much better off like this: > > > l = PAGE_SIZE; > p = malloc(l); > for (;;) { > [...] > /* Damn */ > l *= 16; > p = realloc(p, l); > [...] > } > /* Now trim */ > p = realloc(p, strlen(p)); > >(For some value of 16.) Does this behaviour belong in the application or the malloc implementation? I believe most other realloc implementations use a exponentially increasing bucket size so the application effectively gets this behaviour (with '16' typically being either 2 or roughly sqrt(2)) whether the application uses linear or exponential size growth. Peter From owner-freebsd-stable@FreeBSD.ORG Thu Jan 8 00:17:33 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A709016A4CE for ; Thu, 8 Jan 2004 00:17:33 -0800 (PST) Received: from mail.rotfl.com.au (eth1779.sa.adsl.internode.on.net [150.101.235.242]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1746243D5F for ; Thu, 8 Jan 2004 00:17:19 -0800 (PST) (envelope-from Phil@Kernick.org) Received: from undisclosed by mail.rotfl.com.au (Postfix) with ESMTP id 9A6B774B1A for ; Thu, 8 Jan 2004 18:47:17 +1030 (CST) Received: from mail.rotfl.com.au ([127.0.0.1]) by localhost (mail.rotfl.com.au [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 10154-02 for ; Thu, 8 Jan 2004 18:47:15 +1030 (CST) Received: from undisclosed by mail.rotfl.com.au (Postfix) with ESMTP id 3C8CC74B19 for ; Thu, 8 Jan 2004 18:47:15 +1030 (CST) Message-ID: <3FFD120B.4030100@Kernick.org> Date: Thu, 08 Jan 2004 18:47:15 +1030 From: Phil Kernick User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6b) Gecko/20031208 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-stable Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at rotfl.com.au Subject: Should bad hardware cause a kernel panic? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jan 2004 08:17:33 -0000 This is a serious question and not intended as a troll. I have a dying IDE hard drive that I want to try and recover some file from - the problem is that with it connected to my box, both FreeBSD 4.9-RELEASE and 5.2-RC2 kernel panic. This can be reliably duplicated by booting the machine with the drive not connected, then plugging the drive in, and... # atacontrol reinit 1 panic! The real problem with this is that I can't use any tools to try and recover any data. The GEOM code in 5.x is slightly more resiliant than the 4.x code, but both cause panics. On the other hand, it I boot a Knoppix Linux distro, it complains about the drive, but it *doesn't* panic, crash or otherwise misbehave. Is this caused by us not properly checking return codes that come back from the ata driver, or something more insidious? I would have thought the the expected behaviour was returning an error and not a panic, especially if the problem is detected during initialisation of the bus. Phil. -- _-_|\ Phil Kernick E-Mail: Phil@Kernick.org / \ ROTFL Enterprises Mobile: 041 61 ROTFL \_.-*_/ v Humourist, satirist, and probably a few more 'ists to boot! From owner-freebsd-stable@FreeBSD.ORG Thu Jan 8 00:27:38 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 37A9916A4CE for ; Thu, 8 Jan 2004 00:27:38 -0800 (PST) Received: from rsmba.biz (evrtwa1-ar19-4-41-158-208.evrtwa1.dsl-verizon.net [4.41.158.208]) by mx1.FreeBSD.org (Postfix) with SMTP id 880EA43D41 for ; Thu, 8 Jan 2004 00:27:36 -0800 (PST) (envelope-from rschi@rsmba.biz) Received: (qmail 7479 invoked from network); 8 Jan 2004 08:27:06 -0000 Received: from localhost (HELO foghorn.rsmba.biz) (127.0.0.1) by localhost with SMTP; 8 Jan 2004 08:27:06 -0000 Date: Thu, 8 Jan 2004 00:27:06 -0800 From: Richard Schilling To: freebsd-stable@freebsd.org Message-ID: <20040108082706.GA2917@foghorn.rsmba.biz> References: <20040107183353.GA422@foghorn.rsmba.biz> <20040108072418.GA53486@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20040108072418.GA53486@xor.obsecurity.org>; from kris@obsecurity.org on Wed, Jan 07, 2004 at 23:24:18 -0800 X-Mailer: Balsa 1.4.4 Lines: 23 Subject: creation of /usr/include/sys (was: rebuilding top seems to take forever) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jan 2004 08:27:38 -0000 Thank you all very much for pointing out what was wrong. It did lead to another question. I solved the problem and got top working again when I finally erased /usr/include/sys and copied /usr/src/sys/sys to /usr/include/sys (after running cvsup on the source tree of course). I thought `cd /usr/src/sys; make install' would have copied /usr/sys/sys to /usr/include/sys, but it doesn't. Where in the build process does /usr/include/sys get created? Richard On 2004.01.07 23:24 Kris Kennaway wrote: > On Wed, Jan 07, 2004 at 10:33:53AM -0800, Richard Schilling wrote: > > I'm rebuilding top. What command do you use to build top? Judging on the contents of /usr/src/contrib/top, the BSD build of top may be slightly different that what's described in the INSTALL and README files. > > > > When I run the ./Configure command it seems to take forever and doesn't complete. the machine subdirectory is missing. > > > > Or, is there another way I should build top? > > The recommended way is 'make buildworld', but you can probably get > away with 'cd /usr/src/usr.bin/top; make all'. Building from contrib/ > is always wrong. > > Kris > From owner-freebsd-stable@FreeBSD.ORG Thu Jan 8 01:32:06 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9F42716A4CE for ; Thu, 8 Jan 2004 01:32:06 -0800 (PST) Received: from raven.ravenbrook.com (raven.ravenbrook.com [193.82.131.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id A6C6743D5A for ; Thu, 8 Jan 2004 01:32:03 -0800 (PST) (envelope-from nb@ravenbrook.com) Received: from thrush.ravenbrook.com (thrush.ravenbrook.com [193.112.141.145]) i089W1Wm009810; Thu, 8 Jan 2004 09:32:01 GMT (envelope-from nb@ravenbrook.com) Received: from thrush.ravenbrook.com (localhost [127.0.0.1]) by thrush.ravenbrook.com (8.12.9/8.12.9) with ESMTP id i089W1lb059907; Thu, 8 Jan 2004 09:32:01 GMT (envelope-from nb@thrush.ravenbrook.com) From: Nick Barnes To: Phil Kernick In-Reply-To: <3FFD120B.4030100@Kernick.org> from Phil Kernick of "Thu, 08 Jan 2004 18:47:15 +1030" Date: Thu, 08 Jan 2004 09:32:01 +0000 Message-ID: <59906.1073554321@thrush.ravenbrook.com> Sender: nb@ravenbrook.com cc: freebsd-stable Subject: Re: Should bad hardware cause a kernel panic? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jan 2004 09:32:06 -0000 At 2004-01-08 08:17:15+0000, Phil Kernick writes: > I have a dying IDE hard drive that I want to try and recover some > file from - the problem is that with it connected to my box, both > FreeBSD 4.9-RELEASE and 5.2-RC2 kernel panic. > > This can be reliably duplicated by booting the machine with the drive not > connected, then plugging the drive in, and... > > # atacontrol reinit 1 > panic! > > The real problem with this is that I can't use any tools to try and > recover any data. The GEOM code in 5.x is slightly more resiliant > than the 4.x code, but both cause panics. > > On the other hand, it I boot a Knoppix Linux distro, it complains > about the drive, but it *doesn't* panic, crash or otherwise > misbehave. Use Linux to dd the bits onto a clean drive, then try mounting that drive on FreeBSD? Nick B From owner-freebsd-stable@FreeBSD.ORG Thu Jan 8 01:37:59 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7C73716A4CE; Thu, 8 Jan 2004 01:37:59 -0800 (PST) Received: from exc-1.cc.CyberCity.dk (esplanaden.cybercity.dk [212.242.40.114]) by mx1.FreeBSD.org (Postfix) with ESMTP id E0CBD43D46; Thu, 8 Jan 2004 01:37:56 -0800 (PST) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk ([172.16.7.254]) by exc-1.cc.CyberCity.dk over TLS secured channel with Microsoft SMTPSVC(6.0.3790.0); Thu, 8 Jan 2004 10:37:55 +0100 Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.10/8.12.10) with ESMTP id i087jDJq000623; Thu, 8 Jan 2004 08:45:13 +0100 (CET) (envelope-from phk@phk.freebsd.dk) To: David Schultz From: "Poul-Henning Kamp" In-Reply-To: Your message of "Wed, 07 Jan 2004 20:28:16 PST." <20040108042816.GA1813@VARK.homeunix.com> Date: Thu, 08 Jan 2004 08:45:13 +0100 Message-ID: <622.1073547913@critter.freebsd.dk> X-OriginalArrivalTime: 08 Jan 2004 09:37:55.0324 (UTC) FILETIME=[17F0CBC0:01C3D5CB] cc: Alexander Leidinger cc: stable@FreeBSD.ORG cc: current@FreeBSD.ORG cc: Peter Jeremy Subject: Re: perl malloc slow? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jan 2004 09:37:59 -0000 In message <20040108042816.GA1813@VARK.homeunix.com>, David Schultz writes: >FWIW, you can do the required gymnastics with mmap() as long as >the mapped region is backed by a file. There has been a lot of talk about using file backing instead of swap backing. The typically proposed scenario is for each process to open "$HOME/.backingstore/$$" or some such. There are a lot of interesting applications, good ideas and nifty tricks enabled by this, but there are also some nasty details, a few security concerns and probably a performance impact. All in all it has not happened yet, and given the size of fish we are currently catching in other areas, I don't see it happening anytime soon. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. From owner-freebsd-stable@FreeBSD.ORG Thu Jan 8 02:24:17 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E00BA16A4CE for ; Thu, 8 Jan 2004 02:24:17 -0800 (PST) Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by mx1.FreeBSD.org (Postfix) with SMTP id 0C22643D55 for ; Thu, 8 Jan 2004 02:24:10 -0800 (PST) (envelope-from dwmalone@maths.tcd.ie) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 8 Jan 2004 10:24:08 +0000 (GMT) Date: Thu, 8 Jan 2004 10:24:06 +0000 From: David Malone To: Sergey Lapin Message-ID: <20040108102406.GA54017@walton.maths.tcd.ie> References: <3FFCE6DD.4000402@tec.karelen.elektra.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3FFCE6DD.4000402@tec.karelen.elektra.ru> User-Agent: Mutt/1.5.3i Sender: dwmalone@maths.tcd.ie cc: freebsd-stable@freebsd.org Subject: Re: Two silly questions aboun netbooting X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jan 2004 10:24:18 -0000 On Thu, Jan 08, 2004 at 08:13:01AM +0300, Sergey Lapin wrote: > 1. I have p1-75 with a small disk (40Mb), where I want to put kernel. > And then want it to mount root from 192.168.1.1:/nfsroot, so diskless > scripts located there took control and system should be running? > The best could be if DHCP/BOOTP be avoided since there are such > servers exist in our network and running on non-standard ports could > become a nightmare... It should be possible. I can suggest two ways. If you want to make it look really like a diskless boot, you can probably hack the code in /usr/src/sys/nfs/bootp_subr.c to pretend it sends a request and pretend it receives a response and hard code the IP address and root path in there. Alternatively, and slightly less hacky, you could build a kernel with an MFS root and include enough commands to mount the nfs root on /nfsroot and symlink everything else into place. > 2. I have old Compaq LTE Elite 486 notebook without hard drive (no > disk cage, so no possibility to put hard drive inside), and 3c589 > PCMCIA ethernet card - is it possible to make it netbooting? > Floppy works, so is it possible to make X terminal from it, booting > kernel from floppy and mounting NFS root? The second method mentioned above should work for this machine too. David. From owner-freebsd-stable@FreeBSD.ORG Thu Jan 8 02:41:29 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1C46916A4CE; Thu, 8 Jan 2004 02:41:29 -0800 (PST) Received: from smtp.des.no (flood.des.no [217.116.83.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id E098B43D55; Thu, 8 Jan 2004 02:41:27 -0800 (PST) (envelope-from des@des.no) Received: by smtp.des.no (Pony Express, from userid 666) id E1C14530C; Thu, 8 Jan 2004 11:41:26 +0100 (CET) Received: from dwp.des.no (des.no [80.203.228.37]) by smtp.des.no (Pony Express) with ESMTP id 810E1530A; Thu, 8 Jan 2004 11:41:19 +0100 (CET) Received: by dwp.des.no (Postfix, from userid 2602) id 2F66433C9A; Thu, 8 Jan 2004 11:41:19 +0100 (CET) To: Holger.Kipp@alogis.com References: <200401061129.i06BTAY75957@alogis.com> From: des@des.no (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=) Date: Thu, 08 Jan 2004 11:41:19 +0100 In-Reply-To: <200401061129.i06BTAY75957@alogis.com> (Holger Kipp's message of "Tue, 06 Jan 2004 11:29:05 +0000") Message-ID: User-Agent: Gnus/5.090024 (Oort Gnus v0.24) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on flood.des.no X-Spam-Level: X-Spam-Status: No, hits=0.1 required=5.0 tests=RCVD_IN_SORBS autolearn=no version=2.60 cc: stable@freebsd.org cc: current@freebsd.org Subject: Re: perl malloc slow? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jan 2004 10:41:29 -0000 Holger Kipp writes: > Searching on the internet gave the impression that this might be > malloc/FreeBSD related. Any chance of this being resolved? This is basically a bug in Perl (poor choice of algorithm for growing strings). Perl's malloc() implementation knows about and compensates for this bug. FreeBSD's malloc() implementation does not. DES --=20 Dag-Erling Sm=F8rgrav - des@des.no From owner-freebsd-stable@FreeBSD.ORG Thu Jan 8 02:59:54 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 09E7816A4CE for ; Thu, 8 Jan 2004 02:59:54 -0800 (PST) Received: from www.svzserv.kemerovo.su (www.svzserv.kemerovo.su [213.184.65.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6DD2C43D5A for ; Thu, 8 Jan 2004 02:59:51 -0800 (PST) (envelope-from eugen@kuzbass.ru) Received: from kuzbass.ru (kost [213.184.65.82])i08AxniY014914; Thu, 8 Jan 2004 17:59:49 +0700 (KRAT) (envelope-from eugen@kuzbass.ru) Message-ID: <3FFD3797.1426A916@kuzbass.ru> Date: Thu, 08 Jan 2004 17:57:27 +0700 From: Eugene Grosbein Organization: SVZServ X-Mailer: Mozilla 4.8 [en] (Win98; U) X-Accept-Language: ru,en MIME-Version: 1.0 To: Phil Kernick References: <3FFD120B.4030100@Kernick.org> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit cc: freebsd-stable Subject: Re: Should bad hardware cause a kernel panic? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jan 2004 10:59:54 -0000 Phil Kernick wrote: > > This is a serious question and not intended as a troll. > > I have a dying IDE hard drive that I want to try and recover some file from - > the problem is that with it connected to my box, both FreeBSD 4.9-RELEASE and > 5.2-RC2 kernel panic. > > This can be reliably duplicated by booting the machine with the drive not > connected, then plugging the drive in, and... > > # atacontrol reinit 1 > panic! > > The real problem with this is that I can't use any tools to try and recover > any data. The GEOM code in 5.x is slightly more resiliant than the 4.x code, > but both cause panics. ata(4) is known to be buggy at least in -STABLE after PAE integration. There is no one interested in fixing it (see also kern/57174, kern/60526). Eugene From owner-freebsd-stable@FreeBSD.ORG Thu Jan 8 03:29:38 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6F5AB16A4CE for ; Thu, 8 Jan 2004 03:29:38 -0800 (PST) Received: from smtp.des.no (flood.des.no [217.116.83.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 301F843D48 for ; Thu, 8 Jan 2004 03:29:37 -0800 (PST) (envelope-from des@des.no) Received: by smtp.des.no (Pony Express, from userid 666) id 343CA530D; Thu, 8 Jan 2004 12:29:36 +0100 (CET) Received: from dwp.des.no (des.no [80.203.228.37]) by smtp.des.no (Pony Express) with ESMTP id 36328530C; Thu, 8 Jan 2004 12:29:29 +0100 (CET) Received: by dwp.des.no (Postfix, from userid 2602) id D7C5033C9A; Thu, 8 Jan 2004 12:29:28 +0100 (CET) To: Richard Schilling References: <20040107183353.GA422@foghorn.rsmba.biz> <20040108072418.GA53486@xor.obsecurity.org> <20040108082706.GA2917@foghorn.rsmba.biz> From: des@des.no (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=) Date: Thu, 08 Jan 2004 12:29:28 +0100 In-Reply-To: <20040108082706.GA2917@foghorn.rsmba.biz> (Richard Schilling's message of "Thu, 8 Jan 2004 00:27:06 -0800") Message-ID: User-Agent: Gnus/5.090024 (Oort Gnus v0.24) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on flood.des.no X-Spam-Level: X-Spam-Status: No, hits=0.9 required=5.0 tests=BIZ_TLD,RCVD_IN_SORBS autolearn=no version=2.60 cc: freebsd-stable@freebsd.org Subject: Re: creation of /usr/include/sys X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jan 2004 11:29:38 -0000 Richard Schilling writes: > I solved the problem and got top working again when I finally erased > /usr/include/sys and copied /usr/src/sys/sys to /usr/include/sys > (after running cvsup on the source tree of course). This is almost never the right thing to do unless you are already very familiar with the build system. > I thought `cd /usr/src/sys; make install' would have copied > /usr/sys/sys to /usr/include/sys, but it doesn't. Where in the > build process does /usr/include/sys get created? 'make includes' in /usr/src. You wouldn't be having these problems if you followed the documented procedure (buildworld, buildkernel, installkernel, reboot into single-user mode, installworld, mergemaster, reboot) DES --=20 Dag-Erling Sm=F8rgrav - des@des.no From owner-freebsd-stable@FreeBSD.ORG Thu Jan 8 09:24:09 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0122B16A4CE for ; Thu, 8 Jan 2004 09:24:09 -0800 (PST) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6B65243D53 for ; Thu, 8 Jan 2004 09:24:06 -0800 (PST) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (IDENT:brdavis@localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.12.10/8.12.3) with ESMTP id i08HO2A7013160; Thu, 8 Jan 2004 09:24:02 -0800 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.12.10/8.12.3/Submit) id i08HNt6X013140; Thu, 8 Jan 2004 09:23:55 -0800 Date: Thu, 8 Jan 2004 09:23:55 -0800 From: Brooks Davis To: David Malone Message-ID: <20040108172355.GB6216@Odin.AC.HMC.Edu> References: <3FFCE6DD.4000402@tec.karelen.elektra.ru> <20040108102406.GA54017@walton.maths.tcd.ie> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="LyciRD1jyfeSSjG0" Content-Disposition: inline In-Reply-To: <20040108102406.GA54017@walton.maths.tcd.ie> User-Agent: Mutt/1.5.4i X-Virus-Scanned: by amavisd-milter (http://amavis.org/) on odin.ac.hmc.edu cc: Sergey Lapin cc: freebsd-stable@freebsd.org Subject: Re: Two silly questions aboun netbooting X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jan 2004 17:24:09 -0000 --LyciRD1jyfeSSjG0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jan 08, 2004 at 10:24:06AM +0000, David Malone wrote: > On Thu, Jan 08, 2004 at 08:13:01AM +0300, Sergey Lapin wrote: > > 1. I have p1-75 with a small disk (40Mb), where I want to put kernel. > > And then want it to mount root from 192.168.1.1:/nfsroot, so diskless > > scripts located there took control and system should be running? > > The best could be if DHCP/BOOTP be avoided since there are such > > servers exist in our network and running on non-standard ports could > > become a nightmare... >=20 > It should be possible. I can suggest two ways. If you want to make > it look really like a diskless boot, you can probably hack the code > in /usr/src/sys/nfs/bootp_subr.c to pretend it sends a request and > pretend it receives a response and hard code the IP address and > root path in there. The patch in this PR claims to do it: http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dkern/54383 The patch seems to suffer from massive cut and paste damage (tabs turned to spaces) so I haven't looked at it in detail. If you do get it to work and can produce a cleaned up copy, that would be useful. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --LyciRD1jyfeSSjG0 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE//ZIoXY6L6fI4GtQRAqkfAKCIVNPkpuXvgd+E1R1PtrOGhllYQwCgwHXn uuGRrrYti+WUdc840RvMwYM= =biku -----END PGP SIGNATURE----- --LyciRD1jyfeSSjG0-- From owner-freebsd-stable@FreeBSD.ORG Thu Jan 8 12:29:45 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B3E8116A4CE for ; Thu, 8 Jan 2004 12:29:45 -0800 (PST) Received: from dmz2.unixjunkie.com (adsl-65-70-175-250.dsl.rcsntx.swbell.net [65.70.175.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id 62B6F43D3F for ; Thu, 8 Jan 2004 12:29:41 -0800 (PST) (envelope-from strgout@unixjunkie.com) Received: from mail.unixjunkie.com (mail [10.253.254.36]) by dmz2.unixjunkie.com (8.12.8p2/8.12.8) with ESMTP id i08KxeYe003128 for ; Thu, 8 Jan 2004 14:59:41 -0600 (CST) (envelope-from strgout@mail.unixjunkie.com) Received: from mail.unixjunkie.com (mail [10.253.254.36]) by mail.unixjunkie.com (8.12.8p2/8.12.8) with ESMTP id i08KxeKf003125 for ; Thu, 8 Jan 2004 14:59:40 -0600 (CST) (envelope-from strgout@mail.unixjunkie.com) Received: (from strgout@localhost) by mail.unixjunkie.com (8.12.8p2/8.12.8/Submit) id i08KxeAf003124 for freebsd-stable@freebsd.org; Thu, 8 Jan 2004 14:59:40 -0600 (CST) (envelope-from strgout) Date: Thu, 8 Jan 2004 14:59:40 -0600 From: John To: freebsd-stable@freebsd.org Message-ID: <20040108205940.GA3112@mail.unixjunkie.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Subject: ntpd + netclock/2 8182 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jan 2004 20:29:45 -0000 I'm working on setting up a ntp server using ntpd and a netclock/2 8182. I found a link to http://phk.freebsd.dk/rover.html from the freebsd.org website. Which said " lost the contents of my timekeeping pages in a disk-crash, and since they were badly out of date I have not recovered them." so are there any kernel configs i should be adding for this project or is the normal stripped down kernel fine? btw if anyone would know the pinout for netclock db9 -> rj45 -> db9 Clock server(PC). From owner-freebsd-stable@FreeBSD.ORG Thu Jan 8 12:33:51 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8542816A4CE for ; Thu, 8 Jan 2004 12:33:51 -0800 (PST) Received: from rsmba.biz (evrtwa1-ar19-4-41-158-208.evrtwa1.dsl-verizon.net [4.41.158.208]) by mx1.FreeBSD.org (Postfix) with SMTP id A764343D5A for ; Thu, 8 Jan 2004 12:33:49 -0800 (PST) (envelope-from rschi@rsmba.biz) Received: (qmail 334 invoked from network); 8 Jan 2004 20:33:16 -0000 Received: from localhost (HELO foghorn.rsmba.biz) (127.0.0.1) by localhost with SMTP; 8 Jan 2004 20:33:16 -0000 Date: Thu, 8 Jan 2004 12:33:16 -0800 From: Richard Schilling To: freebsd-stable@freebsd.org Message-ID: <20040108203316.GA325@foghorn.rsmba.biz> References: <20040107183353.GA422@foghorn.rsmba.biz> <20040108072418.GA53486@xor.obsecurity.org> <20040108082706.GA2917@foghorn.rsmba.biz> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: ; from des@des.no on Thu, Jan 08, 2004 at 03:29:28 -0800 X-Mailer: Balsa 1.4.4 Lines: 34 Subject: Re: creation of /usr/include/sys X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jan 2004 20:33:51 -0000 On 2004.01.08 03:29 Dag-Erling Smørgrav wrote: > Richard Schilling writes: > > I solved the problem and got top working again when I finally erased > > /usr/include/sys and copied /usr/src/sys/sys to /usr/include/sys > > (after running cvsup on the source tree of course). > > This is almost never the right thing to do unless you are already very > familiar with the build system. I know . . .I missed some detail along the way when I built. > > > I thought `cd /usr/src/sys; make install' would have copied > > /usr/sys/sys to /usr/include/sys, but it doesn't. Where in the > > build process does /usr/include/sys get created? > > 'make includes' in /usr/src. > > You wouldn't be having these problems if you followed the documented > procedure (buildworld, buildkernel, installkernel, reboot into > single-user mode, installworld, mergemaster, reboot) I'm going to do that again today just to make sure I catch other problems. Richard > > DES > -- > Dag-Erling Smørgrav - des@des.no > > From owner-freebsd-stable@FreeBSD.ORG Thu Jan 8 13:14:20 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AB8CB16A4CE for ; Thu, 8 Jan 2004 13:14:20 -0800 (PST) Received: from seaholm.caamora.com.au (seaholm.caamora.com.au [203.7.226.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6454943D31 for ; Thu, 8 Jan 2004 13:14:16 -0800 (PST) (envelope-from jon@seaholm.caamora.com.au) Received: (from jon@localhost) by seaholm.caamora.com.au (8.11.1/8.11.1) id i08LE8F08880; Fri, 9 Jan 2004 08:14:08 +1100 (EST) Message-ID: <20040109081408.08548@caamora.com.au> Date: Fri, 9 Jan 2004 08:14:08 +1100 From: jonathan michaels To: freebsd-stable@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.84e Organisation: Caamora, PO Box 144, Rosebery NSW 1445 Australia Subject: cross compiling freebsd for target intel platform other than pentium X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jan 2004 21:14:20 -0000 greetings all, my hopes for a good year and best wishes to all who congregate here abouts. i'm not sure if this is the best place to discuss this topic as i would like some information about taking a -stable or most likely a -release edition off of teh cd and installing it on teh host and then to bump it up to -security edition while 'cross compiling' the whole box and dice for the two production hosts (both of which are intel, supermicro sourced motherboards off almost extreme vintage with 16 mb dram and a couple of scsi hard drives hung off of an adaptec aha-1542b. both of these machines have been running reliably for some 12 to 15 years and as routers they do a superb job and i see no currently viable reason to throw them out. i have always been afraid of compilers (several severe mistakes in my former life as a systems analyst that cost a lot of self-esteem credit points that i am now getting over, thankfully). i know very littly about c and gcc toolkits, i've been intimidated by teh whole program/compiler mystique. some down to earth de-mystifying (especially of teh way freebsd makes use of its make/makefile etc) would be muchly appreciated as well. i have tried to follow the documentation in teh handbook, i seem to fail in the understaniding department (this happened to me all through my school experience as well, i have difficulty with teh written word any words of wisdom, help and or guidance would be most appreciatively accepted -- ================================================================ powered by .. QNX, OS9 and freeBSD -- http://caamora com au/operating system ==== === appropriate solution in an inappropriate world === ==== From owner-freebsd-stable@FreeBSD.ORG Thu Jan 8 13:28:33 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 146E516A4CE for ; Thu, 8 Jan 2004 13:28:33 -0800 (PST) Received: from enterprise.sd73.bc.ca (romulus-net.sd73.bc.ca [142.24.13.134]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7E11943D4C for ; Thu, 8 Jan 2004 13:28:30 -0800 (PST) (envelope-from fcash-ml@sd73.bc.ca) Received: from 192.168.0.200 (romulus-net.sd73.bc.ca [142.24.13.134]) i08LMN7O028537; Thu, 8 Jan 2004 13:22:24 -0800 From: Freddie Cash Organization: School District 73 To: jonathan michaels Date: Thu, 8 Jan 2004 13:28:00 -0800 User-Agent: KMail/1.5.4 References: <20040109081408.08548@caamora.com.au> In-Reply-To: <20040109081408.08548@caamora.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200401081328.00462.fcash-ml@sd73.bc.ca> X-RAVMilter-Version: 8.4.1(snapshot 20020919) (enterprise.sd73.bc.ca) cc: stable@freebsd.org Subject: Re: cross compiling freebsd for target intel platform other than pentium X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: fcash-ml@sd73.bc.ca List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jan 2004 21:28:33 -0000 On January 8, 2004 01:14 pm, jonathan michaels wrote: > i'm not sure if this is the best place to discuss this topic as i > would like some information about taking a -stable or most likely a > -release edition off of teh cd and installing it on teh host and then > to bump it up to -security edition while 'cross compiling' the whole > box and dice for the two production hosts (both of which are intel, > supermicro sourced motherboards off almost extreme vintage with 16 mb > dram and a couple of scsi hard drives hung off of an adaptec > aha-1542b. both of these machines have been running reliably for some > 12 to 15 years and as routers they do a superb job and i see no > currently viable reason to throw them out. On the build box, edit /etc/make.conf and set CPUTYPE to the CPU type of the old boxes. For instance, set this to 486 if the old boxes are 486s, and so on. You may need to copy the default file from /etc/defaults/make.conf to /etc/make.conf. There are very nice comments in this file about the supported CPUTYPES. Run the buildworld and buildkernel stages as per normal. Next configure the build box as an NFS server and share out /usr/src and /usr/obj. On the ancient boxes, use NFS to mount /usr/src and /usr/obj from the build box. Run the installkernel and installworld stages as per normal. You will now have an updated FreeBSD system, compiled specifically for whatever CPU is in the ancient boxes. The comments in /etc/make.conf and /usr/src/README, /usr/src/UPDATING, and /usr/src/Makefile explain quite nicely how the buidlworld process works and how it uses the variables in /etc/make.conf to control everything. Hope that helps. -- Freddie Cash District HelpDesk / Network Admin http://www.sd73.bc.ca From owner-freebsd-stable@FreeBSD.ORG Thu Jan 8 13:57:40 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A5EA716A4CE for ; Thu, 8 Jan 2004 13:57:40 -0800 (PST) Received: from postal3.es.net (postal3.es.net [198.128.3.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id 95D9143D49 for ; Thu, 8 Jan 2004 13:57:39 -0800 (PST) (envelope-from oberman@es.net) Received: from ptavv.es.net ([198.128.4.29]) by postal3.es.net (Postal Node 3) with ESMTP (SSL) id IBA74465; Thu, 08 Jan 2004 13:57:38 -0800 Received: from ptavv (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id 1F6D75D04; Thu, 8 Jan 2004 13:57:38 -0800 (PST) To: John In-Reply-To: Message from John <20040108205940.GA3112@mail.unixjunkie.com> Date: Thu, 08 Jan 2004 13:57:38 -0800 From: "Kevin Oberman" Message-Id: <20040108215738.1F6D75D04@ptavv.es.net> cc: freebsd-stable@freebsd.org Subject: Re: ntpd + netclock/2 8182 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jan 2004 21:57:40 -0000 I use almost this configuration. If the 8182 uses the same protocol as the 8170, this should od the trick. On stable you need a symlink from /dev/wwvb1 --> /dev/ttyXX (the port the clock is plugged into). Then add server 127.127.4.1 to /etc/ntpd.conf. Finally, you need to rebuild the ntpd image to include the clock driver. (By default ntpd contains only stubs.) Go into /usr/src/usr.sbin/ntp/ and change the line 143 from: /* #undef CLOCK_SPECTRACOM */ to: #define CLOCK_SPECTRACOM 1 Then make && make install. -- 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 From owner-freebsd-stable@FreeBSD.ORG Thu Jan 8 14:08:56 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6822516A4D8 for ; Thu, 8 Jan 2004 14:08:56 -0800 (PST) Received: from mg1.xecu.net (mg1.xecu.net [216.127.136.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id CEF3C43D9B for ; Thu, 8 Jan 2004 14:07:52 -0800 (PST) (envelope-from Harlan.Stenn@pfcs.com) Received: by mg1.xecu.net (Postfix, from userid 1017) id B21CEB260; Thu, 8 Jan 2004 17:07:53 -0500 (EST) Received: from pcnbs.pfcs.com (harlan.xecu.net [216.127.150.112]) by mg1.xecu.net (Postfix) with ESMTP id A98CAB302 for ; Thu, 8 Jan 2004 17:07:52 -0500 (EST) Received: from dog.pfcs.com (dog.pfcs.com [192.52.69.47]) by pcnbs.pfcs.com (Postfix) with ESMTP id 31925262E; Thu, 8 Jan 2004 17:07:49 -0500 (EST) Received: from localhost [127.0.0.1] (HELO dog.pfcs.com) by dog.pfcs.com (8.12.9p2/8.12.9) via ESMTP id ; Thu, 8 Jan 2004 17:07:46 -0500 (EST) To: "Kevin Oberman" In-Reply-To: "Kevin Oberman"'s (oberman@es.net) message <20040108215738.1F6D75D04@ptavv.es.net> X-Face: "csXK}xnnsH\h_ce`T#|pM]tG,6Xu.{3Rb\]&XJgVyTS'w{E+|-(}n:c(Cc* $cbtusxDP6T)Hr'k&zrwq0.3&~bAI~YJco[r.mE+K|(q]F=ZNXug:s6tyOk{VTqARy0#axm6BWti9C d User-Agent: EMH/1.10.0 SEMI/1.13.7 (Awazu) FLIM/1.13.2 (Kasanui) XEmacs/21.1 (patch 14) (Cuyahoga Valley) (i386--freebsd) MIME-Version: 1.0 (generated by SEMI 1.13.7 - "Awazu") Content-Type: text/plain; charset=US-ASCII Date: Thu, 08 Jan 2004 17:07:45 -0500 Message-ID: <91396.1073599665@dog.pfcs.com> From: Harlan Stenn cc: John cc: freebsd-stable@freebsd.org Subject: Re: ntpd + netclock/2 8182 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jan 2004 22:08:56 -0000 I'd really appreciate folks adding knowledge bits to twiki.ntp.org for things like this. H From owner-freebsd-stable@FreeBSD.ORG Thu Jan 8 15:54:19 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CADD216A4CE for ; Thu, 8 Jan 2004 15:54:19 -0800 (PST) Received: from seaholm.caamora.com.au (seaholm.caamora.com.au [203.7.226.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 006CA43D48 for ; Thu, 8 Jan 2004 15:54:16 -0800 (PST) (envelope-from jon@seaholm.caamora.com.au) Received: (from jon@localhost) by seaholm.caamora.com.au (8.11.1/8.11.1) id i08Ns4L09244; Fri, 9 Jan 2004 10:54:04 +1100 (EST) Message-ID: <20040109105404.08441@caamora.com.au> Date: Fri, 9 Jan 2004 10:54:04 +1100 From: jonathan michaels To: fcash-ml@sd73.bc.ca References: <20040109081408.08548@caamora.com.au> <200401081328.00462.fcash-ml@sd73.bc.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.84e In-Reply-To: <200401081328.00462.fcash-ml@sd73.bc.ca>; from Freddie Cash on Thu, Jan 08, 2004 at 01:28:00PM -0800 Organisation: Caamora, PO Box 144, Rosebery NSW 1445 Australia cc: stable@freebsd.org Subject: Re: cross compiling freebsd for target intel platform other than pentium X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jan 2004 23:54:19 -0000 freddie, received with thanks and appreciations On Thu, Jan 08, 2004 at 01:28:00PM -0800, Freddie Cash wrote: > On January 8, 2004 01:14 pm, jonathan michaels wrote: > > i'm not sure if this is the best place to discuss this topic as i > On the build box, edit /etc/make.conf and set CPUTYPE to the CPU type of > the old boxes. For instance, set this to 486 if the old boxes are > 486s, and so on. You may need to copy the default file yes, standard intel chipset (late 1980 to early 1990 '486 and a surviving pair of '386s with genuine 33 mhz '387's, history or nostalgia .. grin, i'm not sure which. i've managed to grasp teh basic concepts and understand teh process, freddie, thank you, muchly appreciated. a tape-backup-server needs be built (from a brace of recently aquired tandberg (525 mb scsi) streamers frm scraped old dec scsi expansion boxes. > The comments in /etc/make.conf and /usr/src/README, /usr/src/UPDATING, > and /usr/src/Makefile explain quite nicely how the buidlworld process > works and how it uses the variables in /etc/make.conf to control these are now top of my reading list. thank you for a place to start, and a plan to start with. muchly appreciated regards jonathan -- ================================================================ powered by .. QNX, OS9 and freeBSD -- http://caamora com au/operating system ==== === appropriate solution in an inappropriate world === ==== From owner-freebsd-stable@FreeBSD.ORG Thu Jan 8 16:41:18 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1578416A4CE; Thu, 8 Jan 2004 16:41:18 -0800 (PST) Received: from obsecurity.dyndns.org (adsl-67-119-53-122.dsl.lsan03.pacbell.net [67.119.53.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5F66643D82; Thu, 8 Jan 2004 16:41:08 -0800 (PST) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 0252866E67; Thu, 8 Jan 2004 16:41:07 -0800 (PST) Date: Thu, 8 Jan 2004 16:41:07 -0800 From: Kris Kennaway To: Dag-Erling Sm?rgrav Message-ID: <20040109004107.GA64107@xor.obsecurity.org> References: <200401061129.i06BTAY75957@alogis.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="EeQfGwPcQSOJBaQU" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i cc: stable@freebsd.org cc: current@freebsd.org Subject: Re: perl malloc slow? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jan 2004 00:41:18 -0000 --EeQfGwPcQSOJBaQU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jan 08, 2004 at 11:41:19AM +0100, Dag-Erling Sm?rgrav wrote: > Holger Kipp writes: > > Searching on the internet gave the impression that this might be > > malloc/FreeBSD related. Any chance of this being resolved? >=20 > This is basically a bug in Perl (poor choice of algorithm for growing > strings). Perl's malloc() implementation knows about and compensates > for this bug. FreeBSD's malloc() implementation does not. I heard someone say it was fixed in perl 5. (8?) Kris --EeQfGwPcQSOJBaQU Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE//fijWry0BWjoQKURAphOAJ9gmOtOiBQFUQEIgX4u5BGD7gLxkQCgzF6s YwV6qtAipLSoKaGmejH5E1k= =6MTp -----END PGP SIGNATURE----- --EeQfGwPcQSOJBaQU-- From owner-freebsd-stable@FreeBSD.ORG Fri Jan 9 03:11:39 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6DC7A16A4CE for ; Fri, 9 Jan 2004 03:11:39 -0800 (PST) Received: from mail011.syd.optusnet.com.au (mail011.syd.optusnet.com.au [211.29.132.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9E67343D58 for ; Fri, 9 Jan 2004 03:11:36 -0800 (PST) (envelope-from tfrank@optushome.com.au) Received: from marvin.home.local (c211-28-241-189.eburwd5.vic.optusnet.com.au [211.28.241.189])i09BBYY18143; Fri, 9 Jan 2004 22:11:34 +1100 Received: by marvin.home.local (Postfix, from userid 1001) id AED2D28D; Fri, 9 Jan 2004 22:11:33 +1100 (EST) Date: Fri, 9 Jan 2004 22:11:33 +1100 From: Tony Frank To: Hye-Shik Chang Message-ID: <20040109111133.GA58630@marvin.home.local> References: <20040107104515.GA42786@izb.knu.ac.kr> <20040107124038.GA37600@i18n.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040107124038.GA37600@i18n.org> User-Agent: Mutt/1.4.1i cc: freebsd-stable@freebsd.org Subject: Re: 4.x -> 5.x X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jan 2004 11:11:39 -0000 Hi there, On Wed, Jan 07, 2004 at 09:40:38PM +0900, Hye-Shik Chang wrote: > > i want upgrade from 4.x to 5.x > For remote upgrade: > > 1) update your source tree to 5.x > 2) mergemaster -p > 3) cd /usr/src && make buildworld buildkernel > 4) mergemaster > 5) make installkernel > 5) mkdir /usr/tmpfs && make installworld DESTDIR=/usr/tmpfs > 6) chflags noschg /bin/* /sbin/* /usr/bin/* /usr/sbin/* /usr/lib/* \ > /usr/libexec/* > 7) tar -C /usr/tmpfs -cpf . | tar -C / -xpvf - > 8) reboot Is there any particular reason to do these steps 5-7 instead of just a 'make installworld' ? Thanks, Tony > From owner-freebsd-stable@FreeBSD.ORG Fri Jan 9 04:41:52 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AAED916A4CE for ; Fri, 9 Jan 2004 04:41:52 -0800 (PST) Received: from mail.broadpark.no (mail.broadpark.no [217.13.4.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5C4D643D48 for ; Fri, 9 Jan 2004 04:41:51 -0800 (PST) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from kg-work.kg4.no (150.80-202-72.nextgentel.com [80.202.72.150]) by mail.broadpark.no (Postfix) with SMTP id C69977870B for ; Fri, 9 Jan 2004 13:41:49 +0100 (MET) Date: Fri, 9 Jan 2004 13:41:47 +0100 From: Torfinn Ingolfsen To: stable@freebsd.org Message-Id: <20040109134147.64e92ac9.torfinn.ingolfsen@broadpark.no> X-Mailer: Sylpheed version 0.9.0 (GTK+ 1.2.10; i386-portbld-freebsd4.8) X-Face: "t9w2,-X@O^I`jVW\sonI3.,36KBLZE*AL[y9lL[PyFD*r_S:dIL9c[8Y>V42R0"!"yb_zN,f#%.[PYYNq;m"_0v;~rUM2Yy!zmkh)3&U|u!=T(zyv,MHJv"nDH>OJ`t(@mil461d_B'Uo|'nMwlKe0Mv=kvV?Nh@>Hb<3s_z2jYgZhPb@?Wi^x1a~Hplz1.zH Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Problems with spambayes-1.0.a.6 under -stable? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jan 2004 12:41:52 -0000 Hello, Are any of you using Spambayes (from ports) under FreeBSD-stable? If so, could you tell me if the problems described below are errors in the port, or just me messing things up. I installed py23-spambayes-1.0.a.6 from ports, and the installation went without problems. When I tried to start sb_server.py ('sb_server.py -b' to get up the configuration page), it complained that it did not have any database module available. I fixed that by installing the port py23-bsddb (currently at version 2.3.3_1). Is this the correct fix? I'm using the pop3proxy (aka sb_server.py) with Sylpheed. What is the preferred (or "best") way to run sb_server.py? should I run it as my own user, or as root? Also, there is a bug in version 1.0.a.6 of Spambayes with the web configuration. Thus I must restart sb_server.py after using the configuration pages. The Spambayes project knows about it (it's in the faq) and has updated Spambayes to version 1.0.a.7 (which fixes this). -- Torfinn Ingolfsen, Norway From owner-freebsd-stable@FreeBSD.ORG Fri Jan 9 05:56:35 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1B26016A4CE for ; Fri, 9 Jan 2004 05:56:35 -0800 (PST) Received: from eborcom.com (dsl-62-3-122-102.zen.co.uk [62.3.122.102]) by mx1.FreeBSD.org (Postfix) with SMTP id B76A143D3F for ; Fri, 9 Jan 2004 05:56:30 -0800 (PST) (envelope-from tom@FreeBSD.org) Received: (qmail 33628 invoked by uid 1001); 9 Jan 2004 13:56:28 -0000 Date: Fri, 9 Jan 2004 13:56:28 +0000 From: Tom Hukins To: Kris Kennaway Message-ID: <20040109135628.GA33497@eborcom.com> Mail-Followup-To: Tom Hukins , Kris Kennaway , Dag-Erling Sm?rgrav , stable@freebsd.org, current@freebsd.org References: <200401061129.i06BTAY75957@alogis.com> <20040109004107.GA64107@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040109004107.GA64107@xor.obsecurity.org> User-Agent: Mutt/1.4.1i cc: Dag-Erling Sm?rgrav cc: stable@freebsd.org cc: current@freebsd.org Subject: Re: perl malloc slow? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jan 2004 13:56:35 -0000 On Thu, Jan 08, 2004 at 04:41:07PM -0800, Kris Kennaway wrote: > > This is basically a bug in Perl (poor choice of algorithm for growing > > strings). Perl's malloc() implementation knows about and compensates > > for this bug. FreeBSD's malloc() implementation does not. > > I heard someone say it was fixed in perl 5. (8?) http://use.perl.org/comments.pl?sid=15713&cid=24485 suggests it was fixed in Perl 5.8.1. Tom From owner-freebsd-stable@FreeBSD.ORG Fri Jan 9 18:09:53 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 62C4A16A4CE; Fri, 9 Jan 2004 18:09:53 -0800 (PST) Received: from matrix.tk-pttuntex.com (matrix.tk-pttuntex.com [203.77.209.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2053443D31; Fri, 9 Jan 2004 18:09:48 -0800 (PST) (envelope-from zen@tk-pttuntex.com) Received: from database.ANGINA (unknown [192.168.0.2]) by matrix.tk-pttuntex.com (Postfix) with ESMTP id 61ED8105F5; Sat, 10 Jan 2004 09:06:58 +0700 (WIT) Date: Sat, 10 Jan 2004 09:15:32 +0700 From: zen X-Mailer: The Bat! (v1.62i) Business X-Priority: 3 (Normal) Message-ID: <46254658343.20040110091532@tk-pttuntex.com> To: freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: stable@freebsd.org Subject: help X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: zen List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Jan 2004 02:09:53 -0000 Hello freebsd-stable, i know this is may be the wrong place to ask these question, i just cvsup my 5.1 box today, and during the make installworld it's stop with these following error messages: PASS: Test notdef detected no regression. Running test modifiers PASS: Test modifiers detected no regression. Running test funny_targets PASS: Test funny_targets detected no regression. Checking to see if your booted kernel is fresh enough.. /usr/obj/usr/src/bin/sh/sh -c 'echo "Testing installed kernel for new sigaction(2) syscall"' /usr/obj/usr/src/bin/sh/sh: not found *** Error code 127 Stop in /usr/src. *** Error code 1 any help will be very appreciated (this is production server) -- Cheers, zen +------------------+-----------------------+ Misael Happy Agus | | | +------------------+-----------------------+ "Be liberal in what you accept, and conservative in what you send."-- Postel From owner-freebsd-stable@FreeBSD.ORG Fri Jan 9 18:09:53 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 62C4A16A4CE; Fri, 9 Jan 2004 18:09:53 -0800 (PST) Received: from matrix.tk-pttuntex.com (matrix.tk-pttuntex.com [203.77.209.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2053443D31; Fri, 9 Jan 2004 18:09:48 -0800 (PST) (envelope-from zen@tk-pttuntex.com) Received: from database.ANGINA (unknown [192.168.0.2]) by matrix.tk-pttuntex.com (Postfix) with ESMTP id 61ED8105F5; Sat, 10 Jan 2004 09:06:58 +0700 (WIT) Date: Sat, 10 Jan 2004 09:15:32 +0700 From: zen X-Mailer: The Bat! (v1.62i) Business X-Priority: 3 (Normal) Message-ID: <46254658343.20040110091532@tk-pttuntex.com> To: freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: stable@freebsd.org Subject: help X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: zen List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Jan 2004 02:09:53 -0000 Hello freebsd-stable, i know this is may be the wrong place to ask these question, i just cvsup my 5.1 box today, and during the make installworld it's stop with these following error messages: PASS: Test notdef detected no regression. Running test modifiers PASS: Test modifiers detected no regression. Running test funny_targets PASS: Test funny_targets detected no regression. Checking to see if your booted kernel is fresh enough.. /usr/obj/usr/src/bin/sh/sh -c 'echo "Testing installed kernel for new sigaction(2) syscall"' /usr/obj/usr/src/bin/sh/sh: not found *** Error code 127 Stop in /usr/src. *** Error code 1 any help will be very appreciated (this is production server) -- Cheers, zen +------------------+-----------------------+ Misael Happy Agus | | | +------------------+-----------------------+ "Be liberal in what you accept, and conservative in what you send."-- Postel From owner-freebsd-stable@FreeBSD.ORG Fri Jan 9 20:01:49 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 502D816A4D0 for ; Fri, 9 Jan 2004 20:01:49 -0800 (PST) Received: from conure.mail.pas.earthlink.net (conure.mail.pas.earthlink.net [207.217.120.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id 324BF43D60 for ; Fri, 9 Jan 2004 20:01:48 -0800 (PST) (envelope-from pixfbsd@earthlink.net) Received: from user153.net413.tx.sprint-hsd.net ([65.40.98.153] helo=[192.168.10.11]) by conure.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 1AfAJn-0006b6-00 for freebsd-stable@freebsd.org; Fri, 09 Jan 2004 20:01:47 -0800 From: pixfBSD To: freebsd-stable@freebsd.org Content-Type: text/plain Message-Id: <1073707290.4872.9.camel@hawk.dlqj.net> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Fri, 09 Jan 2004 22:01:30 -0600 Content-Transfer-Encoding: 7bit Subject: hp date stamp ink cartridges X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Jan 2004 04:01:49 -0000 #!/bin/sh # # hpif - Simple text input filter for lpd for HP-PCL based printers # Installed in /usr/local/libexec/hpif2 # # Simply copies stdin to stdout. Ignores all filter arguments. # Tells printer to treat LF as CR+LF. Ejects the page when done. printf "\033&k2G" && cat && printf "\033&l0H" | sed -e 's/@PJL SET DATE=[0-3][0-9]-[01][0-9]-20[0-9][0-9]/@PJL SET DATE=01-12-2001/g' && exit 0 exit 2 Thanks to the suggestion of the sed syntax I've tried a few renditions of this script. (Sorry I forget who was the kind person with this syntax) I've been through a reload and could have sworn I had a backup of my mail directory :-P doh! I've put the sed part after first ""printf "\033&k2G" && sed -e 's/@PJL SET DATE=[0-3][0-9]-[01][0-9]-20[0-9][0-9]/@PJL SET DATE=01-12-2001/g' ..."" I've even tried piping it after the first printf. It still doesn't change the date on the dfA009. If I sed -e 's/@PJL SET DATE=[0-3][0-9]-[01][0-9]-20[0-9][0-9]/@PJL SET DATE=01-12-2001/g' dfA009 > dfA009. It does change the line just fine. And I've tried cat | sed ... and no success either. Any suggestions? Thanks, pixfbsd 'given an OS choice I'd "pick FreeBSD"' From owner-freebsd-stable@FreeBSD.ORG Fri Jan 9 20:32:52 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E482216A4CE for ; Fri, 9 Jan 2004 20:32:51 -0800 (PST) Received: from smtp02.syd.iprimus.net.au (smtp02.syd.iprimus.net.au [210.50.76.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id E37E043D5A for ; Fri, 9 Jan 2004 20:32:48 -0800 (PST) (envelope-from tim@robbins.dropbear.id.au) Received: from robbins.dropbear.id.au (210.50.80.25) by smtp02.syd.iprimus.net.au (7.0.020) id 3F8F522A0191EAFA for stable@freebsd.org; Sat, 10 Jan 2004 15:32:47 +1100 Received: by robbins.dropbear.id.au (Postfix, from userid 1000) id B47AC4197; Sat, 10 Jan 2004 16:33:21 +1100 (EST) Date: Sat, 10 Jan 2004 16:33:21 +1100 From: Tim Robbins To: stable@freebsd.org Message-ID: <20040110053321.GA7916@cat.robbins.dropbear.id.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Subject: Heads up: smbfs X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Jan 2004 04:32:52 -0000 By popular request, I've MFC'd all of the new smbfs features and bugfixes from -current to -stable. See the forwarded commit message below for details of what these are. Since this is a fairly large and wide-sweeping commit, I may have made mistakes merging, or I may have backported some bugs from -current along with the fixes. Let me know immediately if this commit breaks any existing setups. I'd also be interested to hear success/failure stories from people trying to connect to Windows 2003 servers that did not work with FreeBSD in the past. Thanks, Tim ----- Forwarded message from "Tim J. Robbins" ----- X-Original-To: tim@localhost Delivered-To: tim@robbins.dropbear.id.au Delivered-To: tjr@freebsd.org Delivered-To: src-committers@freebsd.org From: "Tim J. Robbins" Date: Fri, 9 Jan 2004 20:17:50 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/contrib/smbfs/lib/smb ctx.c kiconv.c rap.c src/contrib/smbfs/smbutil common.h src/sys/netsmb netbios.h smb.h smb_conn.c smb_conn.h smb_crypt.c smb_dev.c smb_dev.h smb_iod.c smb_rq.c smb_rq.h smb_smb.c smb_subr.c smb_subr.h smb_tran.h ... X-FreeBSD-CVS-Branch: RELENG_4 Precedence: bulk X-Loop: FreeBSD.ORG tjr 2004/01/09 20:17:50 PST FreeBSD src repository Modified files: (Branch: RELENG_4) contrib/smbfs/lib/smb ctx.c kiconv.c rap.c contrib/smbfs/smbutil common.h sys/netsmb netbios.h smb.h smb_conn.c smb_conn.h smb_crypt.c smb_dev.c smb_dev.h smb_iod.c smb_rq.c smb_rq.h smb_smb.c smb_subr.c smb_subr.h smb_tran.h smb_trantcp.c smb_trantcp.h smb_usr.c sys/fs/smbfs smbfs.h smbfs_node.c smbfs_node.h smbfs_smb.c smbfs_subr.c smbfs_subr.h smbfs_vfsops.c smbfs_vnops.c Log: Bring in all of the smbfs features and bug fixes from -current to -stable: - Add support for SMB signing, which is required to connect to Windows 2003 servers. - Add support for mixed-case passwords. - Add support for large (up to 64K) READ_ANDX/WRITE_ANDX requests. - Increase TCP send/receive queue size to support these large requests. - Receive packets in small pieces so TCP slowstart will get ACKs faster. - Fix off-by-one bug preventing access to servers with NetBIOS names exactly 15 characters long. - Allow the [, ], and = characters in non-8.3 filenames. - Only close files on the server when there are no more references to the vnode; makes mmap()'d regions work properly after the local file descriptor has been closed. - Fix mishandling of files >4GB. - Diff reduction to make future merges easier. PR: 36038 46902 57123 Revision Changes Path 1.1.1.1.2.5 +6 -6 src/contrib/smbfs/lib/smb/ctx.c 1.1.1.1.2.3 +2 -1 src/contrib/smbfs/lib/smb/kiconv.c 1.1.1.1.2.2 +2 -1 src/contrib/smbfs/lib/smb/rap.c 1.1.1.1.2.3 +2 -1 src/contrib/smbfs/smbutil/common.h 1.2.2.3 +1 -1 src/sys/fs/smbfs/smbfs.h 1.2.2.4 +24 -21 src/sys/fs/smbfs/smbfs_node.c 1.1.2.3 +2 -1 src/sys/fs/smbfs/smbfs_node.h 1.1.2.3 +243 -10 src/sys/fs/smbfs/smbfs_smb.c 1.1.2.3 +2 -0 src/sys/fs/smbfs/smbfs_subr.c 1.1.2.2 +5 -2 src/sys/fs/smbfs/smbfs_subr.h 1.2.2.6 +2 -2 src/sys/fs/smbfs/smbfs_vfsops.c 1.2.2.9 +67 -77 src/sys/fs/smbfs/smbfs_vnops.c 1.1.2.3 +1 -1 src/sys/netsmb/netbios.h 1.1.2.4 +74 -12 src/sys/netsmb/smb.h 1.1.2.2 +90 -69 src/sys/netsmb/smb_conn.c 1.1.2.4 +7 -1 src/sys/netsmb/smb_conn.h 1.1.2.4 +196 -3 src/sys/netsmb/smb_crypt.c 1.2.2.2 +7 -26 src/sys/netsmb/smb_dev.c 1.3.2.2 +0 -0 src/sys/netsmb/smb_dev.h 1.1.2.3 +42 -29 src/sys/netsmb/smb_iod.c 1.1.2.3 +29 -9 src/sys/netsmb/smb_rq.c 1.1.2.3 +5 -1 src/sys/netsmb/smb_rq.h 1.1.2.4 +270 -9 src/sys/netsmb/smb_smb.c 1.1.2.3 +14 -4 src/sys/netsmb/smb_subr.c 1.1.2.2 +8 -41 src/sys/netsmb/smb_subr.h 1.1.2.2 +1 -0 src/sys/netsmb/smb_tran.h 1.3.2.2 +72 -22 src/sys/netsmb/smb_trantcp.c 1.1.2.2 +11 -3 src/sys/netsmb/smb_trantcp.h 1.1.2.2 +10 -4 src/sys/netsmb/smb_usr.c ----- End forwarded message ----- From owner-freebsd-stable@FreeBSD.ORG Fri Jan 9 21:33:40 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4794116A4CE for ; Fri, 9 Jan 2004 21:33:40 -0800 (PST) Received: from smtp3.adl2.internode.on.net (smtp3.adl2.internode.on.net [203.16.214.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7FD9B43D1D for ; Fri, 9 Jan 2004 21:33:38 -0800 (PST) (envelope-from malcolm.kay@internode.on.net) Received: from beta.home (ppp104-184.lns1.adl1.internode.on.net [150.101.104.184])i0A5XWqR092335; Sat, 10 Jan 2004 16:03:32 +1030 (CST) Content-Type: text/plain; charset="iso-8859-1" From: Malcolm Kay Organization: At home To: pixfBSD , freebsd-stable@freebsd.org Date: Sat, 10 Jan 2004 16:03:31 +1030 User-Agent: KMail/1.4.3 References: <1073707290.4872.9.camel@hawk.dlqj.net> In-Reply-To: <1073707290.4872.9.camel@hawk.dlqj.net> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200401101603.31874.malcolm.kay@internode.on.net> Subject: Re: hp date stamp ink cartridges X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Jan 2004 05:33:40 -0000 On Sat, 10 Jan 2004 14:31, pixfBSD wrote: > #!/bin/sh > # > # hpif - Simple text input filter for lpd for HP-PCL based printers > # Installed in /usr/local/libexec/hpif2 > # > # Simply copies stdin to stdout. Ignores all filter arguments. > # Tells printer to treat LF as CR+LF. Ejects the page when done. > > printf "\033&k2G" && cat && printf "\033&l0H" | sed -e 's/@PJL SET > DATE=3D[0-3][0-9]-[01][0-9]-20[0-9][0-9]/@PJL SET DATE=3D01-12-2001/g' = && > exit 0 > exit 2 > > Thanks to the suggestion of the sed syntax I've tried a few renditions > of this script. (Sorry I forget who was the kind person with this > syntax) I've been through a reload and could have sworn I had a backup > of my mail directory :-P doh! > > I've put the sed part after first ""printf "\033&k2G" && sed -e 's/@PJL > SET DATE=3D[0-3][0-9]-[01][0-9]-20[0-9][0-9]/@PJL SET DATE=3D01-12-2001= /g' > ..."" I've even tried piping it after the first printf. It still > doesn't change the date on the dfA009. This was my suggestion! (I thought you had disappeared into oblivion ;-) ). > > If I sed -e 's/@PJL SET DATE=3D[0-3][0-9]-[01][0-9]-20[0-9][0-9]/@PJL S= ET > DATE=3D01-12-2001/g' dfA009 > dfA009. It d= oes > change the line just fine. > Then maybe sed is not in the path as seen by lpd. Try a full path: i.e. /usr/bin/sed in place of sed. I should have thought of this possibility in the first place. (I believe the 'cat' should be superfluous) For the record, my original suggestion was: printf "\033&k2G" && sed -e 's/@PJL SET DATE=3D[0-3][0-9]-[01][0-9]-20[0-= 9][0-9]/@PJL SET DATE=3D01-12-2000/g' && printf "\033&l0H" && exit 0 Malcolm Kay From owner-freebsd-stable@FreeBSD.ORG Sat Jan 10 09:47:20 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C587916A4D2 for ; Sat, 10 Jan 2004 09:47:20 -0800 (PST) Received: from turkey.mail.pas.earthlink.net (turkey.mail.pas.earthlink.net [207.217.120.126]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7DD9E43D48 for ; Sat, 10 Jan 2004 09:47:18 -0800 (PST) (envelope-from pixfbsd@earthlink.net) Received: from user153.net413.tx.sprint-hsd.net ([65.40.98.153] helo=[192.168.10.11]) by turkey.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 1AfNCd-0003ak-00; Sat, 10 Jan 2004 09:47:16 -0800 From: pixfBSD To: Malcolm Kay In-Reply-To: <200401101603.31874.malcolm.kay@internode.on.net> References: <1073707290.4872.9.camel@hawk.dlqj.net> <200401101603.31874.malcolm.kay@internode.on.net> Content-Type: text/plain Message-Id: <1073756820.4872.32.camel@hawk.dlqj.net> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Sat, 10 Jan 2004 11:47:00 -0600 Content-Transfer-Encoding: 7bit cc: freebsd-stable@freebsd.org Subject: Re: hp date stamp ink cartridges X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Jan 2004 17:47:20 -0000 Moved back to original suggested syntax (Thank you very much Malcolm.) printf "\033&k2G" && sed -e 's/@PJL SET DATE=[0-3][0-9]-[01][0-9]-20[0-9][0-9]/@PJL SET DATE=01-12-2000/g' && printf "\033&l0H" && exit 0 and it works!! Why did I think it didn't work... umm, well, umm I was disabling printing and looking at the df but until I was going through Malcolms questions of: > What happens when you try to print ? > Expired message? > Nothing? it occurs to me that duh, the filter doesn't filter until it's sending the print job to the printer. It's not filtering as it goes to the queue. Thanks again!! On Fri, 2004-01-09 at 23:33, Malcolm Kay wrote: > On Sat, 10 Jan 2004 14:31, pixfBSD wrote: > > #!/bin/sh > > # > > # hpif - Simple text input filter for lpd for HP-PCL based printers > > # Installed in /usr/local/libexec/hpif2 > > # > > # Simply copies stdin to stdout. Ignores all filter arguments. > > # Tells printer to treat LF as CR+LF. Ejects the page when done. > > > > printf "\033&k2G" && cat && printf "\033&l0H" | sed -e 's/@PJL SET > > DATE=[0-3][0-9]-[01][0-9]-20[0-9][0-9]/@PJL SET DATE=01-12-2001/g' && > > exit 0 > > exit 2 > > > > Thanks to the suggestion of the sed syntax I've tried a few renditions > > of this script. (Sorry I forget who was the kind person with this > > syntax) I've been through a reload and could have sworn I had a backup > > of my mail directory :-P doh! > > > > I've put the sed part after first ""printf "\033&k2G" && sed -e 's/@PJL > > SET DATE=[0-3][0-9]-[01][0-9]-20[0-9][0-9]/@PJL SET DATE=01-12-2001/g' > > ..."" I've even tried piping it after the first printf. It still > > doesn't change the date on the dfA009. > > This was my suggestion! > > (I thought you had disappeared into oblivion ;-) ). > > > > > If I sed -e 's/@PJL SET DATE=[0-3][0-9]-[01][0-9]-20[0-9][0-9]/@PJL SET > > DATE=01-12-2001/g' dfA009 > dfA009. It does > > change the line just fine. > > > > Then maybe sed is not in the path as seen by lpd. > Try a full path: i.e. /usr/bin/sed in place of sed. > > I should have thought of this possibility in the first place. > (I believe the 'cat' should be superfluous) > > For the record, my original suggestion was: > > printf "\033&k2G" && sed -e 's/@PJL SET DATE=[0-3][0-9]-[01][0-9]-20[0-9][0-9]/@PJL SET DATE=01-12-2000/g' && printf "\033&l0H" && exit 0 > > Malcolm Kay > > From owner-freebsd-stable@FreeBSD.ORG Sat Jan 10 12:14:20 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BFA9E16A4CE; Sat, 10 Jan 2004 12:14:20 -0800 (PST) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id ED86A43D46; Sat, 10 Jan 2004 12:14:19 -0800 (PST) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id E57E972DBF; Sat, 10 Jan 2004 12:14:19 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id E083872DB5; Sat, 10 Jan 2004 12:14:19 -0800 (PST) Date: Sat, 10 Jan 2004 12:14:19 -0800 (PST) From: Doug White To: zen In-Reply-To: <46254658343.20040110091532@tk-pttuntex.com> Message-ID: <20040110121341.E36595@carver.gumbysoft.com> References: <46254658343.20040110091532@tk-pttuntex.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: stable@freebsd.org cc: freebsd-stable@freebsd.org Subject: Re: help X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Jan 2004 20:14:20 -0000 On Sat, 10 Jan 2004, zen wrote: > Hello freebsd-stable, > > i know this is may be the wrong place to ask these question, > i just cvsup my 5.1 box today, > and during the make installworld it's stop with these following > error messages: > > PASS: Test notdef detected no regression. > Running test modifiers > PASS: Test modifiers detected no regression. > Running test funny_targets > PASS: Test funny_targets detected no regression. > Checking to see if your booted kernel is fresh enough.. > /usr/obj/usr/src/bin/sh/sh -c 'echo "Testing installed kernel for new sigaction(2) syscall"' > /usr/obj/usr/src/bin/sh/sh: not found > *** Error code 127 > > Stop in /usr/src. It appears you haven't followed the instructions correctly in how to build world. In particular, it never built. :-) Please see the section in the Handbook on updating and try again. -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org From owner-freebsd-stable@FreeBSD.ORG Sat Jan 10 12:14:20 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BFA9E16A4CE; Sat, 10 Jan 2004 12:14:20 -0800 (PST) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id ED86A43D46; Sat, 10 Jan 2004 12:14:19 -0800 (PST) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id E57E972DBF; Sat, 10 Jan 2004 12:14:19 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id E083872DB5; Sat, 10 Jan 2004 12:14:19 -0800 (PST) Date: Sat, 10 Jan 2004 12:14:19 -0800 (PST) From: Doug White To: zen In-Reply-To: <46254658343.20040110091532@tk-pttuntex.com> Message-ID: <20040110121341.E36595@carver.gumbysoft.com> References: <46254658343.20040110091532@tk-pttuntex.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: stable@freebsd.org cc: freebsd-stable@freebsd.org Subject: Re: help X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Jan 2004 20:14:20 -0000 On Sat, 10 Jan 2004, zen wrote: > Hello freebsd-stable, > > i know this is may be the wrong place to ask these question, > i just cvsup my 5.1 box today, > and during the make installworld it's stop with these following > error messages: > > PASS: Test notdef detected no regression. > Running test modifiers > PASS: Test modifiers detected no regression. > Running test funny_targets > PASS: Test funny_targets detected no regression. > Checking to see if your booted kernel is fresh enough.. > /usr/obj/usr/src/bin/sh/sh -c 'echo "Testing installed kernel for new sigaction(2) syscall"' > /usr/obj/usr/src/bin/sh/sh: not found > *** Error code 127 > > Stop in /usr/src. It appears you haven't followed the instructions correctly in how to build world. In particular, it never built. :-) Please see the section in the Handbook on updating and try again. -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org From owner-freebsd-stable@FreeBSD.ORG Sat Jan 10 15:48:02 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C5EE916A4CE; Sat, 10 Jan 2004 15:48:02 -0800 (PST) Received: from sccrmhc13.comcast.net (sccrmhc13.comcast.net [204.127.202.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id 161C243D53; Sat, 10 Jan 2004 15:48:01 -0800 (PST) (envelope-from DougB@freebsd.org) Received: from master.dougb.net (c-24-130-160-161.we.client2.attbi.com[24.130.160.161]) by comcast.net (sccrmhc13) with SMTP id <2004011023480001600njf0ue>; Sat, 10 Jan 2004 23:48:00 +0000 Date: Sat, 10 Jan 2004 15:47:58 -0800 (PST) From: Doug Barton To: zen In-Reply-To: <46254658343.20040110091532@tk-pttuntex.com> Message-ID: <20040110154735.W9450@znfgre.qbhto.arg> References: <46254658343.20040110091532@tk-pttuntex.com> Organization: http://www.FreeBSD.org/ X-message-flag: Outlook -- Not just for spreading viruses anymore! MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: "stable@freebsd.org" cc: "freebsd-stable@freebsd.org" Subject: Re: help X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Jan 2004 23:48:02 -0000 On Sat, 10 Jan 2004, zen wrote: > Hello freebsd-stable, > > i know this is may be the wrong place to ask these question, > i just cvsup my 5.1 box today, Yup, wrong place. freebsd-current is the list you want. Good luck, Doug -- This .signature sanitized for your protection From owner-freebsd-stable@FreeBSD.ORG Sat Jan 10 15:48:02 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C5EE916A4CE; Sat, 10 Jan 2004 15:48:02 -0800 (PST) Received: from sccrmhc13.comcast.net (sccrmhc13.comcast.net [204.127.202.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id 161C243D53; Sat, 10 Jan 2004 15:48:01 -0800 (PST) (envelope-from DougB@freebsd.org) Received: from master.dougb.net (c-24-130-160-161.we.client2.attbi.com[24.130.160.161]) by comcast.net (sccrmhc13) with SMTP id <2004011023480001600njf0ue>; Sat, 10 Jan 2004 23:48:00 +0000 Date: Sat, 10 Jan 2004 15:47:58 -0800 (PST) From: Doug Barton To: zen In-Reply-To: <46254658343.20040110091532@tk-pttuntex.com> Message-ID: <20040110154735.W9450@znfgre.qbhto.arg> References: <46254658343.20040110091532@tk-pttuntex.com> Organization: http://www.FreeBSD.org/ X-message-flag: Outlook -- Not just for spreading viruses anymore! MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: "stable@freebsd.org" cc: "freebsd-stable@freebsd.org" Subject: Re: help X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Jan 2004 23:48:02 -0000 On Sat, 10 Jan 2004, zen wrote: > Hello freebsd-stable, > > i know this is may be the wrong place to ask these question, > i just cvsup my 5.1 box today, Yup, wrong place. freebsd-current is the list you want. Good luck, Doug -- This .signature sanitized for your protection From owner-freebsd-stable@FreeBSD.ORG Sat Jan 10 17:52:59 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ED21516A4CE for ; Sat, 10 Jan 2004 17:52:59 -0800 (PST) Received: from web12602.mail.yahoo.com (web12602.mail.yahoo.com [216.136.173.225]) by mx1.FreeBSD.org (Postfix) with SMTP id AE18543D31 for ; Sat, 10 Jan 2004 17:52:58 -0800 (PST) (envelope-from bj93542@yahoo.com) Message-ID: <20040111015258.99063.qmail@web12602.mail.yahoo.com> Received: from [128.226.68.59] by web12602.mail.yahoo.com via HTTP; Sat, 10 Jan 2004 17:52:58 PST Date: Sat, 10 Jan 2004 17:52:58 -0800 (PST) From: Dorin H To: freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: 4.8->4.9 => installworld error :touch not found X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Jan 2004 01:53:00 -0000 Hi there, I am trying to update an up-to-date 4.8 to 4.9. and I am getting the (classic) error: "touch not found" while doing the make installworld. Yes, I know it was discused a couple of times, but the date seems correct (as reported by date(1) ). Steps: #cvsup to RELENG_9 (01/10/2004, morning EST) as from UPDATING (4.8->4.9): #make buildworld (0k) #make buildkernel KERNCONF=MYKERN (0k) #make installkernel KERNCONF=MYKERN (0k) reboot in single mode as boot -s fsck -p mount -u / mount -a -t ufs swapon -a adjkentz -i (0k) make installworld -> fail with error: -------------------------------------------------------------- >>> Installing everything.. -------------------------------------------------------------- cd /usr/src; make -f Makefile.inc1 install ===> share/info ===> include creating osreldate.h from newvers.sh setvar PARAMFILE /usr/src/include/../sys/sys/param.h; . /usr/src/include/../sys/conf/newvers.sh; echo "$COPYRIGHT " > osreldate.h; echo "#ifdef _KERNEL" >> osreldate.h; echo '#error "osreldate.h must not be us ed in the kernel, use sys/param.h"' >> osreldate.h; echo "#else" >> osreldate.h; echo \#'undef __FreeBSD_ version' >> osreldate.h; echo \#'define __FreeBSD_version' $RELDATE >> osreldate.h; echo "#endif" >> osreldate.h touch: not found *** Error code 127 Stop in /usr/src/include. *** Error code 1 I have checked the date: # date Sat Jan 10 20:44:50 EST 2004 (correct) I tried again by rebooting in single mode and eliminating "adjkerntz -i" command. I got the same error (the date is again correct). I tried to trick it and modify newvers.sh to have the full path for touch : /usr/bin/touch. I got the error: ------------------------------------------------------------- >>> Installing everything.. -------------------------------------------------------------- cd /usr/src; make -f Makefile.inc1 install ===> share/info ===> include install -C -o root -g wheel -m 444 a.out.h ar.h assert.h bitstring.h complex.h ctype.h db.h dirent.h disktab.h dlfcn.h elf.h elf-hints.h err.h fnmatch.h fstab.h fts.h glob.h grp.h strhash.h histedit.h ieeefp.h ifaddrs.h iso646.h langinfo.h libgen.h limits.h link.h locale.h malloc.h memory.h mpool.h ndbm.h netdb.h nl_types.h nlist.h objformat.h paths.h pthread.h pthread_np.h pwd.h ranlib.h readpassphrase.h r egex.h regexp.h resolv.h rune.h runetype.h search.h setjmp.h sgtty.h signal.h stab.h stdbool.h stddef.h stdio.h stdlib.h string.h stringl ist.h strings.h struct.h sysexits.h tar.h time.h timers.h ttyent.h unistd.h utime.h utmp.h vis.h wchar.h wctype.h osreldate.h /usr/includ e install:No such file or directory *** Error code 1 Stop in /usr/src/include. *** Error code 1 I am missing someting here but I can't figure it out. Please, give me some "light" :) TIA, /Dorin. PS. For now I am working with the new kernel on the old world (no ps and co.) until I figure it out. Please let me know of any additional info required. __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From owner-freebsd-stable@FreeBSD.ORG Sat Jan 10 18:14:25 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4756416A4CE for ; Sat, 10 Jan 2004 18:14:25 -0800 (PST) Received: from web12607.mail.yahoo.com (web12607.mail.yahoo.com [216.136.173.230]) by mx1.FreeBSD.org (Postfix) with SMTP id 8125043D4C for ; Sat, 10 Jan 2004 18:14:24 -0800 (PST) (envelope-from bj93542@yahoo.com) Message-ID: <20040111021424.12563.qmail@web12607.mail.yahoo.com> Received: from [128.226.68.47] by web12607.mail.yahoo.com via HTTP; Sat, 10 Jan 2004 18:14:24 PST Date: Sat, 10 Jan 2004 18:14:24 -0800 (PST) From: Dorin H To: Dorin H In-Reply-To: <20040111015258.99063.qmail@web12602.mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: freebsd-stable@freebsd.org Subject: Re: 4.8->4.9 => installworld error :touch not found X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Jan 2004 02:14:25 -0000 --- Dorin H wrote: > Hi there, > I am trying to update an up-to-date 4.8 to 4.9. and > I > am getting the (classic) error: > "touch not found" > while doing the make installworld. > Yes, I know it was discused a couple of times, but > the date seems correct (as reported by date(1) ). > Sorry for the noise. I am so stupid that I forgot to mount the partition on which /usr/obj reside :(( /Dorin. __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From owner-freebsd-stable@FreeBSD.ORG Sat Jan 10 18:59:41 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B710116A4CE for ; Sat, 10 Jan 2004 18:59:41 -0800 (PST) Received: from 23x.net (ATuileries-117-1-28-180.w193-253.abo.wanadoo.fr [193.253.59.180]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8B4E943D2D for ; Sat, 10 Jan 2004 18:59:39 -0800 (PST) (envelope-from jared@23x.net) Received: from [192.168.123.103] (mantaray.home [192.168.123.103]) by 23x.net (8.12.9/8.12.9) with ESMTP id i0B2xiip015592 for ; Sun, 11 Jan 2004 03:59:45 +0100 (CET) (envelope-from jared@23x.net) X-Habeas-SWE-1: winter into spring X-Habeas-SWE-2: brightly anticipated X-Habeas-SWE-3: like Habeas SWE (tm) X-Habeas-SWE-4: Copyright 2002 Habeas (tm) X-Habeas-SWE-5: Sender Warranted Email (SWE) (tm). The sender of this X-Habeas-SWE-6: email in exchange for a license for this Habeas X-Habeas-SWE-7: warrant mark warrants that this is a Habeas Compliant X-Habeas-SWE-8: Message (HCM) and not spam. Please report use of this X-Habeas-SWE-9: mark in spam to . Mime-Version: 1.0 (Apple Message framework v609) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <30689C57-43E2-11D8-89F4-000A958F180A@23x.net> Content-Transfer-Encoding: 7bit X-Image-Url: http://www.23x.net/mail/jared@23x.net From: "Jared ''Danger'' Earle" Date: Sun, 11 Jan 2004 03:59:36 +0100 To: freebsd-stable@freebsd.org X-Mailer: Apple Mail (2.609) Subject: 5.2-STABLE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Jan 2004 02:59:41 -0000 When does 5.2 become -STABLE? From what I can tell, we're running a little behind schedule. -- Jared Earle, Nightfall Games, jared@23x.net - http://www.23x.net "Watashi-wa shin no SUPORUKU desu" From owner-freebsd-stable@FreeBSD.ORG Sat Jan 10 19:08:43 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 01FD516A4CE for ; Sat, 10 Jan 2004 19:08:43 -0800 (PST) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id E4DB743D39 for ; Sat, 10 Jan 2004 19:08:41 -0800 (PST) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (IDENT:brdavis@localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.12.10/8.12.3) with ESMTP id i0B38RA7021932; Sat, 10 Jan 2004 19:08:27 -0800 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.12.10/8.12.3/Submit) id i0B38Rx0021931; Sat, 10 Jan 2004 19:08:27 -0800 Date: Sat, 10 Jan 2004 19:08:27 -0800 From: Brooks Davis To: "Jared ''Danger'' Earle" Message-ID: <20040111030827.GB12907@Odin.AC.HMC.Edu> References: <30689C57-43E2-11D8-89F4-000A958F180A@23x.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="6sX45UoQRIJXqkqR" Content-Disposition: inline In-Reply-To: <30689C57-43E2-11D8-89F4-000A958F180A@23x.net> User-Agent: Mutt/1.5.4i X-Virus-Scanned: by amavisd-milter (http://amavis.org/) on odin.ac.hmc.edu cc: freebsd-stable@freebsd.org Subject: Re: 5.2-STABLE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Jan 2004 03:08:43 -0000 --6sX45UoQRIJXqkqR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jan 11, 2004 at 03:59:36AM +0100, Jared ''Danger'' Earle wrote: > When does 5.2 become -STABLE? Never. 5.3 is currently scheduled to be the release at which 5-STABLE is branched. > From what I can tell, we're running a little behind schedule. You are running with out of date information. See the article "The Road Map to 5-STABLE" for more or less up to date information (it looks like the schedual is a little out of date): http://www.freebsd.org/doc/en_US.ISO8859-1/articles/5-roadmap/index.html -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --6sX45UoQRIJXqkqR Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFAAL4qXY6L6fI4GtQRAtgbAJ9bbwV0Ax18ru9nUxAQegKpCwLHVwCgoaEA S63zZSUUmHCXufMahF+r0Vg= =MbT2 -----END PGP SIGNATURE----- --6sX45UoQRIJXqkqR-- From owner-freebsd-stable@FreeBSD.ORG Sat Jan 10 19:13:52 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D365716A4CE for ; Sat, 10 Jan 2004 19:13:52 -0800 (PST) Received: from 23x.net (ATuileries-117-1-28-180.w193-253.abo.wanadoo.fr [193.253.59.180]) by mx1.FreeBSD.org (Postfix) with ESMTP id CFA4D43D31 for ; Sat, 10 Jan 2004 19:13:50 -0800 (PST) (envelope-from jared@23x.net) Received: from [192.168.123.103] (mantaray.home [192.168.123.103]) by 23x.net (8.12.9/8.12.9) with ESMTP id i0B3Dwip015778; Sun, 11 Jan 2004 04:13:58 +0100 (CET) (envelope-from jared@23x.net) X-Habeas-SWE-1: winter into spring X-Habeas-SWE-2: brightly anticipated X-Habeas-SWE-3: like Habeas SWE (tm) X-Habeas-SWE-4: Copyright 2002 Habeas (tm) X-Habeas-SWE-5: Sender Warranted Email (SWE) (tm). The sender of this X-Habeas-SWE-6: email in exchange for a license for this Habeas X-Habeas-SWE-7: warrant mark warrants that this is a Habeas Compliant X-Habeas-SWE-8: Message (HCM) and not spam. Please report use of this X-Habeas-SWE-9: mark in spam to . In-Reply-To: <20040111030827.GB12907@Odin.AC.HMC.Edu> References: <30689C57-43E2-11D8-89F4-000A958F180A@23x.net> <20040111030827.GB12907@Odin.AC.HMC.Edu> Mime-Version: 1.0 (Apple Message framework v609) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <2CF86F0E-43E4-11D8-89F4-000A958F180A@23x.net> Content-Transfer-Encoding: 7bit X-Image-Url: http://www.23x.net/mail/jared@23x.net From: "Jared ''Danger'' Earle" Date: Sun, 11 Jan 2004 04:13:49 +0100 To: Brooks Davis X-Mailer: Apple Mail (2.609) cc: freebsd-stable@freebsd.org Subject: Re: 5.2-STABLE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Jan 2004 03:13:53 -0000 On 11 Jan 2004, at 04:08, Brooks Davis wrote: > You are running with out of date information. See the article "The > Road > Map to 5-STABLE" for more or less up to date information (it looks like > the schedual is a little out of date): I was running off a previous notice than 5.2 would be -STABLE and this link: http://www.freebsd.org/releases/5.2R/schedule.html Thanks for the clarification. -- Jared Earle, Nightfall Games, jared@23x.net - http://www.23x.net "No SPORK today. SPORK tomorrow. There's always SPORK tomorrow." From owner-freebsd-stable@FreeBSD.ORG Sat Jan 10 21:34:53 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 75F5A16A4CE for ; Sat, 10 Jan 2004 21:34:53 -0800 (PST) Received: from web14605.mail.yahoo.com (web14605.mail.yahoo.com [216.136.224.85]) by mx1.FreeBSD.org (Postfix) with SMTP id A561E43D39 for ; Sat, 10 Jan 2004 21:34:52 -0800 (PST) (envelope-from plageotakes@yahoo.com) Message-ID: <20040111053452.56134.qmail@web14605.mail.yahoo.com> Received: from [68.165.58.138] by web14605.mail.yahoo.com via HTTP; Sat, 10 Jan 2004 21:34:52 PST Date: Sat, 10 Jan 2004 21:34:52 -0800 (PST) From: peter lageotakes To: Jared ''Danger'' Earle , freebsd-stable@freebsd.org In-Reply-To: <30689C57-43E2-11D8-89F4-000A958F180A@23x.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: 5.2-STABLE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Jan 2004 05:34:53 -0000 The schedual for for 5.2: http://www.freebsd.org/releases/5.2R/schedule.html And roadmap: http://www.freebsd.org/doc/en_US.ISO8859-1/articles/5-roadmap/article.html On the 2nd link, check out section 4. --- Jared ''Danger'' Earle wrote: > When does 5.2 become -STABLE? > > From what I can tell, we're running a little behind > schedule. > > -- > Jared Earle, Nightfall Games, jared@23x.net - > http://www.23x.net > "Watashi-wa shin no SUPORUKU > desu" > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" ===== ESCape with VI. Cheese A La mode. __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus