summary refs log tree commit diff stats
path: root/results/scraper/launchpad-without-comments/796202
diff options
context:
space:
mode:
authorChristian Krinitsin <mail@krinitsin.com>2025-06-30 12:24:58 +0000
committerChristian Krinitsin <mail@krinitsin.com>2025-06-30 12:27:06 +0000
commit33606b41d35115f887ea688b1a16f2ff85bf2fe4 (patch)
tree406b2c7b19a087ba437c68f3dbf0b589fa1d6150 /results/scraper/launchpad-without-comments/796202
parentadedf8771bc4de3113041ca21bd4d0d1c0014b6a (diff)
downloademulator-bug-study-33606b41d35115f887ea688b1a16f2ff85bf2fe4.tar.gz
emulator-bug-study-33606b41d35115f887ea688b1a16f2ff85bf2fe4.zip
add launchpad bug reports without comments
Diffstat (limited to 'results/scraper/launchpad-without-comments/796202')
-rw-r--r--results/scraper/launchpad-without-comments/79620232
1 files changed, 32 insertions, 0 deletions
diff --git a/results/scraper/launchpad-without-comments/796202 b/results/scraper/launchpad-without-comments/796202
new file mode 100644
index 00000000..d654b3d1
--- /dev/null
+++ b/results/scraper/launchpad-without-comments/796202
@@ -0,0 +1,32 @@
+Doing a 64 bit load from a 32 bit local APIC register is allowed
+
+Doing
+
+u64 lapic_idregister = (u64) fix_to_virt(FIX_APIC_BASE) + 0x20;
+
+and later in an interrupt handler
+
+movq (lapic_idregister), %rcx
+movq (%rcx), %rcx
+
+in a linux kernel module works in qemu 0.13.91 but not on real hardware (it simply reboots).
+On real hardware only
+
+movl (%rcx), %ecx
+
+works (also in qemu).
+
+Commandline:
+qemu-system-x86_64 \
+		-kernel $LINUXDIR/arch/x86_64/boot/bzImage \
+		-hda $BUILDROOTDIR/output/images/rootfs.ext2 \
+		-append "root=/dev/sda rw rootfstype=ext2 maxcpus=4" \
+		-cpu phenom \
+		-smp 4 \
+		-gdb tcp::1234 \
+		-net nic -net user
+
+Guest:
+Vanilla Linux Kernel 2.6.37.6 64-bit with buildroot
+
+Mikael Pettersson from the linux kernel mailinglist told me it's an accepts-invalid bug in qemu.
\ No newline at end of file