[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Assigning contiguous memory to a driver domain



>>> On 14.09.10 at 11:24, Rafal Wojtczuk <rafal@xxxxxxxxxxxxxxxxxxxxxx> wrote:
> Hello,
> 
> Could someone guide me in the right direction with the topic of assigning
> contiguous memory to a domain.
> 
> I have an issue with a PV domain that is assigned a PCI device. Sometimes, 
> the 
> driver fails to load
> Sep 13 10:36:43 localhost kernel: [  103.651858] iwlagn 0000:00:01.0:
> firmware: requesting iwlwifi-4965-2.ucode
> Sep 13 10:36:43 localhost kernel: [  103.669105] iwlagn 0000:00:01.0: loaded
> firmware version 228.61.2.24
> Sep 13 10:36:43 localhost kernel: [  103.669263] iwlagn 0000:00:01.0: failed
> to allocate pci memory
> 
> The reason seems to be that the domain does not have enough contiguous
> memory, in mfn terms.

No, how (dis)contiguous the memory of a domain is doesn't matter
here. What matters is whether the domain can *make* the requested
memory contiguous, and that depends on how much contiguous
memory Xen has at the point of the allocation.

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.