From owner-freebsd-current@freebsd.org Wed Jan 6 07:14:34 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 69F714C58CE for ; Wed, 6 Jan 2021 07:14:34 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4D9gbY3nzDz4pKN; Wed, 6 Jan 2021 07:14:33 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [188.174.61.121] (helo=c720-r368166.unixarea.de) by ms-10.1blu.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kx31b-0003aR-36; Wed, 06 Jan 2021 08:14:31 +0100 Received: from c720-r368166.fritz.box (localhost [127.0.0.1]) by c720-r368166.unixarea.de (8.16.1/8.14.9) with ESMTPS id 1067EUuk003408 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Wed, 6 Jan 2021 08:14:30 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by c720-r368166.fritz.box (8.16.1/8.14.9/Submit) id 1067ETJR003407; Wed, 6 Jan 2021 08:14:30 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: c720-r368166.fritz.box: guru set sender to guru@unixarea.de using -f Date: Wed, 6 Jan 2021 08:14:29 +0100 From: Matthias Apitz To: "Herbert J. Skuhra" Cc: freebsd-current@freebsd.org, emaste@freebsd.org Subject: Re: kldxref: /boot/kernel/kernel: too many segments Message-ID: Reply-To: Matthias Apitz Mail-Followup-To: "Herbert J. Skuhra" , freebsd-current@freebsd.org, emaste@freebsd.org References: <20210105120133.GA9@sh4-5.1blu.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Operating-System: FreeBSD 13.0-CURRENT r368166 (amd64) X-message-flag: Mails containing HTML will not be read! Please send only plain text. X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 188.174.61.121 X-Rspamd-Queue-Id: 4D9gbY3nzDz4pKN X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.20 / 15.00]; HAS_REPLYTO(0.00)[guru@unixarea.de]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_XOIP(0.00)[]; TO_DN_SOME(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[178.254.4.101:from]; HAS_XAW(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RECEIVED_SPAMHAUS_PBL(0.00)[188.174.61.121:received]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[178.254.4.101:from]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:42730, ipnet:178.254.0.0/19, country:DE]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[unixarea.de]; AUTH_NA(1.00)[]; SPAMHAUS_ZRD(0.00)[178.254.4.101:from:127.0.2.255]; RCVD_IN_DNSWL_LOW(-0.10)[178.254.4.101:from]; TO_MATCH_ENVRCPT_SOME(0.00)[]; R_SPF_NA(0.00)[no SPF record]; RCVD_TLS_ALL(0.00)[]; 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: Wed, 06 Jan 2021 07:14:34 -0000 El día martes, enero 05, 2021 a las 01:11:14p. m. +0100, Herbert J. Skuhra escribió: > 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. Thanks. The kernel booted fine. I filed a PR: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252459 matthias -- Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045 Public GnuPG key: http://www.unixarea.de/key.pub ¡Con Cuba no te metas! «» Don't mess with Cuba! «» Leg Dich nicht mit Kuba an! http://www.cubadebate.cu/noticias/2020/12/25/en-video-con-cuba-no-te-metas/