git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: 2.6.12 hangs on boot

From
AFAlexander Y. Fomichev <gluk@php4.ru>
Date
Jul 19, 2005, 11:53 UTC
Message-ID
<200507191553.12741.gluk@php4.ru>
In-Reply-To
<20050718125857.GF8459@wotan.suse.de>
On Monday 18 July 2005 16:58, Andi Kleen wrote:
Show 25 quoted lines
> Can you please test if this patch fixes it?
>
> -Andi
>
>
> Don't compare linux processor index with APICID
>
> Fixes boot up lockups on some machines where CPU apic ids
> don't start with 0
>
> Signed-off-by: Andi Kleen <ak@suse.de>
>
> Index: linux/arch/x86_64/kernel/smpboot.c
> ===================================================================
> --- linux.orig/arch/x86_64/kernel/smpboot.c
> +++ linux/arch/x86_64/kernel/smpboot.c
> @@ -211,7 +211,7 @@ static __cpuinit void sync_master(void *
>  {
>  	unsigned long flags, i;
>
> -	if (smp_processor_id() != boot_cpu_id)
> +	if (smp_processor_id() != 0)
>  		return;
>
>  	go[MASTER] = 0;
No, sorry, the same result -- hangs just after:

Booting processor 2/1 rip 6000 rsp ffff8100dff7df58 Initializing CPU#2

(hmm... as i can see one string above [and if i understand correctly] boot_cpu_id == 0 in my case: CPU 1: Syncing TSC to CPU 0 )

-- 
Best regards.
        Alexander Y. Fomichev <gluk@php4.ru>
        Public PGP key: http://sysadminday.org.ru/gluk.asc
Previous: Andi Kleen
Message 5 of 5 in “Re: 2.6.12 hangs on boot”
  1. Linus TorvaldsJun 24, 2005
  2. Alexander Y. FomichevJul 7, 2005
  3. Alexander Y. FomichevJul 18, 2005
  4. Andi KleenJul 18, 2005
  5. Alexander Y. FomichevJul 19, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.