Hi, I am trying to setup iSCSI booting (mainly for testing an installer) but I am running into issues getting isboot to work. I'm using isc-dhcpd to get the BIOS to load undionly.kpxe (from the ipxe package) and then using iPXE's sanboot command. The loader runs and I can load the kernel and isboot.ko (from the isboot-kmod package) OK (although slower than I was hoping - not as bad as loading over tftp though..) but isboot fails to connect. I see isboot print out the correct information (IP address, target IP and name) but after that it says.. BootNIC: em0 Configure: IPv6 by NIC0 CHAP Type: No CHAP Attempting to login to iSCSI target and scan all LUNs. soreceive BHS is not complete do login failed The last two lines repeat many times (interspersed with other probe/boot messages) until I get to mount root. The system sees the hard disk and CDROM but not the iSCSI device. It is a VM (ESXi defaults for 64 bit FreeBSD) if that matters. I did have to set kern.cam.ctl.iscsi.ping_timeout=0 on the iSCSI target machine because iPXE's initiator doesn't know how to respond to NOPs so it wouldn't connect. Thanks. -- Daniel O'Connor "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum
> On 6 Sep 2018, at 10:18, O'Connor, Daniel <darius at dons.net.au> wrote: > BootNIC: em0 > Configure: IPv6 by NIC0 > CHAP Type: No CHAP > Attempting to login to iSCSI target and scan all LUNs. > soreceive BHS is not complete > do login failed > > The last two lines repeat many times (interspersed with other probe/boot messages) until I get to mount root.I did some tcpdumping and it seems that there is iSCSI traffic but it stops and I am wondering if the ethernet card isn't getting tickled correctly so after a while it stops talking. The traffic seems to be... - 3 x NOP In - Read LBA 0 - Login - TUR - Read LBA 0 - Read LBA 0x40 - Read LBA 0x1 - Read LBA 0x641 The reads seem OK and have plausible data (MBR headers) The last thing it sees are 3 x NOP In just after it looks like something (in the kernel!) reads /etc/services which seems pretty weird.. -- Daniel O'Connor "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum