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

[Xen-users] pcifront pci-0: pciback not responding (tg3)



Hello,
I am desperately trying to get pci-passthrough to working.
I want to pass a tg3 nic to domU.

when booting domU I get a lot of messages:
pcifront pci-0: pciback not responding!!!

in domU, "ifconfig eth... adress up"
hangs for 2 minutes, finally ifconfig -a shows a
correct setting with no data transmitted rx/tx
The IP Adress is being assigned, but there is no data
transmission possible on this interface (ping ..)

lspci in domU also hangs for 2 minutes, then reports
the device correctly.

When not doing pci passthrough, I can use the interface in dom0
just as usual.
I have also tried the other PCI devices - same result.

vif works, but I am afraid it is too slow for a real server.

Any Ideas ?
Thanks in advance
Winfried



My configuration:
=================
xen-dbg-3.0.2_09668-0.1.gz from SuSE,
suse xen kernel vmlinuz-2.6.16.16-1.4-xen based self compile

I have pciback compiled into the kernel. Later I also compiled
tg3 into the kernel, but it didn't help.
The pciback hide and permissive seem to be correct.


More Error messages:
====================

domU, dmesg shows:
   :
pcifront pci-0: pciback not responding!!!
pcifront pci-0: pciback not responding!!!
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
ADDRCONF(NETDEV_UP): eth0: link is not ready


in dom0, xm dmesg shows:

(XEN) DOM6: (file=mm.c, line=486) Non-privileged attempt to map I/O space
00000000
(XEN) DOM6: (file=mm.c, line=486) Non-privileged attempt to map I/O space
000000c0
(XEN) DOM6: (file=mm.c, line=486) Non-privileged attempt to map I/O space
0000009f


pciback runs with trace, so dom0 dmesg shows:
   :
pciback: 0000:05:02.0: write request 4 bytes at 0x80 = 0
pciback: 0000:05:02.0: write request 4 bytes at 0x78 = 340cc
pciback: 0000:05:02.0: write request 4 bytes at 0x80 = 0
pciback: 0000:05:02.0: write request 4 bytes at 0x78 = 340d0
pciback: 0000:05:02.0: write request 4 bytes at 0x80 = 27bdffe0
pciback: 0000:05:02.0: write request 4 bytes at 0x78 = 340dc
   :
pciback: 0000:05:02.0: read 1 bytes at 0x59 = 0
pciback: 0000:05:02.0: read 4 bytes at 0x0
pciback: 0000:05:02.0: read 4 bytes at 0x0 = 16c714e4
pciback: 0000:05:02.0: read 4 bytes at 0x4
   :

My config files:
================

dom0:/boot/grub/menu.lst :

title Xen Debug buw --
    root (hd0,5)
    kernel /boot/xen-dbg.gz dom0_mem=384M
    module /boot/vmlinuz-xen_buw root=/dev/cciss/c0d0p6 vga=0x314     
splash=silent showopts  pciback.permissive=Y
pciback.hide=(02:02.1)(05:01.0)(05:02.0)
    module /boot/initrd-xen_buw

The domain config, nothing special except for:
dom0:/etc/xen/xmdom1buw00
pci = [ '05,02,0' ]


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


 


Rackspace

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