From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeremy Fitzhardinge Subject: Re: Re: pv_ops dom0 USB fixed Date: Thu, 18 Dec 2008 11:45:27 -0800 Message-ID: <494AA857.1010200@goop.org> References: <4940210C.1060401@goop.org> <4942D0F9.7080903@goop.org> <4942E6FD.6080601@goop.org> <1e16a9ed0812131102s79d231depef1466fda8e2b897@mail.gmail.com> <1e16a9ed0812131753m3412e3ffgd9028185c90c2c40@mail.gmail.com> <1229334549.25349.82.camel@zakaz.uk.xensource.com> <1e16a9ed0812151015v50867776l100c1830380f8411@mail.gmail.com> <4946BBF5.30508@goop.org> <49493182.9070707@redhat.com> <49495403.1000400@goop.org> <494A1335.60609@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <494A1335.60609@redhat.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Gerd Hoffmann Cc: deshantm@gmail.com, Aviv Grafi , Xen-devel , Andrew Lyon , Ian Campbell List-Id: xen-devel@lists.xenproject.org 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. >> > > Yep. > > >> 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. J