I have several boxes that I have upgraded from 5.3 to 5.4 and has stopped
using the HTT virtal CPU's. This have been going on for a while. the
oldest is dated 20050519 and the latest is yesterday.
Is there something that I have missed? Been using same configs for 5.3
without any problems.
/Bjorn
Little outputs from yesterdays build:
# ps aux | grep idle
root 12 99.0 0.0 0 8 ?? RL 3:12PM 12:28.60 [idle: cpu0]
root 11 0.0 0.0 0 8 ?? RL 3:12PM 0:00.00 [idle: cpu1]
# ps aux | grep acpi
root 7 0.0 0.0 0 8 ?? IL 3:12PM 0:00.00 [acpi_task0]
root 8 0.0 0.0 0 8 ?? IL 3:12PM 0:00.00 [acpi_task1]
root 9 0.0 0.0 0 8 ?? IL 3:12PM 0:00.00 [acpi_task2]
root 20 0.0 0.0 0 8 ?? WL 3:12PM 0:00.00 [irq9:
acpi0]
root 84 0.0 0.0 0 8 ?? WL 3:12PM 0:00.00 [swi6:
acpitaskq]
root 87 0.0 0.0 0 8 ?? DL 3:12PM 0:00.02
[acpi_thermal]
acpi is loaded
# kldstat
Id Refs Address Size Name
1 4 0xc0400000 3266f0 kernel
2 14 0xc0727000 56270 acpi.ko
3 1 0xc23e9000 24000 usb.ko
SMP and apic is in the kernelconfig.
# To make an SMP kernel, the next line is needed
options SMP # Symmetric MultiProcessor Kernel
device apic # I/O APIC
# sysctl -a | grep cpu
kern.threads.virtual_cpu: 2
kern.sched.ipiwakeup.onecpu: 0
kern.ccpu: 1948
kern.smp.maxcpus: 16
kern.smp.cpus: 2
debug.kdb.stop_cpus: 1
debug.PMAP1changedcpu: 0
hw.ncpu: 2
hw.acpi.cpu.cx_supported: C1/0
hw.acpi.cpu.cx_lowest: C1
hw.acpi.cpu.cx_usage: 100.00%
machdep.cpu_idle_hlt: 1
machdep.hlt_cpus: 2
machdep.hlt_logical_cpus: 0
machdep.logical_cpus_mask: 2
dev.cpu.0.%desc: ACPI CPU
dev.cpu.0.%driver: cpu
dev.cpu.0.%location: handle=\_PR_.CPU0
dev.cpu.0.%pnpinfo: _HID=none _UID=0
dev.cpu.0.%parent: acpi0
dev.cpu.1.%desc: ACPI CPU
dev.cpu.1.%driver: cpu
dev.cpu.1.%location: handle=\_PR_.CPU1
dev.cpu.1.%pnpinfo: _HID=none _UID=0
dev.cpu.1.%parent: acpi0
Copyright (c) 1992-2005 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 5.4-STABLE #1: Fri Jun 10 15:03:54 CEST 2005
kama@s5.gs.pvp.se:/usr/obj/usr/src/sys/games
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(TM) CPU 3.06GHz (3047.90-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0xf29 Stepping = 9
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,SS
E2,SS,HTT,TM,PBE>
Hyperthreading: 2 logical CPUs
real memory = 1073717248 (1023 MB)
avail memory = 1045368832 (996 MB)
ACPI APIC Table: <COMPAQ 00000083>
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
cpu0 (BSP): APIC ID: 6
cpu1 (AP): APIC ID: 7
MADT: Forcing active-low polarity and level trigger for SCI
ioapic0 <Version 1.1> irqs 0-15 on motherboard
ioapic1 <Version 1.1> irqs 16-31 on motherboard
ioapic2 <Version 1.1> irqs 32-47 on motherboard
ioapic3 <Version 1.1> irqs 48-63 on motherboard
npx0: <math processor> on motherboard
...
...
...
da0 at ciss0 bus 0 target 0 lun 0
da0: <COMPAQ RAID 1 VOLUME OK> Fixed Direct Access SCSI-0 device
da0: 135.168MB/s transfers
da0: 17359MB (35553120 512 byte sectors: 255H 32S/T 4357C)
SMP: AP CPU #1 Launched!
Mounting root from ufs:/dev/da0s1a