From owner-freebsd-arm@FreeBSD.ORG  Mon Nov  1 12:14:32 2010
Return-Path: <owner-freebsd-arm@FreeBSD.ORG>
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 10DAB106566B
	for <arm@freebsd.org>; Mon,  1 Nov 2010 12:14:32 +0000 (UTC)
	(envelope-from romain@blogreen.org)
Received: from marvin.blogreen.org (unknown [IPv6:2a01:e35:2f7d:58c0::2])
	by mx1.freebsd.org (Postfix) with ESMTP id 8E1948FC15
	for <arm@freebsd.org>; Mon,  1 Nov 2010 12:14:31 +0000 (UTC)
Received: by marvin.blogreen.org (Postfix, from userid 1001)
	id 23909C17A; Mon,  1 Nov 2010 13:14:28 +0100 (CET)
Date: Mon, 1 Nov 2010 13:14:27 +0100
From: Romain =?iso-8859-1?Q?Tarti=E8re?= <romain@FreeBSD.org>
To: arm@freebsd.org
Message-ID: <20101101121427.GA51560@FreeBSD.org>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="tKW2IUtsqtDRztdT"
Content-Disposition: inline
X-PGP-Key: http://romain.blogreen.org/pubkey.asc
User-Agent: Mutt/1.5.21 (2010-09-15)
Cc: 
Subject: [patch] Fix for named(8) on OpenRD
X-BeenThere: freebsd-arm@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Porting FreeBSD to the StrongARM Processor <freebsd-arm.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-arm>,
	<mailto:freebsd-arm-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-arm>
List-Post: <mailto:freebsd-arm@freebsd.org>
List-Help: <mailto:freebsd-arm-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-arm>,
	<mailto:freebsd-arm-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 01 Nov 2010 12:14:32 -0000


--tKW2IUtsqtDRztdT
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hello

I have a long-standing issue I fixed locally but might interest OpenRD
users (and probably SheevaPlug users and maybe even more) to fix
named(8).

Basically, named(8) crashes at startup.  I searched this list archives
and found 2-3 interesting posts with partial fixes, and merging-up them
all together I got a patch [1] that allowed named(8) to start and run.

For various reasons, I had not the time to test it extensively: I saw it
worked, tested it ~5mn and rebooted on another FreeBSD system on the
device because it provides some services I depend on and downtime is a
problem.

However, I am not filling-in a PR right now because:
  - I have no knowledge of ARM assembler and have basically no idea
    about how the fix does it's job;
  - I have not enough knowledge about ARM to say if this fix will break
    other ARM based systems or not.

I guess there are people on the list who will have the expertise I am
lacking in this area.

Thanks you for your feedback!

Romain

References:
  1. http://people.freebsd.org/~romain/openrd-named.diff

--=20
Romain Tarti=E8re <romain@FreeBSD.org>  http://people.FreeBSD.org/~romain/
pgp: 8234 9A78 E7C0 B807 0B59  80FF BA4D 1D95 5112 336F (ID: 0x5112336F)
(plain text =3Dnon-HTML=3D PGP/GPG encrypted/signed e-mail much appreciated)

--tKW2IUtsqtDRztdT
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (FreeBSD)

iQGcBAEBAgAGBQJMzq8hAAoJELpNHZVREjNv620L+wTHPYI1c37Y2tuPoncWbmsB
C1y0qlkJE7XU72cZGt9HqN1SZFiJL4XbZfTtCjwKg01iJV+CLuwer5pazkJsfhs6
ItA8C2IJeSmnvnpVRf2k6Qs6MiTvACMH20fCG89j/vv3PIfZfYPEuLxU+osXvoko
Z83IJIsfcjZd/qZ/GowsO3TSmcy3Dn+d26DpGgVeC9OwfTw1rYzVW03wQb9OKkKq
5IdtOZ3cmGa86tJ2o6BFcFPruGislDh0+l+uEXyB8RqeUzyAJFiy+cwrNkxOkyb4
iO0YPOMTfVd5p2fA4FSEGNw4rX5uvpPeBDE8qJfYcAaIgeMw0mHfZc8kDBN8ChyL
iJceoeiAyeyrUTXUGmunkIqSZUsV6xqHxx6cdbZzffS5RDex7EwsUt2x+ajAPWVb
8tXarv/0TnOc6ph75DUZUgHaq0IMBlEGGYAgPfCodrMemjQk1HcJ34d6PNmv8aK3
KpLrNMvGTUmBK2eNvoHnRLjcG4vD/hc1ashvrDSMTA==
=kgUW
-----END PGP SIGNATURE-----

--tKW2IUtsqtDRztdT--