Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Jan 2010 09:37:31 -0800
From:      Jeremy Chadwick <freebsd@jdc.parodius.com>
To:        freebsd-stable@freebsd.org
Subject:   Re: Oddities in dmesg
Message-ID:  <20100113173731.GA33254@icarus.home.lan>
In-Reply-To: <4B4DF85F.8070303@acm.poly.edu>
References:  <D48B6009-4EEA-40D0-933E-92B8AC5C4855@fullrate.dk> <4B4DF85F.8070303@acm.poly.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jan 13, 2010 at 11:44:15AM -0500, Boris Kochergin wrote:
> Christoffer Persson wrote:
> >I've recently rebooted one of our servers running FreeBSD 7.2-RELEASE-p4. I found this oddity in the boot message:
> >
> >GEOM_LABEL: Label for provider da0s1a is ufsid/48b6d1673e4caa72.
> >GEOM_LABEL: Label ufsid/48b6d1673e4caa72 removed.
> >
> >GEOM_WLAARBNEILN:G : L/atbmepl  wuafss indo/t4 8pbr6odp1e6r7lay3 addi0s1m3odu nrteemdov
> >ed.
> >
> >GEOM_LABEL: Label ufsid/48b6d167a8e1f985 removed.
> >WARNING: /usr was not properly dismounted
> >
> >
> >Just repeated once, looks like it's a garble between two lines in the boot message. Has anyone seen this happening before
> >or any idea what made it happen?
> >
> >/Christoffer Persson
>
> Yeah, this is due to lack of synchronization between multiple pieces
> of code wanting to print something in parallel. I don't know if
> anything can be done about it in 7.x, but the "PRINTF_BUFR_SIZE=128"
> option in the GENERIC kernel for 8.x takes care of it.

This isn't quite true -- use of the option (increasing the buffer size)
appears to decrease the chance and/or severity of the interspersed
output, but it still happens.  This applies to both 7.x and 8.x.

I'll note that I've seen Solaris 10 and (occasionally) Linux do this as
well.

-- 
| Jeremy Chadwick                                   jdc@parodius.com |
| Parodius Networking                       http://www.parodius.com/ |
| UNIX Systems Administrator                  Mountain View, CA, USA |
| Making life hard for others since 1977.              PGP: 4BD6C0CB |




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100113173731.GA33254>