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

Re: [Xen-devel] Bug in PCI Passthrough



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

 


Rackspace

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