From owner-freebsd-bugs@FreeBSD.ORG Fri Mar 10 11:40:04 2006 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 42B5116A420 for ; Fri, 10 Mar 2006 11:40:04 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 522B643D53 for ; Fri, 10 Mar 2006 11:40:03 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k2ABe33L007958 for ; Fri, 10 Mar 2006 11:40:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k2ABe3oD007957; Fri, 10 Mar 2006 11:40:03 GMT (envelope-from gnats) Resent-Date: Fri, 10 Mar 2006 11:40:03 GMT Resent-Message-Id: <200603101140.k2ABe3oD007957@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Adam McDougall Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 39B7F16A420 for ; Fri, 10 Mar 2006 11:38:40 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 087FD43D45 for ; Fri, 10 Mar 2006 11:38:40 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k2ABcdGD061272 for ; Fri, 10 Mar 2006 11:38:39 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k2ABcdG3061271; Fri, 10 Mar 2006 11:38:39 GMT (envelope-from nobody) Message-Id: <200603101138.k2ABcdG3061271@www.freebsd.org> Date: Fri, 10 Mar 2006 11:38:39 GMT From: Adam McDougall To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: kern/94299: missing printf locking for geom_mirror boot messages? X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Mar 2006 11:40:04 -0000 >Number: 94299 >Category: kern >Synopsis: missing printf locking for geom_mirror boot messages? >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Mar 10 11:40:02 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Adam McDougall >Release: 6.1-BETA3 >Organization: >Environment: FreeBSD hostname 6.1-BETA3 FreeBSD 6.1-BETA3 #0: Tue Mar 7 02:46:43 EST 2006 user@hostname:/usr/obj/usr/src/sys/v20z amd64 >Description: Recently I installed 6.1-BETA3 from cd ISO to two Sun Fire v20z systems with dual cpus. I used a custom kernel config, but did not update sources. I am using geom_mirror as a kernel module and loading it from loader.conf. I noticed a funny string in the nightly dmesg periodic diff script, then realized it was most likely two cpus printing different messages at the same time. Some kind of printf locking problem? CPU: AMD Opteron(tm) Processor 250 (2393.19-MHz K8-class CPU) Origin = "AuthenticAMD" Id = 0xf5a Stepping = 10 Features=0x78bfbff AMD Features=0xe0500800 FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 <...snip> GEOMR_oMoItR RmOoRu:n tD ewvaiictei nggm 0f:o rp:r oGvMiIdReRrO Rda 0 activated, Attempted translation by hand: GEOM_MIRROR: Device gm0: provider da0 activated Root mount waiting for: GMIRROR >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: