From owner-freebsd-tinderbox@FreeBSD.ORG Sat Nov 4 11:06:48 2006 Return-Path: X-Original-To: tinderbox@freebsd.org Delivered-To: freebsd-tinderbox@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AE1A716A40F; Sat, 4 Nov 2006 11:06:48 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail14.syd.optusnet.com.au (mail14.syd.optusnet.com.au [211.29.132.195]) by mx1.FreeBSD.org (Postfix) with ESMTP id DB3EC43D53; Sat, 4 Nov 2006 11:06:47 +0000 (GMT) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (c58-107-94-118.belrs4.nsw.optusnet.com.au [58.107.94.118]) by mail14.syd.optusnet.com.au (8.12.11/8.12.11) with ESMTP id kA4B6iKA029099 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Sat, 4 Nov 2006 22:06:45 +1100 Received: from turion.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by turion.vk2pj.dyndns.org (8.13.8/8.13.8) with ESMTP id kA4B6iww012961; Sat, 4 Nov 2006 22:06:44 +1100 (EST) (envelope-from peter@turion.vk2pj.dyndns.org) Received: (from peter@localhost) by turion.vk2pj.dyndns.org (8.13.8/8.13.8/Submit) id kA4B6iOM012960; Sat, 4 Nov 2006 22:06:44 +1100 (EST) (envelope-from peter) Date: Sat, 4 Nov 2006 22:06:44 +1100 From: Peter Jeremy To: Kip Macy Message-ID: <20061104110644.GE854@turion.vk2pj.dyndns.org> References: <20061104060421.6145773068@freebsd-current.sentex.ca> <20061104070047.GA98215@what-creek.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="VdOwlNaOFKGAtAAV" Content-Disposition: inline In-Reply-To: X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.13 (2006-08-11) Cc: current@freebsd.org, sparc64@freebsd.org, John Birrell , FreeBSD Tinderbox Subject: Re: [head tinderbox] failure on sparc64/sun4v X-BeenThere: freebsd-tinderbox@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Tinderbox reports, responses, and meta-comments" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Nov 2006 11:06:48 -0000 --VdOwlNaOFKGAtAAV Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, 2006-Nov-03 23:46:27 -0800, Kip Macy wrote: >Sparc64 only supports CAS on 4 and 8 byte quantities. The only >operation it support on 16 bytes is load. The '16' in 'atomic_add_16' is bits. Few RISC architectures can support atomic operations (or primitives to build atomic ops) on anything other than their native word side and 32 bits. The problem is that SCTP is using a 16-bit refcnt and trying to manipulate it atomically. This is problematic on anything except i386 and amd64. The easiest solution seems to be to change refcnt to an [u]int - though I'm not sure what other impacts this may have. --=20 Peter Jeremy --VdOwlNaOFKGAtAAV Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFTHRE/opHv/APuIcRAnBYAJ9oW7jVI4smKIV9aaz6RITJWmajZgCfYYgU zD7AhcbuoRUAy9VbvV44qeA= =MAHq -----END PGP SIGNATURE----- --VdOwlNaOFKGAtAAV--