Greetings SGI Origin wizards,
I'm doing some SMP testing on an SGI Origin 200 (ip27).
I started with a 2.6.15 vintage kernel and added changes from here:
ftp://ftp.linux-mips.org/pub/linux/mips/people/ralf/ip27/
It boots both processors and runs OK.
Then I turn on CONFIG_DEBUG_SPINLOCK and CONFIG_DEBUG_SPINLOCK_SLEEP,
and get lots of lockup messages. A typical one is below.
Anyone seen this? Some of the low-level lock code has R10000_LLSC_WAR
versions, but I don't see anything wrong there.
Sep 26 16:08:15 localhost BUG: spinlock lockup on CPU#0, sshd/1876, a8000000003c7868
Sep 26 16:08:15 localhost loops-per-jiffy 110592 hz 1000
Sep 26 16:08:15 localhost owner ffffffffffffffff cpu -1 locked 0
Sep 26 16:08:15 localhost Call Trace:
Sep 26 16:08:15 localhost [<a8000000001e5da0>] _raw_spin_lock+0x220/0x2c8
Sep 26 16:08:15 localhost [<a80000000032c63c>] _spin_lock_irqsave+0x24/0x38
Sep 26 16:08:15 localhost [<a8000000001f4d60>] tty_ldisc_try+0x38/0x80
Sep 26 16:08:15 localhost [<a8000000001f634c>] tty_ldisc_ref_wait+0x1c/0x100
Sep 26 16:08:15 localhost [<a80000000032c63c>] _spin_lock_irqsave+0x24/0x38
Sep 26 16:08:15 localhost [<a8000000001f64b8>] tty_poll+0x88/0xd8
Sep 26 16:08:15 localhost [<a8000000000df9d0>] do_select+0x298/0x4c0
Sep 26 16:08:15 localhost [<a8000000000dfbf8>] __pollwait+0x0/0x118
Sep 26 16:08:15 localhost [<a8000000000de9d8>] vfs_ioctl+0x80/0x400
Sep 26 16:08:15 localhost [<a800000000100e48>] compat_sys_select+0x318/0x710
Sep 26 16:08:15 localhost [<a8000000000396b4>] handle_sysn32+0x54/0xa4
Sep 26 16:08:15 localhost