News for hackers. Stuff that matters.
Re:Managarm: Pragmatic microkernel-based OS with asynchronou... by tomcam on Saturday July 27, 2024 @06:12PM (#41089693)
Very neat project! It appears to run on qemu. Can someone tell me at the 30,000' view what's required to get it running on actual hardware? I'm imagining something like signed boot manager, hard disk drivers, etc. They seem to have a ton of USB stuff working which seems amazing to me, but I've been out of the low-level PC loop for a couple decades and don't know what prevents working on bare metal in 2024.
Re:Managarm: Pragmatic microkernel-based OS with asynchronou... by toast0 on Saturday July 27, 2024 @07:37PM (#41090157)
I've got a hobby OS that runs on real hardware (sometimes, on some hardware). Mostly it's just patience and debugging effort to get things going. qemu defaults to doing some things quickly instead of accurately, so it's easy to do things wrong as an OS and if you don't test regularly, you can end up with a lot of breakage.

I don't have a boot manager, my OS is multiboot compatible, so I can boot with qemu's multiboot support or PXElinux, or grub or whatever. IMHO, with the multiboot standard, there's no need to write a boot loader if you want to build an OS, and no need to write an OS if you want to build a boot loader.

Looks like this OS has a good selection of storage drivers, so should be good to go there.

Re:Managarm: Pragmatic microkernel-based OS with asynchronou... by no92 on Saturday July 27, 2024 @07:43PM (#41090184)
I have managarm installed on a partition on my testing ThinkPad. The steps needed to get it set up were creating the partition, copying over the sysroot, and adding an entry to my grub configuration.
Re:Managarm: Pragmatic microkernel-based OS with asynchronou... by tomcam on Saturday July 27, 2024 @07:51PM (#41090215)
Awesome. How is the overall experience?
Re:Managarm: Pragmatic microkernel-based OS with asynchronou... by boricj on Saturday July 27, 2024 @06:32PM (#41089798)
At 30,000' I'm not seeing anything that would prevent this from booting on hardware. It seems to have a reasonable complement of modern, real-world drivers. On the other hand, physical hardware tends to have bugs, quirks and diversity that VMs don't have, so hobby operating systems may have trouble with it if they aren't tested on it.
Re:Managarm: Pragmatic microkernel-based OS with asynchronou... by ksp-atlas on Sunday July 28, 2024 @06:30AM (#41092338)
Theoretically, since it has a few real world drivers, it may be possible to run on real world hardware, but in practice, Managarm tends to get hung up very low level, at Eir or Thor (the two components of the microkernel). Since basically all the testing is currently done on QEMU, real world testing isn't really a thing for Managarm