From: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>
To: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>,
Thomas Gleixner <tglx@linutronix.de>,
Andrew Morton <akpm@linux-foundation.org>,
linux-kernel@vger.kernel.org, linux390@de.ibm.com,
linux-s390@vger.kernel.org, Andy Whitcroft <apw@shadowen.org>
Subject: Re: [BUG] 2.6.25-rc2-mm1 - kernel oops while bootup on s390x
Date: Mon, 18 Feb 2008 19:38:04 +0530 [thread overview]
Message-ID: <20080218140804.GA32151@linux.vnet.ibm.com> (raw)
In-Reply-To: <20080217090616.GA8030@osiris.ibm.com>
On Sun, Feb 17, 2008 at 10:06:16AM +0100, Heiko Carstens wrote:
> On Sun, Feb 17, 2008 at 09:10:46AM +0530, Kamalesh Babulal wrote:
> > To conform the patches causing the panic, I tested the 2.6.24.2 kernel with the futex-fix-init-order.patch and
> > futex-runtime-enable-pi-and-robust-functionality.patch applied and they seem to cause the kernel
> > panic.
> >
> > Unable to handle kernel pointer dereference at virtual kernel address 0000000000
> > 000000
> > Oops: 0004 #1¨ SMP
> > Modules linked in:
> > CPU: 0 Not tainted 2.6.25-rc2-mm1-autotest #1
> > Process swapper (pid: 1, task: 000000003f830000, ksp: 000000003f83ba48)
> > Krnl PSW : 0704a00180000000 000000000024b2be (futex_atomic_cmpxchg_std+0x12/0x28
> > )
> > R:0 T:1 IO:1 EX:1 Key:0 M:1 W:0 P:0 AS:2 CC:2 PM:0 EA:3
> > Krnl GPRS: 0000000000000074 00000000fffffff2 0000000000000000 0000000000000000
> > 0000000000000000 0000000000000001 0000000000000000 00000000004d0764
> > 0000000000000000 00000000004d8768 0000000000000000 000000003f83bdb0
> > 0000000000000040 0000000000343950 00000000000627e4 000000003f83bdb0
> > Krnl Code: 000000000024b2b2: b90400bf lgr %r11,%r15
> > 000000000024b2b6: a718fff2 lhi %r1,-14
> > 000000000024b2ba: b2790100 sacf 256
> > >000000000024b2be: ba342000 cs %r3,%r4,0(%r2)
> > 000000000024b2c2: 1813 lr %r1,%r3
> > 000000000024b2c4: b2790000 sacf 0
> > 000000000024b2c8: b9140021 lgfr %r2,%r1
> > 000000000024b2cc: e3b0b0700004 lg %r11,112(%r11)
> > Call Trace:
> > (<000000003f83bda8>¨ 0x3f83bda8)
> > <00000000004bdeec>¨ init+0x30/0x104
> > <00000000004b0c40>¨ kernel_init+0x1e0/0x370
> > <000000000001a5c6>¨ kernel_thread_starter+0x6/0xc
> > <000000000001a5c0>¨ kernel_thread_starter+0x0/0xc
> >
> > <4>--- end trace 561bb236c800851f ¨---
> > note: swapper1¨ exited with preempt_count 1
> > Kernel panic - not syncing: Attempted to kill init!
Hi Heiko,
Thanks for the patch, I have tested patch, it fixes the bootup panic.
Tested-by: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>
Index: linux-2.6/arch/s390/lib/uaccess_std.c
===================================================================
--- linux-2.6.orig/arch/s390/lib/uaccess_std.c
+++ linux-2.6/arch/s390/lib/uaccess_std.c
@@ -293,8 +293,8 @@ int futex_atomic_cmpxchg_std(int __user
asm volatile(
" sacf 256\n"
- " cs %1,%4,0(%5)\n"
- "0: lr %0,%1\n"
+ "0: cs %1,%4,0(%5)\n"
+ " lr %0,%1\n"
"1: sacf 0\n"
EX_TABLE(0b,1b)
: "=d" (ret), "+d" (oldval), "=m" (*uaddr)
--
--
Thanks & Regards,
Kamalesh Babulal,
Linux Technology Center,
IBM, ISTL.
prev parent reply other threads:[~2008-02-18 14:08 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20080216002522.9c4bd0fb.akpm@linux-foundation.org>
2008-02-16 16:15 ` [BUG] 2.6.25-rc2-mm1 - kernel oops while bootup on s390x Kamalesh Babulal
2008-02-16 19:45 ` Andrew Morton
2008-02-16 19:49 ` Thomas Gleixner
2008-02-16 19:50 ` Thomas Gleixner
2008-02-17 3:40 ` Kamalesh Babulal
2008-02-17 9:06 ` Heiko Carstens
2008-02-18 14:08 ` Kamalesh Babulal [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080218140804.GA32151@linux.vnet.ibm.com \
--to=kamalesh@linux.vnet.ibm.com \
--cc=akpm@linux-foundation.org \
--cc=apw@shadowen.org \
--cc=heiko.carstens@de.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-s390@vger.kernel.org \
--cc=linux390@de.ibm.com \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox