From nobody Mon Feb 21 21:28:02 2022 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id C756219E558C for ; Mon, 21 Feb 2022 21:28:05 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-qk1-x736.google.com (mail-qk1-x736.google.com [IPv6:2607:f8b0:4864:20::736]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4K2b4j0Sslz4bVV for ; Mon, 21 Feb 2022 21:28:05 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: by mail-qk1-x736.google.com with SMTP id b13so9012551qkj.12 for ; Mon, 21 Feb 2022 13:28:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=iTx8yELNhcmL3qFyXHDhGgOg3xODCFF3DWVkp7onfVw=; b=eodSAam4/4ZgEDUaBtoQuKQnSTxzVIAlz5wJw6VNF+9w5c8ciENeu84oSmSM7931JU qrCdGp36ksilT3YNgtNx12/z/l/dcPRWlvmOIFX5YGkLtRJR86OauMPVjn+omy+E5N9b J0n/3k+hNwWHWbhuF9wkAJZEt5somlMDiggyX9Xj2tXfwnfG2q5VdAZAcMGklMYmevB+ fWAx4JhyFRMx6r2yig/1VvgljsNoaJD7W64TxwcanHQXcxgny9gUl0wPVg8Gg2A+3wwI UQkXOs/qWF3H04IyPAkS3pL51H9SaduXFrwp4xnie+9PpdQ0iMlS5+fKgEB90tj95ye5 D4yg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:message-id:date:mime-version:user-agent :subject:content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=iTx8yELNhcmL3qFyXHDhGgOg3xODCFF3DWVkp7onfVw=; b=sC+cO73A01PuqNfWYqwgcPrf2E7obvkL03Mc41Y7P2hE3C/PUFfadJC0w33B42/yqQ l+8Erh8JZGSllN+o0NJRoF0zICuKzzCQ1W4T03DgiguFdBguz8PSbF32jXtTc4aWhEWa hMjYM75A4m26SMVWrbQk2LunCyn/ZPCQUJSjOQgo07zcfPrVOQRBYk1VndPDUIPJ//G4 Pldn1dAJ/QhR2dn/Go+nxkV84N+D/Ac9PHLlqfYfBOkB+I4o9muSi83VTXbTTpKW6v8w mN2yi+39a3hfPXL64dLYa4KdIrtgaq5jFcj0TtK7FWUjvEHnElQlREOn9uYFYbxjWRKm TXcA== X-Gm-Message-State: AOAM533liUKW2QRy7ZPKaq5rv6gkLPSA2UYEvYOcZ0NleWgSB3AVtzGs r49GehgWz3QKFWnspeJdwGnxwaVJ36k= X-Google-Smtp-Source: ABdhPJxKD0pjuzfV5A19hCIKDvlYKgaCOJbAU8//Oh6q6HG4GAeTK/drI7GUw2qFJCT76D8qv8YNfg== X-Received: by 2002:a05:620a:3de:b0:60d:dd0a:4d0c with SMTP id r30-20020a05620a03de00b0060ddd0a4d0cmr12728810qkm.246.1645478884412; Mon, 21 Feb 2022 13:28:04 -0800 (PST) Received: from [192.168.1.66] (104-55-12-234.lightspeed.knvltn.sbcglobal.net. [104.55.12.234]) by smtp.gmail.com with ESMTPSA id o19sm30659646qta.19.2022.02.21.13.28.03 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 21 Feb 2022 13:28:03 -0800 (PST) Message-ID: Date: Mon, 21 Feb 2022 16:28:02 -0500 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: pxeboot binary is too big on FreeBSD (>640KBytes) Content-Language: en-US To: Toomas Soome , "Simon J. Gerraty" Cc: Hans Petter Selasky , FreeBSD Current References: <6984fd5d-ae58-11a4-0d21-a8695b0c77f7@selasky.org> <02586EFB-0BB5-46BF-9EE5-28623D20EFD3@me.com> <16051.1645463921@kaos.jnpr.net> <9ADBF2DA-0D00-40C0-A2CA-AFBCA7E5F3A4@me.com> From: Alexander Motin In-Reply-To: <9ADBF2DA-0D00-40C0-A2CA-AFBCA7E5F3A4@me.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4K2b4j0Sslz4bVV X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=eodSAam4; dmarc=none; spf=pass (mx1.freebsd.org: domain of mavbsd@gmail.com designates 2607:f8b0:4864:20::736 as permitted sender) smtp.mailfrom=mavbsd@gmail.com X-Spamd-Result: default: False [-2.79 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; NEURAL_HAM_SHORT(-0.59)[-0.586]; FREEMAIL_TO(0.00)[me.com,juniper.net]; FORGED_SENDER(0.30)[mav@FreeBSD.org,mavbsd@gmail.com]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; FROM_NEQ_ENVFROM(0.00)[mav@FreeBSD.org,mavbsd@gmail.com]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[FreeBSD.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::736:from]; MLMMJ_DEST(0.00)[freebsd-current]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On 21.02.2022 12:43, Toomas Soome wrote: >> On 21. Feb 2022, at 19:18, Simon J. Gerraty wrote: >> Toomas Soome wrote: >>>> Why should pxeboot have ZFS support? >>> >>> Well, the feature X can be helpful for recovery purposes. The root >>> cause is not the feature X itself, but the size limit. And the >>> unfortunate fact, the size limit is not fixed, but depends on the >>> system. Therefore there are two options - either to fix the size limit >>> or drop option X from default build — at least till the size limit is >>> fixed (or support for BIOS will be dropped). >> >> Or just build separate variants. >> As Bjoern said Lua is probably the straw breaking the cammel's back >> but I think it reasonable to assume that a system that has the resources >> to support ZFS does not have an ancient BIOS ? >> >> Thus a non-ZFS version could work for older systems >> while those without limitation can use the kitchen-sink version. > > It is not even about “ancient” BIOS, the problem is, PXE stack does also need resources and it is easier to consume low memory (just as loader does). I've recently switched all my lab systems to UEFI PXE. It "just works" for me using normal loader.efi of 872KB. -- Alexander Motin