All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christopher Clark <christopher.w.clark@gmail.com>
To: Ryan Harper <ryanh@us.ibm.com>
Cc: xen-devel@lists.xensource.com
Subject: Re: Unstableness in grant table block drivers
Date: Wed, 20 Apr 2005 11:52:35 -0700	[thread overview]
Message-ID: <eab0875405042011524bbc0770@mail.gmail.com> (raw)
In-Reply-To: <20050418205103.GC19115@us.ibm.com>

Ryan

Many thanks for taking the traces. I've located a bug in the block
backend that may or may not be the required fix -- it's a move of a
single line, see the patch below.

c.

Signed-off-by: Christopher Clark

diff -Nru a/linux-2.6.11-xen-sparse/drivers/xen/blkback/blkback.c
b/linux-2.6.11-xen-sparse/drivers/xen/blkback/blkback.c
--- a/linux-2.6.11-xen-sparse/drivers/xen/blkback/blkback.c 2005-04-20
11:31:20 -07:00
+++ b/linux-2.6.11-xen-sparse/drivers/xen/blkback/blkback.c 2005-04-20
11:31:20 -07:00
@@ -516,11 +516,11 @@

     for ( i = 0; i < nseg; i++ )
     {
+        fas         = req->frame_and_sects[i];
 #ifdef CONFIG_XEN_BLKDEV_GRANT
         seg[i].buf  = (aop[i].u.map_grant_ref.dev_bus_addr << PAGE_SHIFT) |
                       (blkif_first_sect(fas) << 9);
 #else
-        fas          = req->frame_and_sects[i];
         seg[i].buf  = (fas & PAGE_MASK) | (blkif_first_sect(fas) << 9);
         seg[i].nsec = blkif_last_sect(fas) - blkif_first_sect(fas) + 1;
         if ( seg[i].nsec <= 0 )



On 4/18/05, Ryan Harper <ryanh@us.ibm.com> wrote:
> * Christopher Clark <christopher.w.clark@gmail.com> [2005-04-18 11:39]:
> > Ryan and Anthony: I've attached a patch that I'd like you to apply to
> > your unstable tree -- it just printk's almost everything so I can get
> > an idea of the code path you're running.
> > Alternatively, the three .c files modified by the patch are also
> > attached - they're taken from 2005-04-14 unstable and you should be
> > able to just replace the files in your tree.
> >
> > After changing your tree and rebuilding, please send the console logs
> > from boot onwards for xen/dom0 and domU, in a uniprocessor
> > configuration, both with and without using grant tables for block
> > transport.
> 
> I've applied the patch and I have a bunch of logs.
> 
> 1) domU boot output when dom0up boots domUup
> 2) domU boot output when dom0up boots domUsmp
> 3) xen console output for 1) and 2)
> 4) domU boot output when dom0smp boots domUup
> 5) domU boot output when dom0smp boots domUsmp
> 6) xen console output for 4) and 5)
> 
> In the above cases, dom0up was simulated with maxcpu=1, as I still don't
> have that UP box setup.  If you can't find anything in these logs then
> I'll go get a real UP box and repeat the dumps.
> 
> --
> Ryan Harper
> Software Engineer; Linux Technology Center
> IBM Corp., Austin, Tx
> (512) 838-9253   T/L: 678-9253
> ryanh@us.ibm.com
> 
> 
>

  reply	other threads:[~2005-04-20 18:52 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-16  1:32 Unstableness in grant table block drivers Ian Pratt
2005-04-16 15:39 ` Ryan Harper
2005-04-18 16:38   ` Christopher Clark
2005-04-18 16:45     ` Ryan Harper
2005-04-18 20:51     ` Ryan Harper
2005-04-20 18:52       ` Christopher Clark [this message]
2005-04-20 19:37         ` Ryan Harper
2005-04-20 20:04           ` Building unstable on a Debian Opteron box Ray Lanza
2005-04-20 20:29             ` Chris Wright
2005-04-22 18:57           ` Unstableness in grant table block drivers Ryan Harper
2005-04-22 19:06             ` Anthony Liguori
2005-05-12  1:50         ` Xiaofeng Ling
  -- strict thread matches above, loose matches on Subject: below --
2005-04-15 22:30 Ian Pratt
2005-04-16  1:18 ` Christopher Clark
2005-04-16  1:32   ` Christopher Clark
2005-04-16  3:03     ` David Hopwood
2005-04-14 10:24 Ian Pratt
2005-04-14 10:34 ` Ge van Geldorp
     [not found] <E1DLu58-0005lx-KR@host-192-168-0-1-bcn-london>
2005-04-14 10:17 ` Ge van Geldorp
     [not found] <aliguori@us.ibm.com>
2005-04-14  1:18 ` Anthony Liguori
2005-04-14  1:20   ` Steven Hand
2005-04-14  1:46     ` Anthony Liguori
2005-04-14  1:53     ` Kip Macy
2005-04-14  2:27       ` Anthony Liguori
2005-04-14  2:55         ` Kip Macy
2005-04-14  1:16 Ian Pratt
2005-04-14  1:43 ` Anthony Liguori
2005-04-14  2:04   ` Christopher Clark
2005-04-14  2:17     ` Kip Macy
2005-04-14  2:25     ` Anthony Liguori
2005-04-14 15:00     ` Ryan Harper
2005-04-14 16:34       ` Christopher Clark
2005-04-14 17:28         ` Ryan Harper
2005-04-15 18:45           ` Christopher Clark
2005-04-15 21:14             ` Ryan Harper
2005-04-15 21:32               ` Kip Macy
2005-04-15 21:41                 ` Ryan Harper
2005-04-15 21:46                   ` Kip Macy
2005-04-15 21:50                     ` Ryan Harper
2005-04-15 21:52                 ` Ryan Harper
2005-04-15 22:07                   ` Christopher Clark
2005-04-15 22:08                     ` Ryan Harper

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=eab0875405042011524bbc0770@mail.gmail.com \
    --to=christopher.w.clark@gmail.com \
    --cc=cwc22@cam.ac.uk \
    --cc=ryanh@us.ibm.com \
    --cc=xen-devel@lists.xensource.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.