lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Sun, 09 Mar 2008 14:41:01 +0100
From:	Jiri Slaby <jirislaby@...il.com>
To:	Ingo Molnar <mingo@...e.hu>
CC:	Alan Cox <alan@...rguk.ukuu.org.uk>,
	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
	"Rafael J. Wysocki" <rjw@...k.pl>,
	Linus Torvalds <torvalds@...ux-foundation.org>
Subject: Re: [patch] drivers/char/esp.c: fix bootup lockup

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 <mingo@...e.hu>
> 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 [<c03ac6f4>] _raw_spin_lock+0x134/0x140
>   [<c08649be>] _spin_lock_irqsave+0x5e/0x80
>   [<c0b9fbfe>] ? espserial_init+0x2be/0x6e0
>   [<c0b9fbfe>] espserial_init+0x2be/0x6e0
>   [<c0b877a3>] kernel_init+0x83/0x260
>   [<c0b9f940>] ? espserial_init+0x0/0x6e0
>   [<c010416a>] ? restore_nocheck_notrace+0x0/0xe
>   [<c0b87720>] ? kernel_init+0x0/0x260
>   [<c0b87720>] ? kernel_init+0x0/0x260
>   [<c0104507>] 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@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ