svn commit: r185363 - in head: lib/libpmc sys/amd64/include sys/conf sys/dev/hwpmc sys/i386/include sys/modules/hwpmc sys/sys

Pegasus Mc Cleaft ken at mthelicon.com
Thu Nov 27 15:56:44 PST 2008


On Thursday 27 November 2008 09:00:47 Joseph Koshy wrote:
> Author: jkoshy
> Date: Thu Nov 27 09:00:47 2008
> New Revision: 185363
> URL: http://svn.freebsd.org/changeset/base/185363
>
> Log:
>   - Add support for PMCs in Intel CPUs of Family 6, model 0xE (Core Solo
>     and Core Duo), models 0xF (Core2), model 0x17 (Core2Extreme) and
>     model 0x1C (Atom).
>

Joseph, 
	I have tried this on my machine at home and it threw a kernel panic on boot. 
I cut the section of the dmesg out, if this helps..  If there is anything I 
can do to help you debug, please let me know.  As a point of note, I have 
removed the hwpmc from the config file and recompiled and the new kernel seems 
to work ok.. 

Peg 

-------------- next part --------------

Copyright (c) 1992-2008 The FreeBSD Project.                                                                                        
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994                                                            
        The Regents of the University of California. All rights reserved.                                                           
FreeBSD is a registered trademark of The FreeBSD Foundation.                                                                        
FreeBSD 8.0-CURRENT #5: Thu Nov 27 18:58:57 UTC 2008                                                                                
    ken at feathers.peganest.com:/usr/obj/usr/src/sys/FEATHERS                                                                         
Timecounter "i8254" frequency 1193182 Hz quality 0                                                                                  
CPU: Intel(R) Core(TM)2 Quad  CPU   Q9450  @ 2.66GHz (3006.01-MHz K8-class CPU)                                                     
  Origin = "GenuineIntel"  Id = 0x10677  Stepping = 7                                                                               
  Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>                                                                                                                         
  Features2=0x8e3fd<SSE3,DTES64,MON,DS_CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1>                                             
  AMD Features=0x20100800<SYSCALL,NX,LM>                                                                                            
  AMD Features2=0x1<LAHF>                                                                                                           
  Cores per package: 4                                                                                                              
usable memory = 8573272064 (8176 MB)                                                                                                
avail memory  = 8285847552 (7902 MB)                                                                                                
ACPI APIC Table: <GBT    GBTUACPI>                                                                                                  
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs                                                                                 
 cpu0 (BSP): APIC ID:  0                                                                                                            
 cpu1 (AP): APIC ID:  1                                                                                                             
 cpu2 (AP): APIC ID:  2                                                                                                             
 cpu3 (AP): APIC ID:  3                                                                                                             
ioapic0: Changing APIC ID to 2                                                                                                      
ioapic0 <Version 2.0> irqs 0-23 on motherboard                             


...


ar0: 476928MB <JMicron Technology Corp RAID1> status: READY                                                                         
ar0: disk0 READY (master) using ad8 at ata4-master                                                                                  
ar0: disk1 READY (mirror) using ad10 at ata5-master                                                                                 
SMP: AP CPU #3 Launched!                                                                                                            
SMP: AP CPU #1 Launched!                                                                                                            
SMP: AP CPU #2 Launched!                                                                                                            


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00                       
fault virtual address   = 0x0                 
fault code              = supervisor read instruction, page not present
instruction pointer     = 0x8:0x0                                      
stack pointer           = 0x10:0xffffffff80f2bc50                      
frame pointer           = 0x10:0xffffffff80f2bcb0                      
code segment            = base 0x0, limit 0xfffff, type 0x1b           
                        = DPL 0, pres 1, long 1, def32 0, gran 1       
processor eflags        = interrupt enabled, resume, IOPL = 0          
current process         = 0 (swapper)                                  
trap number             = 12                                           
panic: page fault                                                      
cpuid = 0                                                              
Uptime: 9s                                                             
Cannot dump. Device not defined or unavailable.                        
Automatic reboot in 15 seconds - press a key on the console to abort   
Rebooting...                                                           
cpu_reset: Stopping other CPUs                                         
 


More information about the svn-src-all mailing list