This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-devel] A better fix for the blkdev merging bug

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: [Xen-devel] A better fix for the blkdev merging bug
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Mon, 26 Jul 2004 16:13:25 +0100
Cc: Chris Andrews <chris@xxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 26 Jul 2004 16:16:22 +0100
Envelope-to: steven.hand@xxxxxxxxxxxx
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
> > I've given this change a go on my PE1650 (aacraid driver). 
> > Unfortunately this seems to be one of the SCSI drivers that doesn't 
> > correctly handle the error condition.
> > 
> > Running my usual test ('compare' in dom0, compiles in other domains), I 
> > don't see any differences in the compares, but after a few minutes, I 
> > get the following on the console, and everything is stuck waiting for 
> > disk.
> > 
> > aacraid: cmd len 00000000 cmd underflow 00010000
> > aacraid: Host adapter reset request. SCSI hang ?
> > 
> > The latter message repeats every few seconds. I rebooted the box with 
> > the Xen console after a few lines. I'm going to try the aacraid driver 
> > from 2.4.27-rc3, which I believe has had some attention recently.
> Looks like the SCSI-merge code will have to be modified. I'll do
> IDE-merge code at the same time, so that we just merge less
> aggressively rather than falling back to PIO transfers.
> I'll leave the check in pci_map_sg(), but it shouldn't ever trigger
> after I patch the IDE and SCSI merge routines, so I'll add a warning
> message if an invalid scatter-gather list is detected.

Okay, I've checked in a better fix for the blkdev merging bug, which
should work okay for all IDE and SCSI devices. Other advantages are
that it still permits merging wherever possible, and there is no need
for fallback to PIO transfers.

Please can people give this a try, particularly on SCSI - fingers
crossed the bug will be gone.

 -- Keir

This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] A better fix for the blkdev merging bug, Keir Fraser <=