Subject: MP related panic during startup
To: None <current-users@netbsd.org>
From: Martti Kuparinen <martti.kuparinen@iki.fi>
List: current-users
Date: 04/10/2005 08:44:50
When starting my desktop PC with P4 HT CPU I got this panic:
cpu1: CPU 1 running
kernel: protection fault trap, code=0
Stopped at pid 17.1 (aiodoned) at netbsd: mpidle+0xa7 ltr %dx
Backtrace (bt) showed only:
netbsd:mpidle+0xa7:
My kernel config is GENERIC plus these to activate ACPI and HT:
--- GENERIC 2005-04-04 09:03:16.000000000 +0300
+++ DELL 2005-04-04 09:06:58.000000000 +0300
@@ -115,3 +115,3 @@
#options KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600
-#makeoptions DEBUG="-g" # compile full symbol table
+makeoptions DEBUG="-g" # compile full symbol table
@@ -281,3 +281,3 @@
cpu* at mainbus?
-#ioapic* at mainbus?
+ioapic* at mainbus?
@@ -305,3 +305,3 @@
#options MPBIOS_SCANPCI # find PCI roots using MPBIOS
-#options MPACPI # configure CPUs and APICs using ACPI
+options MPACPI # configure CPUs and APICs using ACPI
# (acpi at mainbus must also be enabled)
@@ -309,3 +309,3 @@
-#acpi0 at mainbus0
+acpi0 at mainbus0
#options ACPI_PCI_FIXUP # PCI interrupt routing via ACPI
@@ -316,8 +316,8 @@
# ACPI devices
-#acpiacad* at acpi? # ACPI AC Adapter
+acpiacad* at acpi? # ACPI AC Adapter
#acpibat* at acpi? # ACPI Battery
-#acpibut* at acpi? # ACPI Button
-#acpiec* at acpi? # ACPI Embedded Controller
+acpibut* at acpi? # ACPI Button
+acpiec* at acpi? # ACPI Embedded Controller
#acpilid* at acpi? # ACPI Lid Switch
-#acpitz* at acpi? # ACPI Thermal Zone
+acpitz* at acpi? # ACPI Thermal Zone
@@ -1259 +1243,5 @@
pseudo-device ksyms # /dev/ksyms
+
+# P4 HT
+options MULTIPROCESSOR
+options COM_MPLOCK
Anyone else having problems when hyperthreading is enabled?
This doesn't happen all the time, roughly 1 of 20 boots fails...
Martti