summary refs log tree commit diff stats
path: root/results/classifier/118/kernel/1650
diff options
context:
space:
mode:
authorChristian Krinitsin <mail@krinitsin.com>2025-06-16 16:59:00 +0000
committerChristian Krinitsin <mail@krinitsin.com>2025-06-16 16:59:33 +0000
commit9aba81d8eb048db908c94a3c40c25a5fde0caee6 (patch)
treeb765e7fb5e9a3c2143c68b0414e0055adb70e785 /results/classifier/118/kernel/1650
parentb89a938452613061c0f1f23e710281cf5c83cb29 (diff)
downloademulator-bug-study-9aba81d8eb048db908c94a3c40c25a5fde0caee6.tar.gz
emulator-bug-study-9aba81d8eb048db908c94a3c40c25a5fde0caee6.zip
add 18th iteration of classifier
Diffstat (limited to 'results/classifier/118/kernel/1650')
-rw-r--r--results/classifier/118/kernel/165044
1 files changed, 44 insertions, 0 deletions
diff --git a/results/classifier/118/kernel/1650 b/results/classifier/118/kernel/1650
new file mode 100644
index 00000000..af1d56bc
--- /dev/null
+++ b/results/classifier/118/kernel/1650
@@ -0,0 +1,44 @@
+i386: 0.969
+kernel: 0.938
+x86: 0.893
+performance: 0.872
+device: 0.836
+architecture: 0.812
+graphic: 0.772
+network: 0.750
+semantic: 0.731
+debug: 0.675
+virtual: 0.643
+PID: 0.551
+vnc: 0.487
+permissions: 0.483
+hypervisor: 0.428
+mistranslation: 0.424
+TCG: 0.420
+VMM: 0.413
+risc-v: 0.390
+ppc: 0.367
+boot: 0.348
+register: 0.318
+peripherals: 0.315
+user-level: 0.299
+socket: 0.283
+KVM: 0.226
+arm: 0.209
+files: 0.130
+assembly: 0.120
+
+Consider doing runtime detection of MAP_FIXED_NOREPLACE
+Description of problem:
+```
+qemu-i386-static: Unable to reserve 0xfffff000 bytes of virtual address space at 0x1000 (Operation not supported) for use as guest address space (check your virtual memory ulimit setting, min_mmap_addr or reserve less using -R option)
+```
+strace says
+```
+ mmap(0x1000, 4294963200, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE|MAP_FIXED_NOREPLACE, -1, 0) = -1 EOPNOTSUPP (Operation not supported)
+```
+Steps to reproduce:
+1. `apt install qemu-i386-static 32subsystem`
+2. `strace qemu-i386-static /opt/32/bin/as`
+Additional information:
+Repeating the strace call in a minimal C program gives the same errno as expected -- the kernel is only 4.4. The problem here is that qemu only does `MAP_FIXED_NOREPLACE` feature detection at build-time via a `#ifndef` and even that behavior is poorly documented. Maybe do something at runtime?