Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752773AbYCINlT (ORCPT ); Sun, 9 Mar 2008 09:41:19 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751571AbYCINlJ (ORCPT ); Sun, 9 Mar 2008 09:41:09 -0400 Received: from mu-out-0910.google.com ([209.85.134.189]:20488 "EHLO mu-out-0910.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751558AbYCINlI (ORCPT ); Sun, 9 Mar 2008 09:41:08 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:x-enigmail-version:content-type:content-transfer-encoding; b=VtYa1HSm1U6ClqaC5L0PbKfB82YqRopWP+0pNgul3OylSaokl9E74zuiRKLsil9b6qlnOyQBUyuPy81mlyCR3LDHKFRxicuG1DhEjJjH93GByXvnOyufKm+0v6cUhGW8SdV8ivcQaJQuqoc/SD6jptgvzIOdEk4d53FjeiDDytE= Message-ID: <47D3E8ED.6070404@gmail.com> Date: Sun, 09 Mar 2008 14:41:01 +0100 From: Jiri Slaby User-Agent: Thunderbird 2.0.0.12 (X11/20080213) MIME-Version: 1.0 To: Ingo Molnar CC: Alan Cox , Linux Kernel Mailing List , "Rafael J. Wysocki" , Linus Torvalds Subject: Re: [patch] drivers/char/esp.c: fix bootup lockup References: <20080307100806.GA4350@elte.hu> In-Reply-To: <20080307100806.GA4350@elte.hu> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1491 Lines: 36 On 03/07/2008 11:08 AM, Ingo Molnar wrote: > randconfig testing found a bootup lockup in drivers/char/esp.c - find > the fix below. Not sure why it became more prominent in 2.6.25-rc4, the > bug seems rather old and i've been doing allyesconfig bootups for ages > with CONFIG_ESP enabled. > > -------------> > Subject: drivers/char/esp.c: fix bootup lockup > From: Ingo Molnar > Date: Fri Mar 07 10:47:43 CET 2008 > > fix this bootup lockup: > > PM: Adding info for No Bus:ttyP63 > ttyP32 at 0x0240 (irq = 0) is an ESP primary port > BUG: spinlock lockup on CPU#0, swapper/1, f56dd004 > Pid: 1, comm: swapper Not tainted 2.6.25-rc4-sched-devel.git-x86-latest.git #402 [] _raw_spin_lock+0x134/0x140 > [] _spin_lock_irqsave+0x5e/0x80 > [] ? espserial_init+0x2be/0x6e0 > [] espserial_init+0x2be/0x6e0 > [] kernel_init+0x83/0x260 > [] ? espserial_init+0x0/0x6e0 > [] ? restore_nocheck_notrace+0x0/0xe > [] ? kernel_init+0x0/0x260 > [] ? kernel_init+0x0/0x260 > [] kernel_thread_helper+0x7/0x10 > ======================= > > kzalloc() is not the way to initialize spinlocks anymore. Good catch, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/