Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Feb 2008 07:10:02 GMT
From:      masatic@mbs.sphere.ne.jp (FUCHIGAMI Masachika)
To:        freebsd-amd64@FreeBSD.org
Subject:   Re: amd64/120202: [panic] kernel panic at start_all_aps, AP not starts
Message-ID:  <200802100710.m1A7A2tI074762@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR amd64/120202; it has been noted by GNATS.

From: masatic@mbs.sphere.ne.jp (FUCHIGAMI Masachika)
To: bug-followup@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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200802100710.m1A7A2tI074762>