Opening this back up again, recently Mellanox released official OFED 2.0 
for XCP 1.6 / Xenserver.

Unfortunately iser connection still fail, the following is the results of 
dmesg

*login method*

[root@125 ~]#  iscsiadm -m node
10.1.1.100:3260,2 
iqn.2010-08.org.illumos:02:200a8d52-1726-61c0-9e53-d265c341f694
[root@125 ~]# iscsiadm -m discovery -t st -p 10.1.1.100:3260 --interface 
iser -l
10.1.1.100:3260,2 
iqn.2010-08.org.illumos:02:200a8d52-1726-61c0-9e53-d265c341f694
Logging in to [iface: iser, target: 
iqn.2010-08.org.illumos:02:200a8d52-1726-61c0-9e53-d265c341f694, portal: 
10.1.1.100,3260] (multiple)
Login to [iface: iser, target: 
iqn.2010-08.org.illumos:02:200a8d52-1726-61c0-9e53-d265c341f694, portal: 
10.1.1.100,3260] successful.

*iscsi version*

iscsiadm version 2.0-873

*
*
*Stack trace*

[  243.833554] scsi7 : iSCSI Initiator over iSER
[  244.093521] ------------[ cut here ]------------
[  244.093532] WARNING: at 
/var/tmp/OFED_topdir/BUILD/ofa_kernel-2.0/drivers/infiniband/ulp/iser/iser_initiator.c:247
 
iser_send_control+0x2ee/0x300 [ib_iser]()
[  244.093535] Hardware name: Thurley
[  244.093537] Modules linked in: tcp_diag inet_diag lockd sunrpc 
openvswitch be2iscsi ib_iser iscsi_tcp bnx2i cnic uio cxgb3i libcxgbi cxgb3 
libiscsi_tcp libiscsi scsi_transport_iscsi rdma_ucm ib_ucm rdma_cm iw_cm 
ib_addr ib_ipoib ib_cm ipv6 ib_uverbs ib_umad mlx5_ib mlx5_core mlx4_en 
mlx4_ib ib_sa ib_mad ib_core binfmt_misc dm_mirror video output sbs sbshc 
fan container battery ac parport_pc lp parport nvram thermal mlx4_core 
processor evdev usbhid sg button thermal_sys compat led_class igb serio_raw 
rtc_cmos 8250_pnp rtc_core 8250 ahci rtc_lib serial_core tpm_tis tpm 
tpm_bios libata i2c_i801 i2c_core pcspkr dm_region_hash dm_log dm_mod 
mptsas mptscsih mptbase scsi_transport_sas sd_mod scsi_mod ext3 jbd 
uhci_hcd ohci_hcd ehci_hcd usbcore fbcon font tileblit bitblit softcursor 
[last unloaded: x_tables]
[  244.093604] Pid: 6332, comm: iscsid Not tainted 
2.6.32.43-0.4.1.xs1.6.10.734.170748xen #1
[  244.093607] Call Trace:
[  244.093614]  [<f09e466e>] ? iser_send_control+0x2ee/0x300 [ib_iser]
[  244.093621]  [<c01343f1>] warn_slowpath_common+0x81/0xa0
[  244.093626]  [<f09e466e>] ? iser_send_control+0x2ee/0x300 [ib_iser]
[  244.093630]  [<c013442a>] warn_slowpath_null+0x1a/0x20
[  244.093635]  [<f09e466e>] iser_send_control+0x2ee/0x300 [ib_iser]
[  244.093641]  [<f09e6171>] iscsi_iser_task_xmit+0xe1/0x1f0 [ib_iser]
[  244.093648]  [<f0762a4b>] ? iscsi_prep_mgmt_task+0x10b/0x120 [libiscsi]
[  244.093653]  [<c01d46c0>] ? __pollwait+0x0/0xd0
[  244.093660]  [<f07647bd>] __iscsi_conn_send_pdu+0x23d/0x280 [libiscsi]
[  244.093667]  [<f0764d5e>] iscsi_conn_send_pdu+0x3e/0x60 [libiscsi]
[  244.093673]  [<f0764d20>] ? iscsi_conn_send_pdu+0x0/0x60 [libiscsi]
[  244.093680]  [<f0715e5b>] iscsi_if_rx+0x47b/0x9b0 [scsi_transport_iscsi]
[  244.093685]  [<c01bcdf7>] ? __kmalloc+0x177/0x1f0
[  244.093688]  [<c01bcf58>] ? kmem_cache_alloc+0xe8/0x190
[  244.093694]  [<c0347d64>] ? __alloc_skb+0x74/0x180
[  244.093699]  [<c036ba81>] netlink_unicast+0x241/0x250
[  244.093703]  [<c0349acc>] ? memcpy_fromiovec+0x4c/0x70
[  244.093708]  [<c036c771>] netlink_sendmsg+0x1c1/0x280
[  244.093711]  [<c033ffd7>] sock_sendmsg+0xd7/0x100
[  244.093716]  [<c014e6b0>] ? autoremove_wake_function+0x0/0x50
[  244.093720]  [<c01d0000>] ? sys_renameat+0x1b0/0x200
[  244.093723]  [<c014e6b0>] ? autoremove_wake_function+0x0/0x50
[  244.093727]  [<c01d5192>] ? d_kill+0x52/0x60
[  244.093731]  [<c0261871>] ? copy_from_user+0x41/0x70
[  244.093735]  [<c0349df6>] ? verify_iovec+0x36/0xa0
[  244.093739]  [<c0340116>] sys_sendmsg+0x116/0x230
[  244.093743]  [<c01cd205>] ? path_put+0x25/0x30
[  244.093747]  [<c0106621>] ? local_clock+0x41/0x80
[  244.093751]  [<c03413a7>] sys_socketcall+0x247/0x270
[  244.093755]  [<c0104571>] syscall_call+0x7/0xb
[  244.093758] ---[ end trace 37deb622629ae552 ]---




On Wednesday, 14 November 2012 06:00:10 UTC+11, Frank Röben wrote:
>
> Hi Mike,
>
> thanks for your help. I could solve the problem.
> I fetched 
> http://www.mellanox.com/downloads/ofed/MLNX_OFED_LINUX-1.5.3-3.1.0-xenserver-i686.iso
> .
> I could adapt these sources for my kernel version.
>
> [root@xcp-02 tmp]# iscsiadm -m node
> iscsiadm: No records found
> [root@xcp-02 tmp]# iscsiadm -m discovery -t st -p 192.168.1.50:3260 -I 
> iser
> 192.168.1.50:3260,2 iqn.1986-03.com.sun:iser-target
> [root@xcp-02 tmp]# iscsiadm -m node -p 192.168.1.50:3260 -T 
> iqn.1986-03.com.sun:iser-target -I iser -l
> Logging in to [iface: iser, target: iqn.1986-03.com.sun:iser-target, 
> portal: 192.168.1.50,3260] (multiple)
> Login to [iface: iser, target: iqn.1986-03.com.sun:iser-target, portal: 
> 192.168.1.50,3260] successful.
> [root@xcp-02 tmp]# mount /dev/sdc1 /mnt
>
> [root@xcp-02 tmp]# dd if=/dev/zero of=/mnt/10G bs=1M count=10000
> 10000+0 records in
> 10000+0 records out
> 10485760000 bytes (10 GB) copied, 50.342 seconds, 208 MB/s
> [root@xcp-02 tmp]# dd if=/mnt/10G of=/dev/null bs=1M
> 10000+0 records in
> 10000+0 records out
> 10485760000 bytes (10 GB) copied, 6.58058 seconds, 1.6 GB/s
>
> [root@xcp-02 tmp]# iscsiadm -m node -p 192.168.1.50:3260 -T 
> iqn.1986-03.com.sun:iser-target -I iser --logout
> Logging out of session [sid: 2, target: iqn.1986-03.com.sun:iser-target, 
> portal: 192.168.1.50,3260]
> Logout of [sid: 2, target: iqn.1986-03.com.sun:iser-target, portal: 
> 192.168.1.50,3260] successful.
> [root@xcp-02 tmp]# iscsiadm -m session
> iscsiadm: No active sessions.
>
> Frank
>
> Am Dienstag, 13. November 2012 12:02:31 UTC+1 schrieb Frank Röben:
>>
>>
>>
>> Am Dienstag, 13. November 2012 06:02:19 UTC+1 schrieb Mike Christie:
>>>
>>> On 11/12/2012 07:38 AM, Frank R�ben wrote: 
>>>
>>  
>>
>>> > [root@xcp-02 ~]# uname -r 
>>> > 2.6.32.43-0.4.1.xs1.6.07.734.170748xen 
>>>
>>>
>>>
>>> It works ok for me with 2.6.32.60 from kernel.org and open-iscsi 
>>> 2.0-873. I have no idea what is in the kernel you are using. What distro 
>>> is that from or where did you get it? 
>>>
>>> I thought in one of the other mails you wrote you were using ofed? Is 
>>> that correct and are you using ofed specific ib_iser and iscsi kernel 
>>> modules or iser and iscsi modules that came with your kernel? 
>>>
>>>
>>>
>>>
>> Am Dienstag, 13. November 2012 06:02:19 UTC+1 schrieb Mike Christie:
>>>
>>> On 11/12/2012 07:38 AM, Frank R�ben wrote: 
>>>
>>  
>>
>>> > [root@xcp-02 ~]# uname -r 
>>> > 2.6.32.43-0.4.1.xs1.6.07.734.170748xen 
>>>
>>>
>>>
>>> Hi Mike,
>>  
>>
>>> It works ok for me with 2.6.32.60 from kernel.org and open-iscsi 
>>> 2.0-873. I have no idea what is in the kernel you are using. What distro 
>>> is that from or where did you get it? 
>>>
>>>
>> XCP 1.6 (beta) http://wiki.xen.org/wiki/XCP_Release_Features. XCP 1.6 
>> is  Xenserver 6.1.0 with LGPL, GPL, Q Public License v1 
>>
>> Downloads:
>>
>> From http://xen.org/download/xcp/index_1.6.0.html
>> - Base ISO http://downloads.xen.org/XCP/61365c/XCP-1.6-beta3-61365c.iso
>> - Binary Package ISO 
>> http://downloads.xen.org/XCP/61365c/sources/binpkg.iso
>>
>> At the end of my second email yesterday, I described my installation step 
>> by step.
>>
>>
>> I thought in one of the other mails you wrote you were using ofed? Is 
>>> that correct and are you using ofed specific ib_iser and iscsi kernel 
>>> modules or iser and iscsi modules that came with your kernel? 
>>>
>>> Yes, I use ofed.
>> Unfortunately, the dist comes without any ib_ modules. Open-iscsi over 
>> tcp works out-of-the-box.
>>
>> Oct 25 15:38 iscsi_tcp.ko <- module from dist
>> Nov 12 11:31 ib_iser.ko <- module from ofed
>>
>> I think I use iscsi modules from dist and ib_* modules from ofed.
>>
>> Frank
>>
>> Frank
>>
>>  
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to open-iscsi+unsubscr...@googlegroups.com.
To post to this group, send email to open-iscsi@googlegroups.com.
Visit this group at http://groups.google.com/group/open-iscsi.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to