From owner-freebsd-stable@FreeBSD.ORG Sat Feb 2 06:08:35 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 1A47116A418 for ; Sat, 2 Feb 2008 06:08:35 +0000 (UTC) (envelope-from chris#@1command.com) Received: from mail.1command.com (mail.1command.com [75.160.109.226]) by mx1.freebsd.org (Postfix) with ESMTP id C45D813C455 for ; Sat, 2 Feb 2008 06:08:34 +0000 (UTC) (envelope-from chris#@1command.com) Received: from mail.1command.com (localhost.1command.com [127.0.0.1]) by mail.1command.com (8.13.3/8.13.3) with ESMTP id m1268RnY011328 for ; Fri, 1 Feb 2008 22:08:33 -0800 (PST) (envelope-from chris#@1command.com) Received: (from www@localhost) by mail.1command.com (8.13.3/8.13.3/Submit) id m1268QGh011327 for freebsd-stable@freebsd.org; Fri, 1 Feb 2008 22:08:26 -0800 (PST) (envelope-from chris#@1command.com) Received: from hitme.hitometer.net (hitme.hitometer.net [75.160.109.235]) by webmail.1command.com (H.R. Communications Messaging System) with HTTP; Fri, 01 Feb 2008 22:08:26 -0800 Message-ID: <20080201220826.9niawaznesgw4gc8@webmail.1command.com> X-Priority: 3 (Normal) Date: Fri, 01 Feb 2008 22:08:26 -0800 From: "Chris H." To: freebsd-stable@freebsd.org References: <20080201183111.b52knrrsw00gkokc@webmail.1command.com> <20080202043456.GA96681@eos.sc1.parodius.com> In-Reply-To: <20080202043456.GA96681@eos.sc1.parodius.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: H.R. Communications Internet Messaging System (HCIMS) 4.1 Professional (not for redistribution) / FreeBSD-5.5 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 06:08:35 -0000 Quoting Jeremy Chadwick : > 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. > > 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. Good to know. relatedness stops here. :) > > 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. Understood. > > 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: > > http://jdc.parodius.com/freebsd/common_issues.txt Yes, I read this already (thanks for sharing it when I originally asked about this). But was hoping something had been done that fixes this. > > 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. > > 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). Good to know - even if it's not a cure. :) Thank you Jeremy, for taking the time to provide such an informative reply. Best wishes. --Chris H > > -- > | 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 | > > _______________________________________________ > 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" > -- panic: kernel trap (ignored)