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-users

Re: [Xen-users] qla2xxx passthrough

To: Simon Hintermann <hintermann.simon@xxxxxxxxx>
Subject: Re: [Xen-users] qla2xxx passthrough
From: Akio Takebe <takebe_akio@xxxxxxxxxxxxxx>
Date: Thu, 26 Mar 2009 10:27:39 +0900
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 25 Mar 2009 18:28:19 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <5c4c43410903230502l33c7c6f2hcbb5d498bf992286@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <5c4c43410903230502l33c7c6f2hcbb5d498bf992286@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.21 (X11/20090320)
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

<Prev in Thread] Current Thread [Next in Thread>