2012-10-13, 15:25
Environment:
VMWare Fusion with IPXE 'modded' into adapter.
I've also defined two flags in my build
http://ipxe.org/buildcfg/console_vmware
http://ipxe.org/buildcfg/vmware_settings (but I'm not using this feature)
And this is how I built IPXE:
make bin/8086100f.mrom bin/808610d3.mrom bin/10222000.rom bin/15ad07b0.rom DEBUG=scsi:3,iscsi
The following sequence fails:
Error output upon issuing sanhook command is:
iSCSI 0x1d2a4 has no suitable initiator IQN
iSCSI 0x1d2a4 closed: Invalid argument (http://ipxe.org/1c0d6502)
Could not open SAN device: Invalid argument (http://ipxe.org/1c0d6502)
Issuing the command repeatedly causes the same error.
I've looked at the line of code failing but I don't really have enough context yet to understand what the underlying problem really is. I think somehow I've mistyped the iscsi URI, but I've checked it repeatedly.
Also, I have had this work *rarely*. I'll sometimes change my vmware adapter setting from bridged to NAT (just trying things), but usually I'll reboot at the same time (so I'm not sure if it's a adapter problem or 'ipxe intermittent' problem). And at my work network, I have seen it work work, but very rarely. I usually get it to work but then it fails after.. But at my home network, I haven't seen it work yet.
Finally, I can connect to the ISCSI target on a separate linux machine.
Any pointers? Thanks!
Seth
VMWare Fusion with IPXE 'modded' into adapter.
I've also defined two flags in my build
http://ipxe.org/buildcfg/console_vmware
http://ipxe.org/buildcfg/vmware_settings (but I'm not using this feature)
And this is how I built IPXE:
make bin/8086100f.mrom bin/808610d3.mrom bin/10222000.rom bin/15ad07b0.rom DEBUG=scsi:3,iscsi
The following sequence fails:
Code:
ifopen net0
dhcp
sanhook --drive 0x81 iscsi:192.168.1.101:::0:iqn.2001-04.com.example:storage.lun1
Error output upon issuing sanhook command is:
iSCSI 0x1d2a4 has no suitable initiator IQN
iSCSI 0x1d2a4 closed: Invalid argument (http://ipxe.org/1c0d6502)
Could not open SAN device: Invalid argument (http://ipxe.org/1c0d6502)
Issuing the command repeatedly causes the same error.
I've looked at the line of code failing but I don't really have enough context yet to understand what the underlying problem really is. I think somehow I've mistyped the iscsi URI, but I've checked it repeatedly.
Also, I have had this work *rarely*. I'll sometimes change my vmware adapter setting from bridged to NAT (just trying things), but usually I'll reboot at the same time (so I'm not sure if it's a adapter problem or 'ipxe intermittent' problem). And at my work network, I have seen it work work, but very rarely. I usually get it to work but then it fails after.. But at my home network, I haven't seen it work yet.
Finally, I can connect to the ISCSI target on a separate linux machine.
Any pointers? Thanks!
Seth