From nobody Tue Apr 09 07:06:07 2024 X-Original-To: questions@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 4VDH7G1gxbz5GqYr for ; Tue, 9 Apr 2024 07:06:18 +0000 (UTC) (envelope-from gpiero@rm-rf.it) Received: from charlotte.rm-rf.it (charlotte.rm-rf.it [149.28.228.198]) (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 4VDH7F1Qpkz4JdM for ; Tue, 9 Apr 2024 07:06:16 +0000 (UTC) (envelope-from gpiero@rm-rf.it) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of gpiero@rm-rf.it designates 149.28.228.198 as permitted sender) smtp.mailfrom=gpiero@rm-rf.it Received: from valentina.fdc.rm-rf.it (valentina.fdc.rm-rf.it [192.168.192.1]) by charlotte.fdc.rm-rf.it (OpenSMTPD) with ESMTP id 334e2da0 for ; Tue, 9 Apr 2024 09:06:09 +0200 (CEST) Received: from marcopolo.fdc.rm-rf.it (marcopolo.fdc.rm-rf.it [192.168.192.51]) by valentina.fdc.rm-rf.it (Postfix) with ESMTP id 458DD1F7C9 for ; Tue, 9 Apr 2024 09:06:08 +0200 (CEST) Received: by marcopolo.fdc.rm-rf.it (Postfix, from userid 1000) id 3B6B81C4FFF; Tue, 09 Apr 2024 09:06:07 +0200 (CEST) Date: Tue, 9 Apr 2024 09:06:07 +0200 From: Gian Piero Carrubba To: questions@freebsd.org Subject: Re: Implementing a kexec()-style system call for FreeBSD 14 to boot a Linux kernel directly from FreeBSD. Message-ID: <6m2eoouznr5krpr5dynnjxba3s7brstng6zcbaj2fubtfqap3u@sxobicgty34s> References: <2C59E3CF-CF00-4E36-9DAC-5DA01C9B0B23@FreeBSD.org> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Disposition: inline In-Reply-To: X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.79 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.992]; MID_RHS_NOT_FQDN(0.50)[]; R_SPF_ALLOW(-0.20)[+ip4:149.28.228.198]; MIME_GOOD(-0.10)[text/plain]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; MISSING_XM_UA(0.00)[]; ASN(0.00)[asn:20473, ipnet:149.28.224.0/20, country:US]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[questions@freebsd.org]; DMARC_NA(0.00)[rm-rf.it]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; ARC_NA(0.00)[] X-Rspamd-Queue-Id: 4VDH7F1Qpkz4JdM * [Tue, Apr 09, 2024 at 12:44:01AM -0600] Warner Losh: >> Personally I do not care "boot a Linux kernel directly from FreeBSD". >> I'm >> interested in "boot new FreeBSD kernel directly from FreeBSD" > >Aarch64 is in and working in current. Amd64 is about 80% done. > >But you could also boot FreeBSD from FreeBSD with this... Can you point to some resources where to find more about this? The wiki page [0] is from 2012 and the repo [1] it points to is not much newer, and a generic web search does not help.... Thanks, Gian Piero. [0] https://wiki.freebsd.org/Kload [1] https://github.com/DaElf/freebsd/commits/kload-current-split-me