NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: port-xen/56063: Xen boot fails with "heap full"
The following reply was made to PR port-xen/56063; it has been noted by GNATS.
From: Manuel Bouyer <bouyer%antioche.eu.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: port-xen-maintainer%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
netbsd-bugs%netbsd.org@localhost
Subject: Re: port-xen/56063: Xen boot fails with "heap full"
Date: Wed, 8 Jun 2022 17:24:55 +0200
--/d5GHCpi5NVeYRo/
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
On Thu, Mar 18, 2021 at 02:20:00PM +0000, Andreas Gustafsson wrote:
> >Description:
>
> When I try to boot any NetBSD release newer than 8.1 as a Xen 4.11
> dom0 on a HP DL360 G7 server, the boot fails with a "heap full"
> message. For example, with 9.1:
>
> >> NetBSD/x86 BIOS Boot, Revision 5.11 (Sun Oct 18 19:24:30 UTC 2020) (from NetBSD 9.1)
> >> Memory: 637/3668992 k
>
> 1. Xen
> 2. Boot normally
> 3. Boot single user
> 4. Drop to boot prompt
>
> Choose an option; RETURN for default; SPACE to stop countdown.
> Option 1 will be chosen in 0 seconds. 4 seconds. 3 seconds. 2 seconds. 1 seconds. 0 seconds. 0 seconds.
> |/-\|/-\|/-\|/-\2666632|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|+1339256/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|=0x3d20ec
> /-\|/-\|/-\|/-\|Loading /netbsd-XEN3_DOM0.gz /-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/heap full (0x6a800+32768)
>
> The boot blocks are the freshly installed ones of the OS version in case.
Hello
are you still seeing this with a recent kernel and /boot ?
If so, could you try the attached patch ?
I can't reproduce it myself ...
--
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
NetBSD: 26 ans d'experience feront toujours la difference
--
--/d5GHCpi5NVeYRo/
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=diff
Index: stand/boot/Makefile.boot
===================================================================
RCS file: /cvsroot/src/sys/arch/i386/stand/boot/Makefile.boot,v
retrieving revision 1.75
diff -u -p -u -r1.75 Makefile.boot
--- stand/boot/Makefile.boot 6 Sep 2020 07:20:28 -0000 1.75
+++ stand/boot/Makefile.boot 8 Jun 2022 15:14:01 -0000
@@ -81,7 +81,7 @@ CPPFLAGS+= -DLIBSA_ENABLE_LS_OP
# The biosboot code is linked to 'virtual' address of zero and is
# loaded at physical address 0x10000.
# XXX The heap values should be determined from _end.
-SAMISCCPPFLAGS+= -DHEAP_START=0x40000 -DHEAP_LIMIT=0x70000
+SAMISCCPPFLAGS+= -DHEAP_START=0x40000 -DHEAP_LIMIT=0x80000
SAMISCCPPFLAGS+= -DLIBSA_PRINTF_LONGLONG_SUPPORT
SAMISCMAKEFLAGS+= SA_USE_CREAD=yes # Read compressed kernels
SAMISCMAKEFLAGS+= SA_INCLUDE_NET=no # Netboot via TFTP, NFS
--/d5GHCpi5NVeYRo/--
Home |
Main Index |
Thread Index |
Old Index