From owner-freebsd-current@freebsd.org Tue Jun 16 16:26:28 2020 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 514E63419E9 for ; Tue, 16 Jun 2020 16:26:28 +0000 (UTC) (envelope-from sjg@juniper.net) Received: from mx0a-00273201.pphosted.com (mx0a-00273201.pphosted.com [208.84.65.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.pphosted.com", Issuer "Thawte RSA CA 2018" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49mYVW3ByFz4Hn2 for ; Tue, 16 Jun 2020 16:26:26 +0000 (UTC) (envelope-from sjg@juniper.net) Received: from pps.filterd (m0108158.ppops.net [127.0.0.1]) by mx0a-00273201.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 05GGMAas007330; Tue, 16 Jun 2020 09:26:25 -0700 Received: from nam10-mw2-obe.outbound.protection.outlook.com (mail-mw2nam10lp2102.outbound.protection.outlook.com [104.47.55.102]) by mx0a-00273201.pphosted.com with ESMTP id 31q1d8r13q-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 16 Jun 2020 09:26:25 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YF1iHcrRMYWUa4atvhBljy5B83vL6BHP9yDsqjBm1HjqtsRJHF4mWb76BKPv+Lo3WEbZNJDKb3unX4+dzelg9cNS2+FwPjWzZf/I9Bdl2/fPA6OiKdk6BJLqnWMq1zlfIlhke75xd/k8cj4oHdX2Gs+Tw3S7zMbWPmrKPRUlFha464oLO1/xXwPhA3WYVKsdMtg9sWrqnXmLSCXRrVDSJZADzRg6M4Zdb9b6otFMWiOVZa3gHLuBtmXHAPWxZwbYsZz1U5pdpy14qgczNN6faLYyR5P7BQvI9mUUzizPxH5LkVFfLPqqEXEScz0OHKQ+nGvQfZXwyrBWVgUt9tw2/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=eHLBb0wPPp49IQZ0AtVIuQZSKtApMh0RlDB6yz+aHKo=; b=Iedh8xkPIbWUG/+dSFyKhWRi9Ys19noGAuWEKvqZthbW6DMdM2Fb+cDNdqekFI/sSUkL8yhVkYSzuBSevTvPTY/P67rqNo22Bl4r14vpAkBgb1CoiQfFSKWxyys8lWXGO6hbF0n4I11Xl/Z7JbXW0yl+Z0N8W5S/9lOezLTLKcaOGql3pcQk3OdicdipMPbznQjumrV+QcILjFekGYiF90c4NQYPVxnT52QfzvxSzUQQKxXJ3pIdlRIDOAD/BCiKDMowvHQ5HCuDUq4VorQd+VV3RzZoSRuwGdsUh/VJfZ9jWh9YqhsR9I+ltD/p0sAh82z3PuEX27umkcIzQfLGcQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=softfail (sender ip is 66.129.242.13) smtp.rcpttodomain=gndrsh.dnsmgr.net smtp.mailfrom=juniper.net; dmarc=fail (p=reject sp=reject pct=100) action=oreject header.from=juniper.net; dkim=none (message not signed); arc=none Received: from DM6PR17CA0023.namprd17.prod.outlook.com (2603:10b6:5:1b3::36) by BYAPR05MB4184.namprd05.prod.outlook.com (2603:10b6:a02:91::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3109.10; Tue, 16 Jun 2020 16:26:24 +0000 Received: from DM3NAM05FT026.eop-nam05.prod.protection.outlook.com (2603:10b6:5:1b3:cafe::c6) by DM6PR17CA0023.outlook.office365.com (2603:10b6:5:1b3::36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3088.21 via Frontend Transport; Tue, 16 Jun 2020 16:26:23 +0000 X-MS-Exchange-Authentication-Results: spf=softfail (sender IP is 66.129.242.13) smtp.mailfrom=juniper.net; gndrsh.dnsmgr.net; dkim=none (message not signed) header.d=none;gndrsh.dnsmgr.net; dmarc=fail action=oreject header.from=juniper.net; Received-SPF: SoftFail (protection.outlook.com: domain of transitioning juniper.net discourages use of 66.129.242.13 as permitted sender) Received: from P-EXFEND-EQX-02.jnpr.net (66.129.242.13) by DM3NAM05FT026.mail.protection.outlook.com (10.152.98.136) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.3109.9 via Frontend Transport; Tue, 16 Jun 2020 16:26:23 +0000 Received: from P-EXBEND-EQX-02.jnpr.net (10.104.8.53) by P-EXFEND-EQX-02.jnpr.net (10.104.8.55) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 16 Jun 2020 09:26:22 -0700 Received: from P-EXBEND-EQX-01.jnpr.net (10.104.8.52) by P-EXBEND-EQX-02.jnpr.net (10.104.8.53) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 16 Jun 2020 09:26:20 -0700 Received: from p-mailhub01.juniper.net (10.104.20.6) by P-EXBEND-EQX-01.jnpr.net (10.104.8.52) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Tue, 16 Jun 2020 09:26:20 -0700 Received: from kaos.jnpr.net (kaos.jnpr.net [172.23.50.162]) by p-mailhub01.juniper.net (8.14.4/8.11.3) with ESMTP id 05GGQKPE007859; Tue, 16 Jun 2020 09:26:20 -0700 (envelope-from sjg@juniper.net) Received: by kaos.jnpr.net (Postfix, from userid 1377) id 5E5EFA8AF; Tue, 16 Jun 2020 09:26:20 -0700 (PDT) Received: from kaos.jnpr.net (localhost [127.0.0.1]) by kaos.jnpr.net (Postfix) with ESMTP id 5DDC9A8AE; Tue, 16 Jun 2020 09:26:20 -0700 (PDT) To: "Rodney W. Grimes" CC: Miguel C , , Subject: Re: CTF: UEFI HTTP boot support In-Reply-To: <202006161609.05GG9dRs081460@gndrsh.dnsmgr.net> References: <202006161609.05GG9dRs081460@gndrsh.dnsmgr.net> Comments: In-reply-to: "Rodney W. Grimes" message dated "Tue, 16 Jun 2020 09:09:39 -0700." From: "Simon J. Gerraty" X-Mailer: MH-E 8.6+git; nmh 1.7.1; GNU Emacs 26.3 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <54854.1592324780.1@kaos.jnpr.net> Date: Tue, 16 Jun 2020 09:26:20 -0700 Message-ID: <56737.1592324780@kaos.jnpr.net> X-EXCLAIMER-MD-CONFIG: e3cb0ff2-54e7-4646-8a04-0dae4ac7b136 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:66.129.242.13; CTRY:US; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:P-EXFEND-EQX-02.jnpr.net; PTR:InfoDomainNonexistent; CAT:NONE; SFTY:; SFS:(4636009)(39860400002)(376002)(136003)(396003)(346002)(46966005)(336012)(478600001)(7126003)(70206006)(47076004)(26005)(55016002)(70586007)(107886003)(9686003)(82740400003)(186003)(54906003)(6266002)(5660300002)(6916009)(81166007)(8936002)(8676002)(316002)(86362001)(82310400002)(2906002)(7696005)(356005)(4326008)(83380400001); DIR:OUT; SFP:1102; X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: eb17a17e-e731-4c93-758b-08d81212029a X-MS-TrafficTypeDiagnostic: BYAPR05MB4184: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:4941; X-Forefront-PRVS: 04362AC73B X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: pAZ32JoU+Tztfw25C8ArgG4GRZBNU0TK8B59EVkVhS6H1A7pD0BPq3w7yQ0tN6ANIXROQGarwtgOETBPG+r3025D8Cb0e9YHP7S3RnmfQao5foS4SDNRdR3CpS2jtDCI6TvdaI3Gz3pbHkMOnDZ94Isrme1NcT+XyFp00c0rXixJXrfXykijTC8AVU/5uUTGBzS/yXiXlPC3C550u8v4qXE2OkNN+DOKqcO+WLDVDXU7MU8rlkHpDBk+yxhAOJticW39Tdy6Im6It95OL3uk8MGs82jgCf5DrFDy6r5sfHX42I9w64Jh2CU6f2+iLCCvnDa1mXqG/F8pempx17J26fv6dLGhnCLwtXSOagMIFYaVVGwv0G5Dt/lneVLc+Q8LEWbPadLAsxMNeUUXUiULlg== X-OriginatorOrg: juniper.net X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Jun 2020 16:26:23.4263 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: eb17a17e-e731-4c93-758b-08d81212029a X-MS-Exchange-CrossTenant-Id: bea78b3c-4cdb-4130-854a-1d193232e5f4 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=bea78b3c-4cdb-4130-854a-1d193232e5f4; Ip=[66.129.242.13]; Helo=[P-EXFEND-EQX-02.jnpr.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR05MB4184 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.216, 18.0.687 definitions=2020-06-16_10:2020-06-16, 2020-06-16 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_spam_notspam policy=outbound_spam score=0 cotscore=-2147483648 adultscore=0 mlxscore=0 clxscore=1015 spamscore=0 impostorscore=0 mlxlogscore=965 lowpriorityscore=0 phishscore=0 malwarescore=0 suspectscore=0 bulkscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2004280000 definitions=main-2006160116 X-Rspamd-Queue-Id: 49mYVW3ByFz4Hn2 X-Spamd-Bar: ----- X-Spamd-Result: default: False [-5.25 / 15.00]; NEURAL_HAM_MEDIUM(-0.86)[-0.857]; R_DKIM_ALLOW(-0.20)[juniper.net:s=PPS1017,juniper.net:s=selector1]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:208.84.65.16]; MIME_GOOD(-0.10)[text/plain]; NEURAL_HAM_LONG(-1.00)[-0.996]; ARC_ALLOW(-1.00)[microsoft.com:s=arcselector9901:i=1]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[juniper.net:+]; DMARC_POLICY_ALLOW(-0.50)[juniper.net,reject]; NEURAL_HAM_SHORT(-1.30)[-1.301]; RCVD_IN_DNSWL_LOW(-0.10)[208.84.65.16:from]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:26211, ipnet:208.84.65.0/24, country:US]; RCVD_TLS_LAST(0.00)[]; RCVD_COUNT_SEVEN(0.00)[11]; FREEMAIL_CC(0.00)[gmail.com,freebsd.org,juniper.net] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jun 2020 16:26:28 -0000 Rodney W. Grimes wrote: > > Are you refering to something like: > > > > vfs.root.mountfrom="cd9660:/dev/md0.uzip" > > > > we boot that way all the time. > > What provides the cd9660 driver to FreeBSD? When you load the .iso > over a network card, aka PXE/HTTP, the code that does that usually > creates a ram disk and a "fake cd drive" that stops working as soon We don't use PXE much except in a bringup lab, and then I think we use NFS for rootfs. Normally if iso is comming from network it is to do an install eg loader is doing 'install tftp://host/install.tar' The "fake cd drive" is in the kernel, loader just copies the iso into memory like any other module, and by the time that's done you just reboot into the newly installed system, which again uses vfs.root.mountfrom="cd9660:/dev/md0.uzip" but in that case the rootfs is an iso image on local disk. The rootfs iso is minimal - enough to fsck and mount real media and initialize Verified Exec. It improves our chances of being able to recover from severe disk corruption after cleaning lady pulls the cord, to vaccuum ;-) --sjg