From owner-freebsd-stable@FreeBSD.ORG Sat Feb 2 05:24:31 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2D62516A419 for ; Sat, 2 Feb 2008 05:24:31 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from relay02.kiev.sovam.com (relay02.kiev.sovam.com [62.64.120.197]) by mx1.freebsd.org (Postfix) with ESMTP id 80FA213C442 for ; Sat, 2 Feb 2008 05:24:30 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from [212.82.216.226] (helo=skuns.kiev.zoral.com.ua) by relay02.kiev.sovam.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1JLArW-000Plq-70; Sat, 02 Feb 2008 07:24:28 +0200 Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by skuns.kiev.zoral.com.ua (8.14.1/8.14.1) with ESMTP id m125Npkr049205 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 2 Feb 2008 07:23:51 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.2/8.14.2) with ESMTP id m125O9RP015421; Sat, 2 Feb 2008 07:24:09 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.2/8.14.2/Submit) id m125O7iD015420; Sat, 2 Feb 2008 07:24:07 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Sat, 2 Feb 2008 07:24:07 +0200 From: Kostik Belousov To: Jeremy Chadwick Message-ID: <20080202052407.GE57756@deviant.kiev.zoral.com.ua> References: <20080201183111.b52knrrsw00gkokc@webmail.1command.com> <20080202043456.GA96681@eos.sc1.parodius.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="AXfLY1v65H9m1lDu" Content-Disposition: inline In-Reply-To: <20080202043456.GA96681@eos.sc1.parodius.com> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: ClamAV version 0.91.2, clamav-milter version 0.91.2 on skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Scanner-Signature: a0e7373be156534abcc10f92c304d741 X-DrWeb-checked: yes X-SpamTest-Envelope-From: kostikbel@gmail.com X-SpamTest-Group-ID: 00000000 X-SpamTest-Info: Profiles 2160 [Feb 02 2008] X-SpamTest-Info: helo_type=3 X-SpamTest-Info: {received from trusted relay: not dialup} X-SpamTest-Method: none X-SpamTest-Method: Local Lists X-SpamTest-Rate: 0 X-SpamTest-Status: Not detected X-SpamTest-Status-Extended: not_detected X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0255], KAS30/Release Cc: freebsd-stable@freebsd.org, "Chris H." Subject: Re: dueling (s)printf()'s - what's the cure? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Feb 2008 05:24:31 -0000 --AXfLY1v65H9m1lDu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Feb 01, 2008 at 08:34:56PM -0800, Jeremy Chadwick wrote: > On Fri, Feb 01, 2008 at 06:31:11PM -0800, Chris H. wrote: > > I mentioned a problem with this once before, and was referred to > > other threads that also talked about this. But I believe a recent > > problem I was experiencing, may have been related to this: > > [: -le: argument expected. So I'd like to bring it up again, in > > hopes that someone might have a cure. Specifically, two printf()'s > > are sent to the same line, which results in a /very/ hard line to > > decipher. >=20 > The two problems you're discussing are entirely 100% unrelated to one > another. Please do not try and relate them, it will just confuse > readers of both threads. >=20 > The problem with [/test on your system is something that's specific to > your system. I'm hoping the reinstall you're doing (see private mail) > will alleviate this, and if it doesn't, something you're doing after the > fresh install is causing it. That should be discussed in the other > thread and not here. >=20 > The problem with kernel printf()s being interwoven is documented in my > "common issues" file, with numerous threads referenced -- see "Scrambled > dmesg/kernel output" here: >=20 > http://jdc.parodius.com/freebsd/common_issues.txt >=20 > There is no fix or workaround for this problem. Someone mentioned > increasing PRINTF_BUFR_SIZE to 128, which does not fix the problem, > nor diminish it in any way. What X in the RELENG_X where PRINTF_BUFR_SIZE has no effect ? This feature is not in the RELENG_6. Some time ago I made a backport, see http://people.freebsd.org/~kib/misc/releng_6_printf_bufr.2.patch I was said that the patch introduces some strange packet corruption, that I cannot test. >=20 > It's very important that people understand the interwoven kernel output > is specific to stuff printed to the console at the kernel level (e.g. a > driver/module, a piece of the kernel, etc.), and will not happen when > doing something that's output via printf(3) from libc (e.g. output from > "make buildworld", "yes", "ls -FRal /", and so on). >=20 > --=20 > | Jeremy Chadwick jdc at parodius.com | > | Parodius Networking http://www.parodius.com/ | > | UNIX Systems Administrator Mountain View, CA, USA | > | Making life hard for others since 1977. PGP: 4BD6C0CB | >=20 > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" --AXfLY1v65H9m1lDu Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (FreeBSD) iEYEARECAAYFAkej/nYACgkQC3+MBN1Mb4hHAgCgwv7qQN8QMbv3G9i7zBZPXPnh q+QAoJNicV+Tf9G7h5dsl06MsrwyX3lf =/RqP -----END PGP SIGNATURE----- --AXfLY1v65H9m1lDu--