summary refs log tree commit diff stats
path: root/results/classifier/deepseek-r1:14b/output/hypervisor/2343
diff options
context:
space:
mode:
authorChristian Krinitsin <mail@krinitsin.com>2025-07-03 19:39:53 +0200
committerChristian Krinitsin <mail@krinitsin.com>2025-07-03 19:39:53 +0200
commitdee4dcba78baf712cab403d47d9db319ab7f95d6 (patch)
tree418478faf06786701a56268672f73d6b0b4eb239 /results/classifier/deepseek-r1:14b/output/hypervisor/2343
parent4d9e26c0333abd39bdbd039dcdb30ed429c475ba (diff)
downloademulator-bug-study-dee4dcba78baf712cab403d47d9db319ab7f95d6.tar.gz
emulator-bug-study-dee4dcba78baf712cab403d47d9db319ab7f95d6.zip
restructure results
Diffstat (limited to 'results/classifier/deepseek-r1:14b/output/hypervisor/2343')
-rw-r--r--results/classifier/deepseek-r1:14b/output/hypervisor/234332
1 files changed, 32 insertions, 0 deletions
diff --git a/results/classifier/deepseek-r1:14b/output/hypervisor/2343 b/results/classifier/deepseek-r1:14b/output/hypervisor/2343
new file mode 100644
index 00000000..44da65d4
--- /dev/null
+++ b/results/classifier/deepseek-r1:14b/output/hypervisor/2343
@@ -0,0 +1,32 @@
+
+pflash write timeout u-boot@qemu-system-aarch64
+Description of problem:
+Emulating the write into flash of environment variables within U-boot is not possible anymore. This works natively in Fedora 39 which has the 8.1.3 qemu version. Stopped working after transitioning to Fedora 40 which currently comes with 8.2.2, also doesn't work with Debian 12 which has 7.2.9.
+
+The write fails with the following message:
+
+```
+=> saveenv
+Saving Environment to Flash... Un-Protected 2 sectors
+Erasing Flash...
+.. done
+Erased 2 sectors
+Writing to Flash... pflash_write: Write to buffer emulation is flawed
+pflash_write: Write to buffer emulation is flawed
+pflash_write: Write to buffer emulation is flawed
+Flash buffer write timeout at address 4000000 data ffffffffb64f6361
+Timeout writing to Flash
+Protected 2 sectors
+Failed (1)
+```
+Steps to reproduce:
+1. Download or build u-boot for aarch64 qemu. You can extract from u-boot-qemu debian package https://packages.debian.org/unstable/u-boot-qemu .
+2. `truncate -s 64m varstore.img`
+3. `qemu-system-aarch64 -machine virt -cpu cortex-a35 -nographic  -smp 2 -m 1G -bios u-boot.bin -drive if=pflash,format=raw,file=varstore.img,readonly=off,index=1 -d guest_errors,unimp`
+Additional information:
+After building versions 8.1.3 and 8.1.4 I found both were working fine regartheless the host OS, the issue was introduced in 8.1.5. 
+After inspecting commits history I drop the following commit [hw/pflash: implement update buffer for block writes (hash:fcc79f2e09550b0461792491965fe202ed2219ae)](https://gitlab.com/qemu-project/qemu/-/commit/fcc79f2e09550b0461792491965fe202ed2219ae) rebuilt and the issue was gone.
+I then recheck all non working versions and both versions 8.2.2 and 7.2.9 also have this commit, this explains why it also doesn't work.
+I attached a trace running with v8.1.5 and v8.1.5 with drop commit.
+[v8.1.5.log](/uploads/04aa0e24e1e16f6bdf29a6e6be587ba1/v8.1.5.log)
+[v8.1.5-drop-fcc79f2e.log](/uploads/206fe958ab78c12542fda3764df978da/v8.1.5-drop-fcc79f2e.log)