From owner-freebsd-arm@FreeBSD.ORG Mon Jul 14 20:15:04 2008 Return-Path: Delivered-To: arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 75A951065672; Mon, 14 Jul 2008 20:15:04 +0000 (UTC) (envelope-from stas@FreeBSD.org) Received: from smtp.ht-systems.ru (mr0.ht-systems.ru [78.110.50.55]) by mx1.freebsd.org (Postfix) with ESMTP id 2B8308FC13; Mon, 14 Jul 2008 20:15:04 +0000 (UTC) (envelope-from stas@FreeBSD.org) Received: from [85.21.245.235] (helo=stal.SpringDaemons.com) by smtp.ht-systems.ru with esmtpa (Exim 4.62) (envelope-from ) id 1KIU1l-00060x-K4; Mon, 14 Jul 2008 23:48:05 +0400 Received: from stal.SpringDaemons.com (localhost [127.0.0.1]) by stal.SpringDaemons.com (Postfix) with SMTP id 5A10F2280A; Mon, 14 Jul 2008 23:48:09 +0400 (MSD) Date: Mon, 14 Jul 2008 23:48:09 +0400 From: Stanislav Sedov To: Jeremie Le Hen Message-Id: <20080714234809.32cb8042.stas@FreeBSD.org> In-Reply-To: <20080711211909.GB33517@obiwan.tataz.chchile.org> References: <200806252138.m5PLcajG067917@repoman.freebsd.org> <20080707155017.6850f3a5.stas@FreeBSD.org> <20080711211909.GB33517@obiwan.tataz.chchile.org> Organization: The FreeBSD Project X-Mailer: Sylpheed 2.5.0 (GTK+ 2.12.10; i386-portbld-freebsd6.3) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Mon__14_Jul_2008_23_48_09_+0400_AzT2uL/DakDYIx6A" Cc: arm@FreeBSD.org, cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src Makefile.inc1 src/gnu/lib Makefile src/gnu/lib/csu Makefile src/gnu/lib/libssp Makefile src/lib/csu Makefile.inc src/lib/libc Makefile src/lib/libstand Makefile src/lib/libthr Makefile src/libexec/rtld-elf Makefile src/release Makefile ... X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jul 2008 20:15:04 -0000 --Signature=_Mon__14_Jul_2008_23_48_09_+0400_AzT2uL/DakDYIx6A Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, 11 Jul 2008 23:19:09 +0200 Jeremie Le Hen mentioned: > Would you mind testing it with WITHOUT_SSP=3D at the top of lib/libc/Make= file? >=20 I'll try tomorrow. Currently, I have no access to the board. Thanks! --=20 Stanislav Sedov ST4096-RIPE --Signature=_Mon__14_Jul_2008_23_48_09_+0400_AzT2uL/DakDYIx6A Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkh7rXkACgkQK/VZk+smlYGQXwCdGRtp48r2lPfHmQRK0H7Ky6oO 3HwAmwYL3AfkkbS6hfAcAAK12k5d/tly =DGDF -----END PGP SIGNATURE----- --Signature=_Mon__14_Jul_2008_23_48_09_+0400_AzT2uL/DakDYIx6A-- From owner-freebsd-arm@FreeBSD.ORG Tue Jul 15 21:32:37 2008 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ACA8E1065670; Tue, 15 Jul 2008 21:32:37 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) by mx1.freebsd.org (Postfix) with ESMTP id 201AE8FC08; Tue, 15 Jul 2008 21:32:36 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from cicely5.cicely.de ([10.1.1.7]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id m6FL5MTL017792 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 15 Jul 2008 23:05:22 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by cicely5.cicely.de (8.14.2/8.14.2) with ESMTP id m6FL5GBQ035006 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 15 Jul 2008 23:05:16 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.14.2/8.14.2) with ESMTP id m6FL5FHU038806; Tue, 15 Jul 2008 23:05:15 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.14.2/8.14.2/Submit) id m6FL5E1u038805; Tue, 15 Jul 2008 23:05:14 +0200 (CEST) (envelope-from ticso) Date: Tue, 15 Jul 2008 23:05:14 +0200 From: Bernd Walter To: Stanislav Sedov Message-ID: <20080715210512.GK35340@cicely7.cicely.de> References: <200806252138.m5PLcajG067917@repoman.freebsd.org> <20080707155017.6850f3a5.stas@FreeBSD.org> <20080711211909.GB33517@obiwan.tataz.chchile.org> <20080714234809.32cb8042.stas@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080714234809.32cb8042.stas@FreeBSD.org> X-Operating-System: FreeBSD cicely7.cicely.de 7.0-STABLE i386 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-4.3 required=5.0 tests=ALL_TRUSTED=-1.8, AWL=0.145, BAYES_00=-2.599 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on spamd.cicely.de Cc: arm@freebsd.org, cvs-src@freebsd.org, src-committers@freebsd.org, Jeremie Le Hen , cvs-all@freebsd.org Subject: Re: cvs commit: src Makefile.inc1 src/gnu/lib Makefile src/gnu/lib/csu Makefile src/gnu/lib/libssp Makefile src/lib/csu Makefile.inc src/lib/libc Makefile src/lib/libstand Makefile src/lib/libthr Makefile src/libexec/rtld-elf Makefile src/release Makefile ... X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ticso@cicely.de List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jul 2008 21:32:37 -0000 On Mon, Jul 14, 2008 at 11:48:09PM +0400, Stanislav Sedov wrote: > On Fri, 11 Jul 2008 23:19:09 +0200 > Jeremie Le Hen mentioned: > > > Would you mind testing it with WITHOUT_SSP= at the top of lib/libc/Makefile? > > > > I'll try tomorrow. Currently, I have no access to the board. Is it this kind of problem: ipfw2 (+ipv6) initialized, divert enabled, nat enabled, rule-based forwarding enabled, default to accept, logging unlimited SD CARD: 1023934464 bytes mmcsd0: on mmc0 mmc0: setting transfer rate to 30.000MHz Trying to mount root from ufs:/dev/mmcsd0s1a pid 20 (sh), uid 0: exited on signal 11 Jul 15 23:01:14 init: /bin/sh on /etc/rc terminated abnormally, going to single user mode Enter full pathname of shell or RETURN for /bin/sh: This happens for me with recent kernel and few days old 7-stable userland, so it shouldn't have anything to do with installed libc. -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. From owner-freebsd-arm@FreeBSD.ORG Tue Jul 15 22:14:07 2008 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0AC241065670; Tue, 15 Jul 2008 22:14:07 +0000 (UTC) (envelope-from stas@FreeBSD.org) Received: from smtp.ht-systems.ru (mr0.ht-systems.ru [78.110.50.55]) by mx1.freebsd.org (Postfix) with ESMTP id 68BD78FC15; Tue, 15 Jul 2008 22:14:06 +0000 (UTC) (envelope-from stas@FreeBSD.org) Received: from [85.21.245.235] (helo=stal.SpringDaemons.com) by smtp.ht-systems.ru with esmtpa (Exim 4.62) (envelope-from ) id 1KIslv-0007uH-8S; Wed, 16 Jul 2008 02:13:23 +0400 Received: from stal.SpringDaemons.com (localhost [127.0.0.1]) by stal.SpringDaemons.com (Postfix) with SMTP id A77D42285B; Wed, 16 Jul 2008 02:13:29 +0400 (MSD) Date: Wed, 16 Jul 2008 02:13:22 +0400 From: Stanislav Sedov To: ticso@cicely.de Message-Id: <20080716021322.52f895c9.stas@FreeBSD.org> In-Reply-To: <20080715210512.GK35340@cicely7.cicely.de> References: <200806252138.m5PLcajG067917@repoman.freebsd.org> <20080707155017.6850f3a5.stas@FreeBSD.org> <20080711211909.GB33517@obiwan.tataz.chchile.org> <20080714234809.32cb8042.stas@FreeBSD.org> <20080715210512.GK35340@cicely7.cicely.de> Organization: The FreeBSD Project X-Mailer: Sylpheed 2.5.0 (GTK+ 2.12.10; i386-portbld-freebsd6.3) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Wed__16_Jul_2008_02_13_22_+0400_muOt5AjddUB1jxAS" Cc: src-committers@freebsd.org, cvs-src@freebsd.org, Bernd Walter , cvs-all@freebsd.org, arm@freebsd.org, Jeremie Le Hen Subject: Re: cvs commit: src Makefile.inc1 src/gnu/lib Makefile src/gnu/lib/csu Makefile src/gnu/lib/libssp Makefile src/lib/csu Makefile.inc src/lib/libc Makefile src/lib/libstand Makefile src/lib/libthr Makefile src/libexec/rtld-elf Makefile src/release Makefile ... X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jul 2008 22:14:07 -0000 --Signature=_Wed__16_Jul_2008_02_13_22_+0400_muOt5AjddUB1jxAS Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, 15 Jul 2008 23:05:14 +0200 Bernd Walter mentioned: > On Mon, Jul 14, 2008 at 11:48:09PM +0400, Stanislav Sedov wrote: > > On Fri, 11 Jul 2008 23:19:09 +0200 > > Jeremie Le Hen mentioned: > >=20 > > > Would you mind testing it with WITHOUT_SSP=3D at the top of lib/libc/= Makefile? > > >=20 > >=20 > > I'll try tomorrow. Currently, I have no access to the board. >=20 > Is it this kind of problem: > ipfw2 (+ipv6) initialized, divert enabled, nat enabled, rule-based forwar= ding enabled, default to accept, logging unlimited > SD CARD: 1023934464 bytes > mmcsd0: on mmc0 > mmc0: setting transfer rate to 30.000MHz > Trying to mount root from ufs:/dev/mmcsd0s1a > pid 20 (sh), uid 0: exited on signal 11 > Jul 15 23:01:14 init: /bin/sh on /etc/rc terminated abnormally, going to = single user mode > Enter full pathname of shell or RETURN for /bin/sh:=20 >=20 > This happens for me with recent kernel and few days old 7-stable > userland, so it shouldn't have anything to do with installed libc. >=20 Seems to be the same problem. However, it seems that just using libc compiled w/out SSP solves it, although I haven't tested the entire world yet. --=20 Stanislav Sedov ST4096-RIPE --Signature=_Wed__16_Jul_2008_02_13_22_+0400_muOt5AjddUB1jxAS Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkh9IQgACgkQK/VZk+smlYG7RACfcCa2gBdV8SqYqXxCM2PdRRmK trsAnj9U5iQwOJfPaO++QoBxq6N5SE/j =mOIB -----END PGP SIGNATURE----- --Signature=_Wed__16_Jul_2008_02_13_22_+0400_muOt5AjddUB1jxAS-- From owner-freebsd-arm@FreeBSD.ORG Tue Jul 15 22:55:00 2008 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 80D15106566B; Tue, 15 Jul 2008 22:55:00 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) by mx1.freebsd.org (Postfix) with ESMTP id EC23D8FC16; Tue, 15 Jul 2008 22:54:59 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from cicely5.cicely.de ([10.1.1.7]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id m6FMsvm6019935 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 16 Jul 2008 00:54:58 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by cicely5.cicely.de (8.14.2/8.14.2) with ESMTP id m6FMslBC037434 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 16 Jul 2008 00:54:47 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.14.2/8.14.2) with ESMTP id m6FMsleP039034; Wed, 16 Jul 2008 00:54:47 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.14.2/8.14.2/Submit) id m6FMsk0t039033; Wed, 16 Jul 2008 00:54:46 +0200 (CEST) (envelope-from ticso) Date: Wed, 16 Jul 2008 00:54:46 +0200 From: Bernd Walter To: Stanislav Sedov Message-ID: <20080715225443.GM35340@cicely7.cicely.de> References: <200806252138.m5PLcajG067917@repoman.freebsd.org> <20080707155017.6850f3a5.stas@FreeBSD.org> <20080711211909.GB33517@obiwan.tataz.chchile.org> <20080714234809.32cb8042.stas@FreeBSD.org> <20080715210512.GK35340@cicely7.cicely.de> <20080716021322.52f895c9.stas@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080716021322.52f895c9.stas@FreeBSD.org> X-Operating-System: FreeBSD cicely7.cicely.de 7.0-STABLE i386 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-4.2 required=5.0 tests=ALL_TRUSTED=-1.8, AWL=0.150, BAYES_00=-2.599 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on spamd.cicely.de Cc: src-committers@freebsd.org, cvs-src@freebsd.org, Bernd Walter , cvs-all@freebsd.org, arm@freebsd.org, Jeremie Le Hen , ticso@cicely.de Subject: Re: cvs commit: src Makefile.inc1 src/gnu/lib Makefile src/gnu/lib/csu Makefile src/gnu/lib/libssp Makefile src/lib/csu Makefile.inc src/lib/libc Makefile src/lib/libstand Makefile src/lib/libthr Makefile src/libexec/rtld-elf Makefile src/release Makefile ... X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ticso@cicely.de List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jul 2008 22:55:00 -0000 On Wed, Jul 16, 2008 at 02:13:22AM +0400, Stanislav Sedov wrote: > On Tue, 15 Jul 2008 23:05:14 +0200 > Bernd Walter mentioned: > > > On Mon, Jul 14, 2008 at 11:48:09PM +0400, Stanislav Sedov wrote: > > > On Fri, 11 Jul 2008 23:19:09 +0200 > > > Jeremie Le Hen mentioned: > > > > > > > Would you mind testing it with WITHOUT_SSP= at the top of lib/libc/Makefile? > > > > > > > > > > I'll try tomorrow. Currently, I have no access to the board. > > > > Is it this kind of problem: > > ipfw2 (+ipv6) initialized, divert enabled, nat enabled, rule-based forwarding enabled, default to accept, logging unlimited > > SD CARD: 1023934464 bytes > > mmcsd0: on mmc0 > > mmc0: setting transfer rate to 30.000MHz > > Trying to mount root from ufs:/dev/mmcsd0s1a > > pid 20 (sh), uid 0: exited on signal 11 > > Jul 15 23:01:14 init: /bin/sh on /etc/rc terminated abnormally, going to single user mode > > Enter full pathname of shell or RETURN for /bin/sh: > > > > This happens for me with recent kernel and few days old 7-stable > > userland, so it shouldn't have anything to do with installed libc. > > > > Seems to be the same problem. However, it seems that just using libc > compiled w/out SSP solves it, although I haven't tested the entire > world yet. Mmm... But don't have the SSP change at all, since I still have a 7-stable userland. Static compiled binaries (/rescue) works fine. -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. From owner-freebsd-arm@FreeBSD.ORG Thu Jul 17 05:32:25 2008 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C0E5B1065671 for ; Thu, 17 Jul 2008 05:32:25 +0000 (UTC) (envelope-from xride@x12.dk) Received: from mx05.stofanet.dk (mx05.stofanet.dk [212.10.10.25]) by mx1.freebsd.org (Postfix) with ESMTP id 7DF0D8FC18 for ; Thu, 17 Jul 2008 05:32:24 +0000 (UTC) (envelope-from xride@x12.dk) Received: from 5634d033.rev.stofanet.dk ([86.52.208.51] helo=beacon.x12.dk) by mx03.stofanet.dk (envelope-from ) with esmtp id 1KJKtf-0003mT-0S for freebsd-arm@freebsd.org; Thu, 17 Jul 2008 06:15:15 +0200 Received: from localhost (localhost [127.0.0.1]) by beacon.x12.dk (Postfix) with ESMTP id 87EC12841A for ; Thu, 17 Jul 2008 06:15:14 +0200 (CEST) Date: Thu, 17 Jul 2008 06:14:47 +0200 From: Soeren Straarup To: freebsd-arm@freebsd.org Message-ID: <20080717061447.489115ef@x12.dk> X-Mailer: Claws Mail 3.4.0 (GTK+ 2.12.10; i386-portbld-freebsd8.0) Telephone: +4575581244 +13612371008 Mobil: +4520276244 X-Face: 7Y!o?/XT:H%BE>uVwW9m14t\pR.ZF]T!3s$d_`Gv6TVIknyh$"aMW=:t(r}QL:3W, Ico:Gec Ksmq@nVq-$Ks_33F0L>R[^qp'3-g4eV#nKv/8rl",TY4NTKO&DRL)e(x^6Tn^9".i; oJf-l69YL+>hY- }/$J[OE(pIER<2n`8E_}HLv`tXVvUr^O%#4 Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: AT91SAM9260 support X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jul 2008 05:32:25 -0000 Hi, Is anyone working with the AT91SAM9260? /Soeren -- Soeren Straarup | aka OZ2DAK aka Xride FreeBSD committer | FreeBSD since 2.2.6-R If a program is not working right, then send a patch From owner-freebsd-arm@FreeBSD.ORG Thu Jul 17 14:09:14 2008 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0EB7B1065680; Thu, 17 Jul 2008 14:09:14 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) by mx1.freebsd.org (Postfix) with ESMTP id A94F58FC1C; Thu, 17 Jul 2008 14:09:13 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from cicely5.cicely.de ([10.1.1.7]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id m6HE9AqQ079056 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 17 Jul 2008 16:09:11 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by cicely5.cicely.de (8.14.2/8.14.2) with ESMTP id m6HE96Zf090853 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 17 Jul 2008 16:09:06 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.14.2/8.14.2) with ESMTP id m6HE96XZ044626; Thu, 17 Jul 2008 16:09:06 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.14.2/8.14.2/Submit) id m6HE95TX044625; Thu, 17 Jul 2008 16:09:05 +0200 (CEST) (envelope-from ticso) Date: Thu, 17 Jul 2008 16:09:05 +0200 From: Bernd Walter To: Stanislav Sedov Message-ID: <20080717140905.GX35340@cicely7.cicely.de> References: <200806252138.m5PLcajG067917@repoman.freebsd.org> <20080707155017.6850f3a5.stas@FreeBSD.org> <20080711211909.GB33517@obiwan.tataz.chchile.org> <20080714234809.32cb8042.stas@FreeBSD.org> <20080715210512.GK35340@cicely7.cicely.de> <20080716021322.52f895c9.stas@FreeBSD.org> <20080715225443.GM35340@cicely7.cicely.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080715225443.GM35340@cicely7.cicely.de> X-Operating-System: FreeBSD cicely7.cicely.de 7.0-STABLE i386 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-4.3 required=5.0 tests=ALL_TRUSTED=-1.8, AWL=0.147, BAYES_00=-2.599 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on spamd.cicely.de Cc: src-committers@freebsd.org, cvs-src@freebsd.org, Bernd Walter , cvs-all@freebsd.org, arm@freebsd.org, Jeremie Le Hen , ticso@cicely.de Subject: Re: cvs commit: src Makefile.inc1 src/gnu/lib Makefile src/gnu/lib/csu Makefile src/gnu/lib/libssp Makefile src/lib/csu Makefile.inc src/lib/libc Makefile src/lib/libstand Makefile src/lib/libthr Makefile src/libexec/rtld-elf Makefile src/release Makefile ... X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ticso@cicely.de List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jul 2008 14:09:14 -0000 On Wed, Jul 16, 2008 at 12:54:46AM +0200, Bernd Walter wrote: > On Wed, Jul 16, 2008 at 02:13:22AM +0400, Stanislav Sedov wrote: > > On Tue, 15 Jul 2008 23:05:14 +0200 > > Bernd Walter mentioned: > > > > > On Mon, Jul 14, 2008 at 11:48:09PM +0400, Stanislav Sedov wrote: > > > > On Fri, 11 Jul 2008 23:19:09 +0200 > > > > Jeremie Le Hen mentioned: > > > > > > > > > Would you mind testing it with WITHOUT_SSP= at the top of lib/libc/Makefile? > > > > > > > > > > > > > I'll try tomorrow. Currently, I have no access to the board. > > > > > > Is it this kind of problem: > > > ipfw2 (+ipv6) initialized, divert enabled, nat enabled, rule-based forwarding enabled, default to accept, logging unlimited > > > SD CARD: 1023934464 bytes > > > mmcsd0: on mmc0 > > > mmc0: setting transfer rate to 30.000MHz > > > Trying to mount root from ufs:/dev/mmcsd0s1a > > > pid 20 (sh), uid 0: exited on signal 11 > > > Jul 15 23:01:14 init: /bin/sh on /etc/rc terminated abnormally, going to single user mode > > > Enter full pathname of shell or RETURN for /bin/sh: > > > > > > This happens for me with recent kernel and few days old 7-stable > > > userland, so it shouldn't have anything to do with installed libc. > > > > > > > Seems to be the same problem. However, it seems that just using libc > > compiled w/out SSP solves it, although I haven't tested the entire > > world yet. > > Mmm... > But don't have the SSP change at all, since I still have a 7-stable > userland. > Static compiled binaries (/rescue) works fine. Strange enough disabling SSP did make a difference, but I still have problems at some point: Trying to mount root from ufs:/dev/mmcsd0s1a Loading configuration files. usb_new_device: set address 2 failed - trying a port reset No suitable dump device was found. usb_new_device: set address 2 failed - trying a port reset Entropy harvesting: interrupts ethernet point_to_pointusb_new_device: set address 2 failed - trying a port reset usbd_new_device: addr=2, getting first desc failed uhub_explore: usb_new_device failed, error=IOERROR uhub0: device problem (IOERROR), disabling port 2 kickstart. swapon: adding /dev/mmcsd0s1b as swap device Starting file system checks: /dev/mmcsd0s1a: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/mmcsd0s1a: clean, 264157 free (25021 frags, 29892 blocks, 6.0% fragmentation) pid 59 (mount), uid 0: exited on signal 11 (core dumped) Segmentation fault (core dumped) Mounting root filesystem rw failed, startup aborted ERROR: ABORTING BOOT (sending SIGTERM to parent)! Jul 17 16:04:26 init: /bin/sh on /etc/rc terminated abnormally, going to single user mode Enter full pathname of shell or RETURN for /bin/sh: I'll try more recent code. Maybe I got something bad. -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. From owner-freebsd-arm@FreeBSD.ORG Fri Jul 18 11:41:11 2008 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B68871065679; Fri, 18 Jul 2008 11:41:11 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) by mx1.freebsd.org (Postfix) with ESMTP id 288E08FC14; Fri, 18 Jul 2008 11:41:10 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from cicely5.cicely.de ([10.1.1.7]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id m6IBf63r023299 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 18 Jul 2008 13:41:06 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by cicely5.cicely.de (8.14.2/8.14.2) with ESMTP id m6IBf0bn023197 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 18 Jul 2008 13:41:00 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.14.2/8.14.2) with ESMTP id m6IBf08R047711; Fri, 18 Jul 2008 13:41:00 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.14.2/8.14.2/Submit) id m6IBex0k047710; Fri, 18 Jul 2008 13:40:59 +0200 (CEST) (envelope-from ticso) Date: Fri, 18 Jul 2008 13:40:59 +0200 From: Bernd Walter To: Stanislav Sedov Message-ID: <20080718114058.GB35340@cicely7.cicely.de> References: <200806252138.m5PLcajG067917@repoman.freebsd.org> <20080707155017.6850f3a5.stas@FreeBSD.org> <20080711211909.GB33517@obiwan.tataz.chchile.org> <20080714234809.32cb8042.stas@FreeBSD.org> <20080715210512.GK35340@cicely7.cicely.de> <20080716021322.52f895c9.stas@FreeBSD.org> <20080715225443.GM35340@cicely7.cicely.de> <20080717140905.GX35340@cicely7.cicely.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080717140905.GX35340@cicely7.cicely.de> X-Operating-System: FreeBSD cicely7.cicely.de 7.0-STABLE i386 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-4.2 required=5.0 tests=ALL_TRUSTED=-1.8, AWL=0.152, BAYES_00=-2.599 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on spamd.cicely.de Cc: src-committers@freebsd.org, cvs-src@freebsd.org, Bernd Walter , cvs-all@freebsd.org, arm@freebsd.org, Jeremie Le Hen , ticso@cicely.de Subject: Re: cvs commit: src Makefile.inc1 src/gnu/lib Makefile src/gnu/lib/csu Makefile src/gnu/lib/libssp Makefile src/lib/csu Makefile.inc src/lib/libc Makefile src/lib/libstand Makefile src/lib/libthr Makefile src/libexec/rtld-elf Makefile src/release Makefile ... X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ticso@cicely.de List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jul 2008 11:41:11 -0000 On Thu, Jul 17, 2008 at 04:09:05PM +0200, Bernd Walter wrote: > On Wed, Jul 16, 2008 at 12:54:46AM +0200, Bernd Walter wrote: > > On Wed, Jul 16, 2008 at 02:13:22AM +0400, Stanislav Sedov wrote: > > > On Tue, 15 Jul 2008 23:05:14 +0200 > > > Bernd Walter mentioned: > > > > > > > On Mon, Jul 14, 2008 at 11:48:09PM +0400, Stanislav Sedov wrote: > > > > > On Fri, 11 Jul 2008 23:19:09 +0200 > > > > > Jeremie Le Hen mentioned: > > > > > > > > > > > Would you mind testing it with WITHOUT_SSP= at the top of lib/libc/Makefile? > > > > > > > > > > > > > > > > I'll try tomorrow. Currently, I have no access to the board. > > > > > > > > Is it this kind of problem: > > > > ipfw2 (+ipv6) initialized, divert enabled, nat enabled, rule-based forwarding enabled, default to accept, logging unlimited > > > > SD CARD: 1023934464 bytes > > > > mmcsd0: on mmc0 > > > > mmc0: setting transfer rate to 30.000MHz > > > > Trying to mount root from ufs:/dev/mmcsd0s1a > > > > pid 20 (sh), uid 0: exited on signal 11 > > > > Jul 15 23:01:14 init: /bin/sh on /etc/rc terminated abnormally, going to single user mode > > > > Enter full pathname of shell or RETURN for /bin/sh: > > > > > > > > This happens for me with recent kernel and few days old 7-stable > > > > userland, so it shouldn't have anything to do with installed libc. > > > > > > > > > > Seems to be the same problem. However, it seems that just using libc > > > compiled w/out SSP solves it, although I haven't tested the entire > > > world yet. > > > > Mmm... > > But don't have the SSP change at all, since I still have a 7-stable > > userland. > > Static compiled binaries (/rescue) works fine. > > Strange enough disabling SSP did make a difference, but I still have > problems at some point: > > Trying to mount root from ufs:/dev/mmcsd0s1a > Loading configuration files. > usb_new_device: set address 2 failed - trying a port reset > No suitable dump device was found. > usb_new_device: set address 2 failed - trying a port reset > Entropy harvesting: interrupts ethernet point_to_pointusb_new_device: set address 2 failed - trying a port reset > usbd_new_device: addr=2, getting first desc failed > uhub_explore: usb_new_device failed, error=IOERROR > uhub0: device problem (IOERROR), disabling port 2 > kickstart. > swapon: adding /dev/mmcsd0s1b as swap device > Starting file system checks: > /dev/mmcsd0s1a: FILE SYSTEM CLEAN; SKIPPING CHECKS > /dev/mmcsd0s1a: clean, 264157 free (25021 frags, 29892 blocks, 6.0% fragmentation) > pid 59 (mount), uid 0: exited on signal 11 (core dumped) > Segmentation fault (core dumped) > Mounting root filesystem rw failed, startup aborted > ERROR: ABORTING BOOT (sending SIGTERM to parent)! > Jul 17 16:04:26 init: /bin/sh on /etc/rc terminated abnormally, going to single user mode > Enter full pathname of shell or RETURN for /bin/sh: > > I'll try more recent code. > Maybe I got something bad. No change - with SSP all dynamic linked binaries fail the same as the 7-stable did. Without SSP only some binaries fail, but those are the same. And of course since my 7-stable binaries were failing as well this sounds like a kernel thing and not a userland one. What comes to mind after reading the original commit when reading the compiler options used: cc -mlittle-endian -c -O2 -pipe -fno-strict-aliasing -mcpu=arm9 -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I../../.. -I../../../contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mcpu=arm9 -ffreestanding -fstack-protector -Werror ../../../arm/at91/at91_twi.c The original message says that -fstack-protector shouldn't be used for the kernel. So why it is there? I never explicitly enabled it anywhere. -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.