Hello,

  I am trying to configure iSCSI over iSER on two server (one acting
as target - with tgtd, and the other acting as initiator with open-
iscsi). Already installe OFED and have RDMA working (tested with
rping).
  The tgtd is installed and configured (tested it by using the tcp
transport), but when I try to use iSER as the transport I get some
errors on kernel not being able to handle NULL pointer dereference
(memory management error??). It seems that the NIC does not support
FMRs (have no idea what is that...) and fires up the error
"iser_create_ib_conn_res:unable to alloc mem or create resource, err
-38" which is related to FMR (as far I could see in the code).
   Since the NIC is a Chelsio S302 it supports iWARP RDMA, but I'm not
sure if this is OK for iSER (or still only Infiniband is supported).
    Someone can please help me in setting up the iSCSI over iSER (in
case it works on iWARP)?

  Thanks a lot,
         Florin.

Log for loading the iSCSI:
Jan 21 12:31:52 targetb kernel: ib_core: no version magic, tainting
kernel.
Jan 21 12:31:52 targetb kernel: iw_cxgb3: no version magic, tainting
kernel.
Jan 21 12:31:52 targetb kernel: iw_cxgb3: Chelsio T3 RDMA Driver -
version 1.1
Jan 21 12:31:52 targetb kernel: iw_cxgb3: Initialized device
0000:13:00.0
Jan 21 12:37:25 targetb kernel: Loading iSCSI transport class
v2.0-724.
Jan 21 12:37:25 targetb kernel: iscsi: registered transport (iser)
Jan 21 12:37:48 targetb kernel: iscsi: registered transport (tcp)
Jan 21 12:37:48 targetb iscsid: iSCSI logger with pid=3161 started!

Log for iSER error:
Jan 21 12:39:31 targetb kernel: iser: iser_connect:connecting to:
194.116.81.199, port 0xbc0c
Jan 21 12:39:31 targetb kernel: iser: iser_cma_handler:event 0 conn
ffff81029db8d540 id ffff8102996b5000
Jan 21 12:39:31 targetb kernel: iser: iser_cma_handler:event 2 conn
ffff81029db8d540 id ffff8102996b5000
Jan 21 12:39:31 targetb kernel: fmr_pool: Device cxgb3_0 does not
support FMRs
Jan 21 12:39:31 targetb kernel: iser: iser_create_ib_conn_res:unable
to alloc mem or create resource, err -38
Jan 21 12:39:31 targetb kernel: iser: iscsi_iser_ep_poll:ib conn
ffff81029db8d540 rc = -1
Jan 21 12:39:31 targetb kernel: iser: iscsi_iser_ep_disconnect:ib conn
ffff81029db8d540 state 4
Jan 21 12:39:31 targetb kernel: iser: iser_conn_terminate:Failed to
disconnect, conn: 0xffff81029db8d540 err -22
Jan 21 12:39:31 targetb kernel: iser: iser_free_ib_conn_res:freeing
conn ffff81029db8d540 cma_id ffff8102996b5000 fmr pool
ffffffffffffffda qp 0000000000000000
Jan 21 12:39:31 targetb kernel: Unable to handle kernel NULL pointer
dereference at 000000000000002a RIP:
Jan 21 12:39:31 targetb kernel:
[<ffffffff882fed48>] :ib_core:ib_destroy_fmr_pool+0x1d/0xdc
Jan 21 12:39:31 targetb kernel: PGD 296d7b067 PUD 2964e5067 PMD 0
Jan 21 12:39:31 targetb kernel: Oops: 0000 [1] SMP
Jan 21 12:39:31 targetb kernel: CPU 1
Jan 21 12:39:31 targetb kernel: Modules linked in: iscsi_tcp ib_iser
libiscsi scsi_transport_iscsi rdma_ucm(U) rdma_cm(U) ib_cm(U) iw_cm(U)
ib_sa(U) ib_mad(U) ib_addr(U) ib_uverbs(U) iw_cxgb3(F)(U) ib_core(F)
(U) t3_tom(U) toecore(U) rfcomm l2cap bluetooth autofs4 lockd sunrpc
nf_conntrack_ipv4 ipt_REJECT iptable_filter ip_tables xt_tcpudp
nf_conntrack_ipv6 xt_state nf_conntrack nfnetlink ip6t_ipv6header
ip6t_REJECT ip6table_filter ip6_tables x_tables dm_mirror dm_multipath
dm_mod ipv6 ipmi_si iTCO_wdt nx_nic(U) iTCO_vendor_support
ipmi_msghandler serio_raw bnx2 pcspkr cxgb3(U) sg button i5000_edac
edac_core sr_mod cdrom ata_piix libata shpchp cciss sd_mod scsi_mod
ext3 jbd mbcache uhci_hcd ohci_hcd ehci_hcd
Jan 21 12:39:31 targetb kernel: Pid: 3162, comm: iscsid Tainted:
GF       2.6.23.9-85.fc8 #1
Jan 21 12:39:31 targetb kernel: RIP: 0010:[<ffffffff882fed48>]
[<ffffffff882fed48>] :ib_core:ib_destroy_fmr_pool+0x1d/0xdc
Jan 21 12:39:31 targetb kernel: RSP: 0018:ffff8102964e39b8  EFLAGS:
00010296
Jan 21 12:39:31 targetb kernel: RAX: 0000000000000083 RBX:
ffff81029db8d540 RCX: 00000000000079a0
Jan 21 12:39:31 targetb kernel: RDX: 00000000ffffffff RSI:
0000000000000038 RDI: ffffffffffffffda
Jan 21 12:39:31 targetb kernel: RBP: ffff81029ab993c0 R08:
0000000000000000 R09: ffffffff81281020
Jan 21 12:39:31 targetb kernel: R10: 0000000000000000 R11:
ffff8102965d2000 R12: ffffffffffffffda
Jan 21 12:39:31 targetb kernel: R13: 0000000000000038 R14:
ffffffff88387e60 R15: 0000000000000000
Jan 21 12:39:31 targetb kernel: FS:  00002aaaaaacb6f0(0000)
GS:ffff8102bfffc400(0000) knlGS:0000000000000000
Jan 21 12:39:31 targetb kernel: CS:  0010 DS: 0000 ES: 0000 CR0:
000000008005003b
Jan 21 12:39:31 targetb kernel: CR2: 000000000000002a CR3:
00000002964e4000 CR4: 00000000000006e0
Jan 21 12:39:31 targetb kernel: DR0: 0000000000000000 DR1:
0000000000000000 DR2: 0000000000000000
Jan 21 12:39:31 targetb kernel: DR3: 0000000000000000 DR6:
00000000ffff0ff0 DR7: 0000000000000400
Jan 21 12:39:31 targetb kernel: Process iscsid (pid: 3162, threadinfo
ffff8102964e2000, task ffff810296945040)
Jan 21 12:39:31 targetb kernel: Stack:  ffff8102964e39b8
ffff8102964e39b8 ffff810296f73400 ffff81029db8d540
Jan 21 12:39:31 targetb kernel:  ffff81029ab993c0 ffff8102aa6e9a10
0000000000000038 ffffffff88387e60
Jan 21 12:39:31 targetb kernel:  0000000000000000 ffffffff88381358
ffff81029db8d540 ffff81029db8d540
Jan 21 12:39:31 targetb kernel: Call Trace:
Jan 21 12:39:31 targetb kernel:
[<ffffffff88381358>] :ib_iser:iser_conn_release+0x6d/0x171
Jan 21 12:39:31 targetb kernel:
[<ffffffff88381e6b>] :ib_iser:iser_conn_terminate+0xbd/0xc6
Jan 21 12:39:31 targetb kernel:
[<ffffffff88383a16>] :ib_iser:iscsi_iser_ep_disconnect+0x29/0x34
Jan 21 12:39:31 targetb kernel:
[<ffffffff8836e815>] :scsi_transport_iscsi:iscsi_if_rx+0x645/0x8e3
Jan 21 12:39:31 targetb kernel:  [<ffffffff812077d4>]
netlink_data_ready+0x12/0x50
Jan 21 12:39:31 targetb kernel:  [<ffffffff812065ba>] netlink_sendskb
+0x23/0x3d
Jan 21 12:39:31 targetb kernel:  [<ffffffff81206f7b>] netlink_unicast
+0x1d3/0x1e2
Jan 21 12:39:31 targetb kernel:  [<ffffffff811eb2b2>] __alloc_skb
+0x84/0x133
Jan 21 12:39:31 targetb kernel:  [<ffffffff812077af>] netlink_sendmsg
+0x2b7/0x2ca
Jan 21 12:39:31 targetb kernel:  [<ffffffff811e5375>] sock_sendmsg
+0xea/0x107
Jan 21 12:39:31 targetb kernel:  [<ffffffff810493f1>]
autoremove_wake_function+0x0/0x2e
Jan 21 12:39:31 targetb kernel:last message repeated 2 times
Jan 21 12:39:31 targetb kernel:  [<ffffffff811e55a9>] sys_sendmsg
+0x217/0x28a
Jan 21 12:39:31 targetb kernel:  [<ffffffff811ea3ea>] skb_dequeue
+0x48/0x50
Jan 21 12:39:31 targetb kernel:  [<ffffffff810492eb>] bit_waitqueue
+0x10/0xc7
Jan 21 12:39:31 targetb kernel:  [<ffffffff810ab523>] d_kill+0x2e/0x43
Jan 21 12:39:31 targetb kernel:  [<ffffffff8100bd45>] tracesys
+0xd5/0xda
Jan 21 12:39:31 targetb kernel:
Jan 21 12:39:31 targetb kernel:
Jan 21 12:39:31 targetb kernel: Code: 48 8b 7f 50 e8 fa a1 d4 f8 4c 89
e7 e8 9f fe ff ff 49 8b 6c
Jan 21 12:39:31 targetb kernel: RIP
[<ffffffff882fed48>] :ib_core:ib_destroy_fmr_pool+0x1d/0xdc
Jan 21 12:39:31 targetb kernel:  RSP <ffff8102964e39b8>
Jan 21 12:39:31 targetb kernel: CR2: 000000000000002a



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

Reply via email to