Date: Mon, 06 Nov 2006 19:18:23 -0500 From: Randall Stewart <rrs@cisco.com> To: John Baldwin <jhb@freebsd.org> Cc: current@freebsd.org, Peter Jeremy <peterjeremy@optushome.com.au>, sparc64@freebsd.org, FreeBSD Tinderbox <tinderbox@freebsd.org>, John Birrell <jb@what-creek.com>, freebsd-sparc64@freebsd.org Subject: Re: [head tinderbox] failure on sparc64/sun4v Message-ID: <454FD0CF.4030705@cisco.com> In-Reply-To: <200611061649.56193.jhb@freebsd.org> References: <20061104060421.6145773068@freebsd-current.sentex.ca> <b1fa29170611032346x5803847esad273b1965cbddcd@mail.gmail.com> <20061104110644.GE854@turion.vk2pj.dyndns.org> <200611061649.56193.jhb@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <or> 803-317-4952 (cell)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?454FD0CF.4030705>