From owner-freebsd-stable@FreeBSD.ORG Thu Nov 16 21:02:04 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org 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 38F5A16A415 for ; Thu, 16 Nov 2006 21:02:04 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id B95EA43D75 for ; Thu, 16 Nov 2006 21:02:03 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id A0D981A3C19; Thu, 16 Nov 2006 13:02:03 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 97BA151569; Thu, 16 Nov 2006 16:01:51 -0500 (EST) Date: Thu, 16 Nov 2006 16:01:51 -0500 From: Kris Kennaway To: Vincent Blondel Message-ID: <20061116210151.GA68673@xor.obsecurity.org> References: <1163621364.85632.12.camel@wbemfkaa.net.xtra-net.be> <1163692748.2792.10.camel@wbemfkaa.net.xtra-net.be> <20061116161706.GB65054@xor.obsecurity.org> <1163695124.2792.16.camel@wbemfkaa.net.xtra-net.be> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="pWyiEgJYm5f9v55/" Content-Disposition: inline In-Reply-To: <1163695124.2792.16.camel@wbemfkaa.net.xtra-net.be> User-Agent: Mutt/1.4.2.2i Cc: freebsd-stable@freebsd.org, Kris Kennaway Subject: Re: kernel crash ... X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Nov 2006 21:02:04 -0000 --pWyiEgJYm5f9v55/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Nov 16, 2006 at 05:38:44PM +0100, Vincent Blondel wrote: >=20 > Hello Kris, >=20 > You can find below a generic make.conf I use to compile src/ports on my > all machines ( only AMD Athlon XP/MP ). >=20 > .CPUTYPE !=3D sysctl hw.model |sed 's/ //g' > .if ${.CPUTYPE:M*AMDAthlon(tm)XP*} > CFLAGS=3D -march=3Dathlon-xp > .endif > .if ${.CPUTYPE:M*AMDAthlon(tm)MP*} > CFLAGS=3D -march=3Dathlon-mp > .endif > CFLAGS+=3D -O -pipe > CFLAGS+=3D -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 > .if ${.CURDIR:M/usr/src/*} > CFLAGS+=3D -fno-strict-aliasing > .endif > .if ${.CURDIR:M/usr/ports/*} > CFLAGS+=3D -Os -fomit-frame-pointer > .endif > COPTFLAGS=3D -O -pipe I think you have the -fno-strict-aliasing backwards, BTW: /usr/src should be safe to compile with -fstrict-aliasing (but it's only enabled by default at -O2, so that's a NOP for you anyway), but ports definitely are not in general. Also you might as well use CPUTYPE instead of manually setting CFLAGS to do the same thing. Anyway, this doesn't seem to be the cause of your problems so I don't know why your backtraces are garbage. Maybe you can try backtracing in DDB when you get a panic and see what that says instead. Kris --pWyiEgJYm5f9v55/ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFXNG/Wry0BWjoQKURAnaOAKD9O2YfNFylVu+YUmk9MaVIrM+rSwCfQ04t N2GmBrSnlD3kz/vKaAPZmR4= =l14y -----END PGP SIGNATURE----- --pWyiEgJYm5f9v55/--