From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762704AbYFESwx (ORCPT ); Thu, 5 Jun 2008 14:52:53 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753489AbYFESwp (ORCPT ); Thu, 5 Jun 2008 14:52:45 -0400 Received: from fg-out-1718.google.com ([72.14.220.157]:54344 "EHLO fg-out-1718.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753701AbYFESwo (ORCPT ); Thu, 5 Jun 2008 14:52:44 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=hxlylO9J0zDt3v5N0KUzGCP+hMC7FMsmA9CqkZSPN3JmloYTlxhVz52gI1YkkrqiPg XaicPZP6Pz28NwtdesMZswiMyiCGhEAjWqBHCmRJucPGrSSCLkihXwgj92fPoE5AozlH vH8L9RYHRI51MdMOmY8kLNyjOPAxUmj9Hi/aQ= Date: Thu, 5 Jun 2008 22:52:29 +0400 From: Cyrill Gorcunov To: "Maciej W. Rozycki" Cc: Ingo Molnar , Thomas Gleixner , "H. Peter Anvin" , linux-kernel@vger.kernel.org, the arch/x86 maintainers Subject: Re: [PATCH 8/8] x86: I/O APIC: Timer through 8259A second-chance Message-ID: <20080605185229.GB7030@cvg> References: <20080531101832.GA15170@elte.hu> <20080605091949.GA2307@elte.hu> <20080605150327.GA22128@elte.hu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.16 (2007-06-09) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [Maciej W. Rozycki - Thu, Jun 05, 2008 at 07:33:04PM +0100] | On Thu, 5 Jun 2008, Ingo Molnar wrote: | | > NOTE: you need to copy out and use the boot parameters from the boot | > log: | > | > [ 0.000000] Command line: root=/dev/sda6 console=ttyS0,115200 | > earlyprintk=se rial,ttyS0,115200 debug initcall_debug apic=verbose | > sysrq_always_enabled ignore _loglevel selinux=0 nmi_watchdog=1 | > profile=0 maxcpus=1 nosmp no_hz=off highres =0 noapic nolapic_timer | > hpet=disable idle=mwait | > | > as -tip testing occasionally randomizes boot parameters too. (to find | > regressions like this) Let me know if you cannot reproduce this. | | Thanks. I figured out I cannot build an x86-64 kernel, because my i386 | compiler does not support the target. Probably because of target library | dependencies at the time I built my compiler. I would have to build a | bare-iron cross-compiler for the x86-64 which I'd rather not to just to | fix this small problem -- it usually takes a few days to sort out all the | pesky details when doing such a build from scratch, so it better be well | justified. | | However, the reason is quite clear to me -- the command line specifies | "noapic" among others (there is also "nosmp", but probably overridden by | "maxcpus=1" -- I am afraid there is no clear precedence among these | options), so the bug is the I/O APIC NMI watchdog is tried at all. This | is also clearly seen from the log where the I/O APIC is not set up at all. | | A fix along the lines of what I implemented for "nosmp" in the | "nosmp-watchdog" patch is needed which I will post shortly. It's needed | both for the i386 and the x86-64 target; hopefully the latter does not | differ too much from the former. | | Maciej | Since I've got the same hang by using qemu - i think i could test ;) - Cyrill -