Open-iscsi + xen + OpenSolaris

20 views
Skip to first unread message

Fuzzy

unread,
Oct 31, 2007, 3:11:44โ€ฏAM10/31/07
to open-iscsi
Hello there,

I have been trying for about a week now, unsuccessfully, to make open-
iscsi login to a OpenSolaris iscsi target from within a xen guest. I
have tried doing this with a Ubuntu Fiesty guest, a Debian Etch guest,
and now finally a Ubuntu Gutsy guest. I have seen all 3 have this
kernel oops after discovery, while attempting login. Each guest I
have used the xen kernel that a normal install of the said distro/
version would normally use for it's guest. The OpenSolaris machine is
a Nevada 75 release exporting iscsi targets from zfs. After reading
this mailing list it seemed that my open-iscsi was too old, hence the
move to Gutsy. Please Advise as I am out of ideas at this point.

Linux kernel 2.6.22-14-xen
Transport class version 2.0-724. iscsid version 2.0-865

# xm create -c /etc/xen/hosts/xen-guest-2.cfg
Using config file "/etc/xen/hosts/xen-guest-2.cfg".
Started domain xen-guest-2
[ 0.000000] Linux version 2.6.22-14-xen (buildd@palmer) (gcc
version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)) #1 SMP
Mon Oct 15 00:35:38 GMT 2007 (Unofficial)
[ 0.000000] Reserving virtual address space above 0xf5800000
[ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] Xen: 0000000000000000 - 0000000010800000 (usable)
[ 0.000000] 0MB HIGHMEM available.
[ 0.000000] 264MB LOWMEM available.
[87572.944814] Zone PFN ranges:
[87572.944817] DMA 0 -> 67584
[87572.944820] Normal 67584 -> 67584
[87572.944822] HighMem 67584 -> 67584
[87572.944825] early_node_map[1] active PFN ranges
[87572.944827] 0: 0 -> 67584
[87572.955651] ACPI in unprivileged domain disabled
[87572.957830] Allocating PCI resources starting at 20000000 (gap:
10800000:ef800000)
[87572.957929] Built 1 zonelists. Total pages: 67056
[87572.957935] Kernel command line: root=/dev/sda1 ro xencons=tty
[87572.958221] Enabling fast FPU save and restore... done.
[87572.958229] Enabling unmasked SIMD FPU exception support... done.
[87572.958234] Initializing CPU#0
[87572.958570] PID hash table entries: 2048 (order: 11, 8192 bytes)
[87572.958638] Xen reported: 2399.908 MHz processor.
[87572.958673] Console: colour dummy device 80x25
[87572.959216] Dentry cache hash table entries: 65536 (order: 6,
262144 bytes)
[87572.959781] Inode-cache hash table entries: 32768 (order: 5, 131072
bytes)
[87572.959980] Software IO TLB disabled
[87572.960000] vmalloc area: d1000000-f53fe000, maxmem 2d800000
[87572.968718] Memory: 239224k/270336k available (2071k kernel code,
22596k reserved, 926k data, 200k init, 0k highmem)
[87572.968757] virtual kernel memory layout:
[87572.968758] fixmap : 0xf568f000 - 0xf57ff000 (1472 kB)
[87572.968760] pkmap : 0xf5400000 - 0xf5600000 (2048 kB)
[87572.968761] vmalloc : 0xd1000000 - 0xf53fe000 ( 579 MB)
[87572.968763] lowmem : 0xc0000000 - 0xd0800000 ( 264 MB)
[87572.968764] .init : 0xc03f3000 - 0xc0425000 ( 200 kB)
[87572.968765] .data : 0xc0305cfe - 0xc03ed544 ( 926 kB)
[87572.968767] .text : 0xc0100000 - 0xc0305cfe (2071 kB)
[87572.968799] Checking if this processor honours the WP bit even in
supervisor mode... Ok.
[87572.968893] SLUB: Genslabs=22, HWalign=64, Order=0-1, MinObjects=4,
CPUs=1, Nodes=1
[87573.052883] Calibrating delay using timer specific routine..
6007.44 BogoMIPS (lpj=12014888)
[87573.052940] Security Framework v1.0.0 initialized
[87573.052961] SELinux: Disabled at boot.
[87573.052995] Mount-cache hash table entries: 512
[87573.053275] CPU: Trace cache: 12K uops, L1 D cache: 8K
[87573.053289] CPU: L2 cache: 512K
[87573.053313] Compat vDSO mapped to f57fe000.
[87573.053336] Checking 'hlt' instruction... OK.
[87573.053792] SMP alternatives: switching to UP code
[87573.054257] Freeing SMP alternatives: 11k freed
[87573.054483] Early unpacking initramfs... done
[87573.085557] Brought up 1 CPUs
[87573.086691] NET: Registered protocol family 16
[87573.090653] Brought up 1 CPUs
[87573.090708] PCI: Fatal: No config space access function found
[87573.090723] PCI: setting up Xen PCI frontend stub
[87573.091795] ACPI: Interpreter disabled.
[87573.091818] Linux Plug and Play Support v0.97 (c) Adam Belay
[87573.091857] pnp: PnP ACPI: disabled
[87573.092898] xen_mem: Initialising balloon driver.
[87573.158111] Setting mem allocation to 262144 kiB
[87573.158440] PCI: System does not support PCI
[87573.158461] PCI: System does not support PCI
[87573.158554] NET: Registered protocol family 8
[87573.158567] NET: Registered protocol family 20
[87573.159456] NET: Registered protocol family 2
[87573.159525] Time: xen clocksource has been installed.
[87573.190256] IP route cache hash table entries: 4096 (order: 2,
16384 bytes)
[87573.190348] TCP established hash table entries: 16384 (order: 5,
196608 bytes)
[87573.190490] TCP bind hash table entries: 16384 (order: 5, 131072
bytes)
[87573.190661] TCP: Hash tables configured (established 16384 bind
16384)
[87573.190679] TCP reno registered
[87573.202401] checking if image is initramfs... it is
[87573.261181] Freeing initrd memory: 15355k freed
[87573.261771] audit: initializing netlink socket (disabled)
[87573.261823] audit(1193790558.258:1): initialized
[87573.265034] VFS: Disk quotas dquot_6.5.1
[87573.265181] Dquot-cache hash table entries: 1024 (order 0, 4096
bytes)
[87573.265536] io scheduler noop registered
[87573.265560] io scheduler anticipatory registered
[87573.265574] io scheduler deadline registered
[87573.265637] io scheduler cfq registered (default)
[87573.296906] Real Time Clock Driver v1.12ac
[87573.298103] RAMDISK driver initialized: 16 RAM disks of 65536K size
1024 blocksize
[87573.298358] input: Macintosh mouse button emulation as /class/input/
input0
[87573.305531] Xen virtual console successfully installed as tty1
[87573.305656] Event-channel device installed.
[87573.469232] netfront: Initialising virtual ethernet driver.
[87573.538363] PNP: No PS/2 controller found. Probing ports directly.
[87573.539463] i8042.c: No controller found.
[87573.539870] mice: PS/2 mouse device common for all mice
[87573.540263] TCP cubic registered
[87573.540327] NET: Registered protocol family 1
[87573.540387] Using IPI No-Shortcut mode
[87573.604245] xen-vbd: registered block device major 8
[87573.604305] blkfront: sda1: barriers enabled
[87573.606805] blkfront: sda2: barriers enabled
[87573.671988] netfront: device eth0 has flipping receive path.
[87573.740074] netfront: device eth1 has flipping receive path.
[87573.809068] netfront: device eth2 has flipping receive path.
[87573.838470] Freeing unused kernel memory: 200k freed
Loading, please wait...
GCouldnt get a file descriptor referring to the console
Couldnt get a file descriptor referring to the console
Couldnt get a file descriptor referring to the console
Couldnt get a file descriptor referring to the console
Couldnt get a file descriptor referring to the console
Couldnt get a file descriptor referring to the console
Begin: Loading essential drivers... ...
[87574.251095] Capability LSM initialized
[87574.287125] thermal: Unknown symbol
acpi_processor_set_thermal_limit
Done.
Begin: Running /scripts/init-premount ...
Done.
Begin: Mounting root file system... ...
Begin: Running /scripts/local-top ...
Done.
Begin: Waiting for root file system... ...
Done.
Begin: Running /scripts/local-premount ...
Done.
[87574.795964] kjournald starting. Commit interval 5 seconds
[87574.796018] EXT3-fs: mounted filesystem with ordered data mode.
Begin: Running /scripts/local-bottom ...
Done.
Done.
Begin: Running /scripts/init-bottom ...
Done.
* Setting preliminary
keymap...
[87575.113932] Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports,
IRQ sharing enabled
Couldnt get a file descriptor referring to the console
Couldnt get a file descriptor referring to the console
Couldnt get a file descriptor referring to the console
Couldnt get a file descriptor referring to the console
Couldnt get a file descriptor referring to the console
Couldnt get a file descriptor referring to the console

[ OK ]
* Setting the system clock
* Starting basic
networking... [ OK ]
* Starting kernel event
manager... [ OK ]
* Loading hardware
drivers... [ OK ]
* Setting the system clock
* Loading kernel
modules... *
Loading manual drivers...
[ OK ]
* Activating
swap... [ OK ]
* Checking file
systems... fsck
1.40.2 (12-Jul-2007)

[ OK ]
* Mounting local
filesystems... [ OK ]
* Activating swapfile
swap... [ OK ]
* Checking minimum space in /
tmp... [ OK ]
* Configuring network
interfaces... [ OK ]
* Starting system log
daemon... [ OK ]

* Starting kernel log
daemon... [ OK ]

* Starting OpenBSD Secure Shell server
sshd [ OK ]

* Starting iSCSI initiator service
iscsid [ OK ]

* Setting up iSCSI
targets

iscsiadm: No records found!

[ OK ]

* Running local boot scripts (/etc/
rc.local) [ OK ]

Ubuntu 7.10 xen-host-2 tty1

xen-host-2 login: root
Last login: Wed Oct 31 00:28:12 UTC 2007 on tty1
Linux xen-host-2 2.6.22-14-xen #1 SMP Mon Oct 15 00:35:38 GMT 2007
i686

The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.
root@xen-host-2:~# dhclient eth0
Internet Systems Consortium DHCP Client V3.0.5
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/eth0/00:16:3e:00:00:04
Sending on LPF/eth0/00:16:3e:00:00:04
Sending on Socket/fallback
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPACK from 192.168.2.1
bound to 192.168.2.10 -- renewal in 1539 seconds.
root@xen-host-2:~# ifconfig eth1 172.16.253.2 netmask 255.255.255.0 up
root@xen-host-2:~# ifconfig eth2 172.16.254.2 netmask 255.255.255.0 up
root@xen-host-2:~# pkill -9 iscsid
root@xen-host-2:~# iscsid -d 8 -f &
[1] 2632
root@xen-host-2:~# iscsid: transport class version 2.0-724. iscsid
version 2.0-865
iscsid: in ctldev_open
iscsid: created NETLINK_ISCSI socket...
iscsid: InitiatorName==iqn.1993-08.org.debian:01:9eb0f35025bc
iscsid: an InitiatorAlias= is required, but was not found in /etc/
iscsi/initiatorname.iscsi
iscsid: InitiatorName=iqn.1993-08.org.debian:01:9eb0f35025bc
iscsid: InitiatorAlias=xen-host-2
iscsid: iscsid_exit
iscsid: in ctldev_close
iscsid: reaped pid 2633, reap_count now 0
root@xen-host-2:~# iscsiadm --mode discovery --type sendtargets --
portal 172.16.253.1
iscsid: poll result 1
iscsid: poll result 1
iscsid: poll result 1
172.16.253.1:3260,1 iqn.1986-03.com.sun:02:8d848623-537a-60e7-
add2-9374e6a33ce7
172.16.254.1:3260,1 iqn.1986-03.com.sun:02:8d848623-537a-60e7-
add2-9374e6a33ce7
192.168.2.2:3260,1 iqn.1986-03.com.sun:02:8d848623-537a-60e7-
add2-9374e6a33ce7
172.16.253.1:3260,1 iqn.1986-03.com.sun:02:dfbc4994-e7c1-c9a9-d3aa-
ae53f9ac4d0d
172.16.254.1:3260,1 iqn.1986-03.com.sun:02:dfbc4994-e7c1-c9a9-d3aa-
ae53f9ac4d0d
192.168.2.2:3260,1 iqn.1986-03.com.sun:02:dfbc4994-e7c1-c9a9-d3aa-
ae53f9ac4d0d
root@xen-host-2:~# iscsiadm --mode node --targetname iqn.
1986-03.com.sun:02:dfbc4994-e7c1-c9a9-d3aa-ae53f9ac4d0d --portal
172.16.253.1:3260 --login
iscsid: poll result 1
iscsid: poll result 1
iscsid: poll result 1
Login session [iface: default, target: iqn.1986-03.com.sun:02:dfbc4994-
e7c1-c9a9-d3aa-ae53f9ac4d0d, portal: 172.16.253.1,3260]
iscsid: poll result 1
iscsid: in read_transports
iscsid: Adding new transport iser
iscsid: Adding new transport tcp
iscsid: Matched transport tcp

iscsid: Allocted session 0x8083960
iscsid: thread 0808aa24 schedule: delay 0 state 2
iscsid: no authentication configured...
iscsid: resolved 172.16.253.1 to 172.16.253.1
iscsid: set TCP recv window size to 524288, actually got 221184
iscsid: set TCP send window size to 524288, actually got 221184
iscsid: connecting to 172.16.253.1:3260
iscsid: event_type: 2 adding to the tail:
0x0x808aa98:0x0x808aa98:0x0x808aab0:0x0x808ea98 elem 0x0x808aa98
length 24
iscsid: thread 0808aa24 schedule: delay 0 state 1
iscsid: thread 08088b24 schedule: delay 60 state 2
iscsid: thread 08088b24 wait some more
iscsid: exec thread 0808aa24 callback
iscsid: event_type: 2 removing from the head:
0x0x808aa98:0x0x808aab0:0x0x808aab0:0x0x808ea98 elem 0x0x808aa98
length 24
iscsid: connected local port 52523 to 172.16.253.1:3260
iscsid: thread 08088b24 delete: state 0
iscsid: deleting a scheduled/waiting thread!
iscsid: in kcreate_session
iscsid: in __kipc_call
iscsid: in kwritev
iscsid: in nlpayload_read
iscsid: in nlpayload_read
iscsid: created new iSCSI session 1
iscsid: in kcreate_conn
iscsid: in __kipc_call
iscsid: in kwritev
iscsid: in nlpayload_read
iscsid: in nlpayload_read
iscsid: created new iSCSI connection 1:0
iscsid: in kbind_conn
iscsid: in __kipc_call
iscsid: in kwritev
iscsid: in nlpayload_read
iscsid: in nlpayload_read
iscsid: bound iSCSI connection 1:0 to session 1
iscsid: sending login PDU with current stage 1, next stage 3, transit
0x80, isid 0x00023d010000 exp_statsn 0
iscsid: > InitiatorName=iqn.1993-08.org.debian:01:9eb0f35025bc
iscsid: > InitiatorAlias=xen-host-2
iscsid: > TargetName=iqn.1986-03.com.sun:02:dfbc4994-e7c1-c9a9-d3aa-
ae53f9ac4d0d
iscsid: > SessionType=Normal
iscsid: > HeaderDigest=None,CRC32C
iscsid: > DataDigest=None
iscsid: > DefaultTime2Wait=0
iscsid: > DefaultTime2Retain=0
iscsid: > IFMarker=No
iscsid: > OFMarker=No
iscsid: > ErrorRecoveryLevel=0
iscsid: > InitialR2T=No
iscsid: > ImmediateData=Yes
iscsid: > MaxBurstLength=16776192
iscsid: > FirstBurstLength=262144
iscsid: > MaxOutstandingR2T=1
iscsid: > MaxConnections=1
iscsid: > DataPDUInOrder=Yes
iscsid: > DataSequenceInOrder=Yes
iscsid: > MaxRecvDataSegmentLength=131072
iscsid: in ksend_pdu_begin
iscsid: send PDU began for hdr 48 bytes and data 488 bytes
iscsid: thread 08088b4c schedule: delay 60 state 2
iscsid: send_pdu timer added 15 secs
iscsid: in kwritev
iscsid: wrote 48 bytes of PDU header
iscsid: in kwritev
iscsid: wrote 488 bytes of PDU data
iscsid: in ksend_pdu_end
iscsid: in __kipc_call
iscsid: in kwritev
iscsid: in nlpayload_read
iscsid: in nlpayload_read
iscsid: send PDU finished for conn 1:0
iscsid: thread removed

[87821.992507] ------------[ cut here ]------------
[87821.992559] kernel BUG at /build/buildd/linux-source-2.6.22-2.6.22/
debian/build/custom-source-xen/drivers/scsi/iscsi_tcp.c:961!
[87821.992577] invalid opcode: 0000 [#1]
[87821.992589] SMP
[87821.992604] Modules linked in: crc32c libcrc32c af_packet ib_iser
rdma_cm ib_cm iw_cm ib_sa ib_mad ib_core ib_addr iscsi_tcp libiscsi
scsi_transport_iscsi scsi_mod ipv6 evdev 8250 serial_core ext3 jbd
mbcache capability commoncap
[87821.992681] CPU: 0
[87821.992682] EIP: 0061:[<d105f9e2>] Not tainted VLI
[87821.992684] EFLAGS: 00010283 (2.6.22-14-xen #1)
[87821.992705] EIP is at iscsi_tcp_data_recv+0xf62/0x1340 [iscsi_tcp]
[87821.992712] eax: 00000170 ebx: 00000002 ecx: c1029b44 edx:
00000170
[87821.992719] esi: 00000023 edi: d0186a80 ebp: d0186a80 esp:
c03efb68
[87821.992726] ds: 007b es: 007b fs: 00d8 gs: 0000 ss: 0069
[87821.992734] Process swapper (pid: 0, ti=c03ee000 task=c03bb1c0
task.ti=c03ee000)
[87821.992740] Stack: 0000016e c07e0000 c13baf00 d07b1400 0000000e
d02d7000 c055d700 c050f8dc
[87821.992771] d0186a88 c02b7547 d07b1428 00000000 00000034
d07b1190 00000000 c1029184
[87821.992800] d0186a80 c050f8dc cf1a6000 00000000 00000000
c02b69e1 0000000e c13baf00
[87821.992828] Call Trace:
[87821.992839] [<c02b7547>] ip_output+0x197/0x330
[87821.992867] [<c02b69e1>] ip_queue_xmit+0x1d1/0x400
[87821.992891] [<c02b69e1>] ip_queue_xmit+0x1d1/0x400
[87821.992916] [<c02db19d>] inet_sk_rebuild_header+0x2d/0x380
[87821.992944] [<c02cdc44>] tcp_v4_send_check+0x44/0xf0
[87821.992967] [<c02c7889>] tcp_transmit_skb+0x3f9/0x800
[87821.992985] [<c028a782>] skb_checksum+0x122/0x2d0
[87821.993011] [<c02bdff0>] tcp_read_sock+0xc0/0x180
[87821.993032] [<d105ea80>] iscsi_tcp_data_recv+0x0/0x1340
[iscsi_tcp]
[87821.993055] [<d1060158>] iscsi_tcp_data_ready+0x38/0x50
[iscsi_tcp]
[87821.993078] [<c02c68d9>] tcp_rcv_established+0x669/0x8f0
[87821.993101] [<c02c617f>] tcp_rcv_state_process+0xb6f/0xc60
[87821.993121] [<c02cd005>] tcp_v4_do_rcv+0x3f5/0x6e0
[87821.993140] [<c02ae539>] ip_route_input+0x39/0xd30
[87821.993158] [<c02d42d0>] __udp4_lib_rcv+0x3f0/0x960
[87821.993175] [<c028a6af>] skb_checksum+0x4f/0x2d0
[87821.993196] [<c0156ecd>] get_page_from_freelist+0xbd/0x430
[87821.993220] [<c02cfa6d>] tcp_v4_rcv+0x81d/0x990
[87821.993243] [<c02b1c32>] ip_local_deliver+0x122/0x2c0
[87821.993260] [<c026f63c>] network_alloc_rx_buffers+0xac/0x470
[87821.993287] [<c02b185a>] ip_rcv+0x2ea/0x5a0
[87821.993305] [<c026f653>] network_alloc_rx_buffers+0xc3/0x470
[87821.993332] [<c013bdba>] clocksource_get_next+0x3a/0x40
[87821.993361] [<c0290b67>] netif_receive_skb+0x237/0x420
[87821.993387] [<c027119d>] netif_poll+0x4fd/0xbf0
[87821.993406] [<c010891b>] sched_clock+0x3b/0x80
[87821.993437] [<c02930de>] net_rx_action+0xde/0x260
[87821.993459] [<c0127302>] __do_softirq+0x92/0x130
[87821.993483] [<c012742c>] do_softirq+0x8c/0x90
[87821.993503] [<c0106e20>] do_IRQ+0x40/0x70
[87821.993522] [<c0139a86>] ktime_get_ts+0x16/0x50
[87821.993544] [<c0259946>] evtchn_do_upcall+0xb6/0xf0
[87821.993564] [<c01057a6>] hypervisor_callback+0x46/0x4e
[87821.993587] [<c0108120>] xen_safe_halt+0xa0/0xf0
[87821.993604] [<c0104361>] xen_idle+0x31/0x60
[87821.993620] [<c01033f8>] cpu_idle+0x68/0xc0
[87821.993639] [<c03f3ab5>] start_kernel+0x335/0x3d0
[87821.993661] [<c03f31f0>] unknown_bootoption+0x0/0x260
[87821.993683] =======================
[87821.993691] Code: 85 c0 7e 05 3b 42 48 76 dd 0f b6 46 03 0d 00 00
04 00 89 82 28 01 00 00 e9 9f f9 ff ff b8 f4 03 00 00 e9 c2 f6 ff ff
0f 0b eb fe <0f> 0b eb fe 31 c9 e9 5a f4 ff ff 0f 0b eb fe 0f 0b eb fe
8b b4
[87821.993930] EIP: [<d105f9e2>] iscsi_tcp_data_recv+0xf62/0x1340
[iscsi_tcp] SS:ESP 0069:c03efb68
[87821.993974] Kernel panic - not syncing: Fatal exception in interrupt

Fuzzy

unread,
Oct 31, 2007, 3:53:14โ€ฏAM10/31/07
to open-iscsi
I also uploaded a snoop/tcpdump log of the connection to the file repo
for the mailing list

http://groups.google.com/group/open-iscsi/web/xen-iscsi-opensolaris-snoop-103007.log

Ross Vandegrift

unread,
Oct 31, 2007, 10:30:30โ€ฏAM10/31/07
to open-...@googlegroups.com
On Wed, Oct 31, 2007 at 12:11:44AM -0700, Fuzzy wrote:
> I have been trying for about a week now, unsuccessfully, to make open-
> iscsi login to a OpenSolaris iscsi target from within a xen guest. I
> have tried doing this with a Ubuntu Fiesty guest, a Debian Etch guest,
> and now finally a Ubuntu Gutsy guest. I have seen all 3 have this
> kernel oops after discovery, while attempting login. Each guest I
> have used the xen kernel that a normal install of the said distro/
> version would normally use for it's guest. The OpenSolaris machine is
> a Nevada 75 release exporting iscsi targets from zfs. After reading
> this mailing list it seemed that my open-iscsi was too old, hence the
> move to Gutsy. Please Advise as I am out of ideas at this point.

[snip]

> [87821.992507] ------------[ cut here ]------------
> [87821.992559] kernel BUG at /build/buildd/linux-source-2.6.22-2.6.22/
> debian/build/custom-source-xen/drivers/scsi/iscsi_tcp.c:961!


You're hitting the same BUG on all of the versions because iscsi is
reading in too much data from the TCP socket.

I'm not familiar enough with the iSCSI code to really tell you what's
gone wrong inside of there, but what kind of networking are you using
with Xen? If you're using bridged interfaces, I would think this
should work just fine.

--
Ross Vandegrift
ro...@kallisti.us

"The good Christian should beware of mathematicians, and all those who
make empty prophecies. The danger already exists that the mathematicians
have made a covenant with the devil to darken the spirit and to confine
man in the bonds of Hell."
--St. Augustine, De Genesi ad Litteram, Book II, xviii, 37

Mike Christie

unread,
Oct 31, 2007, 11:04:40โ€ฏAM10/31/07
to open-...@googlegroups.com
Ross Vandegrift wrote:
> On Wed, Oct 31, 2007 at 12:11:44AM -0700, Fuzzy wrote:
>> I have been trying for about a week now, unsuccessfully, to make open-
>> iscsi login to a OpenSolaris iscsi target from within a xen guest. I
>> have tried doing this with a Ubuntu Fiesty guest, a Debian Etch guest,
>> and now finally a Ubuntu Gutsy guest. I have seen all 3 have this
>> kernel oops after discovery, while attempting login. Each guest I
>> have used the xen kernel that a normal install of the said distro/
>> version would normally use for it's guest. The OpenSolaris machine is
>> a Nevada 75 release exporting iscsi targets from zfs. After reading
>> this mailing list it seemed that my open-iscsi was too old, hence the
>> move to Gutsy. Please Advise as I am out of ideas at this point.
>
> [snip]
>
>> [87821.992507] ------------[ cut here ]------------
>> [87821.992559] kernel BUG at /build/buildd/linux-source-2.6.22-2.6.22/
>> debian/build/custom-source-xen/drivers/scsi/iscsi_tcp.c:961!
>
>
> You're hitting the same BUG on all of the versions because iscsi is
> reading in too much data from the TCP socket.
>

You need to grab the open-iscsi tarball here
http://www.open-iscsi.org/bits/open-iscsi-2.0-865.15.tar.gz
and use the kernel modules from that tarball instead of the ones you are
using which look like they are from debian or xen.

Or if there is a kernel based on 2.6.23 from debian or xen, you should
use that.

In 2.6.22 and below there is bug where open-iscsi does not handle some
of the packets we got from open solaris correctly. It is not open
solaris's fault and was a driver bug.

Fuzzy

unread,
Oct 31, 2007, 3:18:52โ€ฏPM10/31/07
to open-iscsi

On Oct 31, 7:30 am, Ross Vandegrift <r...@kallisti.us> wrote:
> On Wed, Oct 31, 2007 at 12:11:44AM -0700, Fuzzy wrote:
> > I have been trying for about a week now, unsuccessfully, to make open-
> > iscsi login to a OpenSolaris iscsi target from within a xen guest. I
> > have tried doing this with a Ubuntu Fiesty guest, a Debian Etch guest,
> > and now finally a Ubuntu Gutsy guest. I have seen all 3 have this
> > kernel oops after discovery, while attempting login. Each guest I
> > have used the xen kernel that a normal install of the said distro/
> > version would normally use for it's guest. The OpenSolaris machine is
> > a Nevada 75 release exporting iscsi targets from zfs. After reading
> > this mailing list it seemed that my open-iscsi was too old, hence the
> > move to Gutsy. Please Advise as I am out of ideas at this point.
>
> [snip]
>
> > [87821.992507] ------------[ cut here ]------------
> > [87821.992559] kernel BUG at /build/buildd/linux-source-2.6.22-2.6.22/
> > debian/build/custom-source-xen/drivers/scsi/iscsi_tcp.c:961!
>
> You're hitting the same BUG on all of the versions because iscsi is
> reading in too much data from the TCP socket.
>
> I'm not familiar enough with the iSCSI code to really tell you what's
> gone wrong inside of there, but what kind of networking are you using
> with Xen? If you're using bridged interfaces, I would think this
> should work just fine.
>
> --
> Ross Vandegrift

> r...@kallisti.us


>
> "The good Christian should beware of mathematicians, and all those who
> make empty prophecies. The danger already exists that the mathematicians
> have made a covenant with the devil to darken the spirit and to confine
> man in the bonds of Hell."
> --St. Augustine, De Genesi ad Litteram, Book II, xviii, 37

Ross & Mike-

Yes it's a bridged networking environment. I'm going to try what Mike
suggested and I will report back. Thank you everyone for your
suggestions.

edwar...@gmail.com

unread,
Nov 1, 2007, 3:06:15โ€ฏPM11/1/07
to open-iscsi
Speaking of OpenSolaris, I wonder if anybody tried to connect to
NexentaStor iSCSI target
which was recently released?

http://www.nexenta.com/products

I'd like to double check if linux initiator works with this product
before downloading...

> Copyright 2004-2006 Internet Systems...
>
> read more ยป

Reply all
Reply to author
Forward
0 new messages