From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261365AbVGRM7P (ORCPT ); Mon, 18 Jul 2005 08:59:15 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261429AbVGRM7F (ORCPT ); Mon, 18 Jul 2005 08:59:05 -0400 Received: from mail.suse.de ([195.135.220.2]:51865 "EHLO mx1.suse.de") by vger.kernel.org with ESMTP id S261365AbVGRM7D (ORCPT ); Mon, 18 Jul 2005 08:59:03 -0400 Date: Mon, 18 Jul 2005 14:58:58 +0200 From: Andi Kleen To: "Alexander Y. Fomichev" Cc: Linus Torvalds , Kernel Mailing List , admin@list.net.ru, Git Mailing List , ak@suse.de Subject: Re: 2.6.12 hangs on boot Message-ID: <20050718125857.GF8459@wotan.suse.de> References: <200506221813.50385.gluk@php4.ru> <200507181527.16652.gluk@php4.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200507181527.16652.gluk@php4.ru> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org 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 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;