Bug#1036755: linux-image-6.1.0-9-amd64: Android ROM build on Debian breaks with the 6.1.0-9-amd64 kernel
Package: src:linux
Version: 6.1.27-1
Followup-For: Bug #1036755
X-Debbugs-Cc: infantvin@yahoo.com
Dear Maintainer,
*** Reporter, please consider answering these questions, where appropriate ***
* What led up to the situation?
Doing Android build of a custom ROM using Debian unstable
* What exactly did you do (or not do) that was effective (or
ineffective)?
Following normal build process - reposync, buildenv and then brunch commands in the command line
* What was the outcome of this action?
Error pasted below (snippet)
=========================================================================================
variant=generic --instruction-set-features=default --generate-mini-debug-info
|| ( echo 'ERROR: Dex2oat failed to compile a boot image.
It is likely that the boot classpath is inconsistent.
Rebuild with ART_BOOT_IMAGE_EXTRA_ARGS="--runtime-arg -verbose:verifier" to see verification errors.'
; false ) # hash of input list: 156f4df5f1951bb33c62df25cb6fec2b621d15047fc47574974c2b5b1d6f1d05
dex2oatd F 06-01 04:37:58 815255 815255 mem_map_arena_pool.cc:65]
Check failed: map.IsValid() Failed anonymous mmap((nil), 131072, 0x3, 0x22, -1, 0):
Cannot allocate memory. See process maps in the log.
Runtime aborting...
All threads:
DALVIK THREADS (24):
========================================================================================
I can understand if this is with 8-10GB of RAM. However this is happening with a hard 50G of RAM allocated to the VM in HyperV. If 50g causes this then something is wrong.
I found this kernel bug and thats why I am reporting this issue
https://bugzilla.kernel.org/show_bug.cgi?id=216911
* What outcome did you expect instead?
General outcome is for the compile to end normal and write the ROM zip file which it did in the linux-image-5.10.0-23-amd64 kernel
Please note the build worked fine when I rebooted to the 5.10 kernel which was present from the stable repo I had installed Debian originally from. So this is definitely kernel version related. Nothing was changed.
*** End of the template - remove these template lines ***
-- Package-specific info:
** Version:
Linux version 6.1.0-9-amd64 (debian-kernel@lists.debian.org) (gcc-12 (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP PREEMPT_DYNAMIC Debian 6.1.27-1 (2023-05-08)
** Command line:
BOOT_IMAGE=/vmlinuz-6.1.0-9-amd64 root=/dev/mapper/rootvg-root ro biosdevname=0 ipv6.disable=1 audit=off rd.plymouth=0 plymouth.enable=0 apparmor=0
** Not tainted
** Kernel log:
Unable to read kernel log; any relevant messages should be attached
Please ask me for any information that you need. I dont know what is needed. I have used sosreport in RHEL.
Never sent anything similar in Debian.
** Model information
sys_vendor: Microsoft Corporation
product_name: Virtual Machine
product_version: Hyper-V UEFI Release v4.1
chassis_vendor: Microsoft Corporation
chassis_version: Hyper-V UEFI Release v4.1
bios_vendor: Microsoft Corporation
bios_version: Hyper-V UEFI Release v4.1
board_vendor: Microsoft Corporation
board_name: Virtual Machine
board_version: Hyper-V UEFI Release v4.1
** Loaded modules:
tls
binfmt_misc
nls_ascii
nls_cp437
vfat
fat
intel_rapl_msr
intel_rapl_common
ghash_clmulni_intel
sha512_ssse3
hyperv_drm
sha512_generic
hv_utils
ptp
drm_shmem_helper
serio_raw
hyperv_keyboard
hv_balloon
aesni_intel
pps_core
drm_kms_helper
sg
pcspkr
crypto_simd
cryptd
evdev
joydev
drm
configfs
fuse
loop
efi_pstore
efivarfs
ip_tables
x_tables
autofs4
ext4
crc16
mbcache
jbd2
crc32c_generic
dm_mod
sd_mod
t10_pi
crc64_rocksoft
sr_mod
crc64
crc_t10dif
cdrom
crct10dif_generic
hv_storvsc
hid_generic
scsi_transport_fc
hid_hyperv
scsi_mod
hv_netvsc
hid
scsi_common
crct10dif_pclmul
crct10dif_common
crc32_pclmul
crc32c_intel
hv_vmbus
** PCI devices:
** USB devices:
not available
-- System Information:
Debian Release: 12.0
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.1.0-9-amd64 (SMP w/24 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages linux-image-6.1.0-9-amd64 depends on:
ii initramfs-tools [linux-initramfs-tool] 0.142
ii kmod 30+20221128-1
ii linux-base 4.9
Versions of packages linux-image-6.1.0-9-amd64 recommends:
ii apparmor 3.0.8-3
ii firmware-linux-free 20200122-1
Versions of packages linux-image-6.1.0-9-amd64 suggests:
pn debian-kernel-handbook <none>
ii grub-efi-amd64 2.06-13
pn linux-doc-6.1 <none>
Versions of packages linux-image-6.1.0-9-amd64 is related to:
pn firmware-amd-graphics <none>
pn firmware-atheros <none>
pn firmware-bnx2 <none>
pn firmware-bnx2x <none>
pn firmware-brcm80211 <none>
pn firmware-cavium <none>
pn firmware-intel-sound <none>
pn firmware-intelwimax <none>
pn firmware-ipw2x00 <none>
pn firmware-ivtv <none>
pn firmware-iwlwifi <none>
pn firmware-libertas <none>
pn firmware-linux-nonfree <none>
pn firmware-misc-nonfree <none>
pn firmware-myricom <none>
pn firmware-netxen <none>
pn firmware-qlogic <none>
pn firmware-realtek <none>
pn firmware-samsung <none>
pn firmware-siano <none>
pn firmware-ti-connectivity <none>
pn xen-hypervisor <none>
-- no debconf information
Reply to: