Date: Fri, 12 Oct 2007 16:22:59 +0300 From: Kostik Belousov <kostikbel@gmail.com> To: Sergey Matveychuk <sem@freebsd.org> Cc: FreeBSD Current <freebsd-current@freebsd.org>, JoaoBR <joao@matik.com.br> Subject: Re: what is this: SdMaP0? Message-ID: <20071012132259.GN2180@deviant.kiev.zoral.com.ua> In-Reply-To: <470F7082.3050200@FreeBSD.org> References: <200710120913.47380.joao@matik.com.br> <20071012122049.GA96557@eos.sc1.parodius.com> <20071012122948.GM2180@deviant.kiev.zoral.com.ua> <470F7082.3050200@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--kkj3vgNzAWGjboLC Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Oct 12, 2007 at 05:02:58PM +0400, Sergey Matveychuk wrote: > Kostik Belousov wrote: > >On Fri, Oct 12, 2007 at 05:20:49AM -0700, Jeremy Chadwick wrote: > >>On Fri, Oct 12, 2007 at 09:13:47AM -0300, JoaoBR wrote: > >>>somebody has a translation for this in my dmesg of amd64? > >>>SdMaP0:: AP1 6C0P.U0 0#0M1B /Lsa utnrcahnesdf!e > >>Here's the translation, and look closely: > >> > >>SMP: AP CPU #1 Launched! > >>da0: 160.000MB/s transfe > >> > >>And yes, I have seen this before on amd64. My guess is that it's two > >>things in the kernel trying to output to the console buffer at the exact > >>same time, and there's no mutex lock being done. > > > >I think that setting the option PRINTF_BUFR_SIZE 128 could help in this > >situation. >=20 > BTW, note my kern/116310. It fixes relate issue for log() function. But= =20 > I did not touch kernel's printf(). Our logs have no junk now. I answered you somewhere already, AFAIR. I think that the patch is wrong. You cannot use the default mutex in printf(), since it is called from the arbitrary thread contexts. Also, you could get the loss of the information on the panic. PRINTF_BUFR_SIZE seems to be better solution. --kkj3vgNzAWGjboLC Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHD3UzC3+MBN1Mb4gRAk/IAKDKKJdSNSVWrerGmUT806zeOpFQ0ACgnlt9 cNm9/pFHFGkQ3aIzaQa/gDg= =xWyM -----END PGP SIGNATURE----- --kkj3vgNzAWGjboLC--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071012132259.GN2180>