Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 03 Jun 2022 11:56:25 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 264433] installkernel produces /boot/kernel directory over 500MB in size
Message-ID:  <bug-264433-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264433

            Bug ID: 264433
           Summary: installkernel produces /boot/kernel directory over
                    500MB in size
           Product: Base System
           Version: 13.1-STABLE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: eugen@freebsd.org
                CC: dim@FreeBSD.org

Hi!

I used gitup to obtain stable/13 sources of 2 June 2022 and upgraded my
(UFS-only) 12.2-STABLE/amd64 system to 13.1-STABLE/amd64;
buildworld/buildkernel/installkernel/installworld/mergemaster went smooth a=
nd
system successfully rebooted to 13.1.

Then I discovered that my root UFS is almost full and /boot/kernel contains
over 500MB due to each kernel module containing debug_info, for example:

# ls -lh /boot/kernel/zfs.ko
-r-xr-xr-x  1 root  wheel    37M Jun  3 17:32 /boot/kernel/zfs.ko

# file /boot/kernel/zfs.ko
/boot/kernel/zfs.ko: ELF 64-bit LSB relocatable, x86-64, version 1 (FreeBSD=
),
BuildID[sha1]=3D951f7d909f4df4dad8ad8c9e09cd17e0d8f08aae, with debug_info, =
not
stripped

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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