From owner-freebsd-bugs@freebsd.org Fri Sep 7 14:28:28 2018 Return-Path: Delivered-To: freebsd-bugs@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 1C084FFC3D9 for ; Fri, 7 Sep 2018 14:28:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id ACA0D8B88C for ; Fri, 7 Sep 2018 14:28:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 6E348FFC3D8; Fri, 7 Sep 2018 14:28:27 +0000 (UTC) Delivered-To: bugs@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 4A4D2FFC3D7 for ; Fri, 7 Sep 2018 14:28:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D2D4D8B88A for ; Fri, 7 Sep 2018 14:28:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id E6A2513583 for ; Fri, 7 Sep 2018 14:28:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w87ESPUp063936 for ; Fri, 7 Sep 2018 14:28:25 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w87ESP8K063935 for bugs@FreeBSD.org; Fri, 7 Sep 2018 14:28:25 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 227808] FreeBSD-11.1-STABLE-amd64-bootonly.iso fails to mount root w/ error 19 on HP DL360 G8 and G9 via PXE Date: Fri, 07 Sep 2018 14:28:25 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: vmiller@verisign.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Sep 2018 14:28:28 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227808 --- Comment #22 from vmiller@verisign.com --- FWIW, one can workaround this problem by deploying a bootonly ISO configured with an MFS_IMAGE. EFI_STAGING_SIZE may need adjusting to accommodate larger objects; It defaults to 64. EFI_STAGING_SIZE can be defined within make.con= f, release.conf, or on the command line. While not illustrated below, EFI_STAGING_SIZE is implicitly defined specifying a make.conf that includes= the knob in the environment via MAKE_CONF. MFS_IMAGE is necessary because the project=E2=80=99s bootonly ISO fails to = PXE boot at mountroot() w/ error 19 indicating the boot media cannot be located. The hardware platform is HP DL360g9 in UEFI boot mode. MFS_IMAGE implies a MD_R= OOT root filesystem. The build system doesn't seem provide a mechanism to build a default MFS_IM= AGE and is therefore done outside the context of a build. The following procedu= re builds a binary distribution from the source tree in it's default form (including the default bootonly.iso). It rebuilds the bootonly.iso after generating a root partition and MDROOT kernel. # Create CHROOTDIR w/ GENERIC kernel (also builds binary release) root # cd ~/projects/freebsd root # git checkout releng/11.2 root # release/release.sh -c release/release.conf # Create root.part from ${OBJDIR} bootonly root # cd ${CHROOTDIR}/usr/obj/usr/src/release root # rm bootonly/boot/kernel/kernel root # rm bootonly/boot/geom_md.ko root # echo "/dev/ufs/FreeBSD_Install / ufs rw 0 0" > bootonly/etc/fstab root # makefs -B little -o label=3DFreeBSD_Install root.part bootonly/ root # cd .. && mkdir -p sys/MDROOT root # mv release/root.part sys/MDROOT/ # Build MDROOT kernel root # cat ${CHROOTDIR}/usr/src/sys/amd64/conf/MDROOT include GENERIC ident MDROOT makeoptions MFS_IMAGE=3Droot.part root # eval chroot ${CHROOTDIR} env KERNCONF=3DMDROOT make \=20 -C /usr/src buildkernel # Build bootonly ISO w MDROOT kernel root # mount -t devfs devs ${CHROOTDIR}/dev root # chflags -R noschg ${CHROOTDIR}/usr/obj/usr/src/release/bootonly && \ rm -rf ${CHROOTDIR}/usr/obj/usr/src/bootonly root # eval chroot ${CHROOTDIR} env KERNCONF=3DMDROOT \=20 NOPKG=3D1 NOSRC=3D1 NODOC=3D1 NOPORTS=3D1 make -C /usr/src/release boot= only.iso --=20 You are receiving this mail because: You are the assignee for the bug.=