kern/94299: missing printf locking for geom_mirror boot messages?

Adam McDougall mcdouga9 at egr.msu.edu
Fri Mar 10 11:40:04 GMT 2006


>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 at 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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,
MMX,FXSR,SSE,SSE2>
  AMD Features=0xe0500800<SYSCALL,NX,MMX+,LM,3DNow+,3DNow>
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:


More information about the freebsd-bugs mailing list