Date: Mon, 15 Jan 2024 10:36:08 -0600 From: Mike Karels <karels@freebsd.org> To: Warner Losh <imp@bsdimp.com> Cc: src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org, FreeBSD Release Engineering Team <re@freebsd.org> Subject: Re: git: 6137b5f7b8c1 - main - Increase the size of riscv GENERICSD images to 6 GB Message-ID: <45CAA8CA-9B5E-41D2-8416-83156B6AC721@freebsd.org> In-Reply-To: <CANCZdfoCp2%2B_oxkektAsputwhN5E3bu%2B8ogzcOAHkQLZNPfW3Q@mail.gmail.com> References: <202401151330.40FDU0q9009324@gitrepo.freebsd.org> <CANCZdfoCp2%2B_oxkektAsputwhN5E3bu%2B8ogzcOAHkQLZNPfW3Q@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 15 Jan 2024, at 9:37, Warner Losh wrote: > One question here... > > Do we need to include all the debugging stuff in /usr/lib/debug? i'ts o= ver > 1GB out of 5GB and seems like a poor fit > for this form factor. We can easily provide it as a package instead....= > > I know the inevitable march of largeness must progress, but we should a= sk > ourselves is this really a good use of that 1GB? > > Warner Good question. On riscv, /usr/lib/debug is 2.5 GB. (arm64 is 2.1 GB.) I'm also not sure what it would take to leave it off, although I would gu= ess that a tweak to installworld could do it if we need debug for other targe= ts. I think the package already exists. Of course, these images usually get expanded to a much larger size on the first boot, so maybe the space does= n't matter as much. Ideally, we'd keep the kernel debug, but that would probably be more work= =2E It would probably make the most sense to the same thing for other archite= ctures, although arm64 at least has headroom. The scripts to build the image fil= es are shared, but there is a config file per image. Opinions, anyone? We could ask on freebsd-riscv and maybe other lists to= o. Mike > On Mon, Jan 15, 2024 at 6:30=E2=80=AFAM Mike Karels <karels@freebsd.org= > wrote: > >> The branch main has been updated by karels: >> >> URL: >> https://cgit.FreeBSD.org/src/commit/?id=3D6137b5f7b8c183ee8806d79b3f1d= 8e5e3ddb3df3 >> >> commit 6137b5f7b8c183ee8806d79b3f1d8e5e3ddb3df3 >> Author: Mike Karels <karels@FreeBSD.org> >> AuthorDate: 2024-01-14 17:01:19 +0000 >> Commit: Mike Karels <karels@FreeBSD.org> >> CommitDate: 2024-01-15 13:28:53 +0000 >> >> Increase the size of riscv GENERICSD images to 6 GB >> >> The stable/13 snapshot this week failed to build the riscv GENERIC= SD >> image because it ran out of space. Checking main and stable/14 >> snapshots, they are also low on space, around 100% or more of >> capacity. Increase them all from 5 GB to 6 GB. Note, this is the= >> only riscv image configuration. >> >> Discussed with: cperciva >> --- >> release/riscv/GENERICSD.conf | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/release/riscv/GENERICSD.conf b/release/riscv/GENERICSD.co= nf >> index d0b1ee32743c..7bd58bc9f97b 100644 >> --- a/release/riscv/GENERICSD.conf >> +++ b/release/riscv/GENERICSD.conf >> @@ -7,7 +7,7 @@ EMBEDDED_TARGET=3D"riscv" >> EMBEDDEDBUILD=3D1 >> FAT_SIZE=3D"54m -b 8m" >> FAT_TYPE=3D"16" >> -IMAGE_SIZE=3D"5120M" >> +IMAGE_SIZE=3D"6144M" >> KERNEL=3D"GENERIC" >> MD_ARGS=3D"-x 63 -y 255" >> PART_SCHEME=3D"GPT" >>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45CAA8CA-9B5E-41D2-8416-83156B6AC721>