2017-03-13, 22:56
Hi all,
I switched to the latest ipxe build (fdcdc) (git://git.ipxe.org/ipxe.git), but somehow I'm not able to sanboot with iscsi anymore. It gives an error, showing "Could not open San device: error 0x3f122003". Both UEFI and BIOS mode encounter the same error.
However if I switch back to the old build 30f9, the San device is correctly registered, no error occurs with booting.
(server: Ubuntu 16.04 with iscsitarget (iSCSI Enterprise Target))
Here is the menu entry:
:Win10-installer
dhcp net0
set net0/gateway 0.0.0.0
set keep-san 1
sanhook --drive 0x81 iscsi:${fog-ip}::::workgroup:install-test
set path /fog/win10-installer-1607
kernel http://${fog-ip}/fog/boot/winpe/wimboot
initrd http://${fog-ip}${path}/bootmgr BOOTMGR
#initrd http://${fog-ip}${path}/bootmgr.exe bootmgr.exe
initrd http://${fog-ip}${path}/bootmgr.efi bootmgr.efi
initrd http://${fog-ip}${path}/boot/bcd bcd
initrd http://${fog-ip}${path}/boot/boot.sdi boot.sdi
initrd http://${fog-ip}${path}/sources/boot.wim boot.wim
imgstat || echo "ERROR at IMGSTAT"; sleep 3
prompt || echo "ERROR at PROMPT"; sleep 3
boot || echo "ERROR AT BOOT"; sleep 3;goto MENU
The attachments are screenshots with debug mode on (iscsi), taken from hyper-v (UEFI mode). I appreciate any helps!
https://imgur.com/a/JT83O
------
Edit:
I tested with the package targetcli today, and the san device registered normally; so I think the problem might be about IET(iSCSI Enterprise Target) and ipxe.
3/20:
Here is the screenshot with scsi debug option enabled:
https://imgur.com/6YdOEyS
...
iSCSI 0xf6e503e8 ignoring ErrorRecoueryLeuel-0
iSCSI 0xf6e503e8 entering full feature phase
SCSI 0xf6e52448 waiting for unit to become ready
SCSI 0xf6e52448 tag 18ae0002 status 02 sense 70 key 00 additional 2900
SCSI 0xf6e52448 tag 18ae0002 closed: Input/output error (http://ipxe.org/1d704098)
SCSI 0xf6e52448 not ready: Input/output error (http://ipxe.org/1d704098)
iSCSI 0xf6e503e8 closed: Input/output error (http://ipxe.org/1d704098)
SCSI 0xf6e52448 tag 18ae0002 closed: Input/output error (http://ipxe.org/1d704098)
assert((($scsicmd->list))->next->prev == (($scsicmd->list))) failed at drivers/block/scsi.c line 399
assert((($scsicmd->list))->prev->next == (($scsicmd->list))) failed at drivers/block/scsi.c line 399
Could not open SAN device: Error 0x3f122083 (http://ipxe.org/3f122083)
Could not boot: Error 0x3f122083 (http://ipxe.org/3f122083)
Could not boot: Error 0x3f122083 (http://ipxe.org/3f122083)
I switched to the latest ipxe build (fdcdc) (git://git.ipxe.org/ipxe.git), but somehow I'm not able to sanboot with iscsi anymore. It gives an error, showing "Could not open San device: error 0x3f122003". Both UEFI and BIOS mode encounter the same error.
However if I switch back to the old build 30f9, the San device is correctly registered, no error occurs with booting.
(server: Ubuntu 16.04 with iscsitarget (iSCSI Enterprise Target))
Here is the menu entry:
:Win10-installer
dhcp net0
set net0/gateway 0.0.0.0
set keep-san 1
sanhook --drive 0x81 iscsi:${fog-ip}::::workgroup:install-test
set path /fog/win10-installer-1607
kernel http://${fog-ip}/fog/boot/winpe/wimboot
initrd http://${fog-ip}${path}/bootmgr BOOTMGR
#initrd http://${fog-ip}${path}/bootmgr.exe bootmgr.exe
initrd http://${fog-ip}${path}/bootmgr.efi bootmgr.efi
initrd http://${fog-ip}${path}/boot/bcd bcd
initrd http://${fog-ip}${path}/boot/boot.sdi boot.sdi
initrd http://${fog-ip}${path}/sources/boot.wim boot.wim
imgstat || echo "ERROR at IMGSTAT"; sleep 3
prompt || echo "ERROR at PROMPT"; sleep 3
boot || echo "ERROR AT BOOT"; sleep 3;goto MENU
The attachments are screenshots with debug mode on (iscsi), taken from hyper-v (UEFI mode). I appreciate any helps!
https://imgur.com/a/JT83O
------
Edit:
I tested with the package targetcli today, and the san device registered normally; so I think the problem might be about IET(iSCSI Enterprise Target) and ipxe.
3/20:
Here is the screenshot with scsi debug option enabled:
https://imgur.com/6YdOEyS
...
iSCSI 0xf6e503e8 ignoring ErrorRecoueryLeuel-0
iSCSI 0xf6e503e8 entering full feature phase
SCSI 0xf6e52448 waiting for unit to become ready
SCSI 0xf6e52448 tag 18ae0002 status 02 sense 70 key 00 additional 2900
SCSI 0xf6e52448 tag 18ae0002 closed: Input/output error (http://ipxe.org/1d704098)
SCSI 0xf6e52448 not ready: Input/output error (http://ipxe.org/1d704098)
iSCSI 0xf6e503e8 closed: Input/output error (http://ipxe.org/1d704098)
SCSI 0xf6e52448 tag 18ae0002 closed: Input/output error (http://ipxe.org/1d704098)
assert((($scsicmd->list))->next->prev == (($scsicmd->list))) failed at drivers/block/scsi.c line 399
assert((($scsicmd->list))->prev->next == (($scsicmd->list))) failed at drivers/block/scsi.c line 399
Could not open SAN device: Error 0x3f122083 (http://ipxe.org/3f122083)
Could not boot: Error 0x3f122083 (http://ipxe.org/3f122083)
Could not boot: Error 0x3f122083 (http://ipxe.org/3f122083)