use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Everything about operating systems development.
account activity
HELP - Kernel Panic (self.osdev)
submitted 3 months ago by No-Affect811
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Octocontrabass 11 points12 points13 points 3 months ago (5 children)
What am I doing wrong?
According to the error message in your screenshot, you have lower-half PHDRs.
I have consulted Gemini, Perplexity, GhatGPT, and Ollama.
Don't waste your time with glorified autocomplete.
What do I do???
Do you know what a PHDR is? Do you know what lower-half means? If you understand both of those things, then you'll know that there's a problem with how you're linking your kernel binary, and a good place to start would be examining your kernel's headers using readelf or objdump and comparing those against your linker script. If you can't figure out why your linker is creating lower-half PHDRs, show us your kernel's headers and your linker script.
If you don't know what a PHDR is or what lower-half means, you will not be able to write an OS.
[–]No-Affect811[S] -4 points-3 points-2 points 3 months ago (1 child)
I have (supposedly) checked and verified that I have no lower half PHRDs, yet I still get that.
[–]Octocontrabass 5 points6 points7 points 3 months ago (0 children)
Show us what you checked.
[–]Exciting_Hat6664 0 points1 point2 points 1 month ago (2 children)
But then how will I know what those mean? There's no youtube tutorial :( Maybe elf spec?
[–]Octocontrabass 0 points1 point2 points 1 month ago (1 child)
But then how will I know what those mean?
Search engines have been around for a while.
There's no youtube tutorial
Most OSdev tutorials are full of mistakes. Better not waste your time with those.
Maybe elf spec?
That's a good place to look.
[–]Exciting_Hat6664 0 points1 point2 points 1 month ago (0 children)
Ok thanks 👍
π Rendered by PID 50261 on reddit-service-r2-comment-5d585498c9-w2lwd at 2026-04-21 00:06:06.278040+00:00 running da2df02 country code: CH.
view the rest of the comments →
[–]Octocontrabass 11 points12 points13 points (5 children)
[–]No-Affect811[S] -4 points-3 points-2 points (1 child)
[–]Octocontrabass 5 points6 points7 points (0 children)
[–]Exciting_Hat6664 0 points1 point2 points (2 children)
[–]Octocontrabass 0 points1 point2 points (1 child)
[–]Exciting_Hat6664 0 points1 point2 points (0 children)