From owner-freebsd-current@FreeBSD.ORG Tue Nov 7 00:19:50 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B7BE116A416; Tue, 7 Nov 2006 00:19:50 +0000 (UTC) (envelope-from rrs@cisco.com) Received: from sj-iport-1.cisco.com (sj-iport-1-in.cisco.com [171.71.176.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id EEB8243D46; Tue, 7 Nov 2006 00:19:15 +0000 (GMT) (envelope-from rrs@cisco.com) Received: from sj-dkim-4.cisco.com ([171.71.179.196]) by sj-iport-1.cisco.com with ESMTP; 06 Nov 2006 16:19:05 -0800 X-IronPort-AV: i="4.09,392,1157353200"; d="scan'208"; a="755057739:sNHT4167737230" Received: from sj-core-2.cisco.com (sj-core-2.cisco.com [171.71.177.254]) by sj-dkim-4.cisco.com (8.12.11.20060308/8.12.11) with ESMTP id kA70J4MQ026279; Mon, 6 Nov 2006 16:19:04 -0800 Received: from xbh-sjc-221.amer.cisco.com (xbh-sjc-221.cisco.com [128.107.191.63]) by sj-core-2.cisco.com (8.12.10/8.12.6) with ESMTP id kA70J4in000975; Mon, 6 Nov 2006 16:19:04 -0800 (PST) Received: from xfe-sjc-212.amer.cisco.com ([171.70.151.187]) by xbh-sjc-221.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 6 Nov 2006 16:19:03 -0800 Received: from [127.0.0.1] ([171.68.225.134]) by xfe-sjc-212.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 6 Nov 2006 16:19:03 -0800 Message-ID: <454FD0CF.4030705@cisco.com> Date: Mon, 06 Nov 2006 19:18:23 -0500 From: Randall Stewart User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20060223 X-Accept-Language: en-us, en MIME-Version: 1.0 To: John Baldwin References: <20061104060421.6145773068@freebsd-current.sentex.ca> <20061104110644.GE854@turion.vk2pj.dyndns.org> <200611061649.56193.jhb@freebsd.org> In-Reply-To: <200611061649.56193.jhb@freebsd.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 07 Nov 2006 00:19:03.0532 (UTC) FILETIME=[5490E2C0:01C70202] DKIM-Signature: a=rsa-sha1; q=dns; l=1957; t=1162858744; x=1163722744; c=relaxed/simple; s=sjdkim4002; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=rrs@cisco.com; z=From:Randall=20Stewart=20 |Subject:Re=3A=20[head=20tinderbox]=20failure=20on=20sparc64/sun4v; X=v=3Dcisco.com=3B=20h=3DdlYYRt/rc+u/Ae65nzXQdpNRGMA=3D; b=IV9SCtxO6uOPrefmFARFaYCMUm0Cryw9MO7f91qtk7Nc1SU17PVC7asSwGaH6snE/OngHfaI ve2rC/oYfiXg43YvCCdzzKrzkJmBnPutVyjwh6JH9Kq5wdf2uQ44Ognn; Authentication-Results: sj-dkim-4.cisco.com; header.From=rrs@cisco.com; dkim=pass ( sig from cisco.com verified; ); Cc: current@freebsd.org, Peter Jeremy , sparc64@freebsd.org, FreeBSD Tinderbox , Kip Macy , John Birrell , freebsd-sparc64@freebsd.org Subject: Re: [head tinderbox] failure on sparc64/sun4v X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Nov 2006 00:19:51 -0000 John Baldwin wrote: > On Saturday 04 November 2006 06:06, Peter Jeremy wrote: > >>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. > > > And if possible it should just use 'refcount_*()' instead of 'atomic_*()' > directly. > ???? All the 16 bit values were gone yestereday... the current tenderbox failure is not SCTP.. at least not the ones I have seen... its : DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mcmodel=medlow -msoft-float -ffreestanding -Werror /src/sys/dev/ofw/ofw_console.c /src/sys/dev/ofw/ofw_console.c: In function `ofw_dev_open': /src/sys/dev/ofw/ofw_console.c:144: warning: implicit declaration of function `priv_check' /src/sys/dev/ofw/ofw_console.c:144: warning: nested extern declaration of `priv_check' /src/sys/dev/ofw/ofw_console.c:144: error: `PRIV_TTY_EXCLUSIVE' undeclared (first use in this function) /src/sys/dev/ofw/ofw_console.c:144: error: (Each undeclared identifier is reported only once /src/sys/dev/ofw/ofw_console.c:144: error: for each function it appears in.) *** Error code 1 and I don't think sctp is involved in this.. at least not to my knowledge R -- Randall Stewart NSSTG - Cisco Systems Inc. 803-345-0369 803-317-4952 (cell)