Re: [2.6.27-git-a447c093244] BUG: spinlock bad magic on CPU#0, setserial/3527

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Ingo Molnar
Date: Monday, October 13, 2008 - 11:55 pm

* Alan Cox <alan@lxorguk.ukuu.org.uk> wrote:


i too have triggered it:

[   31.099528] BUG: spinlock bad magic on CPU#1, agetty/2608
[   31.101013]  lock: ffffffff8182b020, .magic: 00000000, .owner: agetty/2608, .owner_cpu: 1
[   31.101013] Pid: 2608, comm: agetty Not tainted 2.6.27-tip-03409-g064a754-dirty #42476
[   31.101013] Call Trace:
[   31.101013]  [<ffffffff8041ee15>] spin_bug+0xa2/0xaa
[   31.101013]  [<ffffffff8041ee3e>] _raw_spin_unlock+0x21/0x8a
[   31.101013]  [<ffffffff8089aac5>] _spin_unlock_irq+0x2b/0x36
[   31.101013]  [<ffffffff804a9a7b>] serial8250_startup+0x3f2/0x5a3
[   31.101013]  [<ffffffff804a5b00>] uart_startup+0xa0/0x14b
[   31.101013]  [<ffffffff804a6a5a>] uart_open+0x1a8/0x3f7
[   31.101013]  [<ffffffff8089aafb>] ? _spin_unlock+0x2b/0x2f
[   31.101013]  [<ffffffff8047ec6a>] tty_open+0x2db/0x41c
[   31.101013]  [<ffffffff802ac383>] chrdev_open+0x130/0x151
[   31.101013]  [<ffffffff8089aafb>] ? _spin_unlock+0x2b/0x2f
[   31.101013]  [<ffffffff802ac253>] ? chrdev_open+0x0/0x151
[   31.101013]  [<ffffffff802a7e38>] __dentry_open+0x178/0x274
[   31.101013]  [<ffffffff802a7f67>] nameidata_to_filp+0x33/0x44
[   31.101013]  [<ffffffff802b43df>] do_filp_open+0x3be/0x753
[   31.101013]  [<ffffffff802beb11>] ? alloc_fd+0x101/0x110
[   31.101013]  [<ffffffff8027d9c9>] ? trace_hardirqs_off+0x1e/0x20
[   31.101013]  [<ffffffff8089aafb>] ? _spin_unlock+0x2b/0x2f
[   31.101013]  [<ffffffff802beb11>] ? alloc_fd+0x101/0x110
[   31.101013]  [<ffffffff802a7bce>] do_sys_open+0x58/0xdf
[   31.101013]  [<ffffffff802a7c88>] sys_open+0x20/0x22
[   31.101013]  [<ffffffff8020c1cb>] system_call_fastpath+0x16/0x1b
[   31.405014] eth1: no IPv6 routers present
[   32.947611] ACPI: PCI Interrupt Link [APC3] enabled at IRQ 18

can test any patch for you if it's not easy to reproduce there.

	Ingo
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[2.6.27-git-a447c093244] BUG: spinlock bad magic on CPU#0, ..., Rafael J. Wysocki, (Mon Oct 13, 3:05 pm)
Re: [2.6.27-git-a447c093244] BUG: spinlock bad magic on CP ..., Ingo Molnar, (Mon Oct 13, 11:55 pm)
[PATCH] serial: fix serial port lock init, Ingo Molnar, (Tue Oct 14, 3:22 am)
Re: [PATCH] serial: fix serial port lock init, Kamalesh Babulal, (Tue Oct 14, 4:40 am)