amd64/120202: [panic] kernel panic at start_all_aps,
AP not starts
FUCHIGAMI Masachika
masatic at mbs.sphere.ne.jp
Sat Feb 9 23:10:03 PST 2008
The following reply was made to PR amd64/120202; it has been noted by GNATS.
From: masatic at mbs.sphere.ne.jp (FUCHIGAMI Masachika)
To: bug-followup at FreeBSD.org
Cc:
Subject: Re: amd64/120202: [panic] kernel panic at start_all_aps, AP not starts
Date: Sun, 10 Feb 2008 16:04:04 +0900
I found following patch works well.
IMHO, AP does not accept SIPI because the core shutdowns or send SIPI to itself in BIOS bootup code.
So, i modify the code to send SIPI before AP closes its ears.
--
*** mp_machdep.c.orig Mon Oct 8 21:51:01 2007
--- mp_machdep.c Fri Feb 8 22:34:41 2008
***************
*** 788,796 ****
--- 788,798 ----
lapic_ipi_raw(APIC_DEST_ALLESELF | APIC_TRIGMOD_LEVEL |
APIC_LEVEL_DEASSERT | APIC_DESTMODE_PHY | APIC_DELMODE_INIT, 0);
/* wait for pending status end */
+ #if 0
DELAY(10000); /* wait ~10mS */
+ #endif
lapic_ipi_wait(-1);
/*
* next we do a STARTUP IPI: the previous INIT IPI might still be
More information about the freebsd-amd64
mailing list