mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@suse.de>
To: Peter Palfrader <peter@palfrader.org>, linux-kernel@vger.kernel.org
Cc: agk@redhat.com
Subject: Re: 2.6.16: Oops - null ptr in blk_recount_segments?
Date: Wed, 29 Mar 2006 10:23:44 +0200	[thread overview]
Message-ID: <20060329082343.GV8186@suse.de> (raw)
In-Reply-To: <20060329005917.GR25288@asteria.noreply.org>

On Wed, Mar 29 2006, Peter Palfrader wrote:
> On Wed, 29 Mar 2006, Nathan Scott wrote:
> 
> > You'll be better off trying the bio_clone fix discussed in the
> > other (ext3-bio_clone-panic) thread than go down this route
> > (there is a fix in 2.6.16.1 apparently - start there).  Certainly
> > try that before attempting to revert these changes anyway.
> 
> The problem persists on 2.6.16.1.

The original oops showed the path into bio_clone() originating from
crypt_alloc_buffer() in dm-crypt.c - and blk_recount_segments() is
oopsinig in page_to_pfn(), meaning that the most likely cause of this is
dm-crypt passing in a bio with invalid ->bi_idx and/or ->bi_vcnt. At
least they are not matching what ->bi_io_vec[] holds.

-- 
Jens Axboe


  reply	other threads:[~2006-03-29  8:23 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-27  2:28 Peter Palfrader
2006-03-27  4:36 ` David Chinner
2006-03-27  4:58   ` Peter Palfrader
2006-03-27  6:10     ` David Chinner
2006-03-28 14:22       ` Jan Engelhardt
2006-03-28 21:38         ` Peter Palfrader
2006-03-28 21:42           ` Nathan Scott
2006-03-29  0:59             ` Peter Palfrader
2006-03-29  8:23               ` Jens Axboe [this message]
2006-03-29  4:40         ` Peter Palfrader

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=20060329082343.GV8186@suse.de \
    --to=axboe@suse.de \
    --cc=agk@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=peter@palfrader.org \
    /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®