From nobody@FreeBSD.org  Thu Mar 20 13:52:35 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 1456B1065703
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 20 Mar 2008 13:52:35 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 101D68FC1A
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 20 Mar 2008 13:52:35 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m2KDqWpL030772
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 20 Mar 2008 13:52:32 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id m2KDqWCo030771;
	Thu, 20 Mar 2008 13:52:32 GMT
	(envelope-from nobody)
Message-Id: <200803201352.m2KDqWCo030771@www.freebsd.org>
Date: Thu, 20 Mar 2008 13:52:32 GMT
From: "Matt D. Harris" <mdh@solitox.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: geom output to console obscures other messages
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         121907
>Category:       kern
>Synopsis:       [request] output to console can obscure other messages
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 20 14:00:01 UTC 2008
>Closed-Date:    Fri Mar 15 23:42:06 UTC 2013
>Last-Modified:  Fri Mar 15 23:42:06 UTC 2013
>Originator:     Matt D. Harris
>Release:        7.0-STABLE
>Organization:
Solitox Networks
>Environment:
FreeBSD 7.0-STABLE #2: Tue Mar 11 12:33:19 EDT 2008
    root@vesper.int.sykotik.org:/usr/src/sys/amd64/compile/VESPER

>Description:
GEOM outputs to the console, sometimes obscuring its own output and the
output of other console messages.  The text is often one character from
geom alternating with one character from other output.  

It is a minor aesthetic issue only and has no effect on system stability,
however it can make debugging certain things a bit more difficult on the
console.  

>How-To-Repeat:
This has occured while unplugging an msdosfs USB flash dongle (geom
complains about msdosfs disk label, usb is telling me about the usb
device going away), and during shutdown (not sure exactly what is being
said by geom here, it's very difficult to read due to how the "syncing
disks" output occurs).  

>Fix:


>Release-Note:
>Audit-Trail:

From: "Remko Lodder" <remko@elvandar.org>
To: "Matt D. Harris" <mdh@solitox.net>
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: kern/121907: geom output to console obscures other messages
Date: Thu, 20 Mar 2008 15:06:58 +0100 (CET)

 On Thu, March 20, 2008 2:52 pm, Matt D. Harris wrote:
 >
 
 Please show us an example of what you mean, I think I understand it, but
 to record the proper information it would be good to have.
 
 I think you are talking about overlapping printf's during start and
 shutdown so that you see multiple logrecords overlapping in one logoutput
 line.
 
 If so, we already have tickets for that, and I recall people looking into
 how this can be resolved, which isnt as easy as it seems at the moment.
 
 Thanks,
 remko
 
 -- 
 /"\   Best regards,                      | remko@FreeBSD.org
 \ /   Remko Lodder                       | remko@EFnet
  X    http://www.evilcoder.org/          |
 / \   ASCII Ribbon Campaign              | Against HTML Mail and News
 
 
State-Changed-From-To: open->feedback 
State-Changed-By: linimon 
State-Changed-When: Sat Mar 22 19:58:57 UTC 2008 
State-Changed-Why:  
Assign.  Note that submitter has been asked for feedback. 


Responsible-Changed-From-To: freebsd-bugs->freebsd-geom 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sat Mar 22 19:58:57 UTC 2008 
Responsible-Changed-Why:  

http://www.freebsd.org/cgi/query-pr.cgi?pr=121907 

From: "Matt D. Harris" <mdh@solitox.net>
To: remko@elvandar.org
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: kern/121907: geom output to console obscures other messages
Date: Mon, 24 Mar 2008 13:15:45 -0400

 Hi Remko,
 I did a cursory check of the pr database to see if there were any 
 existing before for this, but didn't turn them up, I guess my keywords 
 were faulty.  Feel free to close my PR, in that case.
 As far as when it is occuring, I haven't gotten any during boot, but I 
 have had it occur during shutdown as well as when physically removing a 
 USB device with msdosfs on it (geom says something about the disk label 
 while da or umass or somesuch talks about the physical device going 
 away).  The only way to document it I think would be to boot to console 
 and take a picture with my camera after triggering it.  I'll do that 
 gladly if it's helpful.
 Please let me know if I can help in any way.  Thanks, Matt
 
 Remko Lodder wrote:
 > On Thu, March 20, 2008 2:52 pm, Matt D. Harris wrote:
 > 
 > Please show us an example of what you mean, I think I understand it, but
 > to record the proper information it would be good to have.
 > 
 > I think you are talking about overlapping printf's during start and
 > shutdown so that you see multiple logrecords overlapping in one logoutput
 > line.
 > 
 > If so, we already have tickets for that, and I recall people looking into
 > how this can be resolved, which isnt as easy as it seems at the moment.
 > 
 > Thanks,
 > remko
 > 
 
 -- 
 /*
   * mdh - Solitox Networks (Lead Project Engineer)
   * If it was up to me, eye for an eye I'd seek
   * But the high road we will take - Lady Justice is a stake
   */
State-Changed-From-To: feedback->open 
State-Changed-By: gavin 
State-Changed-When: Fri Jun 27 13:25:21 UTC 2008 
State-Changed-Why:  
Feedback was received 


Responsible-Changed-From-To: freebsd-geom->freebsd-kern 
Responsible-Changed-By: gavin 
Responsible-Changed-When: Fri Jun 27 13:25:21 UTC 2008 
Responsible-Changed-Why:  
Not a problem specific to geom 

http://www.freebsd.org/cgi/query-pr.cgi?pr=121907 
Responsible-Changed-From-To: freebsd-kern->freebsd-bugs 
Responsible-Changed-By: gavin 
Responsible-Changed-When: Fri Jun 27 14:25:16 UTC 2008 
Responsible-Changed-Why:  
Fix responsible 

http://www.freebsd.org/cgi/query-pr.cgi?pr=121907 
State-Changed-From-To: open->patched  
State-Changed-By: brucec 
State-Changed-When: Thu Dec 17 14:01:12 UTC 2009 
State-Changed-Why:  
This has been fixed in 8.0 by adding the PRINTF_BUFR_SIZE=128 option to GENERIC. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=121907 
State-Changed-From-To: patched->closed 
State-Changed-By: eadler 
State-Changed-When: Fri Mar 15 23:42:05 UTC 2013 
State-Changed-Why:  
MFCed/fixed by now or it will never be MFCed 

http://www.freebsd.org/cgi/query-pr.cgi?pr=121907 
>Unformatted:
