From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.54) id 1EvznB-0007Vt-Rx for garchives@archives.gentoo.org; Mon, 09 Jan 2006 16:22:46 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id k09GLFvU001751; Mon, 9 Jan 2006 16:21:15 GMT Received: from mail.gmx.net (mail.gmx.net [213.165.64.21]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id k09GLELq012768 for ; Mon, 9 Jan 2006 16:21:14 GMT Received: (qmail invoked by alias); 09 Jan 2006 16:21:14 -0000 Received: from host-6.mikroweb.hu (EHLO mail.bridge.intra) [193.17.175.6] by mail.gmx.net (mp012) with SMTP; 09 Jan 2006 17:21:14 +0100 X-Authenticated: #507653 Received: from localhost (localhost [127.0.0.1]) by localhost (Postfix) with ESMTP id 4C5FEB715; Mon, 9 Jan 2006 17:21:09 +0100 (CET) Received: from mail.bridge.intra ([127.0.0.1]) by localhost (lnx.bridge.intra [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 17734-06-2; Mon, 9 Jan 2006 17:20:57 +0100 (CET) Received: by mail.bridge.intra (Postfix, from userid 200) id DC6E9B838; Mon, 9 Jan 2006 17:20:57 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mail.bridge.intra (Postfix) with ESMTP id D7A87B715; Mon, 9 Jan 2006 17:20:57 +0100 (CET) Date: Mon, 9 Jan 2006 17:20:57 +0100 (CET) From: "Peter S. Mazinger" To: gentoo-embedded@lists.gentoo.org cc: Natanael Copa Subject: Re: [gentoo-embedded] lockups with hardened kernel In-Reply-To: <200601070235.18447.vapier@gentoo.org> Message-ID: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-embedded@gentoo.org Reply-to: gentoo-embedded@lists.gentoo.org MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 X-Virus-Scanned: by amavisd-new at localhost X-Y-GMX-Trusted: 0 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by robin.gentoo.org id k09GLFwK001751 X-Archives-Salt: b732ff00-e0dd-4f30-8930-74ea8ae02037 X-Archives-Hash: 6cf4d2322badbca774b5a751429317ac On Sat, 7 Jan 2006, Mike Frysinger wrote: > On Saturday 07 January 2006 02:30, Natanael Copa wrote: > > On l=F8r, 2006-01-07 at 00:44 -0500, Mike Frysinger wrote: > > > On Wednesday 04 January 2006 03:52, Natanael Copa wrote: > > > > I got a report from someone who experienced lockups when using > > > > gentoo-embedded built system (2.6.14-hardened-r1) > > > > > > this is a hardened kernel issue rather than a userland issue ... yo= u'd be > > > better off e-mailing the gentoo-hardened list > > > > Probably, but I think I found the reason. Whenever I build the kernel > > with "optimize for size" it hangs after an hour with intense net load > > and io load (I made a loop that dd if=3D/dev/cdrom) > > > > When I disabled "Configure standard kernel features (for small > > systems)" (gcc -Os) the problem magically went away. >=20 > the kernel can be pretty sensitive to optimizations if kernel is built w/ gcc-3.4.4 and -Os (at least I had that for 2.4.x=20 kernels) it "optimizes away" memcmp and the kernels have gotten a patch=20 to overcome this, the same problem does not occur w/ gcc-3.3.x. > > So I think its a bug in gcc version 3.4.4 (Gentoo Hardened 3.4.4-r1, > > ssp-3.4.4-1.0, pie-8.7.8) > > > > Makes me nervous because I have built everything with -Os. I have built everything w/ -Os and do not have trouble w/ it Peter --=20 Peter S. Mazinger ID: 0xA5F059F2 Key fingerprint =3D 92A4 31E1 56BC 3D5A 2D08 BB6E C389 975E A5F0 59F2 --=20 gentoo-embedded@gentoo.org mailing list