From owner-freebsd-stable@freebsd.org Thu Sep 6 00:58:54 2018 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4681CFD415A for ; Thu, 6 Sep 2018 00:58:54 +0000 (UTC) (envelope-from darius@dons.net.au) Received: from ipmailnode02.adl6.internode.on.net (ipmailnode02.adl6.internode.on.net [150.101.137.148]) by mx1.freebsd.org (Postfix) with ESMTP id 6AA3F7CE18 for ; Thu, 6 Sep 2018 00:58:52 +0000 (UTC) (envelope-from darius@dons.net.au) Received: from ppp118-210-0-86.bras1.adl4.internode.on.net (HELO midget.dons.net.au) ([118.210.0.86]) by ipmail02.adl6.internode.on.net with ESMTP; 06 Sep 2018 10:28:51 +0930 Received: from midget.dons.net.au (localhost [127.0.0.1]) by midget.dons.net.au (8.15.2/8.15.2) with ESMTPS id w860wf2e032490 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Thu, 6 Sep 2018 10:28:46 +0930 (ACST) (envelope-from darius@dons.net.au) Received: (from mailnull@localhost) by midget.dons.net.au (8.15.2/8.15.2/Submit) id w860moQH025788 for ; Thu, 6 Sep 2018 10:18:50 +0930 (ACST) (envelope-from darius@dons.net.au) X-Authentication-Warning: midget.dons.net.au: mailnull set sender to using -f Received: from [203.31.81.59] ([203.31.81.59]) by ppp118-210-0-86.bras1.adl4.internode.on.net (envelope-sender ) (MIMEDefang) with ESMTP id w860mnkA025787; Thu, 06 Sep 2018 10:18:50 +0930 From: "O'Connor, Daniel" Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Date: Thu, 6 Sep 2018 10:18:48 +0930 Subject: iSCSI booting with isboot Message-Id: To: freebsd-stable X-Mailer: Apple Mail (2.3445.9.1) X-Spam-Score: 1.5 (*) No, score=1.5 required=5.0 tests=HELO_MISC_IP, RDNS_NONE autolearn=no autolearn_force=no version=3.4.1 X-Scanned-By: MIMEDefang 2.83 on 10.0.2.1 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Sep 2018 00:58:54 -0000 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=3D0 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