Skip to main content
0 votes
0 answers
19 views

Cpu mode switches fails in Qemu-i686-system

This is the original post. Look it up for more precise details. BootLoader/Kernel-Qemu: Real Mode section, how to link into my executable. It gets executed as 32 bit ==== I think I found the issue. ...
Self learning student's user avatar
0 votes
0 answers
15 views

What this error is even about? "qemu-system-arm: warning: Blocked re-entrant IO on MemoryRegion: v7m_systick at addr: 0x0"

I am using Qemu with - qemu-system-arm \ -M mps3-an524 \ -cpu cortex-m33 \ -smp 2 \ -nographic \ -kernel firmware.elf It is runs perfectly. UART works ...
RudraSama's user avatar
0 votes
0 answers
19 views

Bochs-bin not responding [closed]

I am making an operating system. When i try to run it with bochs bochs-bin doesn't respond and when i try to press wait it shows the error again. Operating system: Zorin Os 18 core bochsrc.txt file: ...
Batimew's user avatar
4 votes
1 answer
119 views

Qemu Bios; Configuring VGA

I'm trying to write a simple hello world bios for Qemu as an academic exercise, and I've gotten Qemu to believe the display is initialized. I see a black screen upon boot, but writing to character ...
Matthias Birkemeier's user avatar
0 votes
0 answers
113 views

How to run Android 13+ (aosp-arm64) on QEMU without Cuttlefish?

I have been trying to run a self-compiled AOSP build in QEMU. I have successfully compiled the AOSP source code for android-13.0.0_r84 (target aosp_arm64-eng) and obtained the following image files: ...
agicy's user avatar
  • 1
15 votes
1 answer
386 views

Using OUTB to set cursor position in my minimal OS kernel causes QEMU screen to flicker

I am getting started with a minimal OS kernel (just gdt and place holder idt). Using i386 assembly and freestanding C. I wanted to change the position of the cursor for which i found several sites ...
Anonymous's user avatar
  • 177
0 votes
0 answers
40 views

DISAS_NORETURNs causing errors while attempting to intercept QEMU syscalls by tweaking the ecall() function

I am trying to modify the ecall behavior in QEMU usermode simulation, so that i can intercept system calls. The way i intend to do it is by reading states from the CPURISCVState with tcg_gen_ld_tl -- ...
Overstacked's user avatar
0 votes
0 answers
44 views

Fatal "unsupported VMA range" when running aarch64 TSAN binaries via qemu

Summary I'm trying to execute binaries compiled with TSAN for aarch64 on an x86_64 host via qemu-aarch64 and encounter FATAL: ThreadSanitizer: unsupported VMA range FATAL: Found 47 - Supported 39, 42 ...
unbekannt's user avatar
1 vote
0 answers
104 views

Android Studio AVD crashes with “qemu-system-x86_64.exe – APPCRASH – 0xc0000005”

I’m running automated tests using Appium, ADB, and Python, with multiple Android Studio AVDs. When I run four AVDs simultaneously, one of them occasionally crashes with this error in Windows Event ...
G-Blank's user avatar
  • 11
3 votes
1 answer
147 views

INT 13, AH=42h fails with AH=1, CF=1

I am trying to write a simple bootloader which loads my program from LBA=1 into memory and jumps to its start. I emulate my bootloader in qemu with -drive flag passed. When I try to read blocks from ...
Alex Gendelbergen's user avatar
1 vote
1 answer
57 views

How to simulate a weakly order memory environment on a host with strong memory order?

I want to test if there are any bugs in my program where the memory sequence has not been properly used, but I do not have a weakly order memory environment for testing. For example, on x86, all loads ...
untitled's user avatar
  • 563
0 votes
0 answers
138 views

Error "ioctl SNDRV_PCM_IOCTL_WRITEI_FRAMES: Input/output error", when writing frames to `/dev/snd/pcmC0D0p`

I am trying to write a c program (on linux), that plays a sine wave from the speakers, using the alsa kernel interface: #ifndef _GNU_SOURCE #define _GNU_SOURCE #endif #include <sound/asound.h> #...
Stas Badzi's user avatar
1 vote
1 answer
90 views

Why doesn't qemu manage to use my customized DRAM?

I need to implement a custom QEMU DRAM Device to simulate row activations and precharge cycles and enable high-frequency row access to induce emulated bit flips. But when I run qemu on buildroot this ...
ifquit's user avatar
  • 19
0 votes
0 answers
86 views

AArch64 RPi4b bare-metal OS hangs after MMU enable

I am currently writing a small bare-metal OS for Raspberry Pi 4b for the AArch64/Arm64 architecture. Unfortunately the OS hangs after enabling the MMU on real hardware. When testing the OS in QEMU ...
CallmeEchoo's user avatar
0 votes
1 answer
50 views

HPUX 10.20 math under qemu-system-hppa virtualization

Using qemu built from the last sources in a debian 12 machine : ./configure --target-list=hppa-softmmu --enable-numa --enable-slirp as stated in documentation [1] I installed a fresh HPUX 10.20 from ...
YfNk's user avatar
  • 104

15 30 50 per page
1
2 3 4 5
175