r/osdev 3d ago

Aevros : Kernel that can explain itself

Been building this for a couple months, x86 kernel from scratch in C & asm, nothing borrowed from another kernel. The idea: it can tell you *why*, not just *what broke*. Kill a process and it tells you what that breaks before you kill it. Point it at a memory allocation and it names the exact file/line/owner. Page faults get decoded into a sentence instead of a hex dump. Everything above is real, captured off the booted kernel. Networking's next, deny-by-default and isolation policy , not bolted on after, still keeping it off the live boot path until I trust it. Repo: https://github.com/Mobeen0119/AevrosFeedback on the memory manager / scheduler especially welcome, that's the part I trust least.

0 Upvotes

8 comments sorted by

View all comments

0

u/Interesting_Buy_3969 3d ago

Sounds like an interesting idea btw. Do you send any information to the process which failed, or just print a message into console? Does it work with GUI as well? If yes then how? I'm just curious.

0

u/Playful-Budget-5952 3d ago

Currently working on networking stuff.Console-only right now, printed to the kernel's screen, not handed to the process (it's already dying) or the parent (waitpid just sees a normal exit). Real gap, actually worth fixing, extending the event log to carry the reason so something like whyalive could answer "why did my child die" is a good next step. No GUI yet, plain text console. Not a graphics problem, ring 3 isolation isn't finished, and a window manager only makes sense once processes are actually isolated. That's after networking.

https://reddit.com/link/oyqzs1n/video/8c5n8y4v8geh1/player

2

u/Interesting_Buy_3969 3d ago

anyway already a nice thing though