summary refs log tree commit diff stats
path: root/results/classifier/gemma3:12b/kvm/1186984
diff options
context:
space:
mode:
Diffstat (limited to 'results/classifier/gemma3:12b/kvm/1186984')
-rw-r--r--results/classifier/gemma3:12b/kvm/118698424
1 files changed, 24 insertions, 0 deletions
diff --git a/results/classifier/gemma3:12b/kvm/1186984 b/results/classifier/gemma3:12b/kvm/1186984
new file mode 100644
index 000000000..84f91005e
--- /dev/null
+++ b/results/classifier/gemma3:12b/kvm/1186984
@@ -0,0 +1,24 @@
+
+large -initrd can wrap around in memory causing memory corruption
+
+We don't use large -initrd in libguestfs any more, but I noticed that a large -initrd file now crashes qemu spectacularly:
+
+$ ls -lh /tmp/kernel /tmp/initrd 
+-rw-r--r--. 1 rjones rjones 273M Jun  3 14:02 /tmp/initrd
+lrwxrwxrwx. 1 rjones rjones   35 Jun  3 14:02 /tmp/kernel -> /boot/vmlinuz-3.9.4-200.fc18.x86_64
+
+$ ./x86_64-softmmu/qemu-system-x86_64 -L pc-bios \
+    -kernel /tmp/kernel -initrd /tmp/initrd -hda /tmp/test1.img -serial stdio \
+    -append console=ttyS0
+
+qemu crashes with one of several errors:
+
+PFLASH: Possible BUG - Write block confirm
+
+qemu: fatal: Trying to execute code outside RAM or ROM at 0x00000000000b96cd
+
+If -enable-kvm is used:
+
+KVM: injection failed, MSI lost (Operation not permitted)
+
+In all cases the SDL display fills up with coloured blocks before the crash (see the attached screenshot).
\ No newline at end of file