From owner-cvs-src@FreeBSD.ORG Wed Aug 27 14:52:32 2008 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C6166106566B; Wed, 27 Aug 2008 14:52:32 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.terabit.net.ua (mail.terabit.net.ua [195.137.202.147]) by mx1.freebsd.org (Postfix) with ESMTP id 4B3798FC12; Wed, 27 Aug 2008 14:52:32 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from skuns.zoral.com.ua ([91.193.166.194] helo=mail.zoral.com.ua) by mail.terabit.net.ua with esmtp (Exim 4.63 (FreeBSD)) (envelope-from ) id 1KYMNq-000Mbk-E9; Wed, 27 Aug 2008 17:52:30 +0300 Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id m7REqPo3077925 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 27 Aug 2008 17:52:26 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.2/8.14.2) with ESMTP id m7REqPm3014612; Wed, 27 Aug 2008 17:52:25 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.2/8.14.2/Submit) id m7REqPrC014611; Wed, 27 Aug 2008 17:52:25 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Wed, 27 Aug 2008 17:52:25 +0300 From: Kostik Belousov To: John Birrell Message-ID: <20080827145225.GF2038@deviant.kiev.zoral.com.ua> References: <200808270702.m7R72dp8016292@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="HCdXmnRlPgeNBad2" Content-Disposition: inline In-Reply-To: <200808270702.m7R72dp8016292@repoman.freebsd.org> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: ClamAV version 0.93.3, clamav-milter version 0.93.3 on skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua X-Virus-Scanned: mail.terabit.net.ua 1KYMNq-000Mbk-E9 afa975cb394f3fe3e0fff9860dbbed01 X-Terabit: YES Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src UPDATING X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Aug 2008 14:52:32 -0000 --HCdXmnRlPgeNBad2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Aug 27, 2008 at 06:59:01AM +0000, John Birrell wrote: > jb 2008-08-27 06:59:01 UTC >=20 > FreeBSD src repository >=20 > Modified files: (Branch: RELENG_7) > . UPDATING=20 > Log: > SVN rev 182252 on 2008-08-27 06:59:01Z by jb > =20 > Add a mention of DTrace and the dog that are the commit message. > =20 > Revision Changes Path > 1.507.2.11 +24 -0 src/UPDATING It seems to be at least two issues, besides already fixed MAC entry point: 1. The /usr/libexec/cc1 binary is broken after buildworld (at least on i386). Looking at the readelf output, I noted that .SUNW_ctf section is marked as PROGBITS and has some low alignment, that resulted in the following stripped binary: Program Headers: Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align LOAD 0x000000 0x08048000 0x08048000 0x51943a 0x51943a R E 0x20 LOAD 0x519440 0x08562000 0x08562000 0x05fc4 0x9be8c RW 0x20 NOTE 0x000094 0x08048094 0x08048094 0x00018 0x00018 R 0x4 Such ELF cannot beload due to unaligned segments. Note that I did not turned on CTF generation for world. 2. UP kernel breakage. The following patch fixed it for me: Index: sys/cddl/dev/cyclic/i386/cyclic_machdep.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- sys/cddl/dev/cyclic/i386/cyclic_machdep.c (revision 182275) +++ sys/cddl/dev/cyclic/i386/cyclic_machdep.c (working copy) @@ -127,7 +127,9 @@ */ if (c =3D=3D &solaris_cpu[curcpu]) (*func)(param); +#ifdef SMP else smp_rendezvous_cpus((cpumask_t) (1 << c->cpuid), NULL, func, smp_no_rendevous_barrier, param); +#endif } Index: sys/cddl/dev/cyclic/amd64/cyclic_machdep.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- sys/cddl/dev/cyclic/amd64/cyclic_machdep.c (revision 182275) +++ sys/cddl/dev/cyclic/amd64/cyclic_machdep.c (working copy) @@ -127,7 +127,9 @@ */ if (c =3D=3D &solaris_cpu[curcpu]) (*func)(param); +#ifdef SMP else smp_rendezvous_cpus((cpumask_t) (1 << c->cpuid), NULL, func, smp_no_rendevous_barrier, param); +#endif } --HCdXmnRlPgeNBad2 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAki1aikACgkQC3+MBN1Mb4ghIwCeJRS4gnh18O6agr9T/S/VDIZ4 eeQAoIIGlryuVBk3xWLuwuW5E9lIkYvP =73pz -----END PGP SIGNATURE----- --HCdXmnRlPgeNBad2--