Port-xen archive

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

Re: nfe problem on dom0 kernel 5.99.24 [need help]



On Feb,Saturday 27 2010, at 10:23 AM, Jean-Yves Migeon wrote:

> On 02/27/10 04:56, Adam Hamsik wrote:
>> Hi Manual,
>> On Feb,Friday 26 2010, at 12:14 PM, Manuel Bouyer wrote:
>> 
>>> On Fri, Feb 26, 2010 at 04:44:21AM -0600, Sam Fourman Jr. wrote:
>>>>> If possible, boot with a xen-debug kernel, and post the xm dmesg. Failing 
>>>>> to
>>>>> create DMA memory is likely to be due to an error returned by hypervisor.
>>>>> 
>> [snip]
> >
>> Do you have any ideas how can it be debug more ?
>> 
>> Regards
>> 
>> Adam.
> 
> decrease_reservation fails for one page when the page does not belong to the 
> guest, or that the args passed to the decrease_reservation() are invalid 
> (wrong order, wrong extent). Which is unlikely here.
> 
> Please try with rev 1.18 of xen/x86/xen_bus_dma.c; hopefully the error 
> message will be more meaningful.

Here is updated dmesg with your latest change.

nfe0: interrupting at ioapic0 pin 22, event channel 7
nfe0: Ethernet address 00:1a:92:c0:d4:b2
_xen_bus_dmamem_alloc_range boundary check
_bus_dmamem_alloc_range == uvm_pglistalloc
_bus_dmamem_alloc_range == uvm_pglistalloc -> 0
_xen_alloc_contig
_xen_alloc_contig -> uvm_pglistalloc
_xen_alloc_contig -> uvm_pglistalloc == 0
_xen_alloc_contig 0
_xen_bus_dmamem_alloc_range boundary check
_bus_dmamem_alloc_range == uvm_pglistalloc
_bus_dmamem_alloc_range == uvm_pglistalloc -> 0
_xen_alloc_contig
_xen_alloc_contig -> uvm_pglistalloc
_xen_alloc_contig -> uvm_pglistalloc == 0
_xen_alloc_contig 0
_xen_bus_dmamem_alloc_range boundary check
_bus_dmamem_alloc_range == uvm_pglistalloc
_bus_dmamem_alloc_range == uvm_pglistalloc -> 0
_xen_alloc_contig
_xen_alloc_contig -> uvm_pglistalloc
_xen_alloc_contig -> uvm_pglistalloc == 0
xen_alloc_contig: XENMEM_decrease_reservation failed: err 0 (pa 0x208f000 mfn 
0x209d70)
_xen_alloc_contig 12
nfe0: could not create DMA map
nfe0: could not allocate Tx ring
nfe1 at pci0 dev 18 function 0: vendor 0x10de product 0x0373 (rev. 0xa2)
AMC1: Picked IRQ 23 with weight 1
linkdev AMC1 returned ACPI global irq 23, line 23
nfe1: interrupting at ioapic0 pin 23, event channel 8
nfe1: Ethernet address 00:1a:92:c0:df:70
_xen_bus_dmamem_alloc_range boundary check
_bus_dmamem_alloc_range == uvm_pglistalloc
_bus_dmamem_alloc_range == uvm_pglistalloc -> 0
_xen_bus_dmamem_alloc_range boundary check
_bus_dmamem_alloc_range == uvm_pglistalloc
_bus_dmamem_alloc_range == uvm_pglistalloc -> 0
_xen_alloc_contig
_xen_alloc_contig -> uvm_pglistalloc
_xen_alloc_contig -> uvm_pglistalloc == 0
_xen_alloc_contig 0
_xen_bus_dmamem_alloc_range boundary check
_bus_dmamem_alloc_range == uvm_pglistalloc
_bus_dmamem_alloc_range == uvm_pglistalloc -> 0
_xen_alloc_contig
_xen_alloc_contig -> uvm_pglistalloc
_xen_alloc_contig -> uvm_pglistalloc == 0
_xen_alloc_contig 0
_xen_bus_dmamem_alloc_range boundary check
_bus_dmamem_alloc_range == uvm_pglistalloc
_bus_dmamem_alloc_range == uvm_pglistalloc -> 0
_xen_alloc_contig
_xen_alloc_contig -> uvm_pglistalloc
_xen_alloc_contig -> uvm_pglistalloc == 0
xen_alloc_contig: XENMEM_decrease_reservation failed: err 0 (pa 0x2093000 mfn 
0xce0f3)
_xen_alloc_contig 12
nfe1: could not create DMA map
nfe1: could not allocate Tx ring


Regards

Adam.



Home | Main Index | Thread Index | Old Index