Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Aug 2020 13:16:57 +0200
From:      "Hartmann, O." <o.hartmann@walstatt.org>
To:        Mateusz Guzik <mjguzik@gmail.com>
Cc:        "Hartmann, O." <ohartmann@walstatt.org>, FreeBSD CURRENT <freebsd-current@freebsd.org>, mmacy@freebsd.org, freqlabs@freebsd.org
Subject:   Re: installkernel: install: /usr/lib/debug/boot/kernel/: No such file or directory *** Error code 71
Message-ID:  <20200830131657.4803768b@hermann.fritz.box>
In-Reply-To: <CAGudoHH22RfFOfE7Ddow4LdbEysvc-sQRVeHWcOq%2B5hkK_ONng@mail.gmail.com>
References:  <20200828120706.7b2c3396@hermann.fritz.box> <CAGudoHHn9Z0=SJDXQKkb5rZtR4=TSQTJEddeFJR3KGR=aPiXAw@mail.gmail.com> <20200828130539.18ba7437@hermann.fritz.box> <CAGudoHH22RfFOfE7Ddow4LdbEysvc-sQRVeHWcOq%2B5hkK_ONng@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/elSfoLPzOPkBpioFP_1tEUI
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

On Fri, 28 Aug 2020 13:16:05 +0200
Mateusz Guzik <mjguzik@gmail.com> wrote:

> On 8/28/20, Hartmann, O. <ohartmann@walstatt.org> wrote:
> > On Fri, 28 Aug 2020 12:31:21 +0200
> > Mateusz Guzik <mjguzik@gmail.com> wrote:
> > =20
> >> Can you show more of the log?
> >>
> >> When you installkernel you should see:
> >> mkdir -p /boot/kernel
> >> install -p -m 555 -o root -g wheel kernel /boot/kernel/ =20
> >
> > These lines are seen right after the beginning of "make
> > installkernel".=20
> >> mkdir -p /usr/lib/debug/boot/kernel
> >> install -p -m 555 -o root -g wheel kernel.debug
> >> /usr/lib/debug/boot/kernel/ =20
> >
> > I wouldn't expect these lines according to my /etc/src.conf, since I
> > disbaled debugging and installing debugging infos. =20
> >>
> >> Did these succeed? Do these dirs exist now? =20
> >
> > It is not existent, as expected:
> >
> >
> > # ll /usr/lib/debug/boot/kernel/
> > ls: /usr/lib/debug/boot/kernel/: No such file or directory
> > =20
>=20
> Ok. I recently made changes to the namecache, which if buggy, could
> have resulted in woes like the above.
>=20
> Thus it looks like the newly imported zfs does not respect
> WITHOUT_DEBUG_FILES.

Even in r364973 the problem still remains.
Disabling option WITHOUT_DEBUG_FILES in src.conf is exhausting the
/usr/obj partition (using UFS/FFS) and no option.

Got now several boxes having "make installkernel" issued with a running
system but incomplete kernel installation, as buildkernel suggested a
clean build. Can this be fixed, please?

=20
>=20
> >>
> >> On 8/28/20, Hartmann, O. <ohartmann@walstatt.org> wrote: =20
> >> > On CURRENT (FreeBSD 13.0-CURRENT #185 r364767: Tue Aug 25
> >> > 16:10:50 CEST 2020 amd64), /usr/src at  revision 364907,
> >> > installkernel fails now due to an error as shown below. For the
> >> > record, "options ZFS" ist statically in the kernel config file.
> >> >
> >> > Also deleting /usr/obj and restarting buildworld and buildkernel
> >> > from scratch doesn't solve the problem. The buildworld and
> >> > buildkernel mutually finish without error (I do not see any on
> >> > the console), installworld also finishes fine, but installkernel
> >> > not.
> >> >
> >> > /etc/src.conf looks as follows:
> >> >
> >> > [...]
> >> > CPUTYPE?=3D                               native
> >> > # World
> >> > CFLAGS+=3D                                -O3
> >> > #CFLAGS+=3D                               -DNDEBUG
> >> > # Kernel
> >> > COPTFLAGS+=3D                             -O3
> >> > #COPTFLAGS+=3D                            -DNDEBUG
> >> > #CXXFLAGS+=3D                             -std=3Dc++17
> >> > WITH_CLANG_EXTRAS=3D              YES
> >> > WITH_LLDB=3D                              YES
> >> > #WITH_BSD_GREP=3D                 YES
> >> > WITH_OFED_EXTRA=3D                YES
> >> > WITH_NAND=3D                              YES
> >> > #WITH_CTF=3D                              YES
> >> > WITH_SVN=3D                               YES
> >> > WITH_BEARSSL=3D                   YES
> >> > WITH_PIE=3D                               YES
> >> > WITH_SORT_THREADS=3D              YES
> >> > WITH_ZONEINFO_LEAPSECONDS_SUPPORT=3D      YES
> >> > MALLOC_PRODUCTION=3D              YES
> >> > WITHOUT_ASSERT_DEBUG=3D   YES
> >> > WITHOUT_TESTS=3D                  YES
> >> > WITHOUT_PROFILE=3D                YES
> >> > WITHOUT_DEBUG_FILES=3D    YES
> >> > WITHOUT_REPRODUCIBLE_BUILD=3D     YES
> >> >
> >> > [...]
> >> >
> >> > Debugging facilities are disabled as src.conf indicates.
> >> >
> >> > [...]
> >> > install -T release -o root -g wheel -m 555   xz.ko
> >> > /boot/kernel/ =3D=3D=3D> zfs (install)
> >> > install -T release -o root -g wheel -m 555   zfs.ko /boot/kernel/
> >> > install -T dbg -o root -g wheel -m 555   zfs.ko.debug
> >> >                                       /usr/lib/debug/boot/kernel/
> >> > install: /usr/lib/debug/boot/kernel/: No such file or directory
> >> > *** Error code 71
> >> >
> >> > Stop.
> >> > make[4]: stopped in /usr/src/sys/modules/zfs
> >> > *** Error code 1
> >> > *** Error code 1
> >> > =20
> >>
> >> =20
> >
> > =20
>=20
>=20


--Sig_/elSfoLPzOPkBpioFP_1tEUI
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----

iHUEARYIAB0WIQSy8IBxAPDkqVBaTJ44N1ZZPba5RwUCX0uKqQAKCRA4N1ZZPba5
R32cAQC2zJMdB4dRFTtaSLpvAv+XgF9CvDyVJ5GlKuuSqHhMIgEA5Xrdhjl4xj3z
KQ8j2Zu5IUAGHPLD905884x0RxH3Iwk=
=G1G0
-----END PGP SIGNATURE-----

--Sig_/elSfoLPzOPkBpioFP_1tEUI--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200830131657.4803768b>