[Top][All Lists]

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

options to fix vmalloc failure on modprobe

From: jim . cromie
Subject: options to fix vmalloc failure on modprobe
Date: Mon, 30 Nov 2020 15:35:28 -0700

so Im hacking at linux kernel, using qemu via virtme.
which just runs kernel on the hosts environment.
generally things are fine, so thanks for that.

but when I build the graphics driver as module,
I cannot allocate for it at modprobe.

I searched vmalloc, balloon in qemu.org/doc search,
mail-archives, google, and found nothing I recognized as responsive.

/usr/bin/qemu-system-x86_64 -fsdev
-device virtio-9p-pci,fsdev=virtfs1,mount_tag=/dev/root -fsdev
-device virtio-9p-pci,fsdev=virtfs5,mount_tag=virtme.guesttools
-machine accel=kvm:tcg -watchdog i6300esb -cpu host -parallel none
-net none -echr 1 -serial none -chardev
stdio,id=console,signal=off,mux=on -serial chardev:console -mon
chardev=console -vga none -display none -kernel
./arch/x86/boot/bzImage -append
earlyprintk=serial,ttyS0,115200 console=ttyS0 psmouse.proto=exps
"virtme_stty_con=rows 24 cols 154 iutf8" TERM=xterm-256color
rootfstype=9p rootflags=version=9p2000.L,trans=virtio,access=any
raid=noautodetect ro nokaslr multidevs=remap dynamic_debug.verbose=3
dynamic_debug.dyndbg=+pmf module.dyndbg=+pmf main.dyndbg=+pmf
init=/bin/sh -- -c "mount -t tmpfs run /run;mkdir -p
/run/virtme/guesttools;/bin/mount -n -t 9p -o
ro,version=9p2000.L,trans=virtio,access=any virtme.guesttools
/run/virtme/guesttools;exec /run/virtme/guesttools/virtme-init"'
-machine dump-guest-core=on

bash-5.0# modprobe i915
[   48.790310] modprobe: vmalloc: allocation failure: 140800168 bytes,
mode:0xcc0(GFP_KERNEL), nodemask=(null),cpuset=/,mems_allowed=0
[   48.792303] CPU: 0 PID: 148 Comm: modprobe Not tainted
5.10.0-rc6-v2-00002-g99821aff738d #61
[   48.793448] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996),
BIOS 1.13.0-3.fc33 04/01/2014

I bet this has been asked before somehow, but I couldnt find it.

are there options I can sprinkle in ?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]