From owner-freebsd-current@freebsd.org Tue Jan 5 12:11:23 2021 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 C526E4E3656 for ; Tue, 5 Jan 2021 12:11:23 +0000 (UTC) (envelope-from herbert@gojira.at) Received: from mail.bsd4all.net (mail.bsd4all.net [94.130.200.20]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail.bsd4all.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4D9BDV4vxGz3tWv for ; Tue, 5 Jan 2021 12:11:22 +0000 (UTC) (envelope-from herbert@gojira.at) Date: Tue, 5 Jan 2021 13:11:14 +0100 From: "Herbert J. Skuhra" To: freebsd-current@freebsd.org Subject: Re: kldxref: /boot/kernel/kernel: too many segments Message-ID: References: <20210105120133.GA9@sh4-5.1blu.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210105120133.GA9@sh4-5.1blu.de> X-Rspamd-Queue-Id: 4D9BDV4vxGz3tWv X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.50 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gojira.at:s=mail202005]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:94.130.200.20]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[gojira.at]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[94.130.200.20:from:127.0.2.255]; DKIM_TRACE(0.00)[gojira.at:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[94.130.200.20:from]; ASN(0.00)[asn:24940, ipnet:94.130.0.0/16, country:DE]; MAILMAN_DEST(0.00)[freebsd-current] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 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, 05 Jan 2021 12:11:23 -0000 On Tue, Jan 05, 2021 at 01:01:33PM +0100, Matthias Apitz wrote: > > Hello, > > On an amd64 system r314251 a world and kernel built fine from SVN r368166 the > installation with > > # make installkernel KERNCONF=GENERIC > > endet with the following messages > > install -T release -o root -g wheel -m 555 zlib.ko /boot/kernel/ > install -T dbg -o root -g wheel -m 555 zlib.ko.debug /usr/lib/debug/boot/kernel/ > kldxref /boot/kernel > kldxref: /boot/kernel/kernel: too many segments > -------------------------------------------------------------- > >>> Installing kernel GENERIC completed on Tue Jan 5 12:50:59 CET 2021 > -------------------------------------------------------------- > > What should I do before rebooting to continue with the installation of > world? Just to be on the safe side (test the kernel): 1. rm /boot/kernel and mv /boot/kernel.old /boot/kernel If you are using UFS: 2. make installkernel KODIR=/boot/testkernel 3. nextboot -k testkernel If you are using ZFS: Use bectl and zfsbootcfg. -- Herbert