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


Re: [Xen-devel] Re: pv_ops dom0 USB fixed

To: Gerd Hoffmann <kraxel@xxxxxxxxxx>
Subject: Re: [Xen-devel] Re: pv_ops dom0 USB fixed
From: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Date: Thu, 18 Dec 2008 11:45:27 -0800
Cc: deshantm@xxxxxxxxx, Aviv Grafi <aviv@xxxxxxxxxxxx>, Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Andrew Lyon <andrew.lyon@xxxxxxxxx>, Ian Campbell <Ian.Campbell@xxxxxxxxxx>
Delivery-date: Thu, 18 Dec 2008 11:45:55 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <494A1335.60609@xxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <4940210C.1060401@xxxxxxxx> <f4527be0812120112y13e74752kbd3d17d7daa98848@xxxxxxxxxxxxxx> <4942D0F9.7080903@xxxxxxxx> <f4527be0812121420i2ff3ef03g1842170eb52f9de8@xxxxxxxxxxxxxx> <4942E6FD.6080601@xxxxxxxx> <f4527be0812130556v6ec00812y7f0e906ec97b56cd@xxxxxxxxxxxxxx> <1e16a9ed0812131102s79d231depef1466fda8e2b897@xxxxxxxxxxxxxx> <f4527be0812131126u2bfca838y2a4c5e65a774c5af@xxxxxxxxxxxxxx> <1e16a9ed0812131753m3412e3ffgd9028185c90c2c40@xxxxxxxxxxxxxx> <1229334549.25349.82.camel@xxxxxxxxxxxxxxxxxxxxxx> <1e16a9ed0812151015v50867776l100c1830380f8411@xxxxxxxxxxxxxx> <4946BBF5.30508@xxxxxxxx> <49493182.9070707@xxxxxxxxxx> <49495403.1000400@xxxxxxxx> <494A1335.60609@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird (X11/20081119)
Gerd Hoffmann wrote:
Jeremy Fitzhardinge wrote:
Intel 64bit box, 6GB RAM (dom0_mem=2g), running rawhide.
OK, that's interesting.  The symptom is the same (drive stops talking),
but after a while rather than immediate.


That suggests there might be
some issue with what memory gets allocated or something?

Or translated.  Maybe it grooks due to being fed with an invalid bus
address where it can't DMA do.

Hm. It just uses dmam_alloc_coherent() to allocate its control structures, which ends up calling xen_alloc_coherent like everyone else does. And presumably the actual IO goes via sg bios like everyone else.

Does putting the controller in IDE/legacy mode work OK?

Didn't try, and can't easily because it is a headless box sitting in the
corner.  Speaking of memory:  IIRC ahci can do 64bit DMA, which legacy
IDE can't.  Maybe that makes AHCI trigger the bug while it doesn't
happen with IDE?

Yeah, that's worth investigating. Though my test machine only has 2G, so it shouldn't make a difference. And my other test machine has a Fusion which is also 64-bit capable.


Xen-devel mailing list