Hi, [root@xcp-02 iscsi]# iscsiadm -m discovery -t st -p 192.168.1.50:3260 -I iser 192.168.1.50:3260,1 iqn.2010-09.org.openindiana:02:4573174a-70c4-4bd9-a884-97f86bdc0d19 192.168.2.101:3260,1 iqn.2010-09.org.openindiana:02:4573174a-70c4-4bd9-a884-97f86bdc0d19
[root@xcp-02 iscsi]# iscsiadm -m node -p 192.168.1.50 -l Logging in to [iface: iser, target: iqn.2010-09.org.openindiana:02:4573174a-70c4-4bd9-a884-97f86bdc0d19, portal: 192.168.1.50,3260] (multiple) iscsiadm: got read error (0/0), daemon died? iscsiadm: Could not login to [iface: iser, target: iqn.2010-09.org.openindiana:02:4573174a-70c4-4bd9-a884-97f86bdc0d19, portal: 192.168.1.50,3260]. iscsiadm: initiator reported error (18 - could not communicate to iscsid) iscsiadm: Could not log into all portals [root@xcp-02 iscsi]# Message from syslogd@ at Sat Nov 10 22:24:09 2012 ... xcp-02 kernel: [ 1045.763399] Oops: 0000 [#1] SMP (another console on this pc) [root@xcp-02 ~]# iscsid -f -d 7 iscsid: sysfs_init: sysfs_path='/sys' iscsid: InitiatorName=iqn.2012-11.de.startplus:8704b8f5 iscsid: InitiatorAlias=xcp-02 iscsid: InitiatorName=iqn.2012-11.de.startplus:8704b8f5 iscsid: InitiatorAlias=xcp-02 iscsid: Max file limits 1024 1024 iscsid: Could not increase process priority: Success iscsid: reaped pid 13535, reap_count now 0 iscsid: poll result 1 iscsid: mgmt_ipc_write_rsp: rsp to fd 5 iscsid: poll result 1 iscsid: mgmt_ipc_write_rsp: rsp to fd 5 iscsid: poll result 1 iscsid: mgmt_ipc_write_rsp: rsp to fd 5 iscsid: poll result 1 iscsid: mgmt_ipc_write_rsp: rsp to fd 5 iscsid: poll result 1 iscsid: mgmt_ipc_write_rsp: rsp to fd 5 iscsid: poll result 1 iscsid: Matched transport iser iscsid: sysfs_attr_get_value: open '/class/iscsi_transport/iser'/'handle' iscsid: sysfs_attr_get_value: new uncached attribute '/sys/class/iscsi_transport/iser/handle' iscsid: sysfs_attr_get_value: add to cache '/sys/class/iscsi_transport/iser/handle' iscsid: sysfs_attr_get_value: cache '/sys/class/iscsi_transport/iser/handle' with attribute value '4052264544' iscsid: sysfs_attr_get_value: open '/class/iscsi_transport/iser'/'caps' iscsid: sysfs_attr_get_value: new uncached attribute '/sys/class/iscsi_transport/iser/caps' iscsid: sysfs_attr_get_value: add to cache '/sys/class/iscsi_transport/iser/caps' iscsid: sysfs_attr_get_value: cache '/sys/class/iscsi_transport/iser/caps' with attribute value '0x9' iscsid: Matched transport tcp iscsid: sysfs_attr_get_value: open '/class/iscsi_transport/tcp'/'handle' iscsid: sysfs_attr_get_value: new uncached attribute '/sys/class/iscsi_transport/tcp/handle' iscsid: sysfs_attr_get_value: add to cache '/sys/class/iscsi_transport/tcp/handle' iscsid: sysfs_attr_get_value: cache '/sys/class/iscsi_transport/tcp/handle' with attribute value '4035672128' iscsid: sysfs_attr_get_value: open '/class/iscsi_transport/tcp'/'caps' iscsid: sysfs_attr_get_value: new uncached attribute '/sys/class/iscsi_transport/tcp/caps' iscsid: sysfs_attr_get_value: add to cache '/sys/class/iscsi_transport/tcp/caps' iscsid: sysfs_attr_get_value: cache '/sys/class/iscsi_transport/tcp/caps' with attribute value '0x39' iscsid: Allocted session 0x9354ba0 iscsid: no authentication configured... iscsid: resolved 192.168.1.50 to 192.168.1.50 iscsid: setting iface iser, dev , set ip , hw , transport iser. Killed [root@xcp-02 ~]# Message from syslogd@ at Sat Nov 10 22:24:09 2012 ... xcp-02 kernel: [ 1045.763399] Oops: 0000 [#1] SMP (another console on this pc) [ 74.338177] Loading iSCSI transport class v2.0-870. [ 74.376486] iscsi: registered transport (tcp) [ 74.418468] iscsi: registered transport (iser) [ 82.219736] xenbr3: no IPv6 routers present [ 82.509739] xenbr1: no IPv6 routers present [ 82.569735] xenbr2: no IPv6 routers present [ 1045.763364] BUG: unable to handle kernel NULL pointer dereference at 00000002 [ 1045.763376] IP: [<f1885f13>] iser_connect+0x13/0x1b0 [ib_iser] [ 1045.763390] *pdpt = 00000017d7221027 *pde = 0000000000000000 [ 1045.763399] Oops: 0000 [#1] SMP [ 1045.763406] last sysfs file: /sys/class/iscsi_transport/tcp/caps [ 1045.763412] Modules linked in: ib_iser iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi tcp_diag inet_diag l ockd sunrpc openvswitch ipt_REJECT nf_conntrack_ipv4 nf_defrag_ipv4 xt_state nf_conntrack xt_tcpudp iptable_filter ip_tables x_tables rdma_ucm rdma_cm iw_cm ib_addr ib_ipoib ib_cm ib_sa ipv6 ib_uverbs ib_umad mlx4_ib mlx4_en mlx4_ core ib_mthca ib_mad ib_core binfmt_misc dm_mirror video output sbs sbshc fan battery ac parport_pc lp parport nvra m sr_mod cdrom container thermal pata_acpi processor evdev usbhid sg button thermal_sys bnx2 hpilo 8250_pnp 8250 se rial_core serio_raw ata_piix rtc_cmos rtc_core ata_generic rtc_lib tpm_tis tpm tpm_bios libata pcspkr dm_region_has h dm_log dm_mod hpsa sd_mod scsi_mod ext3 jbd uhci_hcd ohci_hcd ehci_hcd usbcore fbcon font tileblit bitblit softcu rsor [last unloaded: microcode] [ 1045.763560] [ 1045.763565] Pid: 13534, comm: iscsid Not tainted (2.6.32.43-0.4.1.xs1.6.07.734.170748xen #1) ProLiant DL360 G7 [ 1045.763573] EIP: 0061:[<f1885f13>] EFLAGS: 00010296 CPU: 0 [ 1045.763580] EIP is at iser_connect+0x13/0x1b0 [ib_iser] [ 1045.763586] EAX: d9c658bc EBX: d9c658bc ECX: 00000000 EDX: 00000000 [ 1045.763591] ESI: d9c658bc EDI: eda84848 EBP: ecfe9c7c ESP: ecfe9c48 [ 1045.763597] DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0069 [ 1045.763603] Process iscsid (pid: 13534, ti=ecfe8000 task=ede26240 task.ti=ecfe8000) [ 1045.763609] Stack: [ 1045.763612] ecfe9c50 c021a111 ecfe9c7c f08dfe40 00000000 f08e0c8a 00000001 00000000 [ 1045.763626] <0> 00000001 00000000 d9c658bc d9c65800 eda84848 ecfe9c98 f1888974 eda84848 [ 1045.763642] <0> 00000000 f1888930 00000000 f188a660 ecfe9cf0 f08df15a c13837a0 ecfe9cdc [ 1045.763659] Call Trace: [ 1045.763667] [<c021a111>] ? sysfs_create_group+0x11/0x20 [ 1045.763678] [<f08dfe40>] ? iscsi_create_endpoint+0xf0/0x130 [scsi_transport_iscsi] [ 1045.763688] [<f1888974>] ? iscsi_iser_ep_connect+0x44/0x80 [ib_iser] [ 1045.763697] [<f1888930>] ? iscsi_iser_ep_connect+0x0/0x80 [ib_iser] [ 1045.763707] [<f08df15a>] ? iscsi_if_rx+0x77a/0x9b0 [scsi_transport_iscsi] [ 1045.763715] [<c01bcdf7>] ? __kmalloc+0x177/0x1f0 [ 1045.763721] [<c01bcf58>] ? kmem_cache_alloc+0xe8/0x190 [ 1045.763730] [<c0347d64>] ? __alloc_skb+0x74/0x180 [ 1045.763738] [<c036ba81>] ? netlink_unicast+0x241/0x250 [ 1045.763746] [<c0349acc>] ? memcpy_fromiovec+0x4c/0x70 [ 1045.763753] [<c036c771>] ? netlink_sendmsg+0x1c1/0x280 [ 1045.763760] [<c033ffd7>] ? sock_sendmsg+0xd7/0x100 [ 1045.763767] [<c0106730>] ? xen_clocksource_read+0x20/0x130 [ 1045.763775] [<c014e6b0>] ? autoremove_wake_function+0x0/0x50 [ 1045.763782] [<c0130b3c>] ? check_preempt_wakeup+0x4c/0x1e0 [ 1045.763789] [<c01256a8>] ? check_preempt_curr+0x58/0x60 [ 1045.763797] [<c0261871>] ? copy_from_user+0x41/0x70 [ 1045.763804] [<c0349df6>] ? verify_iovec+0x36/0xa0 [ 1045.763810] [<c0340116>] ? sys_sendmsg+0x116/0x230 [ 1045.763817] [<c0125465>] ? __wake_up+0x45/0x60 [ 1045.763824] [<c02b3418>] ? tty_wakeup+0x38/0x70 [ 1045.763830] [<c02bb00f>] ? pty_write+0x5f/0x70 [ 1045.763838] [<c0106730>] ? xen_clocksource_read+0x20/0x130 [ 1045.763845] [<c02b9503>] ? put_ldisc+0x73/0xe0 [ 1045.763852] [<c02b95fd>] ? tty_ldisc_deref+0xd/0x10 [ 1045.763858] [<c02b33ab>] ? tty_write+0x1ab/0x1e0 [ 1045.763865] [<c03413a7>] ? sys_socketcall+0x247/0x270 [ 1045.763872] [<c0261a43>] ? copy_to_user+0x43/0x60 [ 1045.763878] [<c0104571>] ? syscall_call+0x7/0xb [ 1045.763883] Code: 24 ec 94 88 f1 e8 ee f4 8a ce 8b 45 b8 f0 ff 48 34 ba ff ff ff ff eb cb 55 89 e5 57 56 53 83 e c 28 0f 1f 44 00 00 89 55 dc 89 c6 <0f> b7 41 02 8d 59 04 89 cf 89 5c 24 08 c7 44 24 04 07 a4 88 f1 [ 1045.763961] EIP: [<f1885f13>] iser_connect+0x13/0x1b0 [ib_iser] SS:ESP 0069:ecfe9c48 [ 1045.763975] CR2: 0000000000000002 [ 1045.787858] ---[ end trace f18ba87818cd4f07 ]--- [root@xcp-02 ~]# iscsid -v iscsid version 2.0-873 [root@xcp-02 ~]# cat /etc/issue Xen.org XCP Host 1.6.7-61365c .... [root@xcp-02 ~]# route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 xenbr0 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 ib0 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 ib0 0.0.0.0 192.168.2.1 0.0.0.0 UG 0 0 0 xenbr0 [root@xcp-02 ~]# tracepath 192.168.1.50 1: 192.168.1.20 (192.168.1.20) 0.062ms pmtu 65520 1: 192.168.1.50 (192.168.1.50) 0.282ms reached Resume: pmtu 65520 hops 1 back 1 [root@xcp-02 ~]# ssh -l frank 192.168.1.50 Password: Last login: Sat Nov 10 22:32:09 2012 from 192.168.1.20 OpenIndiana (powered by illumos) SunOS 5.11 oi_151a6 September 2012 frank@zfs:~$ logout Connection to 192.168.1.50 closed. Install history: + New install XCP 1.6 - erase open-iscsi-2.0.871-0.20.3.xs1031 + ofed-1.5.3/OFED-1.5.3(./install.pl -c ofed-all.conf -vvv) ofed-all.conf: core=y mthca=y mlx4=y mlx4_en=y cxgb3=y cxgb4=y nes=y ipoib=y sdp=y srp=y srpt=y rds=y iser=y libibverbs=y libibverbs-utils=y libmthca=y libmlx4=y libcxgb3=y libcxgb4=y libnes=y libibcm=y libibumad=y libibmad=y ibsim=y ibacm=y librdmacm=y librdmacm-utils=y libsdp=y opensm=y opensm-libs=y compat-dapl=y dapl=y dapl-utils=y perftest=y sdpnetstat=y srptools=y rds-tools=y infiniband-diags=y qperf=y ofed-docs=y ofed-scripts=y open-iscsi-generic=y kernel-ib=y kernel-ib-devel=y mstflint=n ibutils=n + open-iscsi-2.0-873 (make, make install) Installation without errors. What am I doing wrong or is this a bug? Many thanks in advance. Frank -- You received this message because you are subscribed to the Google Groups "open-iscsi" group. To view this discussion on the web visit https://groups.google.com/d/msg/open-iscsi/-/Ihaf1AAPBfQJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/open-iscsi?hl=en.
