From owner-freebsd-current@FreeBSD.ORG Fri Oct 12 13:23:06 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DE1E316A41A for ; Fri, 12 Oct 2007 13:23:05 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from gnome.kiev.sovam.com (gnome.kiev.sovam.com [212.109.32.24]) by mx1.freebsd.org (Postfix) with ESMTP id 7A3F813C4A3 for ; Fri, 12 Oct 2007 13:23:05 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from relay02.kiev.sovam.com ([62.64.120.197]) by gnome.kiev.sovam.com with esmtp (Exim 4.67 (FreeBSD)) (envelope-from ) id 1IgKTo-000FGs-O4; Fri, 12 Oct 2007 16:23:04 +0300 Received: from [212.82.216.226] (helo=deviant.kiev.zoral.com.ua) by relay02.kiev.sovam.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1IgKTn-0003j1-3N; Fri, 12 Oct 2007 16:23:04 +0300 Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.1/8.14.1) with ESMTP id l9CDN0pW006969; Fri, 12 Oct 2007 16:23:00 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.1/8.14.1/Submit) id l9CDMxOe006965; Fri, 12 Oct 2007 16:22:59 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Fri, 12 Oct 2007 16:22:59 +0300 From: Kostik Belousov To: Sergey Matveychuk Message-ID: <20071012132259.GN2180@deviant.kiev.zoral.com.ua> References: <200710120913.47380.joao@matik.com.br> <20071012122049.GA96557@eos.sc1.parodius.com> <20071012122948.GM2180@deviant.kiev.zoral.com.ua> <470F7082.3050200@FreeBSD.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="kkj3vgNzAWGjboLC" Content-Disposition: inline In-Reply-To: <470F7082.3050200@FreeBSD.org> User-Agent: Mutt/1.4.2.3i X-Scanner-Signature: 4fe2b897d4d72954524b6b73d18f8617 X-DrWeb-checked: yes X-SpamTest-Envelope-From: kostikbel@gmail.com X-SpamTest-Group-ID: 00000000 X-SpamTest-Info: Profiles 1588 [Oct 12 2007] 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 Current , JoaoBR Subject: Re: what is this: SdMaP0? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Oct 2007 13:23:06 -0000 --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--