[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#984617: unblock: lowmem/1.49



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Hello,

I have uploaded a new version of lowmem, see the attached patch.

[ Reason ]
This updates the memory levels at which the d-i enables low-memory
optimizations.

[ Impact ]
If this isn't getting updated, starting the d-i on an amd64 machine with
an amount of memory between 550MB and 780MB, with default parameters,
will try to install without any low-memory optimization, but that will
fail with OOM errors.

[ Tests ]
I tested the d-i image in each modified case.

[ Risks ]
The code change is trivial: it only changes the numerical level.

[ Checklist ]
  [X] all changes are documented in the d/changelog
  [X] I reviewed all changes and I approve them
  [X] attach debdiff against the package in testing

unblock lowmem/1.49

Thanks!
Samuel
diff -Nru lowmem-1.48/debian/changelog lowmem-1.49/debian/changelog
--- lowmem-1.48/debian/changelog	2020-12-15 18:15:38.000000000 +0100
+++ lowmem-1.49/debian/changelog	2021-03-03 02:21:13.000000000 +0100
@@ -1,3 +1,9 @@
+lowmem (1.49) unstable; urgency=medium
+
+  * debian-installer-startup.d/S15lowmem: Update minimum memory sizes.
+
+ -- Samuel Thibault <sthibault@debian.org>  Wed, 03 Mar 2021 02:21:13 +0100
+
 lowmem (1.48) unstable; urgency=medium
 
   * Team upload
diff -Nru lowmem-1.48/debian-installer-startup.d/S15lowmem lowmem-1.49/debian-installer-startup.d/S15lowmem
--- lowmem-1.48/debian-installer-startup.d/S15lowmem	2019-06-02 14:21:18.000000000 +0200
+++ lowmem-1.49/debian-installer-startup.d/S15lowmem	2021-03-03 02:15:44.000000000 +0100
@@ -25,9 +25,9 @@
 			min=39
 		;;
 		amd64)
-			level1=483 # MT=494300, qemu: -m 550
-			level2=273 # MT=279260, qemu: -m 300
-			min=145    # MT=148188, qemu: -m 170
+			level1=737 # MT=754108, qemu: -m 780
+			level2=424 # MT=433340, qemu: -m 460
+			min=316    # MT=322748, qemu: -m 350
 		;;
 		arm|armel|armhf)
 		# Update needed
@@ -42,9 +42,9 @@
 			min=18
 		;;
 		i386)
-			level1=386 # MT=394604, qemu: -m 400
-			level2=237 # MT=242628, qemu: -m 250
-			min=109    # MT=110956, qemu: -m 120
+			level1=466 # MT=478056, qemu: -m 485
+			level2=348 # MT=356312, qemu: -m 365
+			min=269    # MT=275220, qemu: -m 285
 		;;
 		mips)
 		# Update needed
@@ -89,9 +89,9 @@
 			min=30    # MT=30040, qemu: -m 90
 		;;
 		hurd-i386)
-			level1=499 # qemu: -m 500
-			level2=409 # qemu: -m 410
-			min=389    # qemu: -m 390
+			level1=600 # MT=614208, qemu: -m 600
+			level2=480 # MT=491328, qemu: -m 480
+			min=475    # MT=486208, qemu: -m 475
 		;;
 		*)
 			level1=64
diff -Nru lowmem-1.48/README lowmem-1.49/README
--- lowmem-1.48/README	2019-10-13 20:07:57.000000000 +0200
+++ lowmem-1.49/README	2021-03-03 02:06:22.000000000 +0100
@@ -131,13 +131,16 @@
 devices).
 
 In both cases, you need to set min to absolute minimum amount of memory needed
-for an install, booting with lowmem=2, partitioning by hand, etc.
+for an install, booting with lowmem=2, loading only the nic-modules udeb,
+partitioning by hand, etc.
 
 Ideally, constraints should be tested for both netboot and businesscard images
 (businesscard CD will use slightly more memory before partitioning that netinst
 because of mirror selection).
 
-NB: the minimum value should be update in the manual in build/arch-options
+NB: the minimum value should be updated in the manual in build/arch-options
+
+NB: the minimum value should be updated in debian-installer/build/boot/x86/f2.txt
 
 NB: the minimum memory required to run the graphical installer must
 also be tested. See rootskel (debian-installer.d/S60frontend).

Reply to: