From owner-freebsd-stable@FreeBSD.ORG Sun Apr 18 07:41:42 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 9383C16A4CE; Sun, 18 Apr 2004 07:41:42 -0700 (PDT) Received: from smtp3.adl2.internode.on.net (smtp3.adl2.internode.on.net [203.16.214.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id D8A9143D31; Sun, 18 Apr 2004 07:41:41 -0700 (PDT) (envelope-from smckay@internode.on.net) Received: from dungeon.home (ppp167-147.lns1.bne3.internode.on.net [150.101.167.147])i3IEfdk2061993; Mon, 19 Apr 2004 00:11:40 +0930 (CST) Received: from dungeon.home (localhost [127.0.0.1]) by dungeon.home (8.12.8p2/8.11.6) with ESMTP id i3IEclNf010673; Mon, 19 Apr 2004 00:38:47 +1000 (EST) (envelope-from mckay) Message-Id: <200404181438.i3IEclNf010673@dungeon.home> To: freebsd-stable@freebsd.org Date: Mon, 19 Apr 2004 00:38:47 +1000 From: Stephen McKay cc: Peter Edwards cc: Stephen McKay Subject: Should I merge fix for PR#64091 (NFS data corruption)? 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, 18 Apr 2004 14:41:42 -0000 Hi all! This one only got fixed recently in -current, and I've only given it a few hours of heavy testing, but the fix for PR#64091 looks to work just as well on -stable, and I'd like to merge it. The test programs in the PR provoke the bug in no more than a couple of minutes in my tests (4.10-beta client, 4.9-release server). With the attached patch (taken nearly literally from -current), it's been happy for about 8 hours now. I appreciate that nobody wants NFS destabilised so close to the (probably) last ever 4.x release, so I'd like people to try to poke holes in this before I pester re@ for permission to merge. Give the test programs in http://www.freebsd.org/cgi/query-pr.cgi?pr=64091 a go on a 4.10-beta client, then try it with the attached patch. I suppose I'm particularly looking for anything that gets worse after the patch, but any result good or bad is of interest. In my tests, it fixes the problem and doesn't noticeably increase network traffic or cause any other problems. I'd just like to be sure. :-) Stephen. PS NWANTED (in nfsnode.h) is totally bogus. Luckily it is only used in commented out code. Should really be cleaned up though. ------8<------ ------8<------ ------8<------ ------8<------ Index: nfs_bio.c =================================================================== RCS file: /cvs/src/sys/nfs/Attic/nfs_bio.c,v retrieving revision 1.83.2.4 diff -u -r1.83.2.4 nfs_bio.c --- nfs_bio.c 29 Dec 2002 18:19:53 -0000 1.83.2.4 +++ nfs_bio.c 18 Apr 2004 11:50:03 -0000 @@ -401,13 +401,15 @@ error = VOP_GETATTR(vp, &vattr, cred, p); if (error) return (error); - if (np->n_mtime != vattr.va_mtime.tv_sec) { + if ((np->n_flag & NSIZECHANGED) + || np->n_mtime != vattr.va_mtime.tv_sec) { if (vp->v_type == VDIR) nfs_invaldir(vp); error = nfs_vinvalbuf(vp, V_SAVE, cred, p, 1); if (error) return (error); np->n_mtime = vattr.va_mtime.tv_sec; + np->n_flag &= ~NSIZECHANGED; } } } Index: nfs_subs.c =================================================================== RCS file: /cvs/src/sys/nfs/Attic/nfs_subs.c,v retrieving revision 1.90.2.2 diff -u -r1.90.2.2 nfs_subs.c --- nfs_subs.c 25 Oct 2001 19:18:53 -0000 1.90.2.2 +++ nfs_subs.c 18 Apr 2004 11:50:03 -0000 @@ -1335,12 +1335,19 @@ vap->va_size = np->n_size; np->n_attrstamp = 0; } else if (np->n_flag & NMODIFIED) { - if (vap->va_size < np->n_size) + /* + * We've modified the file: Use the larger + * of our size, and the server's size. + */ + if (vap->va_size < np->n_size) { vap->va_size = np->n_size; - else + } else { np->n_size = vap->va_size; + np->n_flag |= NSIZECHANGED; + } } else { np->n_size = vap->va_size; + np->n_flag |= NSIZECHANGED; } vnode_pager_setsize(vp, np->n_size); } else { Index: nfsnode.h =================================================================== RCS file: /cvs/src/sys/nfs/Attic/nfsnode.h,v retrieving revision 1.32.2.1 diff -u -r1.32.2.1 nfsnode.h --- nfsnode.h 26 Jun 2001 04:20:11 -0000 1.32.2.1 +++ nfsnode.h 18 Apr 2004 11:50:03 -0000 @@ -144,6 +144,7 @@ #define NCHG 0x0400 /* Special file times changed */ #define NLOCKED 0x0800 /* node is locked */ #define NWANTED 0x0100 /* someone wants to lock */ +#define NSIZECHANGED 0x2000 /* File size has changed: need cache inval */ /* * Convert between nfsnode pointers and vnode pointers ------8<------ ------8<------ ------8<------ ------8<------ From owner-freebsd-stable@FreeBSD.ORG Sun Apr 18 08:09:11 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 B29D916A4CE; Sun, 18 Apr 2004 08:09:11 -0700 (PDT) Received: from grosbein.pp.ru (grgw.svzserv.kemerovo.su [213.184.64.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3BF9C43D45; Sun, 18 Apr 2004 08:09:10 -0700 (PDT) (envelope-from eugen@grosbein.pp.ru) Received: from grosbein.pp.ru (eugen@localhost [127.0.0.1]) by grosbein.pp.ru (8.12.11/8.12.11) with ESMTP id i3IF94Ri000843; Sun, 18 Apr 2004 23:09:04 +0800 (KRAST) (envelope-from eugen@grosbein.pp.ru) Received: (from eugen@localhost) by grosbein.pp.ru (8.12.11/8.12.11/Submit) id i3IF94af000842; Sun, 18 Apr 2004 23:09:04 +0800 (KRAST) (envelope-from eugen) Date: Sun, 18 Apr 2004 23:09:04 +0800 From: Eugene Grosbein To: Stephen McKay Message-ID: <20040418150904.GB718@grosbein.pp.ru> References: <200404181438.i3IEclNf010673@dungeon.home> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200404181438.i3IEclNf010673@dungeon.home> User-Agent: Mutt/1.4.1i cc: Peter Edwards cc: freebsd-stable@freebsd.org Subject: Re: Should I merge fix for PR#64091 (NFS data corruption)? 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, 18 Apr 2004 15:09:11 -0000 On Mon, Apr 19, 2004 at 12:38:47AM +1000, Stephen McKay wrote: > Give the test programs in http://www.freebsd.org/cgi/query-pr.cgi?pr=64091 > a go on a 4.10-beta client, then try it with the attached patch. Should one patch (and reboot in case of NFS compiled in a kernel) both of a client and a server? Eugene Grosbein From owner-freebsd-stable@FreeBSD.ORG Sun Apr 18 10:15:32 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 DB99916A4CE for ; Sun, 18 Apr 2004 10:15:31 -0700 (PDT) Received: from bifrost.agrussell.com (bifrost.hos.net [204.251.33.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1FE2343D2F for ; Sun, 18 Apr 2004 10:15:31 -0700 (PDT) (envelope-from arussell@agrussell.com) Received: from bifrost.agrussell.com (localhost [127.0.0.1]) i3IHFUO7000105 for ; Sun, 18 Apr 2004 12:15:30 -0500 (CDT) (envelope-from arussell@agrussell.com) Received: (from arussell@localhost) by bifrost.agrussell.com (8.12.8p2/8.12.8/Submit) id i3IHFUN0000104 for freebsd-stable@freebsd.org; Sun, 18 Apr 2004 12:15:30 -0500 (CDT) (envelope-from arussell) Date: Sun, 18 Apr 2004 12:15:30 -0500 From: "A.G. Russell IV" To: freebsd-stable@freebsd.org Message-ID: <20040418171530.GA99649@bifrost.agrussell.com> References: <20040416230903.GA64842@bifrost.agrussell.com> <20040417032841.GB64842@bifrost.agrussell.com> <20040417122341.I33190@woozle.rinet.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040417122341.I33190@woozle.rinet.ru> User-Agent: Mutt/1.4.1i Subject: 4.10 Beta, was Re: make: no system rules (sys.mk). 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, 18 Apr 2004 17:15:32 -0000 Ok, there where other directories missing, so I got spooked, and did a compleate format, and install from the 4.10 beta CD. I set up cvsup, and downloaded all of the updates to src and ports. I then did a buildworld, and it failed in /usr/src/usr.bin/vi and /usr/src/contrib/nvi, I then removed those directories, and did another cvsup, another build world, vi built fine and now it is having problems with curses. last cvsup: Parsing supfile "/root/cvsup/supem.noports" Connecting to cvsup2.FreeBSD.org Connected to cvsup2.FreeBSD.org Server software version: SNAP_16_1h Negotiating file attribute support Exchanging collection information Establishing multiplexed-mode data connection Running Updating collection src-all/cvs Shutting down connection to server Finished successfully (11:55:49 AM) update sorces complete So I have all of the updates to the source tr for RELENG_4 tree. the supem.noports reads as follows: *default host=cvsup2.FreeBSD.org *default base=/usr *default prefix=/usr *default release=cvs tag=RELENG_4 *default delete use-rel-suffix src-all the make buildwold ends as follows: cc -O -pipe -I. -I/usr/src/lib/libncurses -I/usr/src/lib/libncurses/../../contrib/ncurses/ncurses -I/usr/src/lib/libncurses/../../contrib/ncurses/include -Wall -DFREEBSD_NATIVE -DNDEBUG -DHAVE_CONFIG_H -DTERMIOS -c expanded.c -o expanded.o In file included from term.h:86, from expanded.c:3: /usr/obj/usr/src/i386/usr/include/termios.h:255: syntax error before `termios' /usr/obj/usr/src/i386/usr/include/termios.h:255: warning: type defaults to `int' in declaration of `tcsetattr' *** Error code 1 Stop in /usr/src/lib/libncurses. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. Thanks for any and all help! A.G. On Sat, Apr 17, 2004 at 12:28:42PM +0400, Dmitry Morozovsky wrote: > On Fri, 16 Apr 2004, A.G. Russell IV wrote: > > ARI> This is very perplexing... did a sup, and build no problem a month > ARI> ago, I never as a rule, to in the share dir for anything... but I > ARI> must of steped on it one way or another... the whole /usr/share/mk > ARI> dir is gone > > As a bandaid you can copy /usr/src/share/mk to /usr/share/mk: > > mkdir /usr/share/mk > cp -p /usr/src/share/mk/*.mk /usr/share/mk/ > > However, you'll need also /usr/include to successfully make buildworld. > > Sincerely, > D.Marck [DM5020, MCK-RIPE, DM3-RIPN] > ------------------------------------------------------------------------ > *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** > ------------------------------------------------------------------------ > _______________________________________________ > 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" -- _______________________________________________________________________________ A.G. Russell IV KC5KFD The Knife Company e-mail: ag4@theknifecompany.com Phone 479-631-0055 FAX 479-631-8734 Old Klingon Saying -- 'oH majQa' yIn je bang, Qo' bang ------------------------------------------------------------------------------- From owner-freebsd-stable@FreeBSD.ORG Sun Apr 18 11:18: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 EF76016A4CE for ; Sun, 18 Apr 2004 11:18:39 -0700 (PDT) Received: from ptb-relay03.plus.net (ptb-relay03.plus.net [212.159.14.214]) by mx1.FreeBSD.org (Postfix) with ESMTP id A165843D69 for ; Sun, 18 Apr 2004 11:18:39 -0700 (PDT) (envelope-from tony@sequeira.com) Received: from [212.159.42.85] (helo=nova.sequestor.lan) by ptb-relay03.plus.net with esmtp (Exim) id 1BFGsF-00096Y-3b for freebsd-stable@freebsd.org; Sun, 18 Apr 2004 18:18:35 +0000 Received: by nova.sequestor.lan (Postfix, from userid 1000) id 7C1B43B6; Sun, 18 Apr 2004 19:18:34 +0100 (BST) From: "S. Anthony Sequeira" To: FreeBSD List Content-Type: text/plain Content-Transfer-Encoding: 7bit Organization: Great Holm, Milton Keynes Message-Id: <1082312314.959.18.camel@nova.sequestor.lan> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Sun, 18 Apr 2004 19:18:34 +0100 Subject: FreeBSD/apsfilter and lptest 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, 18 Apr 2004 18:18:40 -0000 Hi all. A funny here, I cannot find any reference to it on the web or mailing lists, not to say that it's not there :( I also cannot get through to the apsfilter website (refused connections for some reason). I'm setting up a Canon bJ200 printer on FreeBSD stable. I followed the Printer setup section of the handbook successfully. I installed apsfilter, and got a beautiful (for the printer) apsfilter test page out. However lpctest output seems to be identified by apsfilter as 'assembler source': -------------------------------------------------------------- apsfilter fatal error: unsupported file type 'assembler source' If you think you can help us to support files of this type, please contact us on . -- apsfilter, your lpd input filter -------------------------------------------------------------- As does file: # lptest 79 60 > /tmp/a # file /tmp/a /tmp/a: Assembler source # cat /tmp/a !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmno "#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnop Any ideas? -- Tony From owner-freebsd-stable@FreeBSD.ORG Sun Apr 18 14:18: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 5A56F16A4CE for ; Sun, 18 Apr 2004 14:18:54 -0700 (PDT) Received: from mutare.noc.clara.net (mutare.noc.clara.net [195.8.70.95]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2ABC443D49 for ; Sun, 18 Apr 2004 14:18:54 -0700 (PDT) (envelope-from ollie@mutare.noc.clara.net) Received: from ollie by mutare.noc.clara.net with local (Exim 4.30) id 1BFJgj-000HqR-Da for freebsd-stable@freebsd.org; Sun, 18 Apr 2004 22:18:53 +0100 Date: Sun, 18 Apr 2004 22:18:53 +0100 From: Ollie Cook To: freebsd-stable@freebsd.org Message-ID: <20040418211852.GA67452@mutare.noc.clara.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 4.9-STABLE i386 X-NCC-RegID: uk.claranet Sender: Ollie Cook X-Envelope-To: freebsd-stable@freebsd.org X-Clara-Scan: content scanned according to recipient preferences Subject: filesystem corruption with 1TB filesystem, 4.9-STABLE, twe 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, 18 Apr 2004 21:18:54 -0000 Hi, I am experiencing filesystem corruption while using a 1TB (appx.) partition under 4.9-STABLE (sources from Mar 17) and an 8-port 3ware ATA RAID card (twe device driver). The RAID set comprises 5x250GB ATA disks. The kernel logs such messages as: Apr 17 16:25:37 heman /kernel: free inode /clara/170175645 had 137391860 blocks Apr 17 17:18:29 heman /kernel: free inode /clara/169969279 had 1803039330 blocks Apr 17 18:06:38 heman /kernel: free inode /clara/171086221 had 544501359 blocks The operations it was performing at the time involved copying a lot of small (email messages) files from a busy NFS mount to the RAID5 array. A number of processes were all copying different files and the throughput was around 3MB/s to disk. As far as I can tell from sys/ufs/ffs/ffs_alloc.c this error indicates that a kernel data structure contains unexpected data, but I'm not confident enough to be able to tell what might be causing that. After such messages, if I cleanly unmount the filesystem and run fsck, errors are detected. Such errors are: directory corrupted directory contains empty blocks unallocated inode wrong link counts There are many more distinct error messages, but those are the ones I recall. After a number of passes through fsck, the filesystem is eventually marked clean but quite a number of files wind up in lost+found. Has anyone seen behaviour similar to this with twe RAID sets or large partitions in the past? I've not been able to find reports of similar symptoms using Google. Can anyone offer advice on how I might further debug this problem? Yours, Ollie Apr 16 11:34:12 heman /kernel: twe0: <3ware Storage Controller> port 0xc800-0xc80f mem 0xfe000000-0xfe7fffff,0xfe8ffc00-0xfe8ffc0f irq 10 at device 4.0 on pci3 Apr 16 11:34:12 heman /kernel: twe0: 8 ports, Firmware FE7X 1.05.00.065, BIOS BE7X 1.08.00.048 Apr 16 11:34:12 heman /kernel: twed0: on twe0 Apr 16 11:34:12 heman /kernel: twed0: 4126MB (8452080 sectors) Apr 16 11:34:12 heman /kernel: twed1: on twe0 Apr 16 11:34:12 heman /kernel: twed1: 953896MB (1953580032 sectors) Apr 16 11:34:12 heman /kernel: twe0: command interrupt -- Oliver Cook Systems Administrator, Claranet UK ollie@uk.clara.net +44 20 7903 3065 From owner-freebsd-stable@FreeBSD.ORG Sun Apr 18 17:24: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 2A2B016A4CE; Sun, 18 Apr 2004 17:24:49 -0700 (PDT) Received: from smtp3.adl2.internode.on.net (smtp3.adl2.internode.on.net [203.16.214.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8353F43D31; Sun, 18 Apr 2004 17:24:48 -0700 (PDT) (envelope-from smckay@internode.on.net) Received: from dungeon.home (ppp167-147.lns1.bne3.internode.on.net [150.101.167.147])i3J0Ojk2062241; Mon, 19 Apr 2004 09:54:46 +0930 (CST) Received: from dungeon.home (localhost [127.0.0.1]) by dungeon.home (8.12.8p2/8.11.6) with ESMTP id i3J0OiIl003221; Mon, 19 Apr 2004 10:24:44 +1000 (EST) (envelope-from mckay) Message-Id: <200404190024.i3J0OiIl003221@dungeon.home> To: Eugene Grosbein References: <200404181438.i3IEclNf010673@dungeon.home> <20040418150904.GB718@grosbein.pp.ru> In-Reply-To: <20040418150904.GB718@grosbein.pp.ru> from Eugene Grosbein at "Sun, 18 Apr 2004 23:09:04 +0800" Date: Mon, 19 Apr 2004 10:24:44 +1000 From: Stephen McKay cc: Peter Edwards cc: freebsd-stable@freebsd.org cc: Stephen McKay Subject: Re: Should I merge fix for PR#64091 (NFS data corruption)? 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, 19 Apr 2004 00:24:49 -0000 On Sunday, 18th April 2004, Eugene Grosbein wrote: >On Mon, Apr 19, 2004 at 12:38:47AM +1000, Stephen McKay wrote: > >> Give the test programs in http://www.freebsd.org/cgi/query-pr.cgi?pr=64091 >> a go on a 4.10-beta client, then try it with the attached patch. > >Should one patch (and reboot in case of NFS compiled in a kernel) >both of a client and a server? It is a client-side patch. The server could be anything, though I've only tested with FreeBSD. Stephen. From owner-freebsd-stable@FreeBSD.ORG Mon Apr 19 01:58: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 C9FE216A4CE for ; Mon, 19 Apr 2004 01:58:49 -0700 (PDT) Received: from freenix.no (atreides.freenix.no [212.33.142.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id D1E3543D46 for ; Mon, 19 Apr 2004 01:58:48 -0700 (PDT) (envelope-from morten@atreides.freenix.no) Received: from atreides.freenix.no (localhost [127.0.0.1]) by freenix.no (8.12.9p2/8.12.6) with ESMTP id i3J8wkEg066105 for ; Mon, 19 Apr 2004 10:58:46 +0200 (CEST) (envelope-from morten@atreides.freenix.no) Received: (from morten@localhost) by atreides.freenix.no (8.12.9p2/8.12.8/Submit) id i3J8wfrj066104 for freebsd-stable@freebsd.org; Mon, 19 Apr 2004 10:58:41 +0200 (CEST) Date: Mon, 19 Apr 2004 10:58:41 +0200 From: "Morten A. Middelthon" To: freebsd-stable@freebsd.org Message-ID: <20040419085841.GB64662@freenix.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i X-PGP-Key: http://freenix.no/~morten/pgp.txt X-PGP-Key-FingerPrint: D48B 5C4E 1590 7DE6 08A0 6539 BECC F62E 829F DF6A X-Operating-System: FreeBSD 4.9-RELEASE-p4 X-Warning: So cunning you could brush your teeth with it. Subject: HTT and SMP question 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, 19 Apr 2004 08:58:49 -0000 Hi list, when upgrading from 4.8 til 4.9 on my SMP Xeon box with HTT enabled I noticed something when running top. When running 4.8 the processes seemed to switch between all four CPUs, that is both the physical and virtual CPUs. In 4.9 top only shows processes using the physical CPUs, in my case 0 and 2. Any thoughts on this? regards, -- Morten A. Middelthon I cun pleese-a oonly oone-a persun per dey. Tudey is nut yuoor dey. Tumurroo, isn't luukeeng guud ieezeer. This .sig has been encheferized - http://flipp.net/bork/ From owner-freebsd-stable@FreeBSD.ORG Mon Apr 19 02:00: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 AEC6416A4CE for ; Mon, 19 Apr 2004 02:00:52 -0700 (PDT) Received: from seed.net.tw (sn15.seed.net.tw [139.175.54.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6DB1243D3F for ; Mon, 19 Apr 2004 02:00:52 -0700 (PDT) (envelope-from leafy@leafy.idv.tw) Received: from [61.59.121.140] (port=50377 helo=chihiro.leafy.idv.tw) by seed.net.tw with esmtp (Seednet 4.23:1) id 1BFUe2-0000TB-KZ; Mon, 19 Apr 2004 17:00:50 +0800 Received: from localhost (localhost [127.0.0.1]) by chihiro.leafy.idv.tw (Postfix) with ESMTP id E31DC2CD; Mon, 19 Apr 2004 17:00:49 +0800 (CST) Received: from chihiro.leafy.idv.tw ([127.0.0.1]) by localhost (chihiro.leafy.idv.tw [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 51393-06; Mon, 19 Apr 2004 17:00:49 +0800 (CST) Received: by chihiro.leafy.idv.tw (Postfix, from userid 1000) id 756A42BB; Mon, 19 Apr 2004 17:00:49 +0800 (CST) Date: Mon, 19 Apr 2004 17:00:49 +0800 From: leafy To: "Morten A. Middelthon" Message-ID: <20040419090049.GA51659@chihiro.leafy.idv.tw> Mail-Followup-To: "Morten A. Middelthon" , freebsd-stable@freebsd.org References: <20040419085841.GB64662@freenix.no> Mime-Version: 1.0 Content-Type: text/plain; charset=big5 Content-Disposition: inline In-Reply-To: <20040419085841.GB64662@freenix.no> User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new at leafy.idv.tw cc: freebsd-stable@freebsd.org Subject: Re: HTT and SMP question 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, 19 Apr 2004 09:00:52 -0000 On Mon, Apr 19, 2004 at 10:58:41AM +0200, Morten A. Middelthon wrote: > top only shows processes using the physical CPUs, in my case 0 and 2. > > Any thoughts on this? > > regards, > > -- > Morten A. Middelthon sysctl machdep.halt_logical_cpus or something like that. Jiawei -- "Without the userland, the kernel is useless." --inspired by The Tao of Programming From owner-freebsd-stable@FreeBSD.ORG Mon Apr 19 02:04: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 6B0EC16A533 for ; Mon, 19 Apr 2004 02:04:35 -0700 (PDT) Received: from freenix.no (atreides.freenix.no [212.33.142.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9939043D1D for ; Mon, 19 Apr 2004 02:04:34 -0700 (PDT) (envelope-from morten@atreides.freenix.no) Received: from atreides.freenix.no (localhost [127.0.0.1]) by freenix.no (8.12.9p2/8.12.6) with ESMTP id i3J94XEg066188 for ; Mon, 19 Apr 2004 11:04:33 +0200 (CEST) (envelope-from morten@atreides.freenix.no) Received: (from morten@localhost) by atreides.freenix.no (8.12.9p2/8.12.8/Submit) id i3J94Ste066187 for freebsd-stable@freebsd.org; Mon, 19 Apr 2004 11:04:28 +0200 (CEST) Date: Mon, 19 Apr 2004 11:04:28 +0200 From: "Morten A. Middelthon" To: freebsd-stable@freebsd.org Message-ID: <20040419090428.GC64662@freenix.no> References: <20040419085841.GB64662@freenix.no> <20040419090049.GA51659@chihiro.leafy.idv.tw> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040419090049.GA51659@chihiro.leafy.idv.tw> User-Agent: Mutt/1.4.2.1i X-PGP-Key: http://freenix.no/~morten/pgp.txt X-PGP-Key-FingerPrint: D48B 5C4E 1590 7DE6 08A0 6539 BECC F62E 829F DF6A X-Operating-System: FreeBSD 4.9-RELEASE-p4 X-Warning: So cunning you could brush your teeth with it. Subject: Re: HTT and SMP question 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, 19 Apr 2004 09:04:35 -0000 On Mon, Apr 19, 2004 at 05:00:49PM +0800, leafy wrote: > On Mon, Apr 19, 2004 at 10:58:41AM +0200, Morten A. Middelthon wrote: > > top only shows processes using the physical CPUs, in my case 0 and 2. > > > > Any thoughts on this? > > > > regards, > > > > -- > > Morten A. Middelthon > sysctl machdep.halt_logical_cpus or something like that. > > Jiawei I found this: machdep.hlt_logical_cpus: 1 -- Morten A. Middelthon 75% ooff zee Iert is cufered by veter, Jeeps cufer zee rest. This .sig has been encheferized - http://flipp.net/bork/ From owner-freebsd-stable@FreeBSD.ORG Mon Apr 19 02:21: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 698AD16A4CE for ; Mon, 19 Apr 2004 02:21:07 -0700 (PDT) Received: from freenix.no (atreides.freenix.no [212.33.142.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0C4EA43D45 for ; Mon, 19 Apr 2004 02:21:02 -0700 (PDT) (envelope-from morten@atreides.freenix.no) Received: from atreides.freenix.no (localhost [127.0.0.1]) by freenix.no (8.12.9p2/8.12.6) with ESMTP id i3J9KvEg066344 for ; Mon, 19 Apr 2004 11:20:58 +0200 (CEST) (envelope-from morten@atreides.freenix.no) Received: (from morten@localhost) by atreides.freenix.no (8.12.9p2/8.12.8/Submit) id i3J9KqLV066343 for freebsd-stable@freebsd.org; Mon, 19 Apr 2004 11:20:52 +0200 (CEST) Date: Mon, 19 Apr 2004 11:20:52 +0200 From: "Morten A. Middelthon" To: freebsd-stable@freebsd.org Message-ID: <20040419092052.GD64662@freenix.no> References: <20040419085841.GB64662@freenix.no> <20040419090049.GA51659@chihiro.leafy.idv.tw> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040419090049.GA51659@chihiro.leafy.idv.tw> User-Agent: Mutt/1.4.2.1i X-PGP-Key: http://freenix.no/~morten/pgp.txt X-PGP-Key-FingerPrint: D48B 5C4E 1590 7DE6 08A0 6539 BECC F62E 829F DF6A X-Operating-System: FreeBSD 4.9-RELEASE-p4 X-Warning: So cunning you could brush your teeth with it. Subject: Re: HTT and SMP question 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, 19 Apr 2004 09:21:07 -0000 sysctl -w machdep.hlt_logical_cpus=0 that did the trick. I added it to loader.conf as well. regards, -- Morten A. Middelthon The church is near but the road is icy; the bar is far away but I'll walk carefully. - Russian proverb From owner-freebsd-stable@FreeBSD.ORG Mon Apr 19 03:27: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 747D716A4CE for ; Mon, 19 Apr 2004 03:27:35 -0700 (PDT) Received: from praetor.linc-it.com (adsl-068-157-070-217.sip.jan.bellsouth.net [68.157.70.217]) by mx1.FreeBSD.org (Postfix) with ESMTP id E943843D55 for ; Mon, 19 Apr 2004 03:27:32 -0700 (PDT) (envelope-from fullermd@over-yonder.net) Received: from mortis.over-yonder.net (adsl-222-79-36.jan.bellsouth.net [68.222.79.36]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by praetor.linc-it.com (Postfix) with ESMTP id 7AE9A15532; Mon, 19 Apr 2004 05:27:31 -0500 (CDT) Received: by mortis.over-yonder.net (Postfix, from userid 100) id 3C43320F2A; Mon, 19 Apr 2004 05:27:29 -0500 (CDT) Date: Mon, 19 Apr 2004 05:27:28 -0500 From: "Matthew D. Fuller" To: Kenneth W Cochran Message-ID: <20040419102728.GA95406@over-yonder.net> References: <200404151317.JAA827152@shell.TheWorld.com> <200404151350.JAA811198@shell.TheWorld.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200404151350.JAA811198@shell.TheWorld.com> X-Editor: vi X-OS: FreeBSD User-Agent: Mutt/1.5.6i-fullermd.2 cc: Randy Rowe cc: freebsd-stable@freebsd.org Subject: Re: 4.10-BETA named (not) starting 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, 19 Apr 2004 10:27:35 -0000 On Thu, Apr 15, 2004 at 09:50:51AM -0400 I heard the voice of Kenneth W Cochran, and lo! it spake thus: > > This is what I have: > > named_flags="-u bind -g bind -t /etc/namedb" [...] > That would be /etc/named/named.conf (spelling :) No, the config file gets loaded AFTER you chroot to the directory you specified with `-t`. And since that's /etc/namedb, and it's expecting to find an /etc/namedb/named.conf, the file should actually be in /etc/namedb/etc/namedb/named.conf. You'd have to specify with -c where it is relative to the chroot. The `ndc start` worked because it doesn't include the args in rc.conf, so it's not chroot'd (or running as bind, for that matter...) -- Matthew Fuller (MF4839) | fullermd@over-yonder.net Systems/Network Administrator | http://www.over-yonder.net/~fullermd/ "The only reason I'm burning my candle at both ends, is because I haven't figured out how to light the middle yet" From owner-freebsd-stable@FreeBSD.ORG Mon Apr 19 03:57: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 921B716A4CE for ; Mon, 19 Apr 2004 03:57:50 -0700 (PDT) Received: from mta4.rcsntx.swbell.net (mta4.rcsntx.swbell.net [151.164.30.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5ED1043D46 for ; Mon, 19 Apr 2004 03:57:50 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (3cc6ecae1e892f2b884e44c6a12c2d01@adsl-67-115-73-128.dsl.lsan03.pacbell.net [67.115.73.128])i3JAvnh7027743; Mon, 19 Apr 2004 05:57:49 -0500 (CDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 719C552751; Mon, 19 Apr 2004 02:35:23 -0700 (PDT) Date: Mon, 19 Apr 2004 02:35:23 -0700 From: Kris Kennaway To: "Morten A. Middelthon" Message-ID: <20040419093523.GA34419@xor.obsecurity.org> References: <20040419085841.GB64662@freenix.no> <20040419090049.GA51659@chihiro.leafy.idv.tw> <20040419092052.GD64662@freenix.no> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="FCuugMFkClbJLl1L" Content-Disposition: inline In-Reply-To: <20040419092052.GD64662@freenix.no> User-Agent: Mutt/1.4.2.1i cc: freebsd-stable@freebsd.org Subject: Re: HTT and SMP question 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, 19 Apr 2004 10:57:50 -0000 --FCuugMFkClbJLl1L Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 19, 2004 at 11:20:52AM +0200, Morten A. Middelthon wrote: > sysctl -w machdep.hlt_logical_cpus=3D0 >=20 > that did the trick. I added it to loader.conf as well. >=20 > regards, Note that HTT causes worse performance in many workloads, which is why that sysctl defaults to off. Kris --FCuugMFkClbJLl1L Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAg51bWry0BWjoQKURAlOwAKDu7r/vk1Au8AmwC2yQ0+rRwRmJRQCglAKK VI90D3fD9wcZq1jorhat4QI= =lwfJ -----END PGP SIGNATURE----- --FCuugMFkClbJLl1L-- From owner-freebsd-stable@FreeBSD.ORG Mon Apr 19 04:41: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 DF64316A4CE for ; Mon, 19 Apr 2004 04:41:21 -0700 (PDT) Received: from www.cyclades.de (mail.linux-router.org [62.225.173.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3781543D1D for ; Mon, 19 Apr 2004 04:41:21 -0700 (PDT) (envelope-from mh@kernel32.de) Received: from pd9512db3.dip.t-dialin.net ([217.81.45.179] helo=kernel32.de) by www.cyclades.de with asmtp (Exim 3.35 #1 (Debian)) id 1BFWeJ-0005mR-00 for ; Mon, 19 Apr 2004 13:09:16 +0200 Message-ID: <4083B346.3040708@kernel32.de> Date: Mon, 19 Apr 2004 13:08:54 +0200 From: Marian Hettwer User-Agent: Mozilla Thunderbird 0.5 (X11/20040414) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-MailScanner: Found to be clean X-MailScanner-SpamCheck: Subject: xfce4-iconbox doesn't start 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, 19 Apr 2004 11:41:22 -0000 Hi All, I'm not sure wether I should contact the port maintainer directly, however, this is my problem: I cvsup'ed the ports tree and did a portupgrade xfce* in /var/db/pkg The build went fine without errors. But when I start xfce, the iconbox on the top is missing. So I tried starting xfce4-iconbox from an xterm window. Which is giving me the following error: [mhettwer@acchilles] <~> $ xfce4-iconbox ** Message: xfce4-iconbox: Running without session manager Any hint were to search for a solution ? some infos about my system: [mhettwer@acchilles] <~> $ uname -a FreeBSD acchilles.cyclades-hannover.de 4.9-RELEASE-p4 FreeBSD 4.9-RELEASE-p4 #1: Fri Mar 26 16:38:15 CET 2004 mhettwer@acchilles.cyclades.de:/usr/obj/usr/src/sys/ACCHILLES i386 [mhettwer@acchilles] <~> $ ls /var/db/pkg/|grep xfce4 libxfce4gui-4.0.1/ libxfce4mcs-4.0.1/ libxfce4util-4.0.1/ xfce4-battery-plugin-0.2.0_2/ xfce4-desktop-4.0.5/ xfce4-fm-4.0.5/ xfce4-fm-icons-4.0.5/ xfce4-iconbox-4.0.5/ xfce4-mcs-manager-4.0.5/ xfce4-mcs-plugins-4.0.5/ xfce4-minicmd-plugin-0.2.0_2/ xfce4-mixer-4.0.5/ xfce4-notes-plugin-0.9.7_2/ xfce4-panel-4.0.5/ xfce4-panel-themes-4.0.5/ xfce4-print-4.0.5/ xfce4-showdesktop-plugin-0.3.0_2/ xfce4-systemload-plugin-0.3.3_2/ xfce4-systray-4.0.5/ xfce4-toys-4.0.5/ xfce4-utils-4.0.5/ xfce4-wm-4.0.5/ xfce4-wm-themes-4.0.5/ thanks in advance and best regards, Marian From owner-freebsd-stable@FreeBSD.ORG Mon Apr 19 04:50:26 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 51DDC16A4CE for ; Mon, 19 Apr 2004 04:50:26 -0700 (PDT) Received: from c000.snv.cp.net (h000.c000.snv.cp.net [209.228.32.64]) by mx1.FreeBSD.org (Postfix) with SMTP id 23CC443D2D for ; Mon, 19 Apr 2004 04:50:16 -0700 (PDT) (envelope-from tony@sequeira.com) Received: (cpmta 27816 invoked from network); 19 Apr 2004 04:50:15 -0700 Received: from 209.228.32.80 (HELO mail.sequeira.com.criticalpath.net) by smtp.sequeira.com (209.228.32.64) with SMTP; 19 Apr 2004 04:50:15 -0700 X-Sent: 19 Apr 2004 11:50:15 GMT Received: from [62.244.185.135] by mail.sequeira.com with HTTP; Mon, 19 Apr 2004 12:50:15 +0100 (BST) Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 7bit MIME-Version: 1.0 To: freebsd-stable@freebsd.org From: "Tony Sequeira" X-Sent-From: tony@sequeira.com Date: Mon, 19 Apr 2004 12:50:15 +0100 (BST) X-Mailer: Web Mail 5.6.3-1 Message-Id: <20040419045015.21319.h016.c000.wm@mail.sequeira.com.criticalpath.net> Subject: Re: xfce4-iconbox doesn't start 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, 19 Apr 2004 11:50:26 -0000 On Mon, 19 Apr 2004 13:08:54 +0200, Marian Hettwer wrote > > Hi All, > > > I'm not sure wether I should contact the port maintainer directly, > however, this is my problem: > > I cvsup'ed the ports tree and did a portupgrade xfce* in /var/db/pkg > The build went fine without errors. But when I start xfce, the iconbox > on the top is missing. > So I tried starting xfce4-iconbox from an xterm window. Which is giving > me the following error: > > [mhettwer@acchilles] <~> $ xfce4-iconbox > ** Message: xfce4-iconbox: Running without session manager > > > Any hint were to search for a solution ? Yes, try the xfce mailing lists. I seem to recall that a session manager is/was not a standard part of xfce. Cheers -- Tony From owner-freebsd-stable@FreeBSD.ORG Mon Apr 19 07:00:05 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 3737816A4CF for ; Mon, 19 Apr 2004 07:00:05 -0700 (PDT) Received: from smtp.thilelli.net (jgabel.net1.nerim.net [80.65.226.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7731943D39 for ; Mon, 19 Apr 2004 07:00:04 -0700 (PDT) (envelope-from jpeg@thilelli.net) Received: from localhost (localhost.thilelli.net [127.0.0.1]) by bento.thilelli.net (Postfix) with ESMTP id C82A578C65 for ; Mon, 19 Apr 2004 16:00:00 +0200 (CEST) Received: from bento.thilelli.net ([127.0.0.1]) by localhost (bento.thilelli.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 16879-04 for ; Mon, 19 Apr 2004 16:00:00 +0200 (CEST) Received: from webmail.thilelli.net (localhost.thilelli.net [127.0.0.1]) by bento.thilelli.net (Postfix) with SMTP id D335678C50 for ; Mon, 19 Apr 2004 15:59:59 +0200 (CEST) Received: from 192.168.0.105 (SquirrelMail authenticated user jgabel) by webmail.thilelli.net with HTTP; Mon, 19 Apr 2004 15:59:59 +0200 (CEST) Message-ID: <49279.192.168.0.105.1082383199.squirrel@webmail.thilelli.net> In-Reply-To: <4083B346.3040708@kernel32.de> References: <4083B346.3040708@kernel32.de> Date: Mon, 19 Apr 2004 15:59:59 +0200 (CEST) From: "Julien Gabel" To: freebsd-stable@freebsd.org User-Agent: SquirrelMail/1.4.2 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 Importance: Normal X-Virus-Scanned: by amavisd-new at thilelli.net Subject: Re: xfce4-iconbox doesn't start 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, 19 Apr 2004 14:00:05 -0000 > I cvsup'ed the ports tree and did a portupgrade xfce* in /var/db/pkg > The build went fine without errors. But when I start xfce, the iconbox > on the top is missing. > So I tried starting xfce4-iconbox from an xterm window. Which is giving > me the following error: > > [mhettwer@acchilles] <~> $ xfce4-iconbox > ** Message: xfce4-iconbox: Running without session manager > > Any hint were to search for a solution ? The iconbox is generally launched automatically when you use the port xfce4-session (which is not part of xfce4 because it is always in development ; I personally don't use it because of stability problem), which explain the warning. But this is not an error, and the iconbox must be launched: at least it is the case on my desktop. Are you sure the iconbox is not start after issuing the command? -- -jpeg. From owner-freebsd-stable@FreeBSD.ORG Mon Apr 19 07:05: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 86D5816A4CE for ; Mon, 19 Apr 2004 07:05:17 -0700 (PDT) Received: from mutare.noc.clara.net (mutare.noc.clara.net [195.8.70.95]) by mx1.FreeBSD.org (Postfix) with ESMTP id 54A8243D46 for ; Mon, 19 Apr 2004 07:05:17 -0700 (PDT) (envelope-from ollie@mutare.noc.clara.net) Received: from ollie by mutare.noc.clara.net with local (Exim 4.30) id 1BFZOe-0003RC-E5 for freebsd-stable@freebsd.org; Mon, 19 Apr 2004 15:05:16 +0100 Date: Mon, 19 Apr 2004 15:05:16 +0100 From: Ollie Cook To: freebsd-stable@freebsd.org Message-ID: <20040419140516.GL5039@mutare.noc.clara.net> References: <20040418211852.GA67452@mutare.noc.clara.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040418211852.GA67452@mutare.noc.clara.net> User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 4.9-STABLE i386 X-NCC-RegID: uk.claranet Sender: Ollie Cook X-Envelope-To: freebsd-stable@freebsd.org X-Clara-Scan: content scanned according to recipient preferences Subject: Re: filesystem corruption with 1TB filesystem, 4.9-STABLE, twe 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, 19 Apr 2004 14:05:17 -0000 On Sun, Apr 18, 2004 at 10:18:53PM +0100, Ollie Cook wrote: > Hi, > > I am experiencing filesystem corruption while using a 1TB (appx.) partition > under 4.9-STABLE (sources from Mar 17) and an 8-port 3ware ATA RAID card (twe > device driver). The RAID set comprises 5x250GB ATA disks. > > The kernel logs such messages as: > > Apr 17 16:25:37 heman /kernel: free inode /clara/170175645 had 137391860 blocks > Apr 17 17:18:29 heman /kernel: free inode /clara/169969279 had 1803039330 blocks > Apr 17 18:06:38 heman /kernel: free inode /clara/171086221 had 544501359 blocks *snip* I have some further details which I hope might shed some more light on this problem. Accessing some files which appear (from a directory listing for example) to have been stored correctly results in 'Bad file descriptor'. This is with a freshly checked and clean filesystem. I say 'clean', but after fsck declares it clean, another pass through fsck will diagnose further errors. This is without mounting the filesystem between passes. I ran a few simple tests and was able to ascertain that the open(2) and read(2) system calls don't return errors but fstat(2) does return EBADF. su-2.05b# ls | grep 1071701821.78602.aether.uk.clara.net 1071701821.78602.aether.uk.clara.net su-2.05b# ls 1071701821.78602.aether.uk.clara.net ls: 1071701821.78602.aether.uk.clara.net: Bad file descriptor Any assistance in diagnosing this would be greatly appreciated. Yours, Ollie -- Oliver Cook Systems Administrator, Claranet UK ollie@uk.clara.net +44 20 7903 3065 From owner-freebsd-stable@FreeBSD.ORG Mon Apr 19 07:12: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 945A816A4CF for ; Mon, 19 Apr 2004 07:12:01 -0700 (PDT) Received: from www.cyclades.de (mail.linux-router.org [62.225.173.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id F35BC43D41 for ; Mon, 19 Apr 2004 07:10:45 -0700 (PDT) (envelope-from mh@kernel32.de) Received: from pd9512db3.dip.t-dialin.net ([217.81.45.179] helo=kernel32.de) by www.cyclades.de with asmtp (Exim 3.35 #1 (Debian)) id 1BFZTr-0008F5-00; Mon, 19 Apr 2004 16:10:39 +0200 Message-ID: <4083DDC9.1020104@kernel32.de> Date: Mon, 19 Apr 2004 16:10:17 +0200 From: Marian Hettwer User-Agent: Mozilla Thunderbird 0.5 (X11/20040414) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Julien Gabel References: <4083B346.3040708@kernel32.de> <49279.192.168.0.105.1082383199.squirrel@webmail.thilelli.net> In-Reply-To: <49279.192.168.0.105.1082383199.squirrel@webmail.thilelli.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-MailScanner: Found to be clean X-MailScanner-SpamCheck: cc: freebsd-stable@freebsd.org Subject: Re: xfce4-iconbox doesn't start 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, 19 Apr 2004 14:12:01 -0000 Hi Julien, Julien Gabel wrote: > > > The iconbox is generally launched automatically when you use the port > xfce4-session (which is not part of xfce4 because it is always in > development ; I personally don't use it because of stability problem), I had xfce4 running in version 4.0.1 or something, and everything was fine. The whole bunch of xfce stuff never crashed, and iconbox was the "taskbar" on top of my screen. > which explain the warning. But this is not an error, and the iconbox > must be launched: at least it is the case on my desktop. Are you sure > the iconbox is not start after issuing the command? > Pretty sure. After using startx I could issue a 'ps ax|grep xfce' and this is the output: [mhettwer@acchilles] <~> $ ps ax|grep xfce 91654 ?? Ss 0:02,23 xfce-mcs-manager 91646 v0 IW 0:00,00 /bin/sh /usr/X11R6/etc/xfce4/xinitrc 91660 v0 S 0:14,97 /usr/X11R6/bin/xfce4-panel If I start iconbox it looks like that: [mhettwer@acchilles] <~> $ xfce4-iconbox ** Message: xfce4-iconbox: Running without session manager Segmentation fault (core dumped) [mhettwer@acchilles] <~> $ ps ax|grep xfce 91654 ?? Ss 0:02,23 xfce-mcs-manager 28755 p0 R+ 0:00,00 grep xfce 91646 v0 IW 0:00,00 /bin/sh /usr/X11R6/etc/xfce4/xinitrc 91660 v0 S 0:15,00 /usr/X11R6/bin/xfce4-panel Well, I obviously forgot to paste the row "core dumped" in my first message, which is the reason why it's not running after starting. Now I don't have a clue why it's core dumping ... Any more hints ? :) Is anyone using an up-to-date xfce ? (Installed from ports today, after cvsup the ports today) hm... BTW, no interesting posts on the xfce Mailinglist ... thank you anyway ! best regards, Marian, who's just missing his upper taskbar ... bloody iconbox ... From owner-freebsd-stable@FreeBSD.ORG Mon Apr 19 07:14: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 6D67A16A4CE for ; Mon, 19 Apr 2004 07:14:03 -0700 (PDT) Received: from www.cyclades.de (mail.linux-router.org [62.225.173.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2475143D3F for ; Mon, 19 Apr 2004 07:14:03 -0700 (PDT) (envelope-from mh@kernel32.de) Received: from pd9512db3.dip.t-dialin.net ([217.81.45.179] helo=kernel32.de) by www.cyclades.de with asmtp (Exim 3.35 #1 (Debian)) id 1BFZX5-0008HW-00; Mon, 19 Apr 2004 16:14:00 +0200 Message-ID: <4083DE92.9020506@kernel32.de> Date: Mon, 19 Apr 2004 16:13:38 +0200 From: Marian Hettwer User-Agent: Mozilla Thunderbird 0.5 (X11/20040414) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Julien Gabel References: <4083B346.3040708@kernel32.de> <49279.192.168.0.105.1082383199.squirrel@webmail.thilelli.net> In-Reply-To: <49279.192.168.0.105.1082383199.squirrel@webmail.thilelli.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-MailScanner: Found to be clean X-MailScanner-SpamCheck: cc: freebsd-stable@freebsd.org Subject: Re: xfce4-iconbox doesn't start 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, 19 Apr 2004 14:14:03 -0000 Another reply, this time I tried gdb ... see below Julien Gabel wrote: > > The iconbox is generally launched automatically when you use the port > xfce4-session (which is not part of xfce4 because it is always in > development ; I personally don't use it because of stability problem), > which explain the warning. But this is not an error, and the iconbox > must be launched: at least it is the case on my desktop. Are you sure > the iconbox is not start after issuing the command? > Program received signal SIGSEGV, Segmentation fault. 0x28099943 in netk_gtk_window_set_type () from /usr/X11R6/lib/libxfcegui4.so.1 hm... I'm not that good in gdb / debugging, but I remember that xfce 4.05 moved to gtk 2.4 ... sounds like an issue with that ... But now I'm stuck anyways ... best regards, Marian From owner-freebsd-stable@FreeBSD.ORG Mon Apr 19 07:32: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 20C0B16A4CE for ; Mon, 19 Apr 2004 07:32:10 -0700 (PDT) Received: from smtp.thilelli.net (jgabel.net1.nerim.net [80.65.226.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id A900343D1F for ; Mon, 19 Apr 2004 07:32:09 -0700 (PDT) (envelope-from jpeg@thilelli.net) Received: from localhost (localhost.thilelli.net [127.0.0.1]) by bento.thilelli.net (Postfix) with ESMTP id 6A29178C65; Mon, 19 Apr 2004 16:32:06 +0200 (CEST) Received: from bento.thilelli.net ([127.0.0.1]) by localhost (bento.thilelli.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 16879-08; Mon, 19 Apr 2004 16:32:05 +0200 (CEST) Received: from webmail.thilelli.net (localhost.thilelli.net [127.0.0.1]) by bento.thilelli.net (Postfix) with SMTP id 898F778C50; Mon, 19 Apr 2004 16:32:05 +0200 (CEST) Received: from 192.168.0.105 (SquirrelMail authenticated user jgabel) by webmail.thilelli.net with HTTP; Mon, 19 Apr 2004 16:32:05 +0200 (CEST) Message-ID: <49552.192.168.0.105.1082385125.squirrel@webmail.thilelli.net> In-Reply-To: <4083DDC9.1020104@kernel32.de> References: <4083B346.3040708@kernel32.de> <49279.192.168.0.105.1082383199.squirrel@webmail.thilelli.net> <4083DDC9.1020104@kernel32.de> Date: Mon, 19 Apr 2004 16:32:05 +0200 (CEST) From: "Julien Gabel" To: "Marian Hettwer" User-Agent: SquirrelMail/1.4.2 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 Importance: Normal X-Virus-Scanned: by amavisd-new at thilelli.net cc: freebsd-stable@freebsd.org Subject: Re: xfce4-iconbox doesn't start 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, 19 Apr 2004 14:32:10 -0000 >> The iconbox is generally launched automatically when you use the port >> xfce4-session (which is not part of xfce4 because it is always in >> development ; I personally don't use it because of stability problem), > I had xfce4 running in version 4.0.1 or something, and everything was > fine. The whole bunch of xfce stuff never crashed, and iconbox was the > "taskbar" on top of my screen. I said that xfce4-session is not stable. I follow the port tree for all the xfce4 stuff and had no problem of stability with Xfce 4.0.4 (the 4.0.5 just arrived in the port: http://www.freshports.org/x11-wm/xfce4/). I will give it a try tonight or tomorrow. >> which explain the warning. But this is not an error, and the iconbox >> must be launched: at least it is the case on my desktop. Are you sure >> the iconbox is not start after issuing the command? [...] > If I start iconbox it looks like that: > [mhettwer@acchilles] <~> $ xfce4-iconbox > ** Message: xfce4-iconbox: Running without session manager > Segmentation fault (core dumped) [...] > Well, I obviously forgot to paste the row "core dumped" in my first > message, which is the reason why it's not running after starting. > Now I don't have a clue why it's core dumping ... > > Any more hints ? :) Maybe run ktrace(1) or truss(1) when launching xfce-iconbox will help to diagnose the problem. Depends on the output. > Is anyone using an up-to-date xfce ? (Installed from ports today, after > cvsup the ports today) 4.0.4 without any prolem. -- -jpeg. From owner-freebsd-stable@FreeBSD.ORG Mon Apr 19 07:33:00 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 91BAE16A4CE for ; Mon, 19 Apr 2004 07:33:00 -0700 (PDT) Received: from smtp.thilelli.net (jgabel.net1.nerim.net [80.65.226.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1120943D2D for ; Mon, 19 Apr 2004 07:33:00 -0700 (PDT) (envelope-from jpeg@thilelli.net) Received: from localhost (localhost.thilelli.net [127.0.0.1]) by bento.thilelli.net (Postfix) with ESMTP id 2CAE478C71; Mon, 19 Apr 2004 16:32:57 +0200 (CEST) Received: from bento.thilelli.net ([127.0.0.1]) by localhost (bento.thilelli.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 16879-08-4; Mon, 19 Apr 2004 16:32:56 +0200 (CEST) Received: from webmail.thilelli.net (localhost.thilelli.net [127.0.0.1]) by bento.thilelli.net (Postfix) with SMTP id 3EFA678C70; Mon, 19 Apr 2004 16:32:56 +0200 (CEST) Received: from 192.168.0.105 (SquirrelMail authenticated user jgabel) by webmail.thilelli.net with HTTP; Mon, 19 Apr 2004 16:32:56 +0200 (CEST) Message-ID: <49555.192.168.0.105.1082385176.squirrel@webmail.thilelli.net> In-Reply-To: <4083DE92.9020506@kernel32.de> References: <4083B346.3040708@kernel32.de> <49279.192.168.0.105.1082383199.squirrel@webmail.thilelli.net> <4083DE92.9020506@kernel32.de> Date: Mon, 19 Apr 2004 16:32:56 +0200 (CEST) From: "Julien Gabel" To: "Marian Hettwer" User-Agent: SquirrelMail/1.4.2 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 Importance: Normal X-Virus-Scanned: by amavisd-new at thilelli.net cc: freebsd-stable@freebsd.org Subject: Re: xfce4-iconbox doesn't start 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, 19 Apr 2004 14:33:00 -0000 >> The iconbox is generally launched automatically when you use the port >> xfce4-session (which is not part of xfce4 because it is always in >> development ; I personally don't use it because of stability problem), >> which explain the warning. But this is not an error, and the iconbox >> must be launched: at least it is the case on my desktop. Are you sure >> the iconbox is not start after issuing the command? > Program received signal SIGSEGV, Segmentation fault. > 0x28099943 in netk_gtk_window_set_type () from > /usr/X11R6/lib/libxfcegui4.so.1 > > hm... I'm not that good in gdb / debugging, but I remember that xfce > 4.05 moved to gtk 2.4 ... sounds like an issue with that ... Note the "commit history" as of the 06 Apr 2004 00:26:57 for the port 'xfce4': "Fix dependency after gtk 2.4.0 import". Update your ports tree and upgrade all your xfce packages using the '-rR' of portupgrade(1) in order to avoid old dependancies. -- -jpeg. From owner-freebsd-stable@FreeBSD.ORG Mon Apr 19 08:29: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 11B6F16A4CE for ; Mon, 19 Apr 2004 08:29:29 -0700 (PDT) Received: from www.cyclades.de (mail.linux-router.org [62.225.173.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 85FDA43D54 for ; Mon, 19 Apr 2004 08:29:28 -0700 (PDT) (envelope-from mh@kernel32.de) Received: from pd9512db3.dip.t-dialin.net ([217.81.45.179] helo=kernel32.de) by www.cyclades.de with asmtp (Exim 3.35 #1 (Debian)) id 1BFZxN-0000Ir-00; Mon, 19 Apr 2004 16:41:10 +0200 Message-ID: <4083E4EF.6090601@kernel32.de> Date: Mon, 19 Apr 2004 16:40:47 +0200 From: Marian Hettwer User-Agent: Mozilla Thunderbird 0.5 (X11/20040414) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Julien Gabel References: <4083B346.3040708@kernel32.de> <49279.192.168.0.105.1082383199.squirrel@webmail.thilelli.net> <4083DE92.9020506@kernel32.de> <49555.192.168.0.105.1082385176.squirrel@webmail.thilelli.net> In-Reply-To: <49555.192.168.0.105.1082385176.squirrel@webmail.thilelli.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-MailScanner: Found to be clean X-MailScanner-SpamCheck: cc: freebsd-stable@freebsd.org Subject: Re: xfce4-iconbox doesn't start 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, 19 Apr 2004 15:29:29 -0000 Julien Gabel wrote: > > > Note the "commit history" as of the 06 Apr 2004 00:26:57 for the port > 'xfce4': "Fix dependency after gtk 2.4.0 import". > aye. > Update your ports tree and upgrade all your xfce packages using the > '-rR' of portupgrade(1) in order to avoid old dependancies. > I'll do so and give it a try :) Thanks for your hint. rgrds, Marian From owner-freebsd-stable@FreeBSD.ORG Mon Apr 19 08:51: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 1653F16A4CE for ; Mon, 19 Apr 2004 08:51:30 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id A7F1C43D49 for ; Mon, 19 Apr 2004 08:51:28 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1])i3JFpGxi050696 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 19 Apr 2004 16:51:16 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i3JFpGTu050695; Mon, 19 Apr 2004 16:51:16 +0100 (BST) (envelope-from matthew) Date: Mon, 19 Apr 2004 16:51:16 +0100 From: Matthew Seaman To: Ollie Cook Message-ID: <20040419155116.GA50490@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Ollie Cook , freebsd-stable@freebsd.org References: <20040418211852.GA67452@mutare.noc.clara.net> <20040419140516.GL5039@mutare.noc.clara.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="M9NhX3UHpAaciwkO" Content-Disposition: inline In-Reply-To: <20040419140516.GL5039@mutare.noc.clara.net> User-Agent: Mutt/1.5.6i X-Virus-Scanned: clamd / ClamAV version devel-20040416, clamav-milter version 0.70g X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on happy-idiot-talk.infracaninophile.co.uk cc: freebsd-stable@freebsd.org Subject: Re: filesystem corruption with 1TB filesystem, 4.9-STABLE, twe 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, 19 Apr 2004 15:51:30 -0000 --M9NhX3UHpAaciwkO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 19, 2004 at 03:05:16PM +0100, Ollie Cook wrote: > I have some further details which I hope might shed some more light on th= is > problem. Accessing some files which appear (from a directory listing for > example) to have been stored correctly results in 'Bad file descriptor'. = This > is with a freshly checked and clean filesystem. >=20 > I say 'clean', but after fsck declares it clean, another pass through fsc= k will > diagnose further errors. This is without mounting the filesystem between > passes. >=20 > I ran a few simple tests and was able to ascertain that the open(2) and r= ead(2) > system calls don't return errors but fstat(2) does return EBADF. >=20 > su-2.05b# ls | grep 1071701821.78602.aether.uk.clara.net > 1071701821.78602.aether.uk.clara.net > su-2.05b# ls 1071701821.78602.aether.uk.clara.net > ls: 1071701821.78602.aether.uk.clara.net: Bad file descriptor >=20 > Any assistance in diagnosing this would be greatly appreciated. Can you rule out hardware problems by substituting in a different known good 3-ware card? Last time I saw anything like this was an IO controller chip going marginal through overheating under heavy load and flipping occasional bits on disk block addresses. 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 --M9NhX3UHpAaciwkO Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAg/V0dtESqEQa7a0RAnr6AJwPBUEtmkjIN98UZBPNzy9frhjQ1wCgl8VR q4i3PnsqtQKXTBBML0iL00I= =wmM2 -----END PGP SIGNATURE----- --M9NhX3UHpAaciwkO-- From owner-freebsd-stable@FreeBSD.ORG Mon Apr 19 10:05:34 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 C5D5C16A4CE for ; Mon, 19 Apr 2004 10:05:34 -0700 (PDT) Received: from mutare.noc.clara.net (mutare.noc.clara.net [195.8.70.95]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9884943D39 for ; Mon, 19 Apr 2004 10:05:34 -0700 (PDT) (envelope-from ollie@mutare.noc.clara.net) Received: from ollie by mutare.noc.clara.net with local (Exim 4.30) id 1BFcD7-0005uf-Fo; Mon, 19 Apr 2004 18:05:33 +0100 Date: Mon, 19 Apr 2004 18:05:33 +0100 From: Ollie Cook To: Matthew Seaman , freebsd-stable@freebsd.org Message-ID: <20040419170533.GR5039@mutare.noc.clara.net> References: <20040418211852.GA67452@mutare.noc.clara.net> <20040419140516.GL5039@mutare.noc.clara.net> <20040419155116.GA50490@happy-idiot-talk.infracaninophile.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040419155116.GA50490@happy-idiot-talk.infracaninophile.co.uk> User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 4.9-STABLE i386 X-NCC-RegID: uk.claranet Sender: Ollie Cook Subject: Re: filesystem corruption with 1TB filesystem, 4.9-STABLE, twe 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, 19 Apr 2004 17:05:34 -0000 On Mon, Apr 19, 2004 at 04:51:16PM +0100, Matthew Seaman wrote: > Can you rule out hardware problems by substituting in a different > known good 3-ware card? Last time I saw anything like this was an IO > controller chip going marginal through overheating under heavy load > and flipping occasional bits on disk block addresses. Hi, This is the first time we've tried the 3ware ATA RAID cards so I don't have another 'known good' one. Usually we use SCSI RAID cards. If I were to replace it I still wouldn't be able to guarantee that is was 'known good'. I may be able to arrange a part replacement, just to test that theory, in any case. Are you aware of any utilities which would be able to diagnose what you describe? I guess what I'm asking is how did you determine that that was what happened last time you saw these symtoms? Thanks, Ollie -- Oliver Cook Systems Administrator, Claranet UK ollie@uk.clara.net +44 20 7903 3065 From owner-freebsd-stable@FreeBSD.ORG Mon Apr 19 10:50: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 7358E16A4CE for ; Mon, 19 Apr 2004 10:50:17 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 15FDA43D4C for ; Mon, 19 Apr 2004 10:50:16 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) i3JHo7Ku051945 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 19 Apr 2004 18:50:07 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i3JHo75s051944; Mon, 19 Apr 2004 18:50:07 +0100 (BST) (envelope-from matthew) Date: Mon, 19 Apr 2004 18:50:07 +0100 From: Matthew Seaman To: Ollie Cook Message-ID: <20040419175007.GA51799@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Ollie Cook , freebsd-stable@freebsd.org References: <20040418211852.GA67452@mutare.noc.clara.net> <20040419140516.GL5039@mutare.noc.clara.net> <20040419155116.GA50490@happy-idiot-talk.infracaninophile.co.uk> <20040419170533.GR5039@mutare.noc.clara.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="KsGdsel6WgEHnImy" Content-Disposition: inline In-Reply-To: <20040419170533.GR5039@mutare.noc.clara.net> User-Agent: Mutt/1.5.6i X-Virus-Scanned: clamd / ClamAV version devel-20040416, clamav-milter version 0.70g X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on happy-idiot-talk.infracaninophile.co.uk cc: freebsd-stable@freebsd.org Subject: Re: filesystem corruption with 1TB filesystem, 4.9-STABLE, twe 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, 19 Apr 2004 17:50:17 -0000 --KsGdsel6WgEHnImy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 19, 2004 at 06:05:33PM +0100, Ollie Cook wrote: > This is the first time we've tried the 3ware ATA RAID cards so I don't ha= ve > another 'known good' one. Usually we use SCSI RAID cards. If I were to re= place > it I still wouldn't be able to guarantee that is was 'known good'. I may = be > able to arrange a part replacement, just to test that theory, in any case. Suppliers are usually glad to accomodate you with spare kit when the sale depends upon it. =20 > Are you aware of any utilities which would be able to diagnose what you > describe? I guess what I'm asking is how did you determine that that was = what > happened last time you saw these symtoms? Hard to say. We had around a hundred machines and this only happened to some of them. It took some time, and quite a lot of false starts but eventually we pinned it down to overheating, and fixed the problem by applying a larger heatsink and uprated fans. 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 --KsGdsel6WgEHnImy Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAhBFPdtESqEQa7a0RAmlUAKCMFFCDlQvXPRyZL+gT2Jz9Tdg9pwCeIRPk /QJ8gvfBUc+ETdDPTe8LpOo= =wCSq -----END PGP SIGNATURE----- --KsGdsel6WgEHnImy-- From owner-freebsd-stable@FreeBSD.ORG Mon Apr 19 10:54: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 794E916A4CE for ; Mon, 19 Apr 2004 10:54:40 -0700 (PDT) Received: from hadar.amcc.com (hadar.amcc.com [192.195.69.168]) by mx1.FreeBSD.org (Postfix) with ESMTP id BBA4D43D1D for ; Mon, 19 Apr 2004 10:54:39 -0700 (PDT) (envelope-from vkashyap@amcc.com) Received: from mailhost.amcc.com ([192.195.69.30]) by hadar.amcc.com (Netscape Messaging Server 4.15) with SMTP id HWFJ3203.8ZN; Mon, 19 Apr 2004 10:54:38 -0700 Received: (from vkashyap-pc [10.66.6.61]) by mailhost.amcc.com (SAVSMTP 3.1.0.29) with SMTP id M2004041910563709745 ; Mon, 19 Apr 2004 10:56:37 -0700 From: "Vinod Kashyap" To: Ollie Cook , Matthew Seaman , freebsd-stable@freebsd.org Date: Mon, 19 Apr 2004 10:54:40 -0700 Organization: AMCC X-Sent-Folder-Path: Sent Items X-Mailer: Oracle Connector for Outlook 9.0.4 51114 (9.0.6627) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Message-ID: Subject: RE: filesystem corruption with 1TB filesystem, 4.9-STABLE, twe 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, 19 Apr 2004 17:54:40 -0000 Please check the customer advisory at http://www.3ware.com/support/index.asp and make sure you don't have a known problem configuration. Also, I would recommend using the "FreeBSD 4.8 Beta Driver" on the 3ware website, or still better, use the driver at the tip of RELENG_4 at: http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/twe/?only_with_tag=3DRELE= NG_4 If you need any help with the 3ware product, please contact support@3ware.com. Thanks, Vinod. > -----Original Message----- > From: owner-freebsd-stable@freebsd.org > [mailto:owner-freebsd-stable@freebsd.org]On Behalf Of Ollie Cook > Sent: Monday, April 19, 2004 10:06 AM > To: Matthew Seaman; freebsd-stable@freebsd.org > Subject: Re: filesystem corruption with 1TB filesystem, = > 4.9-STABLE, twe > = > = > On Mon, Apr 19, 2004 at 04:51:16PM +0100, Matthew Seaman wrote: > > Can you rule out hardware problems by substituting in a different > > known good 3-ware card? Last time I saw anything like this = > was an IO > > controller chip going marginal through overheating under heavy load > > and flipping occasional bits on disk block addresses. > = > Hi, > = > This is the first time we've tried the 3ware ATA RAID cards = > so I don't have > another 'known good' one. Usually we use SCSI RAID cards. If = > I were to replace > it I still wouldn't be able to guarantee that is was 'known = > good'. I may be > able to arrange a part replacement, just to test that theory, = > in any case. > = > Are you aware of any utilities which would be able to = > diagnose what you > describe? I guess what I'm asking is how did you determine = > that that was what > happened last time you saw these symtoms? > = > Thanks, > = > Ollie > = > -- = > Oliver Cook Systems Administrator, Claranet UK > ollie@uk.clara.net +44 20 7903 3065 > _______________________________________________ > 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 Apr 19 11:47:32 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 E965A16A4CE; Mon, 19 Apr 2004 11:47:32 -0700 (PDT) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.FreeBSD.org (Postfix) with ESMTP id CB34843D39; Mon, 19 Apr 2004 11:47:32 -0700 (PDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 3E7587303A; Mon, 19 Apr 2004 14:47:32 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20040419184732.3E7587303A@freebsd-current.sentex.ca> Date: Mon, 19 Apr 2004 14:47:32 -0400 (EDT) Subject: [releng_4 tinderbox] failure on i386/i386 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Apr 2004 18:47:33 -0000 TB --- 2004-04-19 12:02:04 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2004-04-19 12:02:04 - starting RELENG_4 tinderbox run for i386/i386 TB --- 2004-04-19 12:02:04 - checking out the source tree TB --- 2004-04-19 12:02:04 - cd /home/tinderbox/sandbox/RELENG_4/i386/i386 TB --- 2004-04-19 12:02:04 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -rRELENG_4 src TB --- 2004-04-19 12:12:16 - building world (CFLAGS=-O -pipe) TB --- 2004-04-19 12:12:16 - cd /home/tinderbox/sandbox/RELENG_4/i386/i386/src TB --- 2004-04-19 12:12:16 - /usr/bin/make -B buildworld >>> Rebuilding the temporary build tree >>> stage 1: bootstrap tools >>> stage 2: cleaning up the object tree >>> stage 2: rebuilding the object tree >>> stage 2: build tools >>> stage 3: cross tools >>> stage 4: populating /home/tinderbox/sandbox/RELENG_4/i386/i386/obj/other/tinderbox/RELENG_4/i386/i386/src/i386/usr/include >>> stage 4: building libraries >>> stage 4: make dependencies >>> stage 4: building everything.. TB --- 2004-04-19 18:15:21 - building generic kernel (COPTFLAGS=-O -pipe) TB --- 2004-04-19 18:15:21 - cd /home/tinderbox/sandbox/RELENG_4/i386/i386/src TB --- 2004-04-19 18:15:21 - /usr/bin/make buildkernel KERNCONF=GENERIC >>> Kernel build for GENERIC started on Mon Apr 19 18:15:26 GMT 2004 >>> Kernel build for GENERIC completed on Mon Apr 19 18:47:30 GMT 2004 TB --- 2004-04-19 18:47:30 - building LINT kernel (COPTFLAGS=-O -pipe) TB --- 2004-04-19 18:47:30 - cd /home/tinderbox/sandbox/RELENG_4/i386/i386/src TB --- 2004-04-19 18:47:30 - /usr/bin/make buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Mon Apr 19 18:47:31 GMT 2004 -------------------------------------------------------------- ===> LINT mkdir -p /home/tinderbox/sandbox/RELENG_4/i386/i386/obj/other/tinderbox/RELENG_4/i386/i386/src/sys cd /other/tinderbox/RELENG_4/i386/i386/src/sys/i386/conf; PATH=/home/tinderbox/sandbox/RELENG_4/i386/i386/obj/other/tinderbox/RELENG_4/i386/i386/src/i386/usr/sbin:/home/tinderbox/sandbox/RELENG_4/i386/i386/obj/other/tinderbox/RELENG_4/i386/i386/src/i386/usr/bin:/home/tinderbox/sandbox/RELENG_4/i386/i386/obj/other/tinderbox/RELENG_4/i386/i386/src/i386/usr/games:/sbin:/bin:/usr/sbin:/usr/bin config -d /home/tinderbox/sandbox/RELENG_4/i386/i386/obj/other/tinderbox/RELENG_4/i386/i386/src/sys/LINT /other/tinderbox/RELENG_4/i386/i386/src/sys/i386/conf/LINT /other/tinderbox/RELENG_4/i386/i386/src/sys/i386/conf/LINT:957: unknown option "DA_OLD_QUIRKS" *** Error code 1 Stop in /other/tinderbox/RELENG_4/i386/i386/src. *** Error code 1 Stop in /other/tinderbox/RELENG_4/i386/i386/src. TB --- 2004-04-19 18:47:32 - WARNING: /usr/bin/make returned exit code 1 TB --- 2004-04-19 18:47:32 - ERROR: failed to build lint kernel TB --- 2004-04-19 18:47:32 - tinderbox aborted From owner-freebsd-stable@FreeBSD.ORG Mon Apr 19 12:59:48 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 8674116A4CF for ; Mon, 19 Apr 2004 12:59:48 -0700 (PDT) Received: from out010.verizon.net (out010pub.verizon.net [206.46.170.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id DA13943D3F for ; Mon, 19 Apr 2004 12:59:47 -0700 (PDT) (envelope-from dgl@kirk.dlee.org) Received: from kirk.dlee.org ([141.156.37.12]) by out010.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20040419195947.LSVW1910.out010.verizon.net@kirk.dlee.org> for ; Mon, 19 Apr 2004 14:59:47 -0500 Received: from kirk.dlee.org (dgl@localhost.dlee.org [127.0.0.1]) by kirk.dlee.org (8.12.9p2/8.12.9) with ESMTP id i3JJxjG9069598 for ; Mon, 19 Apr 2004 15:59:46 -0400 (EDT) (envelope-from dgl@kirk.dlee.org) Received: (from dgl@localhost) by kirk.dlee.org (8.12.9p2/8.12.9/Submit) id i3JJxjLe069597 for freebsd-stable@freebsd.org; Mon, 19 Apr 2004 15:59:45 -0400 (EDT) (envelope-from dgl) Date: Mon, 19 Apr 2004 15:59:44 -0400 From: Doug Lee To: freebsd-stable@freebsd.org Message-ID: <20040419195944.GC55912@kirk.dlee.org> Mail-Followup-To: Doug Lee , freebsd-stable@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Organization: Bartimaeus Group User-Agent: Mutt/1.5.4i X-Authentication-Info: Submitted using SMTP AUTH at out010.verizon.net from [141.156.37.12] at Mon, 19 Apr 2004 14:59:46 -0500 Subject: Any plans to update CVS beyond v1.11.5? 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, 19 Apr 2004 19:59:48 -0000 CVS is being updated but FreeBSD still uses v1.11.5. I'm trying to use a FreeBSD box as a server for both FreeBSD and Windows CVS clients, and I'm finding a few problems which, I believe, are fixed in CVS versions after 1.11.5. Unless I missed something major, there's not a port for keeping up with CVS either. Any plans to update CVS in the base system? This is not a complaint, btw; it's just an attempted optimization of local resources. Please Cc me on replies. Thanks much. -- Doug Lee dgl@dlee.org http://www.dlee.org Bartimaeus Group doug@bartsite.com http://www.bartsite.com "Innovation is hard to schedule." -- Dan Fylstra From owner-freebsd-stable@FreeBSD.ORG Mon Apr 19 13:05: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 3132916A4CE for ; Mon, 19 Apr 2004 13:05:56 -0700 (PDT) Received: from smtp.thilelli.net (jgabel.net1.nerim.net [80.65.226.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7197543D1D for ; Mon, 19 Apr 2004 13:05:55 -0700 (PDT) (envelope-from jpeg@thilelli.net) Received: from localhost (localhost.thilelli.net [127.0.0.1]) by bento.thilelli.net (Postfix) with ESMTP id C36A878C65; Mon, 19 Apr 2004 22:05:51 +0200 (CEST) Received: from bento.thilelli.net ([127.0.0.1]) by localhost (bento.thilelli.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 57586-02; Mon, 19 Apr 2004 22:05:51 +0200 (CEST) Received: from webmail.thilelli.net (localhost.thilelli.net [127.0.0.1]) by bento.thilelli.net (Postfix) with SMTP id DF66F78C50; Mon, 19 Apr 2004 22:05:50 +0200 (CEST) Received: from 192.168.0.105 (SquirrelMail authenticated user jgabel) by webmail.thilelli.net with HTTP; Mon, 19 Apr 2004 22:05:50 +0200 (CEST) Message-ID: <51235.192.168.0.105.1082405150.squirrel@webmail.thilelli.net> In-Reply-To: <20040419195944.GC55912@kirk.dlee.org> References: <20040419195944.GC55912@kirk.dlee.org> Date: Mon, 19 Apr 2004 22:05:50 +0200 (CEST) From: "Julien Gabel" To: "Doug Lee" User-Agent: SquirrelMail/1.4.2 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 Importance: Normal X-Virus-Scanned: by amavisd-new at thilelli.net cc: freebsd-stable@freebsd.org Subject: Re: Any plans to update CVS beyond v1.11.5? 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, 19 Apr 2004 20:05:56 -0000 > CVS is being updated but FreeBSD still uses v1.11.5. I'm trying to > use a FreeBSD box as a server for both FreeBSD and Windows CVS > clients, and I'm finding a few problems which, I believe, are fixed in > CVS versions after 1.11.5. Unless I missed something major, there's > not a port for keeping up with CVS either. > > Any plans to update CVS in the base system? It seems that Peter Wemm has updated CVS to version 1.11.15: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=1758503+0+/usr/local/www/db/\ text/2004/cvs-all/20040418.cvs-all -- -jpeg. From owner-freebsd-stable@FreeBSD.ORG Mon Apr 19 13:06: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 05CC516A4CE for ; Mon, 19 Apr 2004 13:06:01 -0700 (PDT) Received: from tx2.oucs.ox.ac.uk (tx2.oucs.ox.ac.uk [163.1.2.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 75C8543D4C for ; Mon, 19 Apr 2004 13:06:00 -0700 (PDT) (envelope-from colin.percival@wadham.ox.ac.uk) Received: from scan2.oucs.ox.ac.uk ([163.1.2.162] helo=localhost) by tx2.oucs.ox.ac.uk with esmtp (Exim 4.24) id 1BFf1j-0005sR-Ki for freebsd-stable@freebsd.org; Mon, 19 Apr 2004 21:05:59 +0100 Received: from rx2.oucs.ox.ac.uk ([163.1.2.161]) by localhost (scan2.oucs.ox.ac.uk [163.1.2.162]) (amavisd-new, port 25) with ESMTP id 22362-06 for ; Mon, 19 Apr 2004 21:05:59 +0100 (BST) Received: from gateway.wadham.ox.ac.uk ([163.1.161.253]) by rx2.oucs.ox.ac.uk with smtp (Exim 4.24) id 1BFf1j-0005sI-7H for freebsd-stable@freebsd.org; Mon, 19 Apr 2004 21:05:59 +0100 Received: (qmail 27064 invoked by uid 1004); 19 Apr 2004 20:05:59 -0000 Received: from colin.percival@wadham.ox.ac.uk by gateway by uid 71 with qmail-scanner-1.20 (clamscan: 0.67. sweep: 2.18/3.79. Clear:RC:1(163.1.161.131):. Processed in 0.02437 secs); 19 Apr 2004 20:05:59 -0000 Received: from dhcp1131.wadham.ox.ac.uk (HELO piii600.wadham.ox.ac.uk) (163.1.161.131) by gateway.wadham.ox.ac.uk with SMTP; 19 Apr 2004 20:05:58 -0000 Message-Id: <6.0.1.1.1.20040419210354.039ccdf0@imap.sfu.ca> X-Sender: cperciva@imap.sfu.ca (Unverified) X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1 Date: Mon, 19 Apr 2004 21:05:55 +0100 To: Doug Lee From: Colin Percival In-Reply-To: <20040419195944.GC55912@kirk.dlee.org> References: <20040419195944.GC55912@kirk.dlee.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" cc: freebsd-stable@freebsd.org Subject: Re: Any plans to update CVS beyond v1.11.5? 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, 19 Apr 2004 20:06:01 -0000 At 20:59 19/04/2004, Doug Lee wrote: >CVS is being updated but FreeBSD still uses v1.11.5. ... >Any plans to update CVS in the base system? CVS 1.11.15 was imported into -current four days ago. I would assume that it will be merged onto -stable at some point after 4.10-RELEASE. Colin Percival From owner-freebsd-stable@FreeBSD.ORG Mon Apr 19 13:14:48 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 42AE516A4CE for ; Mon, 19 Apr 2004 13:14:48 -0700 (PDT) Received: from out012.verizon.net (out012pub.verizon.net [206.46.170.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id A909743D5C for ; Mon, 19 Apr 2004 13:14:47 -0700 (PDT) (envelope-from dgl@kirk.dlee.org) Received: from kirk.dlee.org ([141.156.37.12]) by out012.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20040419201446.SCWB18295.out012.verizon.net@kirk.dlee.org>; Mon, 19 Apr 2004 15:14:46 -0500 Received: from kirk.dlee.org (dgl@localhost.dlee.org [127.0.0.1]) by kirk.dlee.org (8.12.9p2/8.12.9) with ESMTP id i3JKEjG9069744; Mon, 19 Apr 2004 16:14:46 -0400 (EDT) (envelope-from dgl@kirk.dlee.org) Received: (from dgl@localhost) by kirk.dlee.org (8.12.9p2/8.12.9/Submit) id i3JKEj2W069743; Mon, 19 Apr 2004 16:14:45 -0400 (EDT) (envelope-from dgl) Date: Mon, 19 Apr 2004 16:14:44 -0400 From: Doug Lee To: Colin Percival Message-ID: <20040419201444.GD55912@kirk.dlee.org> Mail-Followup-To: Doug Lee , Colin Percival , freebsd-stable@freebsd.org References: <20040419195944.GC55912@kirk.dlee.org> <6.0.1.1.1.20040419210354.039ccdf0@imap.sfu.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6.0.1.1.1.20040419210354.039ccdf0@imap.sfu.ca> Organization: Bartimaeus Group User-Agent: Mutt/1.5.4i X-Authentication-Info: Submitted using SMTP AUTH at out012.verizon.net from [141.156.37.12] at Mon, 19 Apr 2004 15:14:46 -0500 cc: freebsd-stable@freebsd.org Subject: Re: Any plans to update CVS beyond v1.11.5? 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, 19 Apr 2004 20:14:48 -0000 Well hallelujah! I couldn't ask for much better than that. I look forward to v1.11.15's arrival in STABLE. On Mon, Apr 19, 2004 at 09:05:55PM +0100, Colin Percival wrote: > At 20:59 19/04/2004, Doug Lee wrote: > >CVS is being updated but FreeBSD still uses v1.11.5. ... > >Any plans to update CVS in the base system? > > CVS 1.11.15 was imported into -current four days ago. I > would assume that it will be merged onto -stable at some > point after 4.10-RELEASE. > > Colin Percival > -- Doug Lee dgl@dlee.org http://www.dlee.org Bartimaeus Group doug@bartsite.com http://www.bartsite.com "I before E, except after C, or when sounded like A, as in neighbor and weigh, except for when weird foreign concierges seize neither leisure nor science from the height of society." From owner-freebsd-stable@FreeBSD.ORG Mon Apr 19 15:58:14 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 371AD16A4CE for ; Mon, 19 Apr 2004 15:58:14 -0700 (PDT) Received: from smtp1.adl2.internode.on.net (smtp1.adl2.internode.on.net [203.16.214.181]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4DA4243D4C for ; Mon, 19 Apr 2004 15:58:13 -0700 (PDT) (envelope-from smckay@internode.on.net) Received: from dungeon.home (ppp167-147.lns1.bne3.internode.on.net [150.101.167.147])i3JMw9Zq082567; Tue, 20 Apr 2004 08:28:10 +0930 (CST) Received: from dungeon.home (localhost [127.0.0.1]) by dungeon.home (8.12.8p2/8.11.6) with ESMTP id i3JMw7Cv005673; Tue, 20 Apr 2004 08:58:08 +1000 (EST) (envelope-from mckay) Message-Id: <200404192258.i3JMw7Cv005673@dungeon.home> To: Eugene Grosbein References: <200404181438.i3IEclNf010673@dungeon.home> <20040418150904.GB718@grosbein.pp.ru> <200404190024.i3J0OiIl003221@dungeon.home> In-Reply-To: <200404190024.i3J0OiIl003221@dungeon.home> from Stephen McKay at "Mon, 19 Apr 2004 10:24:44 +1000" Date: Tue, 20 Apr 2004 08:58:07 +1000 From: Stephen McKay cc: freebsd-stable@freebsd.org cc: Stephen McKay Subject: Re: Should I merge fix for PR#64091 (NFS data corruption)? 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, 19 Apr 2004 22:58:14 -0000 On Monday, 19th April 2004, Stephen McKay wrote: >On Sunday, 18th April 2004, Eugene Grosbein wrote: > >>Should one patch (and reboot in case of NFS compiled in a kernel) >>both of a client and a server? > >It is a client-side patch. The server could be anything, though I've >only tested with FreeBSD. By the way, Eugen, how do I get on your whitelist? Your "challenge response" spam protection forgot to do the "challenge" bit! Stephen. From owner-freebsd-stable@FreeBSD.ORG Mon Apr 19 23:57: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 5B1C816A4CE; Mon, 19 Apr 2004 23:57:19 -0700 (PDT) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.FreeBSD.org (Postfix) with ESMTP id 35DA543D2F; Mon, 19 Apr 2004 23:57:19 -0700 (PDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 478977303A; Tue, 20 Apr 2004 02:57:18 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20040420065718.478977303A@freebsd-current.sentex.ca> Date: Tue, 20 Apr 2004 02:57:18 -0400 (EDT) Subject: [releng_4 tinderbox] failure on i386/i386 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Apr 2004 06:57:19 -0000 TB --- 2004-04-19 23:21:06 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2004-04-19 23:21:06 - starting RELENG_4 tinderbox run for i386/i386 TB --- 2004-04-19 23:21:06 - checking out the source tree TB --- 2004-04-19 23:21:06 - cd /home/tinderbox/sandbox/RELENG_4/i386/i386 TB --- 2004-04-19 23:21:06 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -rRELENG_4 src TB --- 2004-04-19 23:32:01 - building world (CFLAGS=-O -pipe) TB --- 2004-04-19 23:32:01 - cd /home/tinderbox/sandbox/RELENG_4/i386/i386/src TB --- 2004-04-19 23:32:01 - /usr/bin/make -B buildworld >>> Rebuilding the temporary build tree >>> stage 1: bootstrap tools >>> stage 2: cleaning up the object tree >>> stage 2: rebuilding the object tree >>> stage 2: build tools >>> stage 3: cross tools >>> stage 4: populating /home/tinderbox/sandbox/RELENG_4/i386/i386/obj/other/tinderbox/RELENG_4/i386/i386/src/i386/usr/include >>> stage 4: building libraries >>> stage 4: make dependencies >>> stage 4: building everything.. TB --- 2004-04-20 06:22:29 - building generic kernel (COPTFLAGS=-O -pipe) TB --- 2004-04-20 06:22:29 - cd /home/tinderbox/sandbox/RELENG_4/i386/i386/src TB --- 2004-04-20 06:22:29 - /usr/bin/make buildkernel KERNCONF=GENERIC >>> Kernel build for GENERIC started on Tue Apr 20 06:22:31 GMT 2004 >>> Kernel build for GENERIC completed on Tue Apr 20 06:57:15 GMT 2004 TB --- 2004-04-20 06:57:15 - building LINT kernel (COPTFLAGS=-O -pipe) TB --- 2004-04-20 06:57:15 - cd /home/tinderbox/sandbox/RELENG_4/i386/i386/src TB --- 2004-04-20 06:57:15 - /usr/bin/make buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Tue Apr 20 06:57:16 GMT 2004 -------------------------------------------------------------- ===> LINT mkdir -p /home/tinderbox/sandbox/RELENG_4/i386/i386/obj/other/tinderbox/RELENG_4/i386/i386/src/sys cd /other/tinderbox/RELENG_4/i386/i386/src/sys/i386/conf; PATH=/home/tinderbox/sandbox/RELENG_4/i386/i386/obj/other/tinderbox/RELENG_4/i386/i386/src/i386/usr/sbin:/home/tinderbox/sandbox/RELENG_4/i386/i386/obj/other/tinderbox/RELENG_4/i386/i386/src/i386/usr/bin:/home/tinderbox/sandbox/RELENG_4/i386/i386/obj/other/tinderbox/RELENG_4/i386/i386/src/i386/usr/games:/sbin:/bin:/usr/sbin:/usr/bin config -d /home/tinderbox/sandbox/RELENG_4/i386/i386/obj/other/tinderbox/RELENG_4/i386/i386/src/sys/LINT /other/tinderbox/RELENG_4/i386/i386/src/sys/i386/conf/LINT /other/tinderbox/RELENG_4/i386/i386/src/sys/i386/conf/LINT:957: unknown option "DA_OLD_QUIRKS" *** Error code 1 Stop in /other/tinderbox/RELENG_4/i386/i386/src. *** Error code 1 Stop in /other/tinderbox/RELENG_4/i386/i386/src. TB --- 2004-04-20 06:57:17 - WARNING: /usr/bin/make returned exit code 1 TB --- 2004-04-20 06:57:17 - ERROR: failed to build lint kernel TB --- 2004-04-20 06:57:17 - tinderbox aborted From owner-freebsd-stable@FreeBSD.ORG Tue Apr 20 00:37: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 3D79116A4CF for ; Tue, 20 Apr 2004 00:37:33 -0700 (PDT) Received: from cray.e-card.bg (mjak.e-card.bg [212.91.167.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2F17743D5D for ; Tue, 20 Apr 2004 00:37:32 -0700 (PDT) (envelope-from altares@cray.e-card.bg) Received: from cray.e-card.bg (localhost [127.0.0.1]) by cray.e-card.bg (8.12.9/8.12.9) with ESMTP id i3K7cl5k062849; Tue, 20 Apr 2004 10:38:47 +0300 (EEST) (envelope-from altares@cray.e-card.bg) Received: (from altares@localhost) by cray.e-card.bg (8.12.9/8.12.9/Submit) id i3K7cbUA062837; Tue, 20 Apr 2004 10:38:37 +0300 (EEST) Date: Tue, 20 Apr 2004 10:38:37 +0300 From: Rumen Telbizov To: Kris Kennaway Message-ID: <20040420073837.GS32493@e-card.bg> References: <20040419085841.GB64662@freenix.no> <20040419090049.GA51659@chihiro.leafy.idv.tw> <20040419092052.GD64662@freenix.no> <20040419093523.GA34419@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040419093523.GA34419@xor.obsecurity.org> User-Agent: Mutt/1.4.2.1i cc: stable@freebsd.org Subject: Re: HTT and SMP question 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, 20 Apr 2004 07:37:33 -0000 Hello, On Mon, Apr 19, 2004 at 02:35:23AM -0700, Kris Kennaway wrote: > On Mon, Apr 19, 2004 at 11:20:52AM +0200, Morten A. Middelthon wrote: > > sysctl -w machdep.hlt_logical_cpus=0 > > > > that did the trick. I added it to loader.conf as well. > > > > regards, > > Note that HTT causes worse performance in many workloads, which is why > that sysctl defaults to off. Would you please point out some cases when HTT with machdep.hlt_logical_cpus=0 causes worse performance than machdep.hlt_logical_cpus=1? I am using an HTT Xeon since recently and in my tests it showed that machdep.hlt_logical_cpus=0 is better! A simple ubench (spawning 2 processes) gives better results in 0 mode! Thank you in advance! Rumen Telbizov From owner-freebsd-stable@FreeBSD.ORG Tue Apr 20 01:02: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 C725D16A4CE for ; Tue, 20 Apr 2004 01:02:06 -0700 (PDT) Received: from ns1.itga.com.au (ns1.itga.com.au [202.53.40.214]) by mx1.FreeBSD.org (Postfix) with ESMTP id CFC6743D5F for ; Tue, 20 Apr 2004 01:02:05 -0700 (PDT) (envelope-from gnb@itga.com.au) Received: from lightning.itga.com.au (lightning.itga.com.au [192.168.71.20]) by ns1.itga.com.au (8.12.9/8.12.9) with ESMTP id i3K821R5093493; Tue, 20 Apr 2004 18:02:01 +1000 (EST) (envelope-from gnb@itga.com.au) Received: from lightning.itga.com.au (localhost [127.0.0.1]) by lightning.itga.com.au (8.9.3/8.9.3) with ESMTP id SAA01680; Tue, 20 Apr 2004 18:02:00 +1000 (EST) Message-Id: <200404200802.SAA01680@lightning.itga.com.au> X-Mailer: exmh version 2.4 05/15/2001 with nmh-1.0.4 From: Gregory Bond To: Rumen Telbizov In-reply-to: Your message of Tue, 20 Apr 2004 10:38:37 +0300. Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 20 Apr 2004 18:02:00 +1000 Sender: gnb@itga.com.au cc: stable@freebsd.org cc: Kris Kennaway Subject: Re: HTT and SMP question 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, 20 Apr 2004 08:02:06 -0000 > Would you please point out some cases when HTT with machdep.hlt_logical_cpus= > 0 > causes worse performance than machdep.hlt_logical_cpus=1? Typically, running a single, large, CPU-bound process, especially FPU-instensive simulations. From owner-freebsd-stable@FreeBSD.ORG Tue Apr 20 01:14: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 110FE16A4CF for ; Tue, 20 Apr 2004 01:14:09 -0700 (PDT) Received: from mtaw4.prodigy.net (mtaw4.prodigy.net [64.164.98.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id CD3F743D60 for ; Tue, 20 Apr 2004 01:14:08 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (fc75c4b769bd7474bf3beb772f77ff60@adsl-67-115-73-128.dsl.lsan03.pacbell.net [67.115.73.128]) by mtaw4.prodigy.net (8.12.10/8.12.10) with ESMTP id i3K8E45k025814; Tue, 20 Apr 2004 01:14:05 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id E7A5552313; Tue, 20 Apr 2004 01:13:34 -0700 (PDT) Date: Tue, 20 Apr 2004 01:13:34 -0700 From: Kris Kennaway To: Rumen Telbizov Message-ID: <20040420081334.GA56291@xor.obsecurity.org> References: <20040419085841.GB64662@freenix.no> <20040419090049.GA51659@chihiro.leafy.idv.tw> <20040419092052.GD64662@freenix.no> <20040419093523.GA34419@xor.obsecurity.org> <20040420073837.GS32493@e-card.bg> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="W/nzBZO5zC0uMSeA" Content-Disposition: inline In-Reply-To: <20040420073837.GS32493@e-card.bg> User-Agent: Mutt/1.4.2.1i cc: stable@freebsd.org cc: Kris Kennaway Subject: Re: HTT and SMP question 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, 20 Apr 2004 08:14:09 -0000 --W/nzBZO5zC0uMSeA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 20, 2004 at 10:38:37AM +0300, Rumen Telbizov wrote: > Hello,=20 >=20 > On Mon, Apr 19, 2004 at 02:35:23AM -0700, Kris Kennaway wrote: > > On Mon, Apr 19, 2004 at 11:20:52AM +0200, Morten A. Middelthon wrote: > > > sysctl -w machdep.hlt_logical_cpus=3D0 > > >=20 > > > that did the trick. I added it to loader.conf as well. > > >=20 > > > regards, > >=20 > > Note that HTT causes worse performance in many workloads, which is why > > that sysctl defaults to off. >=20 > Would you please point out some cases when HTT with machdep.hlt_logical_c= pus=3D0 > causes worse performance than machdep.hlt_logical_cpus=3D1? > I am using an HTT Xeon since recently and in my tests it showed that > machdep.hlt_logical_cpus=3D0 is better! > A simple ubench (spawning 2 processes) gives better results in 0 mode! My parallel package builds are slower on build machines with HTT. It's not a magic bullet. Kris --W/nzBZO5zC0uMSeA Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAhNuuWry0BWjoQKURAvUoAKDzuswtck4lQP7ut1lMBAd1eKhwSQCg9+hd 1Sg/8LEbl87aCgIhPZJenP4= =NsB8 -----END PGP SIGNATURE----- --W/nzBZO5zC0uMSeA-- From owner-freebsd-stable@FreeBSD.ORG Tue Apr 20 01:38:27 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 8EBA216A4CE for ; Tue, 20 Apr 2004 01:38:27 -0700 (PDT) Received: from www.cyclades.de (mail.cyclades.de [62.225.173.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 06A3143D39 for ; Tue, 20 Apr 2004 01:38:27 -0700 (PDT) (envelope-from mh@kernel32.de) Received: from pd9e3448c.dip.t-dialin.net ([217.227.68.140] helo=kernel32.de) by www.cyclades.de with asmtp (Exim 3.35 #1 (Debian)) id 1BFqls-0001fc-00; Tue, 20 Apr 2004 10:38:24 +0200 Message-ID: <4084E16A.6090209@kernel32.de> Date: Tue, 20 Apr 2004 10:38:02 +0200 From: Marian Hettwer User-Agent: Mozilla Thunderbird 0.5 (X11/20040414) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Marian Hettwer References: <4083B346.3040708@kernel32.de> <49279.192.168.0.105.1082383199.squirrel@webmail.thilelli.net> <4083DE92.9020506@kernel32.de> <49555.192.168.0.105.1082385176.squirrel@webmail.thilelli.net> <4083E4EF.6090601@kernel32.de> In-Reply-To: <4083E4EF.6090601@kernel32.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-MailScanner: Found to be clean X-MailScanner-SpamCheck: cc: Julien Gabel cc: freebsd-stable@freebsd.org Subject: Re: xfce4-iconbox doesn't start 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, 20 Apr 2004 08:38:27 -0000 Hi, Marian Hettwer wrote: > > > Julien Gabel wrote: > >> Update your ports tree and upgrade all your xfce packages using the >> '-rR' of portupgrade(1) in order to avoid old dependancies. >> > I'll do so and give it a try :) > result: xfce4-iconbox is still core dumping. I got only one error after the portupgrade -rR run, this was a "compile error" in gtk-2.2.4. Although gtk-2.4.0 compiled fine... pkg_info shows that iconbox is still linked against gtk-2.2.4_1 [mhettwer@acchilles] <~> $ pkg_info /var/db/pkg/gtk-2.2.4_1/|grep iconbox xfce4-iconbox-4.0.5 Does it make sense that it's also linked against gtk-2.4.0 ??? [mhettwer@acchilles] <~> $ pkg_info /var/db/pkg/gtk-2.4.0/|grep iconbox xfce4-iconbox-4.0.5 I doubt... I'm still a little bit confused ... best regards, Marian From owner-freebsd-stable@FreeBSD.ORG Tue Apr 20 01:52: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 BB5A416A4CE for ; Tue, 20 Apr 2004 01:52:07 -0700 (PDT) Received: from cray.e-card.bg (mjak.e-card.bg [212.91.167.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id C864A43D31 for ; Tue, 20 Apr 2004 01:52:06 -0700 (PDT) (envelope-from altares@cray.e-card.bg) Received: from cray.e-card.bg (localhost [127.0.0.1]) by cray.e-card.bg (8.12.9/8.12.9) with ESMTP id i3K8rO5k063956; Tue, 20 Apr 2004 11:53:24 +0300 (EEST) (envelope-from altares@cray.e-card.bg) Received: (from altares@localhost) by cray.e-card.bg (8.12.9/8.12.9/Submit) id i3K8rNNH063955; Tue, 20 Apr 2004 11:53:23 +0300 (EEST) Date: Tue, 20 Apr 2004 11:53:22 +0300 From: Rumen Telbizov To: Kris Kennaway Message-ID: <20040420085322.GV32493@e-card.bg> References: <20040419085841.GB64662@freenix.no> <20040419090049.GA51659@chihiro.leafy.idv.tw> <20040419092052.GD64662@freenix.no> <20040419093523.GA34419@xor.obsecurity.org> <20040420073837.GS32493@e-card.bg> <20040420081334.GA56291@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040420081334.GA56291@xor.obsecurity.org> User-Agent: Mutt/1.4.2.1i cc: stable@freebsd.org Subject: Re: HTT and SMP question 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, 20 Apr 2004 08:52:07 -0000 > > Would you please point out some cases when HTT with machdep.hlt_logical_cpus=0 > > causes worse performance than machdep.hlt_logical_cpus=1? > > I am using an HTT Xeon since recently and in my tests it showed that > > machdep.hlt_logical_cpus=0 is better! > > A simple ubench (spawning 2 processes) gives better results in 0 mode! > > My parallel package builds are slower on build machines with HTT. > It's not a magic bullet. > > Kris Hmm ... interesting. My simple/stupid synthetic tests showed just the opposite. Anyway. Unfortunatelly I didn't try to buildworld/kernel with -j2 (say). Shame on me! Would you point to a case where machdep.hlt_logical_cpus=0 does show better performance results? httpd ? Is it not that exactly _parallel processing_ should be faster with HTT than whithout ? Thank you for your reply. Rumen Telbizov From owner-freebsd-stable@FreeBSD.ORG Tue Apr 20 01:58: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 571D616A4CE for ; Tue, 20 Apr 2004 01:58:40 -0700 (PDT) Received: from mtaw4.prodigy.net (mtaw4.prodigy.net [64.164.98.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4756F43D1D for ; Tue, 20 Apr 2004 01:58:40 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (08c95a5ffd482b2fed81d1a3b805109d@adsl-67-115-73-128.dsl.lsan03.pacbell.net [67.115.73.128]) by mtaw4.prodigy.net (8.12.10/8.12.10) with ESMTP id i3K8wb5k006488; Tue, 20 Apr 2004 01:58:37 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id A32F6511D0; Tue, 20 Apr 2004 01:58:37 -0700 (PDT) Date: Tue, 20 Apr 2004 01:58:37 -0700 From: Kris Kennaway To: Rumen Telbizov Message-ID: <20040420085837.GA57184@xor.obsecurity.org> References: <20040419085841.GB64662@freenix.no> <20040419090049.GA51659@chihiro.leafy.idv.tw> <20040419092052.GD64662@freenix.no> <20040419093523.GA34419@xor.obsecurity.org> <20040420073837.GS32493@e-card.bg> <20040420081334.GA56291@xor.obsecurity.org> <20040420085322.GV32493@e-card.bg> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Dxnq1zWXvFF0Q93v" Content-Disposition: inline In-Reply-To: <20040420085322.GV32493@e-card.bg> User-Agent: Mutt/1.4.2.1i cc: stable@freebsd.org cc: Kris Kennaway Subject: Re: HTT and SMP question 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, 20 Apr 2004 08:58:40 -0000 --Dxnq1zWXvFF0Q93v Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 20, 2004 at 11:53:22AM +0300, Rumen Telbizov wrote: > > > Would you please point out some cases when HTT with machdep.hlt_logic= al_cpus=3D0 > > > causes worse performance than machdep.hlt_logical_cpus=3D1? > > > I am using an HTT Xeon since recently and in my tests it showed that > > > machdep.hlt_logical_cpus=3D0 is better! > > > A simple ubench (spawning 2 processes) gives better results in 0 mode! > >=20 > > My parallel package builds are slower on build machines with HTT. > > It's not a magic bullet. > >=20 > > Kris >=20 > Hmm ... interesting. My simple/stupid synthetic tests > showed just the opposite. Anyway. Unfortunatelly I didn't > try to buildworld/kernel with -j2 (say). Shame on me! >=20 > Would you point to a case where machdep.hlt_logical_cpus=3D0 does > show better performance results? httpd ? >=20 > Is it not that exactly _parallel processing_ should be faster with HTT > than whithout ? No, because HTT is not an extra CPU. Kris --Dxnq1zWXvFF0Q93v Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAhOY9Wry0BWjoQKURAq+uAKD88qQMW1aBvAkMCtOnFktA6V0/RwCeNDIj NPOIgto4SZfQCwPbFHMVo7w= =3FzU -----END PGP SIGNATURE----- --Dxnq1zWXvFF0Q93v-- From owner-freebsd-stable@FreeBSD.ORG Tue Apr 20 04:22: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 E71E816A4CE for ; Tue, 20 Apr 2004 04:22:55 -0700 (PDT) Received: from smtp.thilelli.net (jgabel.net1.nerim.net [80.65.226.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D73643D48 for ; Tue, 20 Apr 2004 04:22:55 -0700 (PDT) (envelope-from jpeg@thilelli.net) Received: from localhost (localhost.thilelli.net [127.0.0.1]) by bento.thilelli.net (Postfix) with ESMTP id B70CC78C65; Tue, 20 Apr 2004 13:22:50 +0200 (CEST) Received: from bento.thilelli.net ([127.0.0.1]) by localhost (bento.thilelli.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 08515-04; Tue, 20 Apr 2004 13:22:49 +0200 (CEST) Received: from webmail.thilelli.net (localhost.thilelli.net [127.0.0.1]) by bento.thilelli.net (Postfix) with SMTP id C248978C50; Tue, 20 Apr 2004 13:22:49 +0200 (CEST) Received: from 192.168.0.105 (SquirrelMail authenticated user jgabel) by webmail.thilelli.net with HTTP; Tue, 20 Apr 2004 13:22:49 +0200 (CEST) Message-ID: <49314.192.168.0.105.1082460169.squirrel@webmail.thilelli.net> In-Reply-To: <4084E16A.6090209@kernel32.de> References: <49279.192.168.0.105.1082383199.squirrel@webmail.thilelli.net> <4083DE92.9020506@kernel32.de> <49555.192.168.0.105.1082385176.squirrel@webmail.thilelli.net> <4083E4EF.6090601@kernel32.de> <4084E16A.6090209@kernel32.de> Date: Tue, 20 Apr 2004 13:22:49 +0200 (CEST) From: "Julien Gabel" To: "Marian Hettwer" User-Agent: SquirrelMail/1.4.2 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 Importance: Normal X-Virus-Scanned: by amavisd-new at thilelli.net cc: freebsd-stable@freebsd.org Subject: Re: xfce4-iconbox doesn't start 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, 20 Apr 2004 11:22:56 -0000 > result: xfce4-iconbox is still core dumping. > I got only one error after the portupgrade -rR run, this was a "compile > error" in gtk-2.2.4. Although gtk-2.4.0 compiled fine... 'xfce4-iconbox' has a dependancy on 'gtk-2.4.0', so this must not be a problem for xfce4 (at least): $ pkg_info -xr xfce4-iconbox | grep -i gtk Dependency: gtk-2.4.0 > pkg_info shows that iconbox is still linked against gtk-2.2.4_1 > [mhettwer@acchilles] <~> $ pkg_info /var/db/pkg/gtk-2.2.4_1/|grep iconbox > xfce4-iconbox-4.0.5 > > Does it make sense that it's also linked against gtk-2.4.0 ??? > [mhettwer@acchilles] <~> $ pkg_info /var/db/pkg/gtk-2.4.0/|grep iconbox > xfce4-iconbox-4.0.5 To know with which libraries this executable is linked, you better must use: $ ldd /usr/X11R6/bin/xfce4-iconbox | grep -i gtk libgtk-x11-2.0.so.400 => /usr/X11R6/lib/libgtk-x11-2.0.so.400 (0x280df000) Library which is provided by the 'gtk-2.4.0', so all must be allright: $ pkg_info -xL gtk-2.4.0 | grep -i libgtk [...] /usr/X11R6/lib/libgtk-x11-2.0.so.400 Are ktrace(1) or truss(1) give us more information? -- -jpeg. From owner-freebsd-stable@FreeBSD.ORG Tue Apr 20 05:01: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 A4C0F16A4CE for ; Tue, 20 Apr 2004 05:01:12 -0700 (PDT) Received: from www.cyclades.de (mail.cyclades.de [62.225.173.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id CA64D43D39 for ; Tue, 20 Apr 2004 05:01:11 -0700 (PDT) (envelope-from mh@kernel32.de) Received: from pd9e3448c.dip.t-dialin.net ([217.227.68.140] helo=kernel32.de) by www.cyclades.de with asmtp (Exim 3.35 #1 (Debian)) id 1BFtw5-00057O-00; Tue, 20 Apr 2004 14:01:09 +0200 Message-ID: <408510EE.6010403@kernel32.de> Date: Tue, 20 Apr 2004 14:00:46 +0200 From: Marian Hettwer User-Agent: Mozilla Thunderbird 0.5 (X11/20040414) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Julien Gabel References: <49279.192.168.0.105.1082383199.squirrel@webmail.thilelli.net> <4083DE92.9020506@kernel32.de> <49555.192.168.0.105.1082385176.squirrel@webmail.thilelli.net> <4083E4EF.6090601@kernel32.de> <4084E16A.6090209@kernel32.de> <49314.192.168.0.105.1082460169.squirrel@webmail.thilelli.net> In-Reply-To: <49314.192.168.0.105.1082460169.squirrel@webmail.thilelli.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-MailScanner: Found to be clean X-MailScanner-SpamCheck: cc: freebsd-stable@freebsd.org Subject: Re: xfce4-iconbox doesn't start 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, 20 Apr 2004 12:01:12 -0000 Hi, Julien Gabel wrote: >>result: xfce4-iconbox is still core dumping. >>I got only one error after the portupgrade -rR run, this was a "compile >>error" in gtk-2.2.4. Although gtk-2.4.0 compiled fine... > > > 'xfce4-iconbox' has a dependancy on 'gtk-2.4.0', so this must not be a > problem for xfce4 (at least): > $ pkg_info -xr xfce4-iconbox | grep -i gtk > Dependency: gtk-2.4.0 > ack. Well... [mhettwer@acchilles] <~> $ pkg_info -xr xfce4-iconbox|grep -i gtk Dependency: gtk-2.2.4_1 Dependency: gtk-2.4.0 > > > To know with which libraries this executable is linked, you better must > use: > $ ldd /usr/X11R6/bin/xfce4-iconbox | grep -i gtk > libgtk-x11-2.0.so.400 => /usr/X11R6/lib/libgtk-x11-2.0.so.400 > (0x280df000) > > Library which is provided by the 'gtk-2.4.0', so all must be allright: > $ pkg_info -xL gtk-2.4.0 | grep -i libgtk > [...] > /usr/X11R6/lib/libgtk-x11-2.0.so.400 > Obviously it's linked against both libs [mhettwer@acchilles] <~> $ ldd /usr/X11R6/bin/xfce4-iconbox |grep -i libgtk libgtk-x11-2.0.so.400 => /usr/X11R6/lib/libgtk-x11-2.0.so.400 (0x280ce000) libgtk-x11-2.0.so.200 => /usr/X11R6/lib/libgtk-x11-2.0.so.200 (0x2888f000) This makes no sense... eh ? > Are ktrace(1) or truss(1) give us more information? > Well, I do have a ktrace.out now, and I tried to take a look by using kdump. The last pages of this file shows that he's searching for libXcursor.so.1.0 and he's not finding it ... It's been the first time for me taking a look into a dump. So if you like to check this on your own, I could send ktrace.out to you. woops. ktrace.out is pretty large. [mhettwer@acchilles] <~> $ ls -la ktrace.out -rw------- 1 mhettwer mhettwer 956437 20 Apr 13:49 ktrace.out However, I could upload it on my webserver. I did a find /usr/X11R6/ -name libXcursor* and I found some: /usr/X11R6/lib/libXcursor.so.1 /usr/X11R6/lib/libXcursor.so /usr/X11R6/lib/libXcursor.a Hm... he's looking for libXcursor.so.1.0 according to the dump. The file libXcursor.so.1 is just a symlink onto libXcursor.so Damn, still core dumping. Although this time not while searching libXcursor.so.1.0 However, any more advices what to do? Please keep in mind, it was my first time playing around with ktrace / kdump. I may misinterpret the dump ... thanx anyway, Marian From owner-freebsd-stable@FreeBSD.ORG Tue Apr 20 06:24: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 1154116A4CE for ; Tue, 20 Apr 2004 06:24:54 -0700 (PDT) Received: from smtp.thilelli.net (jgabel.net1.nerim.net [80.65.226.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id 809B843D1F for ; Tue, 20 Apr 2004 06:24:52 -0700 (PDT) (envelope-from jpeg@thilelli.net) Received: from localhost (localhost.thilelli.net [127.0.0.1]) by bento.thilelli.net (Postfix) with ESMTP id C760D78C65; Tue, 20 Apr 2004 15:24:47 +0200 (CEST) Received: from bento.thilelli.net ([127.0.0.1]) by localhost (bento.thilelli.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 11996-04-2; Tue, 20 Apr 2004 15:24:47 +0200 (CEST) Received: from webmail.thilelli.net (localhost.thilelli.net [127.0.0.1]) by bento.thilelli.net (Postfix) with SMTP id D3D6B78C50; Tue, 20 Apr 2004 15:24:46 +0200 (CEST) Received: from 192.168.0.105 (SquirrelMail authenticated user jgabel) by webmail.thilelli.net with HTTP; Tue, 20 Apr 2004 15:24:46 +0200 (CEST) Message-ID: <49861.192.168.0.105.1082467486.squirrel@webmail.thilelli.net> In-Reply-To: <408510EE.6010403@kernel32.de> References: <4083DE92.9020506@kernel32.de> <49555.192.168.0.105.1082385176.squirrel@webmail.thilelli.net> <4083E4EF.6090601@kernel32.de> <4084E16A.6090209@kernel32.de> <49314.192.168.0.105.1082460169.squirrel@webmail.thilelli.net> <408510EE.6010403@kernel32.de> Date: Tue, 20 Apr 2004 15:24:46 +0200 (CEST) From: "Julien Gabel" To: "Marian Hettwer" User-Agent: SquirrelMail/1.4.2 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 Importance: Normal X-Virus-Scanned: by amavisd-new at thilelli.net cc: freebsd-stable@freebsd.org Subject: Re: xfce4-iconbox doesn't start 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, 20 Apr 2004 13:24:54 -0000 > [mhettwer@acchilles] <~> $ pkg_info -xr xfce4-iconbox|grep -i gtk > Dependency: gtk-2.2.4_1 > Dependency: gtk-2.4.0 If there no other applications which are using 'gtk-2.2.4' try remove it. If some depends on it, try to upgrade them (if possible with their dependancies using portupgrade -rR xxx). With a little luck, 'gtk-2.2.4' will not be needed anymore. > Obviously it's linked against both libs > [mhettwer@acchilles] <~> $ ldd /usr/X11R6/bin/xfce4-iconbox |grep -i > libgtk > libgtk-x11-2.0.so.400 => /usr/X11R6/lib/libgtk-x11-2.0.so.400 > (0x280ce000) > libgtk-x11-2.0.so.200 => /usr/X11R6/lib/libgtk-x11-2.0.so.200 > (0x2888f000) > > This makes no sense... eh ? Cause of the 2 versions of the same port. > Well, I do have a ktrace.out now, and I tried to take a look by using > kdump. The last pages of this file shows that he's searching for > libXcursor.so.1.0 and he's not finding it ... > [...] > I did a find /usr/X11R6/ -name libXcursor* and I found some: > > /usr/X11R6/lib/libXcursor.so.1 > /usr/X11R6/lib/libXcursor.so > /usr/X11R6/lib/libXcursor.a > > Hm... he's looking for libXcursor.so.1.0 according to the dump. > The file libXcursor.so.1 is just a symlink onto libXcursor.so The library 'libXcursor' is provided by XFree86-libraries-4.3.0. I your package up to date? What is the output of 'ldd /usr/X11R6/bin/xfce4-iconbox'? All the libraries must be resolved. A least you must have a problem with libXcursor since the binary is linked with libXcursor.so.1.0, but not present on your installation. > Damn, still core dumping. Although this time not while searching > libXcursor.so.1.0 Generally speaking, are your packages up to date? Or not too old regarding the version available in the ports tree? It seems we are searching against some dependancies problems on versions... not directly a problem whith xfce4-iconbox. -- -jpeg. From owner-freebsd-stable@FreeBSD.ORG Tue Apr 20 06:48: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 193E916A4CF for ; Tue, 20 Apr 2004 06:48:29 -0700 (PDT) Received: from mail.errors.firstcallgroup.co.uk (mail.errors.firstcallgroup.co.uk [213.167.69.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id B7F9C43D31 for ; Tue, 20 Apr 2004 06:48:28 -0700 (PDT) (envelope-from petefrench@keithprowse.com) Received: from smaug.rattatosk ([172.16.1.8]) by mail.errors.firstcallgroup.co.uk with esmtp (Exim 4.22) id 1BFvbu-000CGd-Mw; Tue, 20 Apr 2004 14:48:26 +0100 Received: from [172.16.1.6] (helo=dilbert.firstcallgroup.co.uk) by smaug.rattatosk with esmtp (Exim 4.22) id 1BFvbu-0009yE-Ep; Tue, 20 Apr 2004 14:48:26 +0100 Received: from petefrench by dilbert.firstcallgroup.co.uk with local (Exim 4.30; FreeBSD) id 1BFvbu-0000iO-EQ; Tue, 20 Apr 2004 14:48:26 +0100 To: altares@e-card.bg, kris@obsecurity.org In-Reply-To: <20040420073837.GS32493@e-card.bg> Message-Id: From: Pete French Date: Tue, 20 Apr 2004 14:48:26 +0100 cc: stable@freebsd.org Subject: Re: HTT and SMP question 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, 20 Apr 2004 13:48:29 -0000 > Would you please point out some cases when HTT with machdep.hlt_logical_cpus=0 > causes worse performance than machdep.hlt_logical_cpus=1? Doing a large 'make' does it for me - small difference, but measurable. I get the best poerformance by compiling out SMP alltogether though. As my machine spends most of its time doing 'make' then for me it's worth removing it entirely (aside from the fact that my machine isnt stable under HTT) -pcf. From owner-freebsd-stable@FreeBSD.ORG Tue Apr 20 06:54: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 CEC5B16A4CE for ; Tue, 20 Apr 2004 06:54:23 -0700 (PDT) Received: from yertle.kcilink.com (yertle.kcilink.com [65.205.34.180]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7F61E43D41 for ; Tue, 20 Apr 2004 06:54:23 -0700 (PDT) (envelope-from vivek@khera.org) Received: from [192.168.7.103] (host-103.int.kcilink.com [192.168.7.103]) by yertle.kcilink.com (Postfix) with ESMTP id E278F2178B for ; Tue, 20 Apr 2004 09:54:22 -0400 (EDT) Mime-Version: 1.0 (Apple Message framework v613) In-Reply-To: <20040420085322.GV32493@e-card.bg> References: <20040419085841.GB64662@freenix.no> <20040419090049.GA51659@chihiro.leafy.idv.tw> <20040419092052.GD64662@freenix.no> <20040419093523.GA34419@xor.obsecurity.org> <20040420073837.GS32493@e-card.bg> <20040420081334.GA56291@xor.obsecurity.org> <20040420085322.GV32493@e-card.bg> Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Apple-Mail-4--1064640661" Message-Id: <378FFDBC-92D2-11D8-A77C-000A9578CFCC@khera.org> Content-Transfer-Encoding: 7bit From: Vivek Khera Date: Tue, 20 Apr 2004 09:54:18 -0400 To: stable@freebsd.org X-Pgp-Agent: GPGMail 1.0.1 (v33, 10.3) X-Mailer: Apple Mail (2.613) Subject: Re: HTT and SMP question 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, 20 Apr 2004 13:54:23 -0000 --Apple-Mail-4--1064640661 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed On Apr 20, 2004, at 4:53 AM, Rumen Telbizov wrote: > Would you point to a case where machdep.hlt_logical_cpus=0 does > show better performance results? httpd ? > There's a big thread over in Postgres lists about HTT and Xeon processors. The consensus is that HTT is bad for postgres, and Xeon's cache handling is also bad for certain Xeon's. The cache handling stuff hasn't been totally understood yet, though. Vivek Khera, Ph.D. +1-301-869-4449 x806 --Apple-Mail-4--1064640661 content-type: application/pgp-signature; x-mac-type=70674453; name=PGP.sig content-description: This is a digitally signed message part content-disposition: inline; filename=PGP.sig content-transfer-encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFAhSuOBmsZ3mzf/kkRAttbAJ4pBArUKb+p4tfIuE2y6jf3mLEdHQCgyXvJ xasH0FwjbsG2HFsd8n7Y+Ws= =+AXu -----END PGP SIGNATURE----- --Apple-Mail-4--1064640661-- From owner-freebsd-stable@FreeBSD.ORG Tue Apr 20 07:48: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 6660416A4CE for ; Tue, 20 Apr 2004 07:48:38 -0700 (PDT) Received: from lurza.secnetix.de (lurza.secnetix.de [83.120.8.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id A8DFF43D55 for ; Tue, 20 Apr 2004 07:48:37 -0700 (PDT) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (abufwd@localhost [127.0.0.1]) by lurza.secnetix.de (8.12.9p2/8.12.9) with ESMTP id i3KEmaNa087553 for ; Tue, 20 Apr 2004 16:48:36 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.12.9p2/8.12.9/Submit) id i3KEmaJe087552; Tue, 20 Apr 2004 16:48:36 +0200 (CEST) (envelope-from olli) Date: Tue, 20 Apr 2004 16:48:36 +0200 (CEST) Message-Id: <200404201448.i3KEmaJe087552@lurza.secnetix.de> From: Oliver Fromme To: freebsd-stable@FreeBSD.ORG In-Reply-To: <20040417133050.GL79111@cashmere.blitzed.org> X-Newsgroups: list.freebsd-stable User-Agent: tin/1.5.4-20000523 ("1959") (UNIX) (FreeBSD/4.9-RELEASE (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Subject: Re: mfs and vnconfig questions out of curiosity X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-stable@FreeBSD.ORG List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Apr 2004 14:48:38 -0000 Andy Smith wrote: > So you can make a swap-backed filesystem in -STABLE with vnconfig > -S, but why would you ever want to do this? Why is this preferred > over just using a regular file? Upon unmount of the FS, the regular file will stay there, so you have to remove it yourself. A swap-backed FS will disappear completely upon unmount. But more importantly, a swap-backed FS is more efficient, because you don't have all the overhead of the filesystem which contains the regular file. > Then there is malloc-backed filesystem as created with mfs in > STABLE. Presumably this works with virtual memory and lazy > allocation the same way as malloc() from a program would do, i.e. > it is possible to create an FS that is bigger than the amount of > physical memory in the system, and whenever files are stored in the > FS it is similar to any other request to the VM system, may be > satisfied with real memory or go into swap? Yes, that's correct. Basically, the file system data is contained in the process image of the mount_mfs process. You can see it in "ps" and "top": top: 32 root 10 0 101M 76416K mfsidl 0:29 0.00% 0.00% mount_mfs df -k: mfs:32 100750 254 100496 0% /tmp Regards Oliver -- Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. "That's what I love about GUIs: They make simple tasks easier, and complex tasks impossible." -- John William Chambless From owner-freebsd-stable@FreeBSD.ORG Tue Apr 20 07:56: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 6B0D516A4CE for ; Tue, 20 Apr 2004 07:56:40 -0700 (PDT) Received: from cray.e-card.bg (mjak.e-card.bg [212.91.167.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1FA9D43D4C for ; Tue, 20 Apr 2004 07:56:36 -0700 (PDT) (envelope-from altares@cray.e-card.bg) Received: from cray.e-card.bg (localhost [127.0.0.1]) by cray.e-card.bg (8.12.9/8.12.9) with ESMTP id i3KEvr5k069925; Tue, 20 Apr 2004 17:57:53 +0300 (EEST) (envelope-from altares@cray.e-card.bg) Received: (from altares@localhost) by cray.e-card.bg (8.12.9/8.12.9/Submit) id i3KEvoGC069924; Tue, 20 Apr 2004 17:57:50 +0300 (EEST) Date: Tue, 20 Apr 2004 17:57:50 +0300 From: Rumen Telbizov To: Pete French Message-ID: <20040420145750.GA32493@e-card.bg> References: <20040420073837.GS32493@e-card.bg> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i cc: stable@freebsd.org Subject: Re: HTT and SMP question 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, 20 Apr 2004 14:56:40 -0000 On Tue, Apr 20, 2004 at 02:48:26PM +0100, Pete French wrote: > > Would you please point out some cases when HTT with machdep.hlt_logical_cpus=0 > > causes worse performance than machdep.hlt_logical_cpus=1? > > Doing a large 'make' does it for me - small difference, but measurable. > I get the best poerformance by compiling out SMP alltogether though. > As my machine spends most of its time doing 'make' then for me it's worth Ok > removing it entirely (aside from the fact that my machine isnt stable > under HTT) I have a single Xeon 2.66 on a dual processor board and I did recompile the kernel with SMP support in first place! HTT is enabled by default! With these 2 things in mind - the box is rock solid for over 2 weeks with average load. I am not sure about _how much_ faster it is with HTT (and machdep.hlt_logical_cpus=0) but at least it IS stable! The OS is 4.9-STABLE (cvsuped 1 week ago). Are you sure that exactly the HTT is causing you the instabillity problems ? Regards Rumen Telbizov From owner-freebsd-stable@FreeBSD.ORG Tue Apr 20 08:09: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 CC24F16A4CE for ; Tue, 20 Apr 2004 08:09:33 -0700 (PDT) Received: from mail.errors.firstcallgroup.co.uk (mail.errors.firstcallgroup.co.uk [213.167.69.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id 858BD43D5D for ; Tue, 20 Apr 2004 08:09:33 -0700 (PDT) (envelope-from petefrench@keithprowse.com) Received: from smaug.rattatosk ([172.16.1.8]) by mail.errors.firstcallgroup.co.uk with esmtp (Exim 4.22) id 1BFwsO-000DTK-Bw; Tue, 20 Apr 2004 16:09:32 +0100 Received: from [172.16.1.6] (helo=dilbert.firstcallgroup.co.uk) by smaug.rattatosk with esmtp (Exim 4.22) id 1BFwsO-000AFz-4T; Tue, 20 Apr 2004 16:09:32 +0100 Received: from petefrench by dilbert.firstcallgroup.co.uk with local (Exim 4.30; FreeBSD) id 1BFwsO-0001Mx-2y; Tue, 20 Apr 2004 16:09:32 +0100 To: altares@e-card.bg, petefrench@keithprowse.com In-Reply-To: <20040420145750.GA32493@e-card.bg> Message-Id: From: Pete French Date: Tue, 20 Apr 2004 16:09:32 +0100 cc: stable@freebsd.org Subject: Re: HTT and SMP question 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, 20 Apr 2004 15:09:34 -0000 > Are you sure that exactly the HTT is causing you > the instabillity problems ? Yes, (see previous threads). It causes processes to exit with odd values, and I am not the only one seeeing it. It only happens if I enable shceduling on the HTT virtual processor. Its stable in the default mode, but slightly slower that if I dont compile SMP in at all. -pcf. From owner-freebsd-stable@FreeBSD.ORG Tue Apr 20 09:18:26 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 50EC616A4CE for ; Tue, 20 Apr 2004 09:18:26 -0700 (PDT) Received: from mail.communityconnect.com (mail.communityconnect.com [209.10.169.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7A11743D3F for ; Tue, 20 Apr 2004 09:18:25 -0700 (PDT) (envelope-from marius@mail.communityconnect.com) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.communityconnect.com (Postfix) with ESMTP id 83C65D6C16 for ; Tue, 20 Apr 2004 12:18:24 -0400 (EDT) Received: from mail.communityconnect.com ([127.0.0.1]) by localhost (cc18 [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 13713-12 for ; Tue, 20 Apr 2004 12:18:21 -0400 (EDT) Received: from Daath.hq.communityconnect.com (cc240-0.web.gbx.ccops.us [10.30.0.240]) by mail.communityconnect.com (Postfix) with ESMTP id 39644D6C19 for ; Tue, 20 Apr 2004 12:18:21 -0400 (EDT) Date: Tue, 20 Apr 2004 12:17:32 -0400 (EDT) From: "Marius M. Rex MARIUS" X-X-Sender: marius@Daath.hq.communityconnect.com To: stable@freebsd.org Message-ID: <20040420114659.R17412@Daath.hq.communityconnect.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at mail.communityconnect.com Subject: Diagnosing hardware issue? 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, 20 Apr 2004 16:18:26 -0000 I recently inherited a dual processor x86 machine for my personal use. It was supposed to be in fine working condition as a MS-Windows machine, but upon installing FreeBSD, I have encountered a number of problems I have no doubt that the hardware is the issue, and not FreeBSD. I did a minimal install over the network of 4.7-Release which seemed to go smoothly. I then tarred up my a 4.9 stable source tree from another machine and transfered it over to the new box. (from March 30th) Build world seemed to go fine. (make buildworld) I tweaked the GENERIC kernel to add support for the second processor and a sound card. I made and installed the new kernel without any noticeable errors. (make builkernel KERNCONF=STONE ; make installkernel KERNCONF=STONE) The new kernel booted, but the second processor was not recognized. Likewise, my network cards became unresponsive. (the interfaces would just time out) I now have the machine in serial console, and am wondering how I figure out what is wrong with the machine. I assume it is a hardware issue, but as to what is precisely broken, I do not know. For completeness sake I did the installworld and ran mergmaster, but I am still running on only one processor and no networking. Can anyone give me some pointers on how to start troubleshooting this? The source tree I used seems to work fine on my laptop, so I have doubt that it is a terrible problem on the other machine. Here is some basic info to give a little background: ###################################### stone# uname -a FreeBSD stone.ny.home 4.9-STABLE FreeBSD 4.9-STABLE #1: Mon Apr 19 21:42:50 EDT6 Copyright (c) 1992-2003 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.9-STABLE #1: Mon Apr 19 21:42:50 EDT 2004 root@stone.ny.home:/usr/obj/usr/src/sys/STONE Timecounter "i8254" frequency 1193182 Hz CPU: Pentium II/Pentium II Xeon/Celeron (400.91-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x652 Stepping = 2 Features=0x183fbff real memory = 134152192 (131008K bytes) avail memory = 126550016 (123584K bytes) Programming 24 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 0 IOAPIC #0 intpin 16 -> irq 10 IOAPIC #0 intpin 17 -> irq 11 FreeBSD/SMP: Multiprocessor motherboard: 1 CPUs cpu0 (BSP): apic id: 0, version: 0x00040011, at 0xfee00000 io0 (APIC): apic id: 2, version: 0x00170011, at 0xfec00000 Preloaded elf kernel "kernel" at 0xc03f1000. Pentium Pro MTRR support enabled md0: Malloc disk npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 agp0: mem 0xf8000000-0xfbffffff at d evice 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at 0.0 irq 11 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xffa0-0xffaf at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0xef80-0xef9f irq 11 at device 7.2 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered Timecounter "PIIX" frequency 3579545 Hz chip0: port 0x440-0x44f at device 7.3 on pci0 ahc0: port 0xe800-0xe8ff mem 0xfebff000-0xfebfffff irq 10 at device 15.0 on pci0 aic7880: Ultra Wide Channel A, SCSI Id=7, 16/253 SCBs fxp0: port 0xef00-0xef3f mem 0xfea00000-0xfeaffff f,0xfebfe000-0xfebfefff irq 11 at device 18.0 on pci0 fxp0: Ethernet address 00:90:27:8a:80:53 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto dc0: <82c169 PNIC 10/100BaseTX> port 0xe400-0xe4ff mem 0xfebfdf00-0xfebfdfff irq 11 at device 20.0 on pci0 dc0: Ethernet address: 00:a0:cc:65:b8:e7 miibus1: on dc0 ukphy0: on miibus1 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto orm0: