WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Bug in PCI Passthrough

To: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Subject: Re: [Xen-devel] Bug in PCI Passthrough
From: Josef Vogt <josef.vogt@xxxxxxxxxx>
Date: Wed, 20 Apr 2011 22:01:10 +0200
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 20 Apr 2011 13:02:34 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20110420193836.GA32696@xxxxxxxxxxxx>
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: <4DAEA42B.3010600@xxxxxxxxxx> <20110420125155.GA4534@xxxxxxxxxxxx> <4DAF310F.4000401@xxxxxxxxxx> <20110420193836.GA32696@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.16) Gecko/20110307 Icedove/3.0.11
Am 20.04.2011 21:38, schrieb Konrad Rzeszutek Wilk:
On Wed, Apr 20, 2011 at 09:16:31PM +0200, Josef Vogt wrote:
Am 20.04.2011 14:51, schrieb Konrad Rzeszutek Wilk:
On Wed, Apr 20, 2011 at 11:15:23AM +0200, Josef Vogt wrote:
Hello all

I tried to enable PCI Passthrough in my Debian Squeeze installation.
Unfortunately, it didnt work. The following bug showed up (excerpt
>from dmesg):
[ 10.148612] uhci_hcd 0000:00:14.2: PCI INT D ->   Link[LNKD] ->   GSI 11
(level, low) ->   IRQ 11
[ 4.678352] Failed to setup GSI :11, err_code:-22
[ 4.678480] dmfe 0000:00:0e.0: PCI INT A ->   Link[LNKB] ->   GSI 11 (level,
low) ->   IRQ 11
[ 6.868419] Failed to setup GSI :10, err_code:-22
That is most strange. Your interrupts are below IRQ 16, and they are level?
They should have been edge, unless you have some strange machine.

Hm... it's a rather old one: Compaq Deskpro PD1006 (Pentium III)
Can you boot the same kernel but without Xen and send the bootup output?
And also the /proc/interrupts (the full one).
This is from Standard debian kernel (2.6.32-5-686):

            CPU0

   0:      33706    XT-PIC-XT        timer
   1:        154    XT-PIC-XT        i8042
   2:          0    XT-PIC-XT        cascade
   5:          0    XT-PIC-XT        ES18xx
   6:          3    XT-PIC-XT        floppy
   7:          1    XT-PIC-XT        parport0
   8:          0    XT-PIC-XT        rtc0
   9:          0    XT-PIC-XT        acpi
  10:        250    XT-PIC-XT        eth1
  11:        796    XT-PIC-XT        uhci_hcd:usb1, eth0
  12:          4    XT-PIC-XT        i8042
  14:      16290    XT-PIC-XT        ata_piix
  15:        206    XT-PIC-XT        ata_piix
 NMI:          0   Non-maskable interrupts
 LOC:          0   Local timer interrupts
 SPU:          0   Spurious interrupts
 PMI:          0   Performance monitoring interrupts
 PND:          0   Performance pending work
 RES:          0   Rescheduling interrupts
 CAL:          0   Function call interrupts
 TLB:          0   TLB shootdowns
 TRM:          0   Thermal event interrupts
 THR:          0   Threshold APIC interrupts
 MCE:          0   Machine check exceptions
 MCP:          2   Machine check polls
 ERR:          0
 MIS:          0

For dmesg see attachment.

If you don't pass in the card to the DomU, but run it under Dom0, what is
the GSI and /proc/interrupts for the dmfe?
/proc/interrupts for dmfe in Dom0 (card is up and running, I disabled the 
other):
cat /proc/interrupts | grep eth
11:        893  xen-pirq-xt-pic    uhci_hcd:usb1, eth0

GSI: I'm not so sure what you mean but this must be GSI 11 (see above or dmesg 
in attachment)
<blinks>  Well, it looks like your motherboard has the IRQs below 16 to be 
level.
That is odd.
Can you also attach the full serial output? (so we can see the Xen hypervisor 
output
and the Linux Dom0 output).
This is what i get (see attached logs)
Thank you.
No, thank you for looking at this! :)



Attachment: dmesg_standard_kernel
Description: Text document

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