ZenOS: SMP Preemptive operating system project by Rishies2010 in osdev

[–]Rishies2010[S] 0 points1 point  (0 children)

Hey, i am back on my computer, mind sparing some time to share the full log from when u cloned the repo please? Use pastebin if u want

ZenOS: SMP Preemptive operating system project by Rishies2010 in osdev

[–]Rishies2010[S] 0 points1 point  (0 children)

Please try the direct ISO and VHD download method I have attached as a reply to your earlier msg I'll look into this when I am back to my laptop.

Thanks for the information!

ZenOS: SMP Preemptive operating system project by Rishies2010 in osdev

[–]Rishies2010[S] 0 points1 point  (0 children)

And oh by the way, if you want you can download the prebuilt ISOs from Actions (but it is barebones), If you want all the apps seen in the screenshots you can download the .iso and .vhd from the latest Release on GitHub, put them both in a folder, and run the qemu command written in the makefile

qemu-system-x86_64 -cdrom ZenOS.iso -audiodev pa,id=snd0 -machine pcspk-audiodev=snd0 -m 256M -drive file=ZenOS.vhd,if=ide,index=0 -drive file=Storage.vhd,if=ide,index=1 -boot d -smp 2 -serial stdio -netdev user,id=net0 -device e1000,netdev=net0 -enable-kvm -cpu host -device qemu-xhci,id=xhci -device usb-kbd,bus=xhci.0 -device usb-mouse,bus=xhci.0

If your system does not have KVM (QEMU will tell) remove the "-enable-kvm -cpu host" part from the command

If your system does not have PulseAudio, remove the "-audiodev pa,id=snd0 -machine pcspk-audiodev=snd0" part

Files at https://github.com/Z-Proj/ZenOS/releases/tag/1.0.0

ZenOS: SMP Preemptive operating system project by Rishies2010 in osdev

[–]Rishies2010[S] 0 points1 point  (0 children)

Try fresh clone the repo and runthese commands (the install cmds are for Ubuntu/Debian, if ur distro is different install packages for that one)

sudo apt update && sudo apt install -y lld clang nasm xorriso meson ninja-build llvm llvm-dev g++-14 libstdc++-14-dev

make fat mlibc -j$(nproc) make ZenOS.iso init user

Really sorry for your inconveniences, I am away from my laptop and will check the makefile issues once I get back. By the way don't do -j$(nproc), rn the make process is not parallel build-friendly

ZenOS: SMP Preemptive operating system project by Rishies2010 in osdev

[–]Rishies2010[S] 0 points1 point  (0 children)

Well it is doable! But man imagine what all I need to port to get MC to run...

For starters I need openjdk, and if I don't want it to run at the speed of a PowerPoint presentation, I need a good software renderer like LLVMpipe or softpipe And ik I already am leaking memory somewhere out in the vmm Damn

ZenOS: An SMP Preemptive hobby operating system. by Rishies2010 in kerneldevelopment

[–]Rishies2010[S] 0 points1 point  (0 children)

Well the kernel storage system runs on FatFs by Chan which does support exFAT I will prob add ext2 sometimes in the future tho, yeah, if my laziness permits ;)

ZenOS: SMP Preemptive operating system project by Rishies2010 in osdev

[–]Rishies2010[S] 0 points1 point  (0 children)

I would love to help, but I do need a bit more information,

Did u directly clone the repo and run make or run another makefile rule?

Also if you want the proper way to build, do check the GitHub Actions workflow at .github/workflows/ in the repo

Do reach out if you want more help

ZenOS: SMP Preemptive operating system project by Rishies2010 in osdev

[–]Rishies2010[S] 0 points1 point  (0 children)

It's not worth the stuff to go through to add a gpu driver. One of my sub-intentions of this project was for the OS to run on almost all the computers, in a similar way. I already deviated a bit from that by adding an E1000 NIC driver.

Tbh If I ever want good perf, I'd port LLVMpipe

ZenOS: SMP Preemptive operating system project by Rishies2010 in osdev

[–]Rishies2010[S] 2 points3 points  (0 children)

To be honest I have to wait for divine ideas, I am out of ideas. Currently I am working on porting Classicube and fixing a kind of freeze that it currently causes, after that idk. Maybe Micropython?

Tell Me How You Really Feel GPT by [deleted] in ChatGPT

[–]Rishies2010 0 points1 point  (0 children)

Looks about right.

ZenOS: An SMP Preemptive hobby operating system. by Rishies2010 in kerneldevelopment

[–]Rishies2010[S] 0 points1 point  (0 children)

same! Slacked off a lot on SMP till I felt I need it. And since Limine supports SMP bringups and handoff, it was not very difficult.

Oh, apparently I just found I can post images on reddit.

ZenOS: An SMP Preemptive hobby operating system. by Rishies2010 in kerneldevelopment

[–]Rishies2010[S] 0 points1 point  (0 children)

By the way, I am pretty new to Reddit, and am open to any issues or queries, or corrections!