All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nishanth Aravamudan <nacc@us.ibm.com>
To: gerald.schaefer@de.ibm.com
Cc: schwidefsky@de.ibm.com, LKML <linux-kernel@vger.kernel.org>,
	agl@us.ibm.com
Subject: Re: s390 hugetlb oops with libhugetlbfs test-suite
Date: Fri, 25 Jul 2008 20:41:27 -0700	[thread overview]
Message-ID: <20080726034127.GA8338@us.ibm.com> (raw)
In-Reply-To: <20080726033254.GA3810@us.ibm.com>

On 25.07.2008 [20:32:54 -0700], Nishanth Aravamudan wrote:
> On 25.07.2008 [14:10:35 -0700], Nishanth Aravamudan wrote:
> > Hi Gerald,
> > 
> > Having noticed that the hugetlbfs code recently got an update to work
> > on s390, I decided to port the libhugetlbfs test-suite to work on
> > s390. The current development snapshot is available at
> > http://libhugetlbfs.ozlabs.org/snapshots/libhugetlbfs-dev-20080724.tar.gz.
> > You will need a patch [1] to build on s390, but it should roughly work
> > otherwise.  The specific testcase that causes the oops is counters.
> > The bit set in the flags is PG_Reserved, I think.
> 
> After enabling some debugging options, I got a slightly more precise
> stack trace. The last one I posted was for the 32-bit counters test and
> this one is for the 64-bit one, but appears to be the same problem
> (PG_reserved still being set).
> 
> Bad page state in process 'counters'
> page:000003e040000000 flags:0x0000000000000400 mapping:0000000000000000 mapcount:0 count:0
> Trying to fix it up, but a reboot is needed
> Backtrace:
> CPU: 1 Tainted: G        W 2.6.26-autokern1 #1

Odd, this is the same kernel as last time, which wasn't tainted. The reason for
the taint is the following:

------------[ cut here ]------------
Badness at drivers/s390/cio/qdio_main.c:1361
Modules linked in: zfcp(+) scsi_transport_fc scsi_mod vmur qeth qdio ccwgroup dm_mod dasd_fba_mod dasd_eckd_mod dasd_mod ext3 jbd
CPU: 2 Not tainted 2.6.26-autokern1 #1
Process modprobe (pid: 1812, task: 000000003855e300, ksp: 00000000375ffb10)
Krnl PSW : 0704100180000000 000003e0000f8cce (qdio_allocate+0x25a/0x354 [qdio])
           R:0 T:1 IO:1 EX:1 Key:0 M:1 W:0 P:0 AS:0 CC:1 PM:0 EA:3
Krnl GPRS: 00000000381c1048 00000000381c1048 00000000381c1048 0000000000000000
           0000000036efb000 0000000000000000 000003e00069662a 0000000000000001
           00000000370c2140 00000000370c2c60 0000000036efb000 00000000375ff920
           000003e0000f5000 000003e0000fbf68 000003e0000f8ca8 00000000375ff920
Krnl Code: 000003e0000f8cc2: a7110fff		tmll	%r1,4095
           000003e0000f8cc6: a7840004		brc	8,3e0000f8cce
           000003e0000f8cca: a7f40001		brc	15,3e0000f8ccc
          >000003e0000f8cce: e3a0c0200004	lg	%r10,32(%r12)
           000003e0000f8cd4: e320a0000004	lg	%r2,0(%r10)
           000003e0000f8cda: b9020022		ltgr	%r2,%r2
           000003e0000f8cde: a784003f		brc	8,3e0000f8d5c
           000003e0000f8ce2: bf1f2018		icm	%r1,15,24(%r2)
Call Trace:
([<000003e0000f8ca8>] qdio_allocate+0x234/0x354 [qdio])
 [<000003e00068b5a2>] zfcp_qdio_allocate+0x106/0x120 [zfcp]
 [<000003e000686dbe>] zfcp_adapter_enqueue+0x62/0x4a4 [zfcp]
 [<000003e0006872b4>] zfcp_ccw_probe+0x40/0x8c [zfcp]
 [<00000000001af398>] ccw_device_probe+0x4c/0x70
 [<0000000000190eba>] driver_probe_device+0x102/0x1ac
 [<0000000000190fc8>] __driver_attach+0x64/0x98
 [<000000000019032a>] bus_for_each_dev+0x62/0xa0
 [<0000000000190c7a>] driver_attach+0x32/0x44
 [<000000000019091c>] bus_add_driver+0xdc/0x26c
 [<00000000001913aa>] driver_register+0xba/0x16c
 [<00000000001b0c2a>] ccw_driver_register+0x42/0x54
 [<000003e00000f4bc>] zfcp_ccw_register+0x24/0x38 [zfcp]
 [<000003e00000f140>] zfcp_module_init+0x140/0x498 [zfcp]
 [<0000000000067a24>] sys_init_module+0x1b40/0x1cb8
 [<000000000002498a>] sysc_noemu+0x10/0x16
 [<0000020000125eb2>] 0x20000125eb2
Last Breaking-Event-Address:
 [<0000000000000000>] 0x0

-- 
Nishanth Aravamudan <nacc@us.ibm.com>
IBM Linux Technology Center

  reply	other threads:[~2008-07-26  3:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-25 21:10 s390 hugetlb oops with libhugetlbfs test-suite Nishanth Aravamudan
2008-07-26  3:32 ` Nishanth Aravamudan
2008-07-26  3:41   ` Nishanth Aravamudan [this message]
2008-07-29 17:22     ` Gerald Schaefer
2008-07-29 21:46       ` Nishanth Aravamudan
2008-08-05 15:49         ` Gerald Schaefer
2008-08-05 16:14           ` Nishanth Aravamudan

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=20080726034127.GA8338@us.ibm.com \
    --to=nacc@us.ibm.com \
    --cc=agl@us.ibm.com \
    --cc=gerald.schaefer@de.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=schwidefsky@de.ibm.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.