From owner-freebsd-current@FreeBSD.ORG Fri Dec 28 19:34:08 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 73F0D16A418; Fri, 28 Dec 2007 19:34:08 +0000 (UTC) (envelope-from imb@protected-networks.net) Received: from sarah.protected-networks.net (sarah.protected-networks.net [64.46.156.146]) by mx1.freebsd.org (Postfix) with ESMTP id 252C013C448; Fri, 28 Dec 2007 19:34:08 +0000 (UTC) (envelope-from imb@protected-networks.net) Received: from [192.168.1.103] (unknown [64.119.130.186]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mbutler-d620.vericept.com", Issuer "Protected Networks Certificate Authority" (verified OK)) by sarah.protected-networks.net (Postfix) with ESMTP id 8229E623E; Fri, 28 Dec 2007 14:23:40 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=protected-networks.net; s=200705; t=1198869821; bh=zjxVU2OQ3t2ynp IdWm0TBGxALwsJgrkchViPgRP5GwY=; h=DomainKey-Signature:Message-ID: Date:From:User-Agent:MIME-Version:To:CC:Subject:References: In-Reply-To:X-Enigmail-Version:Content-Type: Content-Transfer-Encoding; b=WIQA6idUJ6VNHbwAkLf2td8/S0nDgoPNgHJN8 +ynCO80JUOw/S3549LHLeNnA7Pj+Jh/H0knLV0pm9K2fFC2Qtg6LHhhUUq8QDfgL1K1 KUoGz9Lno0yhiHAwXXE8cUZc DomainKey-Signature: a=rsa-sha1; s=200509; d=protected-networks.net; c=nofws; q=dns; h=message-id:date:from:user-agent:mime-version:to:cc:subject: references:in-reply-to:x-enigmail-version:content-type:content-transfer-encoding; b=gh945XxvOPVkPAvSD+pidWXK4CQbdCfvxKPYI7/+Ncm5w0Ourgtw0yjNyIXShyN2f cPpfMLqH93OV4m2DzcK06PsI90Pb5R62MEu6oWmTK0hOpRPyxo7NpgfdIwANd0F Message-ID: <47754D37.4050702@protected-networks.net> Date: Fri, 28 Dec 2007 14:23:35 -0500 From: Michael Butler User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: Kris Kennaway References: <20071228120152.GB1544@schweikhardt.net> <4774F09A.3050405@FreeBSD.org> In-Reply-To: <4774F09A.3050405@FreeBSD.org> X-Enigmail-Version: 0.95.5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: FreeBSD current , Jens Schweikhardt Subject: Re: Garbled shutdown message 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: Fri, 28 Dec 2007 19:34:08 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Kris Kennaway wrote: > Jens Schweikhardt wrote: >> If you look at this closely you can find "Syncing (max 60 seconds) for >> system process" if you read about every other character. It's always the >> third of the three "Waiting" lines. Anyone else seeing this? > > You have an SMP system and do not have the PRINTF_BUFR option or > whatever it is. Without it multiple CPUs have no synchronization > between printfs and will interleave. So the recommended value for PRINTF_BUFR_SIZE is ... ? In my (very brief) browse through kern/subr_prf.c, I didn't see any overflow protection on the stack-allocated buffer ... which makes me rather nervous. Interleaved text is *way* better than clobbered kernel stack .. Michael -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD4DBQFHdU02Qv9rrgRC1JIRAmG6AJwMUncMH0mLjRy0FljZPFqNd3xlzgCYhUgu L3yExPV9NREBD3RH1xUFqA== =Zp29 -----END PGP SIGNATURE-----