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

Re: [Xen-users] qla2xxx passthrough



Hi,

Check the following website.
http://wiki.xensource.com/xenwiki/VTdHowTo

I think you need "iommu=1" option in grub.conf.

Best Regards,

Akio Takebe

Simon Hintermann wrote:
> Hello all,
> 
> I'm working with a qlogic fiber channel connection to my SAN. My goal is to
> access it directly from a domU to build up an iscsitarget server. Working
> with Xen 3.2, I tried to access it by a simple pci = [ ... ] in the cfg
> file, but I get an ugly:
> 
> [    1.498824] qla2xxx 0000:00:01.1: enabling device (0000 -> 0002)
> [    1.499221] qla2xxx 0000:00:01.1: Found an ISP2432, irq 17, iobase
> 0xd1024000
> [    1.499470] qla2xxx 0000:00:01.1: [ERROR] Failed to allocate memory for
> adapter
> [    1.499510] qla2xxx: probe of 0000:00:01.1 failed with error -12
> 
> 
> Here is my lspci:
> 
> # lspci
> 06:00.0 Fibre Channel: QLogic Corp. ISP2432-based 4Gb Fibre Channel to PCI
> Express HBA (rev 03)
> 06:00.1 Fibre Channel: QLogic Corp. ISP2432-based 4Gb Fibre Channel to PCI
> Express HBA (rev 03)
> 
> 
> Here are the boot option (menu.lst):
> 
> title           Xen 3.2-1-i386 / Debian GNU/Linux, kernel 2.6.26-1-xen-686
> (hd0)
> root            (hd0,0)
> kernel          /xen-3.2-1-i386.gz
> module          /vmlinuz-2.6.26-1-xen-686 root=/dev/mapper/vg00-root ro
> console=tty0 pciback.hide=(0000:06:00.0)(0000:06:00.1) pciback.permissive
> module          /initrd.img-2.6.26-1-xen-686
> 
> 
> Here is the pci line (iscsitarget.cfg):
> 
> pci = [ '06:00.0','06:00.1' ]
> 
> 
> Here is my pciback content:
> 
> /sys/bus/pci/drivers/pciback# ls -la
> total 0
> drwxr-xr-x  2 root root    0 mar 23 11:52 .
> drwxr-xr-x 17 root root    0 mar 23 11:46 ..
> lrwxrwxrwx  1 root root    0 mar 23 11:48 0000:06:00.0 ->
> ../../../../devices/pci0000:00/0000:00:1c.0/0000:06:00.0
> lrwxrwxrwx  1 root root    0 mar 23 11:51 0000:06:00.1 ->
> ../../../../devices/pci0000:00/0000:00:1c.0/0000:06:00.1
> 
> 
> And finally the content of xend-pci-quirks.sxp:
> 
> (qla2xxx
>         (pci_ids
>                 ('1077:2432:1077:0138' # Fibre Channel: QLogic Corp.
> ISP2432-based 4Gb Fibre Channel to PCI Express HBA (rev 03)
>                 )
>         )
> 
>         (pci_config_space_fields
>                 ('00000004:2:00000000' # From pciback report (cat
> /sys/bus/pci/drivers/pciback/quirks)
>      '0000003c:1:00000000'
>      '0000003d:1:00000000'
>      '0000000c:1:00000000'
>      '0000000d:1:00000000'
>      '0000000f:1:00000000'
>      '00000010:4:00000000'
>      '00000014:4:00000000'
>      '00000018:4:00000000'
>      '0000001c:4:00000000'
>      '00000020:4:00000000'
>      '00000024:4:00000000'
>      '00000030:4:00000000'
>      '00000074:2:00000000'
>      '00000076:2:00000000'
>      '00000078:4:00000000'
>      '00000044:2:00000000'
>      '00000046:2:00000000'
>      '00000048:2:00000000'
>      '0000004a:1:00000000'
>      '0000004b:1:00000000'
>                 )
>         )
> )
> 
> Hoping someone can give me a hint...
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users

_______________________________________________
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®.