Bug ID 1230681
Summary Virtualbox memory allocation failure when memory is cached
Classification openSUSE
Product openSUSE Distribution
Version Leap 15.6
Hardware Other
OS Other
Status NEW
Severity Major
Priority P5 - None
Component Kernel
Assignee kernel-bugs@opensuse.org
Reporter nettezzaumanaa@gmail.com
QA Contact qa-bugs@suse.de
Target Milestone ---
Found By ---
Blocker ---

Hello,

I have vbox and kernel from Kernel:/stable:/Backport repo

https://download.opensuse.org/repositories/Kernel:/stable:/Backport/standard/
https://download.opensuse.org/repositories/Kernel:/stable:/Backport:/KMP/standard/

# zypper -vv se -is | egrep 'kernel(|-kmp)$'
i+ | kernel-default                             | package |
6.10.10-lp155.2.1.gfc3eac9                       | x86_64 | kernel
i  | kernel-default-devel                       | package |
6.10.10-lp155.2.1.gfc3eac9                       | x86_64 | kernel
i+ | kernel-devel                               | package |
6.10.10-lp155.2.1.gfc3eac9                       | noarch | kernel
i+ | kernel-firmware-all                        | package | 20240912-lp155.2.1 
                             | noarch | kernel
i+ | kernel-firmware-amdgpu                     | package | 20240912-lp155.2.1 
                             | noarch | kernel
i+ | kernel-firmware-ath10k                     | package | 20240912-lp155.2.1 
                             | noarch | kernel
i+ | kernel-firmware-ath11k                     | package | 20240912-lp155.2.1 
                             | noarch | kernel
i+ | kernel-firmware-ath12k                     | package | 20240912-lp155.2.1 
                             | noarch | kernel
i+ | kernel-firmware-atheros                    | package | 20240912-lp155.2.1 
                             | noarch | kernel
i+ | kernel-firmware-bluetooth                  | package | 20240912-lp155.2.1 
                             | noarch | kernel
i+ | kernel-firmware-bnx2                       | package | 20240912-lp155.2.1 
                             | noarch | kernel
i+ | kernel-firmware-brcm                       | package | 20240912-lp155.2.1 
                             | noarch | kernel
i+ | kernel-firmware-chelsio                    | package | 20240912-lp155.2.1 
                             | noarch | kernel
i+ | kernel-firmware-dpaa2                      | package | 20240912-lp155.2.1 
                             | noarch | kernel
i+ | kernel-firmware-i915                       | package | 20240912-lp155.2.1 
                             | noarch | kernel
i+ | kernel-firmware-intel                      | package | 20240912-lp155.2.1 
                             | noarch | kernel
i+ | kernel-firmware-iwlwifi                    | package | 20240912-lp155.2.1 
                             | noarch | kernel
i+ | kernel-firmware-liquidio                   | package | 20240912-lp155.2.1 
                             | noarch | kernel
i+ | kernel-firmware-marvell                    | package | 20240912-lp155.2.1 
                             | noarch | kernel
i+ | kernel-firmware-media                      | package | 20240912-lp155.2.1 
                             | noarch | kernel
i+ | kernel-firmware-mediatek                   | package | 20240912-lp155.2.1 
                             | noarch | kernel
i+ | kernel-firmware-mellanox                   | package | 20240912-lp155.2.1 
                             | noarch | kernel
i+ | kernel-firmware-mwifiex                    | package | 20240912-lp155.2.1 
                             | noarch | kernel
i+ | kernel-firmware-network                    | package | 20240912-lp155.2.1 
                             | noarch | kernel
i+ | kernel-firmware-nfp                        | package | 20240912-lp155.2.1 
                             | noarch | kernel
i+ | kernel-firmware-nvidia                     | package | 20240912-lp155.2.1 
                             | noarch | kernel
i+ | kernel-firmware-platform                   | package | 20240912-lp155.2.1 
                             | noarch | kernel
i+ | kernel-firmware-prestera                   | package | 20240912-lp155.2.1 
                             | noarch | kernel
i+ | kernel-firmware-qcom                       | package | 20240912-lp155.2.1 
                             | noarch | kernel
i+ | kernel-firmware-qlogic                     | package | 20240912-lp155.2.1 
                             | noarch | kernel
i+ | kernel-firmware-radeon                     | package | 20240912-lp155.2.1 
                             | noarch | kernel
i+ | kernel-firmware-realtek                    | package | 20240912-lp155.2.1 
                             | noarch | kernel
i+ | kernel-firmware-serial                     | package | 20240912-lp155.2.1 
                             | noarch | kernel
i+ | kernel-firmware-sound                      | package | 20240912-lp155.2.1 
                             | noarch | kernel
i+ | kernel-firmware-ti                         | package | 20240912-lp155.2.1 
                             | noarch | kernel
i+ | kernel-firmware-ueagle                     | package | 20240912-lp155.2.1 
                             | noarch | kernel
i+ | kernel-firmware-usb-network                | package | 20240912-lp155.2.1 
                             | noarch | kernel
i+ | kernel-macros                              | package |
6.10.10-lp155.2.1.gfc3eac9                       | noarch | kernel
i+ | kernel-source                              | package |
6.10.10-lp155.2.1.gfc3eac9                       | noarch | kernel
i+ | kernel-syms                                | package |
6.10.10-lp155.2.1.gfc3eac9                       | x86_64 | kernel
i+ | python3-virtualbox                         | package | 7.0.20-lp155.2.24  
                             | x86_64 | kernel-kmp
i+ | virtualbox                                 | package | 7.0.20-lp155.2.24  
                             | x86_64 | kernel-kmp
i+ | virtualbox-devel                           | package | 7.0.20-lp155.2.24  
                             | x86_64 | kernel-kmp
i+ | virtualbox-host-source                     | package | 7.0.20-lp155.2.24  
                             | noarch | kernel-kmp
i+ | virtualbox-kmp-default                     | package |
7.0.20_k6.10.10_lp155.2.gfc3eac9-lp155.2.16      | x86_64 | kernel-kmp
i+ | virtualbox-qt                              | package | 7.0.20-lp155.2.24  
                             | x86_64 | kernel-kmp

With following memory conditions

# free -m
               total        used        free      shared  buff/cache  
available
Mem:           31464        7981         367        1836       25417      
23482
Swap:          32767         171       32596

I was unable to start a vbox VM with 8GB memory .. Issue is exactly same as
here: https://bbs.archlinux.org/viewtopic.php?id=298056 .. after

echo 3 > /proc/sys/vm/drop_caches

I was able to start a VBOX VM and following was a memory usage minute after
starting VM

# free -m
               total        used        free      shared  buff/cache  
available
Mem:           31464       16524       14208        1827        2959      
14939
Swap:          32767         171       32596

This seems to me like some bug with VBox's memory allocation (? and/or possibly
kernel 6.10) and this behaviour should not happen ..

Workaround: force to drop caches before starting VBox's VM

<------- additional info:

Environment: I have a leap 15.6 with no special settings running on laptop with
32GBs memory .. I have added two Kernel: repos above and I use Kernel from
there because otherwise I have a lot of i915 deathscreams in dmesg and possibly
X lockups and freezes due to relatively new hardware

# lspci -nn |grep -Ei 'VGA|DISPLAY'
00:02.0 VGA compatible controller [0300]: Intel Corporation Raptor Lake-P [Iris
Xe Graphics] [8086:a7a1] (rev 04)

# grep Intel /proc/cpuinfo |tail -1
model name      : 13th Gen Intel(R) Core(TM) i7-1365U

Thank you very much for your support !!

Hail Geeko !!

~d


You are receiving this mail because: