From nobody Fri May 12 22:37:14 2023 X-Original-To: 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 4QJ3YM1X38z4BXjR for ; Fri, 12 May 2023 22:37:27 +0000 (UTC) (envelope-from junchoon@dec.sakura.ne.jp) Received: from www121.sakura.ne.jp (www121.sakura.ne.jp [153.125.133.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4QJ3YL3nNYz3hmN for ; Fri, 12 May 2023 22:37:25 +0000 (UTC) (envelope-from junchoon@dec.sakura.ne.jp) Authentication-Results: mx1.freebsd.org; none Received: from kalamity.joker.local (123-1-88-210.area1b.commufa.jp [123.1.88.210]) (authenticated bits=0) by www121.sakura.ne.jp (8.16.1/8.16.1/[SAKURA-WEB]/20201212) with ESMTPA id 34CMbFmm073554; Sat, 13 May 2023 07:37:16 +0900 (JST) (envelope-from junchoon@dec.sakura.ne.jp) Date: Sat, 13 May 2023 07:37:14 +0900 From: Tomoaki AOKI To: current@freebsd.org Cc: "Rodney W. Grimes" Subject: Re: git: c16e08e5f324 - main - stand/efi: Retire i386 support Message-Id: <20230513073714.e3be89cf140dce567aff2505@dec.sakura.ne.jp> In-Reply-To: <202305121405.34CE5bUi063530@gndrsh.dnsmgr.net> References: <20230512070134.eb633400d68cf7c0813d7fde@dec.sakura.ne.jp> <202305121405.34CE5bUi063530@gndrsh.dnsmgr.net> Organization: Junchoon corps X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd13.2) 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 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4QJ3YL3nNYz3hmN X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:7684, ipnet:153.125.128.0/18, country:JP] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On Fri, 12 May 2023 07:05:37 -0700 (PDT) "Rodney W. Grimes" wrote: > > On Thu, 11 May 2023 23:08:30 +0200 > > Yuri wrote: > > > > > Warner Losh wrote: > > > > > > > > > > > > On Thu, May 11, 2023, 2:50 PM Rodney W. Grimes > > > > > > > > > wrote: > > > > > > > > > On Thu, May 11, 2023, 2:16 PM Yuri > > > > wrote: > > > > > > > > > > > Warner Losh wrote: > > > > > > > The branch main has been updated by imp: > > > > > > > > > > > > > > URL: > > > > > > > > > > https://cgit.FreeBSD.org/src/commit/?id=c16e08e5f324aa119c85e10eaabacbd2abdb40e0 > > > > > > > > > > > > > > commit c16e08e5f324aa119c85e10eaabacbd2abdb40e0 > > > > > > > Author:? ? ?Warner Losh > > > > > > > AuthorDate: 2023-05-11 20:04:12 +0000 > > > > > > > Commit:? ? ?Warner Losh > > > > > > > CommitDate: 2023-05-11 20:06:03 +0000 > > > > > > > > > > > > > >? ? ?stand/efi: Retire i386 support > > > > > > > > > > > > > >? ? ?Remove the i386 ifdefs and files. It never worked. > > > > > > > > > > > > > >? ? ?Sponsored by:? ? ? ? ? ?Netflix > > > > > > >? ? ?Reviewed by:? ? ? ? ? ? manu, tsoome, kevans > > > > > > >? ? ?Differential Revision:? https://reviews.freebsd.org/D40012 > > > > > > > > > > > > > > > > As this question seems to be asked a lot on the forums, does > > > > this mean > > > > > > we will never support the 32bit efi booting 64bit OS? > > > > > > > > > > > > > > > > Yes. It means we've given up on that. Such environments are rare these > > > > > days, as far as I know, so unless someone shows up with something that > > > > > works perfectly with a qemu testing recipe that we can roll it > > > > into out > > > > > test bed. Plus some kind of info on real hardware that does this > > > > that's > > > > > popular enough to justify inclusion. > > > > > > > > I have only ever seen 1 implementation of x86 32bit efi, and it was > > > > such a pile of turds I just scrapped the machine. > > > > > > > > > > > > That was my experience as well, so I biased my action towards just > > > > removing it. If it turns out my experience was somehow atypical and > > > > these are popular and very much robust, I'm open to learning about it. > > > > > > I just noticed that it was asked several times in the last few months > > > trying to use FreeBSD on not-so-modern and rather exotic hardware; I > > > don't think we really need that support, but I simply wasn't aware of > > > efi32 status before this commit, hence I asked :) > > > > Just a FYI. > > > > A subscriber (not me) tried ASUS EeeBook X205TA (manufactured "2015-04") > > through Mar.18, 2021 to Apr.13, 2021 without luck on freebsd-usrs-jp ML > > (in Japanese, started from [1], [2] for April). > > > > Atom CPU Z3735F @1.33GHz, 2GB RAM > > That is a 4 core 64 bit CPU, it most likely has a 64bit efi > implementation. Exactly. I'd found the info while discussing with the reporter on freebsd-uses-jp ML at Intel site. Note that neither boot1.efi nor loader.efi shipped with FreeBSD i386 distribution couldn't boot kernel successfully (built but not working). So I have no objection for discontinueing the support. > > Shipped with "Windows 8.1 with Bing (32bit)" installed. > > Probably a good choice to use a 32 bit OS on a machine > with only 2GB as there is no need for a 64 bit pointer. > This pretty much applies to any machine with 4GB or > less of memory IIRC, I've read somewhere describing that ASUS EeeBook X205TA has 32bit UEFI to boot 32bit Windoze, and supports 32bit UEFI boot only. I've found folowing pages now, different pages I read ATM, though. https://github.com/filirnd/x205ta https://forums.linuxmint.com/viewtopic.php?t=380177 > > > > > [1] > > https://lists.freebsd.org/pipermail/freebsd-users-jp/2021-March/001728.html > > > > [2] > > https://lists.freebsd.org/pipermail/freebsd-users-jp/2021-April/001746.html > > > > > > -- > > Tomoaki AOKI] > > > > > > -- > Rod Grimes rgrimes@freebsd.org > -- Tomoaki AOKI