byteduck / duckOS

An x86 monolithic kernel and operating system written in modern C++. Comes with in-house graphical applications and command line utilities, plus ports of existing software. And yes, it runs DOOM!
GNU General Public License v3.0
619 stars 24 forks source link

How to start pond? #2

Closed ajh123 closed 2 years ago

ajh123 commented 2 years ago

When I do a full clean build, QEMU greets me with a black screen that I can type in and that's it. How to start pond?

ajh123 commented 2 years ago

@byteduck my qemu log output looks like this

$ make qemu
qemu-system-x86_64: --display help: Invalid parameter 'help'
qemu-system-x86_64: --display help: Invalid parameter 'help'
qemu-system-x86_64: multiboot knows VBE. we don't
[kinit] [INFO] Starting duckOS...
[CommandLine] [INFO] Command line options: 'kernel/duckk32 ""'
[VGA] [INFO] Found a bochs-compatible VGA device at 0:2.0
[PATA] [INFO] Setup disk QEMU HARDDISK using DMA (270880 blocks)
MarcoCicognani commented 2 years ago

I noticed the same behavior on QEMU for LinuxMint 20.2. On Ubuntu 21.10 it works fine...

ajh123 commented 2 years ago

Thanks, I will try to update my Ubuntu 20.0.4 (I think?) to the latest later, when I'm home again

ajh123 commented 2 years ago

Things have improved but the mouse does not seem to work :(

byteduck commented 2 years ago

It seems like this is probably an issue with the QEMU script not working properly with older versions of QEMU. What happens if you use the command qemu-system-x86_64 -s -kernel kernel/duckk32 -append "" -drive file=duckOS.img,guess,cache=directsync,format=raw,id=disk,if=ide -m 512M -serial stdio -enable-kvm from within your cmake-build directory?

ajh123 commented 2 years ago

Block format 'raw' does not support the option 'guess' shows in qemu log

ajh123 commented 2 years ago

then it quits

ajh123 commented 2 years ago

And without guess qemu logs

Could not access KVM kernel module: No such file or directory
qemu-system-x86_64: failed to initialize kvm: No such file or directory
ajh123 commented 2 years ago

And without KMM it works!

PF94 commented 2 years ago

And without KMM it works!

does not work for me.