From owner-freebsd-emulation Mon Feb 19 16: 2:26 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from [213.104.69.6] (m262-mp1-cvx1a.col.ntl.com [213.104.69.6]) by hub.freebsd.org (Postfix) with ESMTP id 3261637B401 for ; Mon, 19 Feb 2001 16:02:03 -0800 (PST) Received: by boreas.yi.org. (chainmail); Tue, 20 Feb 2001 00:01:43 GMT To: Subject: FreeBSD 4.2 RELEASE twice as slow as Linux From: John Fremlin Date: 20 Feb 2001 00:01:41 +0000 Message-ID: Lines: 7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I tried compiling a Linux kernel using FreeBSD 4.2 RELEASE and it took about twice as long (17minutes) as it does on Linux (10 minutes). Is this expected? -- http://www.penguinpowered.com/~vii To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Mon Feb 19 16: 5:41 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from obsecurity.dyndns.org (adsl-64-165-226-53.dsl.lsan03.pacbell.net [64.165.226.53]) by hub.freebsd.org (Postfix) with ESMTP id D1F4637B401; Mon, 19 Feb 2001 16:05:32 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 810F666E25; Mon, 19 Feb 2001 16:05:32 -0800 (PST) Date: Mon, 19 Feb 2001 16:05:32 -0800 From: Kris Kennaway To: Marcel Moolenaar Cc: Craig Harding , emulation@FreeBSD.ORG, ports@FreeBSD.ORG Subject: linux_base insecurity (Re: Status of Linux upgrade) Message-ID: <20010219160532.A55565@mollari.cthul.hu> References: <3A868C21.BAF18F98@outpost.co.nz> <3A8B5736.6780E776@cup.hp.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="ew6BAiZeqk4r7MaW" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3A8B5736.6780E776@cup.hp.com>; from marcel@cup.hp.com on Wed, Feb 14, 2001 at 08:12:38PM -0800 Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --ew6BAiZeqk4r7MaW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Feb 14, 2001 at 08:12:38PM -0800, Marcel Moolenaar wrote: > Craig Harding wrote: > >=20 > > I was wondering if any work was being done on upgrading the Linux > > emulation from its current RedHat 6.1 base to something more recent? >=20 > No, not yet. We need to upgrade this port for security reasons - the downside to having such good Linux compatibility is that we get a lot of their security vulnerabilities too. Can someone else look at this? > > Alternatively, could anyone give me some pointers on what would be > > involved in upgrading some of the libraries in an existing 6.1 > > installation to current versions? Specifically, > > (/compat/linux)/lib/libpthread-0.8.so? >=20 > The makefile defines a variable UPDATES. This can contain all libraries > installed by the port and present in the `updates/6.1/$ARCH` directory > on any mirror. >=20 > > I would like to try using a newer libpthread to see if this fixes the > > problem, I know RH7 appears to use 0.9 but my various naive attempts at > > upgrading the Linuxilator libraries have been spectacularly > > unsuccessful. >=20 > New libraries normally trigger changes in the kernel module as well. >=20 > --=20 > Marcel Moolenaar > mail: marcel@cup.hp.com / marcel@FreeBSD.org > tel: (408) 447-4222 >=20 >=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-emulation" in the body of the message >=20 --ew6BAiZeqk4r7MaW Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE6kbTMWry0BWjoQKURAuyWAJ9SB25bPk7Pn6tjH/IDNIIesP/okgCfYUvJ rpNLy2oGL3TwIbDZbEdL8PM= =WZXe -----END PGP SIGNATURE----- --ew6BAiZeqk4r7MaW-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Mon Feb 19 16: 7: 7 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from feral.com (feral.com [192.67.166.1]) by hub.freebsd.org (Postfix) with ESMTP id 92A8437B65D for ; Mon, 19 Feb 2001 16:07:04 -0800 (PST) Received: from zeppo.feral.com (IDENT:mjacob@zeppo [192.67.166.71]) by feral.com (8.9.3/8.9.3) with ESMTP id QAA07981; Mon, 19 Feb 2001 16:06:56 -0800 Date: Mon, 19 Feb 2001 16:06:56 -0800 (PST) From: Matthew Jacob Reply-To: mjacob@feral.com To: John Fremlin Cc: freebsd-emulation@FreeBSD.ORG Subject: Re: FreeBSD 4.2 RELEASE twice as slow as Linux In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Is this a joke? This is like criticising the horse for bad english. > I tried compiling a Linux kernel using FreeBSD 4.2 RELEASE and it took > about twice as long (17minutes) as it does on Linux (10 minutes). > > Is this expected? > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Mon Feb 19 16: 7:10 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from obsecurity.dyndns.org (adsl-64-165-226-53.dsl.lsan03.pacbell.net [64.165.226.53]) by hub.freebsd.org (Postfix) with ESMTP id 52BB237B503 for ; Mon, 19 Feb 2001 16:07:06 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 3785166C11; Mon, 19 Feb 2001 16:07:06 -0800 (PST) Date: Mon, 19 Feb 2001 16:07:06 -0800 From: Kris Kennaway To: John Fremlin Cc: freebsd-emulation@FreeBSD.ORG Subject: Re: FreeBSD 4.2 RELEASE twice as slow as Linux Message-ID: <20010219160706.B55565@mollari.cthul.hu> References: <"m28zn2kysa.fsf"@boreas.yi.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="zx4FCpZtqtKETZ7O" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <"m28zn2kysa.fsf"@boreas.yi.org>; from chief@bandits.org on Tue, Feb 20, 2001 at 12:01:41AM +0000 Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --zx4FCpZtqtKETZ7O Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Feb 20, 2001 at 12:01:41AM +0000, John Fremlin wrote: > I tried compiling a Linux kernel using FreeBSD 4.2 RELEASE and it took > about twice as long (17minutes) as it does on Linux (10 minutes). >=20 > Is this expected? No - probably there were differences in how you compiled them, what compiler you used, what filesystem mount options you used, etc. Such a naieve benchmark doesn't really show anything. Kris --zx4FCpZtqtKETZ7O Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE6kbUpWry0BWjoQKURAtRAAKC8Nkn8RUwxSYyn3L4e/681T1bCkACgjRm9 cgcUU6eJZv9o6HqhhXitqmA= =thIb -----END PGP SIGNATURE----- --zx4FCpZtqtKETZ7O-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Mon Feb 19 16:57:13 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from palrel1.hp.com (palrel1.hp.com [156.153.255.242]) by hub.freebsd.org (Postfix) with ESMTP id 42BFD37B4EC; Mon, 19 Feb 2001 16:57:09 -0800 (PST) Received: from adlmail.cup.hp.com (adlmail.cup.hp.com [15.0.100.30]) by palrel1.hp.com (Postfix) with ESMTP id A69E4E3A; Mon, 19 Feb 2001 16:57:08 -0800 (PST) Received: from cup.hp.com (p1000180.nsr.hp.com [15.109.0.180]) by adlmail.cup.hp.com (8.9.3 (PHNE_18546)/8.9.3 SMKit7.02) with ESMTP id QAA12495; Mon, 19 Feb 2001 16:57:07 -0800 (PST) Message-ID: <3A91C0E2.49FE73E1@cup.hp.com> Date: Mon, 19 Feb 2001 16:57:06 -0800 From: Marcel Moolenaar Organization: Hewlett-Packard X-Mailer: Mozilla 4.73 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Kris Kennaway Cc: Craig Harding , emulation@FreeBSD.ORG, ports@FreeBSD.ORG Subject: Re: linux_base insecurity (Re: Status of Linux upgrade) References: <3A868C21.BAF18F98@outpost.co.nz> <3A8B5736.6780E776@cup.hp.com> <20010219160532.A55565@mollari.cthul.hu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Kris Kennaway wrote: > > We need to upgrade this port for security reasons - the downside to > having such good Linux compatibility is that we get a lot of their > security vulnerabilities too. I'm aware of this. Most of my Linuxulator work has been put aside while I wait for my Alpha. It seems that current i386-only changes broke the Alpha port :-( > Can someone else look at this? As long as they handle the Alpha as well... -- Marcel Moolenaar mail: marcel@cup.hp.com / marcel@FreeBSD.org tel: (408) 447-4222 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Tue Feb 20 8:15:52 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from [213.104.68.191] (m191-mp1-cvx1a.col.ntl.com [213.104.68.191]) by hub.freebsd.org (Postfix) with ESMTP id D28E137B401 for ; Tue, 20 Feb 2001 08:15:47 -0800 (PST) (envelope-from chief@bandits.org) Received: by boreas.yi.org. (chainmail); Tue, 20 Feb 2001 16:15:31 GMT To: Kris Kennaway Cc: Subject: Re: FreeBSD 4.2 RELEASE twice as slow as Linux References: <"m28zn2kysa.fsf"@boreas.yi.org> <20010219160706.B55565@mollari.cthul.hu> From: John Fremlin Date: 20 Feb 2001 16:15:27 +0000 In-Reply-To: Kris Kennaway's message of "Mon, 19 Feb 2001 16:07:06 -0800" Message-ID: Lines: 21 User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (GTK) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Kris Kennaway writes: > On Tue, Feb 20, 2001 at 12:01:41AM +0000, John Fremlin wrote: > > I tried compiling a Linux kernel using FreeBSD 4.2 RELEASE and it took > > about twice as long (17minutes) as it does on Linux (10 minutes). > > > > Is this expected? > > No - probably there were differences in how you compiled them, what > compiler you used, what filesystem mount options you used, etc. > Such a naieve benchmark doesn't really show anything. Sorry, you are correct. (Whooops). Since doing the linux tests my kernel .config disappeared and the default one includes a lot more stuff. I shall try again with the old .config and ext2fs mounted async,noatime. -- http://www.penguinpowered.com/~vii To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Tue Feb 20 11:20:24 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by hub.freebsd.org (Postfix) with ESMTP id A3D1237B503 for ; Tue, 20 Feb 2001 11:20:22 -0800 (PST) (envelope-from brdavis@odin.ac.hmc.edu) Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.11.0/8.11.0) id f1KJ6bk17443; Tue, 20 Feb 2001 11:06:37 -0800 Date: Tue, 20 Feb 2001 11:06:37 -0800 From: Brooks Davis To: John Fremlin Cc: Kris Kennaway , freebsd-emulation@FreeBSD.ORG Subject: Re: FreeBSD 4.2 RELEASE twice as slow as Linux Message-ID: <20010220110637.D31556@Odin.AC.HMC.Edu> References: <"m28zn2kysa.fsf"@boreas.yi.org> <20010219160706.B55565@mollari.cthul.hu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="B4IIlcmfBL/1gGOG" Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: ; from chief@bandits.org on Tue, Feb 20, 2001 at 04:15:27PM +0000 Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --B4IIlcmfBL/1gGOG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Feb 20, 2001 at 04:15:27PM +0000, John Fremlin wrote: > I shall try again with the old .config and ext2fs mounted > async,noatime. This is a silly test IMNSHO, but if you really want to it you should also try compiling it on a UFS file system with softupdates. Additionaly, unless you are using native FreeBSD binaries instead of Linux binaries for the compiler, etc, the comparison isn't fair because there is some cost associated with making many syscalls, especialy open(2) which may result in extra reads. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --B4IIlcmfBL/1gGOG Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE6ksA8XY6L6fI4GtQRAhUWAKCWpLO6ihNsPZfdKGlb4rTej7ijBQCfWyaJ qZhs3ylTAjN5bpzFxMOKfbE= =Q1dO -----END PGP SIGNATURE----- --B4IIlcmfBL/1gGOG-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Tue Feb 20 14: 0:33 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from [213.104.76.44] (m44-mp1-cvx1c.col.ntl.com [213.104.76.44]) by hub.freebsd.org (Postfix) with ESMTP id BBA5637B491 for ; Tue, 20 Feb 2001 14:00:28 -0800 (PST) (envelope-from chief@bandits.org) Received: by boreas.yi.org. (chainmail); Tue, 20 Feb 2001 21:59:47 GMT To: Subject: Re: FreeBSD 4.2 RELEASE twice as slow as Linux References: <"m28zn2kysa.fsf"@boreas.yi.org> <20010219160706.B55565@mollari.cthul.hu> From: John Fremlin Date: 20 Feb 2001 21:59:46 +0000 In-Reply-To: Kris Kennaway's message of "Mon, 19 Feb 2001 16:07:06 -0800" Message-ID: Lines: 64 User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (GTK) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Sorry for all the people I offended with my subject line. I was wrong. I mistakenly compiled the kernel with a different .config under FreeBSD. I repeated the test again with the right .config and got only about a one minute difference. Why so vague you ask? Well, FreeBSD decided to eat my timings file (which I had foolishly left on my ext2 fs), presumably in retaliation for linux's previously munging my ufs parition. :-) Even more annoyingly I also lost the vmstats, so I can only give a vague idea of my software setup. The only other processes in FreeBSD were IIRC sshd, usbd, moused(?), syslogd(?) and gettys. In Linux I had syslogd, klogd, named*5 (BIND 9.1.0), gpm, pppd and gogettys (extra small getty I wrote). I compiled my FreeBSD kernel with -O2 -march=k6, to try and balance it out against the Linux 2.4.1 kernel (with some minor unrelated patches of my own), which I illicitly built with -O2 -fomit-frame-pointer -pipe -fno-strict-aliasing -mpreferred-stack-boundary=2 -march=k6 -fschedule-insns2 -funroll-loops for luck. I have a stepping 0 AMD K6-2 300 MHz with one stick of 64 Mb of 100 MHz SDRAM (don't know timings). I have a Alladin 5 IDE controller. Linux and FreeBSD use the same 128 Mb swap partition on an old SAMSUNG VG36483A (6.48GB) (ad0). The build was done on an IBM-DTLA-305020 20 Gb (ad2). Not so anxious to repeat that particular test now ;-), unless someone figures they know how to snatch up the 10% (IIRC there was a lot more systime 1 minute+ against 40 seconds on Linux). Kris Kennaway writes: > No - probably there were differences in how you compiled them, what > compiler you used, what filesystem mount options you used, etc. The build partition was an ext2fs one: Under FreeBSD 4.2 RELEASE /dev/ad2s7 /home/john ext2fs rw,noatime 0 2 And under Linux 2.4.1 glibc-cvs /dev/hdc7 /home/john ext2 defaults,noatime 0 2 The build environment was linux ELF native on ext2fs in both cases /dev/ad2s5 /mnt/root ext2fs ro,nodev,noatime 0 1 and /dev/hdc5 / ext2 defaults,noatime 0 1 > Such a naieve benchmark doesn't really show anything. What benchmark do you think would show FreeBSD (linux emulation) in better light? I only started on this because someone developing the linux kernel VM said that memory management made little difference to linux kernel compile times, and I wanted to show the contrary by using FreeBSD as a counterexample (honest). -- http://www.penguinpowered.com/~vii To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Tue Feb 20 18:35:21 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id C0D6337B491 for ; Tue, 20 Feb 2001 18:35:18 -0800 (PST) (envelope-from bde@zeta.org.au) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id NAA17171; Wed, 21 Feb 2001 13:35:05 +1100 Date: Wed, 21 Feb 2001 13:34:32 +1100 (EST) From: Bruce Evans X-Sender: bde@besplex.bde.org To: Brooks Davis Cc: John Fremlin , Kris Kennaway , freebsd-emulation@FreeBSD.ORG Subject: Re: FreeBSD 4.2 RELEASE twice as slow as Linux In-Reply-To: <20010220110637.D31556@Odin.AC.HMC.Edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, 20 Feb 2001, Brooks Davis wrote: > On Tue, Feb 20, 2001 at 04:15:27PM +0000, John Fremlin wrote: > > I shall try again with the old .config and ext2fs mounted > > async,noatime. > > This is a silly test IMNSHO, but if you really want to it you should > also try compiling it on a UFS file system with softupdates. Especially since ext2fs can't be mounted async (the default gives a half-baked version of async with the most important syncs turned off). Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Thu Feb 22 13:34:30 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from sigbus.com (sigbus.com [207.211.10.110]) by hub.freebsd.org (Postfix) with ESMTP id ECE3337B4EC for ; Thu, 22 Feb 2001 13:34:26 -0800 (PST) (envelope-from henrich@sigbus.com) Received: (from henrich@localhost) by sigbus.com (8.9.3/8.9.3) id NAA53648 for freebsd-emulation@freebsd.org; Thu, 22 Feb 2001 13:34:24 -0800 (PST) (envelope-from henrich) Date: Thu, 22 Feb 2001 13:33:52 -0800 From: Charles Henrich To: freebsd-emulation@freebsd.com Subject: Emulation troubles w/ Corporate Time Message-ID: <20010222133352.C53517@sigbus.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Operating-System: FreeBSD 3.3-RELEASE X-PGP-Fingerprint: 1024/F7 FD C7 3A F5 6A 23 BF 76 C4 B8 C9 6E 41 A4 4F Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Corporate Time is an enterprise calendering/scheduling software package that Im having some trouble running. When I run one componant it immediatly reboots the machine (if run as root) or seg faults if run as a user. linux_kdump reports: 25187 ktrace RET linux_brk 0 25187 ktrace CALL linux_olduname(0xbfbff258,0xbfbff760,0xbfbff768) 25187 ktrace NAMI "/usr/local/unison/bin/unilckd" 25187 ktrace RET linux_olduname -1 errno 2 No such file or directory 25187 ktrace CALL linux_olduname(0xbfbff258,0xbfbff760,0xbfbff768) 25187 ktrace NAMI "/usr/local/bin/unilckd" 25187 ktrace RET linux_olduname -1 errno 2 No such file or directory 25187 ktrace CALL linux_olduname(0xbfbff258,0xbfbff760,0xbfbff768) 25187 ktrace NAMI "/usr/lib/unilckd" 25187 ktrace RET linux_olduname -1 errno 2 No such file or directory 25187 ktrace CALL linux_olduname(0xbfbff258,0xbfbff760,0xbfbff768) 25187 ktrace NAMI "/sbin/unilckd" 25187 ktrace RET linux_olduname -1 errno 2 No such file or directory 25187 ktrace CALL linux_olduname(0xbfbff258,0xbfbff760,0xbfbff768) 25187 ktrace NAMI "/usr/sbin/unilckd" 25187 ktrace RET linux_olduname -1 errno 2 No such file or directory 25187 ktrace CALL linux_olduname(0xbfbff258,0xbfbff760,0xbfbff768) 25187 ktrace NAMI "/bin/unilckd" 25187 ktrace RET linux_olduname -1 errno 2 No such file or directory 25187 ktrace CALL linux_olduname(0xbfbff258,0xbfbff760,0xbfbff768) 25187 ktrace NAMI "/usr/ucb/unilckd" 25187 ktrace RET linux_olduname -1 errno 2 No such file or directory 25187 ktrace CALL linux_olduname(0xbfbff258,0xbfbff760,0xbfbff768) 25187 ktrace NAMI "/usr/bin/unilckd" 25187 ktrace RET linux_olduname -1 errno 2 No such file or directory 25187 ktrace CALL linux_olduname(0xbfbff258,0xbfbff760,0xbfbff768) 25187 ktrace NAMI "/usr/bsd/unilckd" 25187 ktrace RET linux_olduname -1 errno 2 No such file or directory 25187 ktrace CALL linux_olduname(0xbfbff258,0xbfbff760,0xbfbff768) 25187 ktrace NAMI "/etc/unilckd" 25187 ktrace RET linux_olduname -1 errno 2 No such file or directory 25187 ktrace CALL linux_olduname(0xbfbff258,0xbfbff760,0xbfbff768) 25187 ktrace NAMI "/usr/etc/unilckd" 25187 ktrace RET linux_olduname -1 errno 2 No such file or directory 25187 ktrace CALL linux_olduname(0xbfbff258,0xbfbff760,0xbfbff768) 25187 ktrace NAMI "/usr/bin/unilckd" 25187 ktrace RET linux_olduname -1 errno 2 No such file or directory 25187 ktrace CALL linux_olduname(0xbfbff258,0xbfbff760,0xbfbff768) 25187 ktrace NAMI "./unilckd" 25187 unilckd RET linux_olduname 0 25187 unilckd CALL linux_fcntl(0x8053fbc) 25187 unilckd RET linux_fcntl -1 errno 1 Operation not permitted 25187 unilckd CALL linux_fcntl(0x8053ff0) 25187 unilckd RET linux_fcntl -1 errno 1 Operation not permitted 25187 unilckd CALL linux_fcntl(0x8054029) 25187 unilckd RET linux_fcntl -1 errno 1 Operation not permitted 25187 unilckd CALL linux_personality(0,0xbfbff764) 25187 unilckd RET linux_personality -1 errno 14 Bad address 25187 unilckd CALL geteuid(0xbfbff76c,0xbfbff764) 25187 unilckd RET geteuid 0 25187 unilckd CALL getuid 25187 unilckd RET getuid 100/0x64 25187 unilckd PSIG SIGSEGV SIG_DFL 25187 unilckd NAMI "unilckd.core" Anyone have any ideas? This is on a FreeBSD 4.2 system with the linux_base from that ports collection. -Crh Charles Henrich Manex Visual Effects henrich@sigbus.com http://www.sigbus.com/~henrich To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Thu Feb 22 14:27:48 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from areilly.bpc-users.org (CPE-144-132-234-126.nsw.bigpond.net.au [144.132.234.126]) by hub.freebsd.org (Postfix) with SMTP id 4765437B65D for ; Thu, 22 Feb 2001 14:27:41 -0800 (PST) (envelope-from andrew@areilly.bpc-users.org) Received: (qmail 10837 invoked from network); 22 Feb 2001 22:27:38 -0000 Received: from localhost (HELO gurney.reilly.home) (andrew@127.0.0.1) by localhost with SMTP; 22 Feb 2001 22:27:38 -0000 Date: Fri, 23 Feb 2001 09:27:37 +1100 (EST) From: Andrew Reilly Subject: Something change with threads in recent -STABLE vs Wine? To: freebsd-stable@freebsd.org, freebsd-emulation@freebsd.org MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Message-Id: <20010222222741.4765437B65D@hub.freebsd.org> Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Sorry in advance for the tragic lack of detail in this message, this is really just a first "heads-up: anyone else seeing this?" message. I'll dig for details as time and interest permit... A month or two ago, while running wine-2001.1.12 from ports, I could run Lotus Notes almost completely successfully. I could certainly browse remote databases and keep local replicas synchronised. There were problems exiting (I had to dig around with ps and kill a couple of processes), but that didn't seem to bother the next session too much. Of course, internet links that relied on MS-IE being present didn't work either, but that's OK. Since then I've tracked -STABLE a few times (currently running FreeBSD 4.2-STABLE (GURNEY) #3: Sat Feb 17 11:37:43 EST 2001 and have re-built wine (same version, though). Now notes starts OK, but hangs (busily) in the replica background task/thread, thusly: (ps alxww output) 1000 27243 27240 212 54 0 51204 11712 - R ?? 0:09.56 /usr/local/bin/wine -- C:\\Lotus\\Notes\\nwrdaemn.EXE Sometimes it hangs earlier than that, before the main window menu appears, and before the password login window pops up, but reliably when doing the replication thing. So: has anything relating to wine/threads/IPC/locking changed in -STABLE in the last couple of months? Is there any more information that I could provide to help track down this problem? -- Andrew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Thu Feb 22 16:27:50 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from vexpert.dbai.tuwien.ac.at (vexpert.dbai.tuwien.ac.at [128.130.111.12]) by hub.freebsd.org (Postfix) with ESMTP id 2D8C637B65D; Thu, 22 Feb 2001 16:27:45 -0800 (PST) (envelope-from pfeifer@dbai.tuwien.ac.at) Received: from deneb (deneb [128.130.111.2]) by vexpert.dbai.tuwien.ac.at (8.11.1/8.11.1) with ESMTP id f1N0RZe06372; Fri, 23 Feb 2001 01:27:35 +0100 (MET) Date: Fri, 23 Feb 2001 01:27:35 +0100 (CET) From: Gerald Pfeifer To: Andrew Reilly Cc: , Subject: Re: Something change with threads in recent -STABLE vs Wine? In-Reply-To: <20010222222741.4765437B65D@hub.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, 23 Feb 2001, Andrew Reilly wrote: > Since then I've tracked -STABLE a few times (currently running > FreeBSD 4.2-STABLE (GURNEY) #3: Sat Feb 17 11:37:43 EST 2001 > and have re-built wine (same version, though). Sorry for asking the obvious, but are you still running wine-2001.1.12 or have you upgraded to wine-2001.02.16? If it's the former, I'd suggest an upgrade. If it's the latter, I'd suggest a downgrade. :-) Apart from this, I'm afraid I cannot help for a problem as tricky... Gerald -- Gerald "Jerry" pfeifer@dbai.tuwien.ac.at http://www.dbai.tuwien.ac.at/~pfeifer/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Thu Feb 22 20:37:45 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from areilly.bpc-users.org (CPE-144-132-234-126.nsw.bigpond.net.au [144.132.234.126]) by hub.freebsd.org (Postfix) with SMTP id 60D5637B65D for ; Thu, 22 Feb 2001 20:37:38 -0800 (PST) (envelope-from areilly@bigpond.net.au) Received: (qmail 65664 invoked by uid 1000); 23 Feb 2001 04:37:38 -0000 From: "Andrew Reilly" Date: Fri, 23 Feb 2001 15:37:38 +1100 To: Gerald Pfeifer Cc: freebsd-stable@FreeBSD.ORG, freebsd-emulation@FreeBSD.ORG Subject: Re: Something change with threads in recent -STABLE vs Wine? Message-ID: <20010223153738.A65659@gurney.reilly.home> References: <20010222222741.4765437B65D@hub.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from pfeifer@dbai.tuwien.ac.at on Fri, Feb 23, 2001 at 01:27:35AM +0100 Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, Feb 23, 2001 at 01:27:35AM +0100, Gerald Pfeifer wrote: > On Fri, 23 Feb 2001, Andrew Reilly wrote: > > Since then I've tracked -STABLE a few times (currently running > > FreeBSD 4.2-STABLE (GURNEY) #3: Sat Feb 17 11:37:43 EST 2001 > > and have re-built wine (same version, though). > > Sorry for asking the obvious, but are you still running wine-2001.1.12 > or have you upgraded to wine-2001.02.16? > > If it's the former, I'd suggest an upgrade. If it's the latter, I'd > suggest a downgrade. :-) Thanks for the reminder: I hadn't noticed that wine had been upgraded recently. I've just cvsupped ports, re-built wine, and bingo: notes works again. Must have been wine-2001.1.12's fault all along. Thanks again, -- Andrew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Thu Feb 22 21:14:38 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from hotmail.com (oe53.law8.hotmail.com [216.33.240.46]) by hub.freebsd.org (Postfix) with ESMTP id 48FA937B4EC for ; Thu, 22 Feb 2001 21:14:37 -0800 (PST) (envelope-from rreaction@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 22 Feb 2001 21:14:37 -0800 X-Originating-IP: [63.192.214.252] User-Agent: Microsoft-Outlook-Express-Macintosh-Edition/5.02.2022 Date: Thu, 22 Feb 2001 21:17:07 -0800 Subject: From: Peter Kehoe To: Message-ID: Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-OriginalArrivalTime: 23 Feb 2001 05:14:37.0212 (UTC) FILETIME=[843475C0:01C09D57] Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Fri Feb 23 9:50:13 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from urban.iinet.net.au (urban.iinet.net.au [203.59.24.231]) by hub.freebsd.org (Postfix) with ESMTP id 2EB2737B491 for ; Fri, 23 Feb 2001 09:50:09 -0800 (PST) (envelope-from julian@elischer.org) Received: from elischer.org (i080-250.nv.iinet.net.au [203.59.80.250]) by urban.iinet.net.au (8.8.7/8.8.7) with ESMTP id BAA27000; Sat, 24 Feb 2001 01:49:44 +0800 Message-ID: <3A96A29A.3BBF2614@elischer.org> Date: Fri, 23 Feb 2001 09:49:14 -0800 From: Julian Elischer X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 5.0-CURRENT i386) X-Accept-Language: en, hu MIME-Version: 1.0 To: Vladimir Silyaev Cc: Barry Lustig , Matt Dillon , Andrew Gallatin , Bruce Evans , freebsd-emulation@FreeBSD.ORG Subject: Re: Does vmware2 wire pages? References: <3A89B7A0.B47D91E@Lustig.COM> <20010214072943.A365@delta.rc.ny.us> Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Vladimir Silyaev wrote: > > Thanks, barry. > > For sure vmware is wiring pages. It's about 50% or more percent of pages > allocated for guest memory is wired down (i.e. you can easily notice that > if you will run systat). But those pages is wired down not calling > to mlock by vmware, but it's done inside vmmon driver. > > Regards, > Vladimir > So is there a patch in the works? I haven't seen one in the commit mails (I might have missed it of course) -- __--_|\ Julian Elischer / \ julian@elischer.org ( OZ ) World tour 2000-2001 ---> X_.---._/ v To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Fri Feb 23 17:57:54 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from syncopation-01.iinet.net.au (syncopation-01.iinet.net.au [203.59.24.37]) by hub.freebsd.org (Postfix) with SMTP id 9FF8237B503 for ; Fri, 23 Feb 2001 17:57:50 -0800 (PST) (envelope-from julian@elischer.org) Received: (qmail 14183 invoked by uid 666); 24 Feb 2001 02:09:18 -0000 Received: from i074-076.nv.iinet.net.au (HELO elischer.org) (203.59.74.76) by mail.m.iinet.net.au with SMTP; 24 Feb 2001 02:09:18 -0000 Message-ID: <3A9714FB.185D91F7@elischer.org> Date: Fri, 23 Feb 2001 17:57:15 -0800 From: Julian Elischer X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 5.0-CURRENT i386) X-Accept-Language: en, hu MIME-Version: 1.0 To: Andrew Gallatin Cc: Vladimir Silyaev , Matt Dillon , freebsd-emulation@FreeBSD.ORG Subject: Re: Does vmware2 wire pages? References: <3A89B7A0.B47D91E@Lustig.COM> <20010214072943.A365@delta.rc.ny.us> <3A96A29A.3BBF2614@elischer.org> <14998.46507.267723.148767@grasshopper.cs.duke.edu> Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Andrew Gallatin wrote: > > Julian Elischer writes: > > Vladimir Silyaev wrote: > > > > > > Thanks, barry. > > > > > > For sure vmware is wiring pages. It's about 50% or more percent of pages > > > allocated for guest memory is wired down (i.e. you can easily notice that > > > if you will run systat). But those pages is wired down not calling > > > to mlock by vmware, but it's done inside vmmon driver. > > > > > > Regards, > > > Vladimir > > > > > > > So is there a patch in the works? So we know what is slowing downn the vmware system so much, we just need to find the RIGHT answer. > > As you might recall, vmware appears to stutter frequently and freeze > for small periods of time when run on FreeBSD -- this stuttering > coincides with heavy disk activity and pageouts by the vnode pager. > The "problem" appears to be that FreeBSD actually tries to keep > mmap'ed regions clean. Linux apparently only tries to clean them when > they are unmapped. Linux does not have a MAP_NOSYNC flag to indicate > that a region should be map'ed nosync & it is apparently not removing > the file in question, so MAP_NOSYNC is never getting set. > > Hacking vmware to set wired pages to PG_NOSYNC doesn't seem to help. > However, I have my own local hack which seems to help a great deal: > hacking the Linulator to treat all mmap'ed files as MAP_NOSYNC, in > combination with my fixes to vm_fault so as to correctly tag a page in > a MAP_NOSYNC map with PG_NOSYNC on a read fault. Is this vm_fault patch separatly committable? (i.e. is it a general fix?) > > The first part (hacking the Linulator) is unacceptable for general > consumption & a better way needs to be found. One thing I've thought > of is adding some functionality to the vmmon kernel module to force > the vmware app's mmap'ed regions to be MAP_NOSYNC. I don't know > enough about how vmware works to achieve this & have not had the time > to look into it further. > > Drew -- __--_|\ Julian Elischer / \ julian@elischer.org ( OZ ) World tour 2000-2001 ---> X_.---._/ v To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Sat Feb 24 20:58:56 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from syncopation-03.iinet.net.au (syncopation-03.iinet.net.au [203.59.24.49]) by hub.freebsd.org (Postfix) with SMTP id 47AA137B4EC for ; Sat, 24 Feb 2001 20:58:52 -0800 (PST) (envelope-from julian@elischer.org) Received: (qmail 1162 invoked by uid 666); 25 Feb 2001 05:11:02 -0000 Received: from i080-119.nv.iinet.net.au (HELO elischer.org) (203.59.80.119) by mail.m.iinet.net.au with SMTP; 25 Feb 2001 05:11:02 -0000 Message-ID: <3A9890E8.A9C95825@elischer.org> Date: Sat, 24 Feb 2001 20:58:16 -0800 From: Julian Elischer X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 5.0-CURRENT i386) X-Accept-Language: en, hu MIME-Version: 1.0 To: emulation@freebsd.org Subject: [Fwd: failure notice] Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Andrew Gallatin wrote: > > Julian Elischer writes: > > Vladimir Silyaev wrote: > > > > > > Thanks, barry. > > > > > > For sure vmware is wiring pages. It's about 50% or more percent of pages > > > allocated for guest memory is wired down (i.e. you can easily notice that > > > if you will run systat). But those pages is wired down not calling > > > to mlock by vmware, but it's done inside vmmon driver. > > > > > > Regards, > > > Vladimir > > > > > > > So is there a patch in the works? > > As you might recall, vmware appears to stutter frequently and freeze > for small periods of time when run on FreeBSD -- this stuttering > coincides with heavy disk activity and pageouts by the vnode pager. > The "problem" appears to be that FreeBSD actually tries to keep > mmap'ed regions clean. Linux apparently only tries to clean them when > they are unmapped. Linux does not have a MAP_NOSYNC flag to indicate > that a region should be map'ed nosync & it is apparently not removing > the file in question, so MAP_NOSYNC is never getting set. > > Hacking vmware to set wired pages to PG_NOSYNC doesn't seem to help. > However, I have my own local hack which seems to help a great deal: > hacking the Linulator to treat all mmap'ed files as MAP_NOSYNC, in > combination with my fixes to vm_fault so as to correctly tag a page in > a MAP_NOSYNC map with PG_NOSYNC on a read fault. Matt, are these changes (fixes to vm_fault) generally correct? Andrew, are they available somewhere? I'm desperate to get vmware running at a normal speed again. It's robbing my development cycle of hours per day. > > The first part (hacking the Linulator) is unacceptable for general > consumption & a better way needs to be found. One thing I've thought > of is adding some functionality to the vmmon kernel module to force > the vmware app's mmap'ed regions to be MAP_NOSYNC. I don't know > enough about how vmware works to achieve this & have not had the time > to look into it further. Matt and Vladimir, can the two of you figure out between you how to do this? Vladimir knows the vmware side and Matt knows the VM options available. > > Drew -- __--_|\ Julian Elischer / \ julian@elischer.org ( OZ ) World tour 2000-2001 ---> X_.---._/ v To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Sat Feb 24 21:10:27 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from syncopation-03.iinet.net.au (syncopation-03.iinet.net.au [203.59.24.49]) by hub.freebsd.org (Postfix) with SMTP id D0ADF37B491 for ; Sat, 24 Feb 2001 21:10:23 -0800 (PST) (envelope-from julian@elischer.org) Received: (qmail 1708 invoked by uid 666); 25 Feb 2001 05:22:34 -0000 Received: from i080-119.nv.iinet.net.au (HELO elischer.org) (203.59.80.119) by mail.m.iinet.net.au with SMTP; 25 Feb 2001 05:22:34 -0000 Message-ID: <3A98939C.B43B8C9B@elischer.org> Date: Sat, 24 Feb 2001 21:09:48 -0800 From: Julian Elischer X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 5.0-CURRENT i386) X-Accept-Language: en, hu MIME-Version: 1.0 To: emulation@freebsd.org Subject: oops forgot to change subject line. VMWARE References: <3A9890E8.A9C95825@elischer.org> Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The previous email was bounced and I forgot to change the subject line when I resent it.. please forgive.. brain in neutral today.. -- __--_|\ Julian Elischer / \ julian@elischer.org ( OZ ) World tour 2000-2001 ---> X_.---._/ v To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Sat Feb 24 23:21: 7 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from quack.kfu.com (quack.kfu.com [205.178.90.194]) by hub.freebsd.org (Postfix) with ESMTP id 1803737B401 for ; Sat, 24 Feb 2001 23:21:05 -0800 (PST) (envelope-from nsayer@quack.kfu.com) Received: from medusa.kfu.com (medusa.kfu.com [205.178.90.222]) by quack.kfu.com (8.11.1/8.11.1) with ESMTP id f1P7L4j79851; Sat, 24 Feb 2001 23:21:04 -0800 (PST) (envelope-from nsayer@quack.kfu.com) Received: from quack.kfu.com (icarus.kfu.com [205.178.90.254]) by medusa.kfu.com (8.11.1/8.11.0) with ESMTP id f1P7L4Y39530; Sat, 24 Feb 2001 23:21:04 -0800 (PST) (envelope-from nsayer@quack.kfu.com) Message-ID: <3A98B260.6010005@quack.kfu.com> Date: Sat, 24 Feb 2001 23:21:04 -0800 From: Nick Sayer User-Agent: Mozilla/5.0 (X11; U; FreeBSD 4.2-STABLE i386; en-US; 0.8) Gecko/20010216 X-Accept-Language: en MIME-Version: 1.0 To: Julian Elischer , freebsd-emulation@freebsd.org Subject: Re: Does vmware2 wire pages? References: <3A89B7A0.B47D91E@Lustig.COM> <20010214072943.A365@delta.rc.ny.us> <3A96A29A.3BBF2614@elischer.org> <14998.46507.267723.148767@grasshopper.cs.duke.edu> <3A9714FB.185D91F7@elischer.org> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Julian Elischer wrote: > Andrew Gallatin wrote: > > >> The first part (hacking the Linulator) is unacceptable for general >> consumption & a better way needs to be found.[...] >> >> Drew > How about something in the linuxulator that alters mmap() to keep a list of applications for which it does the MAP_NOSYNC hackery? compat.linux.mmap_nosync_apps=vmware,thisdumbapp,thatdumbapp ? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message