x86-64-kernel-boot icon indicating copy to clipboard operation
x86-64-kernel-boot copied to clipboard

Unexpected qemu output

Open stacksmith opened this issue 6 years ago • 3 comments

It took me a couple of minutes to see "Hello World!" - I thought I was locked up because the screen was not erased. Do you have any thoughts as to why my qemu screen looks like this:

Hello World!sion1.10.2-1ubuntu1)

iPXE ....(crap deleted)

Booting from Hard Disk...
Boot failed: could not read the boot disk

Booting from Floppy...
Boot failed: could not read the boot disk

Booting from DVD/CD...

stacksmith avatar Apr 16 '19 18:04 stacksmith

The version of qemu you have isn't clearing out the memory mapped VGA screen and the boot code (incorrectly) assumes that it has been. The code should clear it out itself, this is a relatively simple fix but I can't work on it right now. I'll have a fix in a few days.

missimer avatar Apr 16 '19 20:04 missimer

Thanks for the quick response. That's what I thought, although sometimes symptoms like that indicate deeper issues... I don't use qemu, and was somewhat concerned about the failed hard disk and floppy messages given that only a cdrom is specified...

stacksmith avatar Apr 16 '19 20:04 stacksmith

oh, fyi: QEMU emulator version 2.11.1(Debian 1:2.11+dfsg-1ubuntu7.12)

stacksmith avatar Apr 16 '19 20:04 stacksmith