Using Intel Iscsi remote boot with istgt
Michael Fuckner
michael at fuckner.net
Sun Aug 9 18:20:11 UTC 2009
Hi,
I try to boot from Intel iSCSI Nic, but it does not work as planned.
I am using the following setup:
192.168.2.1 :iscsi-initiator, gateway
192.168.2.65: iscsi-target with intel iscsi rom installed
istgt is 20090428, iscsi-initiator is 2.2.3
I can connect from the OS
c64# iscontrol -d -t 192.168.2.1 -c /etc/iscsi.conf -n c64iscsi
TargetName=iqn.2007-09.jp.ne.peach.istgt:target0
TargetAddress=192.168.2.1:3260,1
c64# iscontrol -t 192.168.2.1 -c /etc/iscsi.conf -n c64iscsi
c64# iscontrol[1576]: running
iscontrol[1576]: (pass1:iscsi0:0:0:0): tagged openings now 0
iscontrol: supervise starting main loop
c64# dmesg |grep da0
da0 at iscsi0 bus 0 target 0 lun 0
da0: <FreeBSD iSCSI DISK 0001> Fixed Direct Access SCSI-5 device
da0 at iscsi0 bus 0 target 0 lun 0
da0: <FreeBSD iSCSI DISK 0001> Fixed Direct Access SCSI-5 device
c64# cat /etc/iscsi.conf
c64iscsi {
AuthMethod = None
chapIName = c64iscsi
chapSecret = 1234567890123456
Initiatorname = iqn.1991-05.com.microsoft:c64iscsi
TargetName = iqn.2007-09.jp.ne.peach.istgt:target0
TargetAddress = 192.168.2.1 # your iscsi server IP
}
When trying to connect using the Intel Card I get:
-------------------------------------------
Intel(R) iSCSI Boot version 2.3.52
Copyright (c) 2003-2009 Intel Corporation. All rights reserved.
Press ESC key to skip iscsi boot initialization
Initializing adapter configuration - MAC address(0015177CC363).
Using STATIC configuration for primary port. Please wait.
iSCSI Target Name : iqn.2007-09.jp.ne.peach.istgt:target0
iSCSI Target IP Address : 192.168.2.1
LUN ID: 1 Port 3260
VLAN ID : 3
iSCSI Initiator IP: 192.168.2.65
iSCSI Gateway IP: 192.168.2.1
iSCSI Initiator Name: iqn.1991-05.com.microsoft:c64iscsi
Attempting to connect to target disk using MAC address(0015177CC363)
ERROR: Could not establish TCP/IP connection with iSCSI target.
No disk found!
-------------------------------------------
In tcpdump I don't even see the card trying to do anything useful.
tcpdump -nvi em0 port 3260
18:05:18.602286 IP (tos 0x0, ttl 64, id 24099, offset 0, flags [DF],
proto TCP (6), length 100) 192.168.2.1.3260 > 192.168.2.65.51302: P
144:192(48) ack 1 win 8326 <nop,nop,timestamp 2290117811 1457095>
Any idea how to tell the Intel card to boot via network?
Regards,
Michael!
More information about the freebsd-fs
mailing list