mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Nick Piggin <nickpiggin@yahoo.com.au>
To: Meelis Roos <mroos@linux.ee>
Cc: Linux Kernel list <linux-kernel@vger.kernel.org>,
	linux-scsi@vger.kernel.org
Subject: Re: panic while doing lots of IO on lpfc
Date: Fri, 10 Oct 2008 12:33:18 +1100	[thread overview]
Message-ID: <200810101233.18726.nickpiggin@yahoo.com.au> (raw)
In-Reply-To: <Pine.SOC.4.64.0810091714230.5106@math.ut.ee>

On Friday 10 October 2008 01:24, Meelis Roos wrote:
> I'm using 2.6.27-rc9 on an amd64 machine and tested a FC storage device
> here. ext3 on FC SCSI disk, served by Sun T3, Emulex LP8000 HBA.
>
> The specific test was
> cat somelargefile somelargefile | dd bs=1M of=/file/on/FC/volume
>
> (the dd there was a relict from a simpler test).
>
> The cat + dd results in bad page state + hang, with either Aiee or
> without. This is repeatable here. If there is any way of helping to
> debug it, I can do it - the system is not in production.
>
> Bad page state in process 'dd'
> page:ffffe200005130c0 flags:0x4000000000000009 mapping:0000000000000000
> mapcount:0 count:0
> Trying to fix it up, but a reboot is needed

Tried to lock a free page. Is the address of the page always the same,
and the first bit in flags always set after each reboot? Does the
machine pass a memtest?

It could be that someone actually tried to lock the page, though...
You could try putting a BUG_ON(!page_count(page)) at the start of
the trylock_page function.

Some more messages might provide more clues.

Thanks,
Nick

> Backtrace:
> Pid: 6395, comm: dd Not tainted 2.6.27-rc9 #1
> Call Trace:
>  [<ffffffff8027c6c6>] bad_page+0x66/0xa0
>  [<ffffffff8027df8d>] get_page_from_freelist+0x57d/0x5b0
>  [<ffffffff8027e397>] __alloc_pages_internal+0xe7/0x4b0
>  [<ffffffff8027771d>] find_get_page+0x9d/0xc0
>  [<ffffffff80277dbf>] __grab_cache_page+0x6f/0xc0
>  [<ffffffff8030ad8e>] ext3_write_begin+0xae/0x1e0
>  [<ffffffff80278c7b>] generic_file_buffered_write+0x1cb/0x780
>  [<ffffffff8031580d>] __ext3_journal_stop+0x2d/0x60
>  [<ffffffff802796f8>] __generic_file_aio_write_nolock+0x278/0x470
>  [<ffffffff802c1a9e>] mnt_want_write+0x6e/0xe0
>  [<ffffffff802c1b99>] mnt_drop_write+0x89/0x1a0
>  [<ffffffff8027a1c4>] generic_file_aio_write+0x64/0xe0
>  [<ffffffff80307783>] ext3_file_write+0x23/0xd0
>  [<ffffffff802a4e9b>] do_sync_write+0xdb/0x120
>  [<ffffffff802268d4>] do_page_fault+0x344/0x9e0
>  [<ffffffff80250ba0>] autoremove_wake_function+0x0/0x30
>  [<ffffffff802a597b>] vfs_write+0xcb/0x190
>  [<ffffffff802a5b43>] sys_write+0x53/0xa0
>  [<ffffffff8020c4ab>] system_call_fastpath+0x16/0x1b
>
> Second hang was similar but dmesg was not saved, it hung before.

  reply	other threads:[~2008-10-09 14:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-09 14:24 Meelis Roos
2008-10-10  1:33 ` Nick Piggin [this message]
2008-10-09 14:39   ` Meelis Roos
2008-10-09 15:06     ` Meelis Roos
2008-10-09 16:21   ` Meelis Roos
2008-10-10  3:01     ` Nick Piggin

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=200810101233.18726.nickpiggin@yahoo.com.au \
    --to=nickpiggin@yahoo.com.au \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=mroos@linux.ee \
    /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

all inboxes | Powered by JetHome®