klange changed the topic of #osdev to: Operating System Development || Don't ask to ask---just ask! || For 3+ LoC, use a pastebin (for example https://gist.github.com/) || Stats + Old logs: http://osdev-logs.qzx.com New Logs: https://libera.irclog.whitequark.org/osdev || Visit https://wiki.osdev.org and https://forum.osdev.org || Books: https://wiki.osdev.org/Books
scaleww has quit [*.net *.split]
tacco has joined #osdev
scaleww has joined #osdev
dutch has joined #osdev
gog has quit [Ping timeout: 246 seconds]
mrvn has joined #osdev
[itchyjunk] has joined #osdev
scaleww has quit [Quit: Leaving]
tacco has quit [Remote host closed the connection]
isaacwoods has quit [Quit: WeeChat 3.7.1]
X-Scale` has joined #osdev
X-Scale has quit [Ping timeout: 248 seconds]
X-Scale` is now known as X-Scale
nyah has quit [Ping timeout: 272 seconds]
heat has quit [Ping timeout: 276 seconds]
srjek|home has quit [Ping timeout: 255 seconds]
dude12312414 has quit [Quit: THE RAM IS TOO DAMN HIGH]
diamondbond has joined #osdev
zaquest has quit [Remote host closed the connection]
xenos1984 has quit [Read error: Connection reset by peer]
smach has joined #osdev
zaquest has joined #osdev
zid has joined #osdev
zid` has quit [Read error: Connection reset by peer]
terrorjack has quit [Quit: The Lounge - https://thelounge.chat]
terrorjack has joined #osdev
Gooberpatrol66 has quit [Quit: Leaving]
xenos1984 has joined #osdev
[itchyjunk] has quit [Remote host closed the connection]
diamondbond has quit [Ping timeout: 246 seconds]
smach has quit []
nick64 has quit [Quit: Connection closed for inactivity]
epony has quit [Ping timeout: 272 seconds]
_xor has quit [Read error: Connection reset by peer]
Ellenor has quit [Read error: Connection reset by peer]
_xor has joined #osdev
eroux has joined #osdev
Ellenor has joined #osdev
wand_ has quit [Ping timeout: 255 seconds]
wand has joined #osdev
epony has joined #osdev
epony has quit [Max SendQ exceeded]
epony has joined #osdev
bgs has joined #osdev
epony has quit [Remote host closed the connection]
epony has joined #osdev
m5zs7k has quit [Ping timeout: 252 seconds]
m5zs7k has joined #osdev
poisone has joined #osdev
poisone has quit [Ping timeout: 272 seconds]
poisone has joined #osdev
weinholt has quit [Ping timeout: 248 seconds]
Burgundy has joined #osdev
Burgundy has left #osdev [#osdev]
nyah has joined #osdev
X-Scale has quit [Quit: HydraIRC -> http://www.hydrairc.com <- Wibbly Wobbly IRC]
GeDaMo has joined #osdev
wand_ has joined #osdev
wand has quit [Ping timeout: 255 seconds]
eroux has quit [Ping timeout: 246 seconds]
eroux has joined #osdev
Piraty_ has quit [Quit: -]
Piraty has joined #osdev
lg has quit [Ping timeout: 246 seconds]
zid has quit [Ping timeout: 248 seconds]
wand_ has quit [Ping timeout: 255 seconds]
gildasio1 has quit [Ping timeout: 255 seconds]
gildasio1 has joined #osdev
zid has joined #osdev
lg has joined #osdev
wand has joined #osdev
wand has quit [Remote host closed the connection]
wand has joined #osdev
wand has quit [Ping timeout: 255 seconds]
<zid> well that hardly seemed worth it, isp updated their packages and I had to reboot for new config file, 110Mbps -> 140Mbps
wand has joined #osdev
wand has quit [Remote host closed the connection]
nur has quit [Read error: Connection reset by peer]
wand has joined #osdev
zhiayang has quit [Quit: oof.]
zhiayang has joined #osdev
zhiayang has quit [Client Quit]
zhiayang has joined #osdev
sebonirc has quit [Read error: Connection reset by peer]
sebonirc has joined #osdev
Mondenkind has quit [Quit: !]
moon-child has joined #osdev
elastic_dog has quit [Quit: elastic_dog]
elastic_dog has joined #osdev
Gooberpatrol66 has joined #osdev
smach has joined #osdev
smach has quit []
nyah has quit [Ping timeout: 246 seconds]
srjek|home has joined #osdev
wand has quit [Ping timeout: 255 seconds]
Vercas6 has joined #osdev
wootehfoot has joined #osdev
poyking16 has joined #osdev
poyking16 has quit [Client Quit]
Vercas6 has quit [Quit: Ping timeout (120 seconds)]
weinholt has joined #osdev
vdamewood has joined #osdev
poyking16 has joined #osdev
poyking16 has quit [Client Quit]
vdamewood has quit [Read error: Connection reset by peer]
vdamewood has joined #osdev
elastic_dog has quit [Ping timeout: 246 seconds]
elastic_dog has joined #osdev
nur has joined #osdev
ptrc has quit [Remote host closed the connection]
ptrc has joined #osdev
heat has joined #osdev
<heat> zid, +30mbps? that sounds very worth it
Dyskos has quit [Quit: Leaving]
<zid> It's basically identical
<zid> I'm more used to it doubling, but speeds have basically plateau'd now
<zid> nobody's going to over above 1gbps as their top package for a long long time
<zid> same with ram around 32GB, drives in the low tens of terabytes, etc
<zid> cpus around 4-5GHz
<zid> the only thing that's had any kind of explosion is L3 cache on certain $8000 server amd cpus
<heat> you have way more than 32GB of ram
<heat> even desktop mobos support more than that I think
sympt has joined #osdev
<heat> the 12900k supports 128 GB
Bonstra has quit [Quit: Pouf c'est tout !]
<zid> support more yes
<zid> and my mobo from 2011 supports PBs of storage
<zid> but that isn't what people *have*
<zid> I could also get an OC-384 wired into my room
<heat> yeah but you were talking about the top package
<heat> the top package is way more than 32GB on desktop
<GeDaMo> More cores?
<zid> I wasn't talking about our top package as though it were a fundamental limit
<zid> they won't offer more until more is needed
<zid> and that that has basically stalled out
<zid> same with everything else
<heat> osdev.org ded
<zid> We've basically been climbing out of third world computer poverty and have.. arrived at the first world.
<heat> chase chase chase chase chase where are you chase
<zid> I have storage enough for enough video that I could watch it 24/7
<heat> thankfully he's always quic- oh wait
<zid> etc
<heat> zid host osdev.org with ur xeon
<zid> my upload is garbo
<heat> idgaf
<heat> ask sky for more bandwidth
<zid> I'd say the uptime would be bad too because I got my voltages wrong and prime95 crashed the machine yesterday, but that'd still be an improvement
<zid> [17:05] zid is ~zid@pete-14-b2-v4wan-164630-cust398.vm23.cable.virginm.net * zid
<zid> yes, let's ask sky
<zid> sky says "Why the fuck are you asking us, we buy it from OpenReach, and you're with virgin media"
<heat> hi rupert murdoch, why is zid a virgin
<zid> That should be obvious
<zid> #osdev
<zid> and GeDaMo doesn't put out
<GeDaMo> :|
<heat> hosting osdev.org on a rpi3 over 3G should be better than being hosted by a fucking ghost
<zid> GeDaMo: You don't get to pull faces, it's your fault
Bonstra has joined #osdev
<ddevault> not entirely on-topic, but I reckon this channel knows better than most:
<ddevault> how can an ELF program on Linux reliably find its ELF header in memory?
<ddevault> the first PHDR is in the aux vector, and the ELF header *happens* to be at the start of that same page, but that's not a heuristic I'm comfortable relying on
<zid> link it such that it loads the first byes of itself
<zid> just a program header with an offset of 0
<ddevault> right, sure
<ddevault> I have `text PT_LOAD FILEHDR PHDRS` in the PHDRS section of my linker script
<ddevault> and I can certainly infer the address space layout from the way my script is written
<ddevault> but I wonder if there's a better way
<ddevault> that will work, for example, if a different linker script is used
wand has joined #osdev
<zid> you don't have to infer anything, elf loader has to do what the phdrs say
<zid> else the loader is broken
<ddevault> well, objdump -h actually does not ask for the ELF header to be loaded afaict
<ddevault> and yet there it is
<ddevault> not sure what my linker script has to do in order to get GNU ld to produce an appropriate ELF file
<ddevault> quite aware that if I had-wrote an ELF file I could do whatever I want
<zid> appropriate for what?
<ddevault> hand-wrote*
<zid> I don't think I caught the actual issue
<ddevault> such that it explicitly requests the ELF header to be loaded, and provides its address to my program
<zid> you already figured that out though
<ddevault> I did not -_-
<zid> yea you did? headers { PT_LOAD FILEHDRS; } or whatever? I think --nmagic or --omagic I forget which also makes binaries in that style if you don't have a linker script to hand
<ddevault> to put it more clearly: I want to obtain the address of the ELF header, i.e. starting with \x7FELF, in my address space on Linux
<heat> traditionally it's always at the start of the first program header AFAIK
<heat> erm,s ection
<heat> or segment?
<heat> whatever, you get it
<ddevault> objdump -p shows the PHDR is correct to load it, so that much is fine
<zid> yea it helps dynamic linkers to do that
<ddevault> the ELF file does include it and it is loaded into my address space
<ddevault> the question is, can I get its address without relying on heuristics
<zid> I can't find the dynamic linker spec document, can't remember what it's called
<ddevault> and, now that I talk it through, I think I know how
<zid> but th environment provides the dynamic linker with a fuck load of info about the incoming file and I wanted to read it :(
wand has quit [Ping timeout: 255 seconds]
<heat> ddevault, no
<ddevault> the p_vaddr of the first PHDR should presumably point to the address
xenos1984 has quit [Ping timeout: 255 seconds]
<zid> but how do you find the phdrs without knowing your own load address? :P
<heat> iirc linux does (if program header is PHDR, use that, else use load_address + eh_phoff)
wand has joined #osdev
<heat> the elf header... yeah you'll need to fallback to load_address
<heat> and hope any segment mapped offset 0
<ddevault> would be nice if objdump -p actually gave all of the information in the ELF file
<heat> use readelf
<ddevault> ty
<heat> readelf best tool bby
<ddevault> though now that I do that, the ELF file does /not/ appear correct...
<ddevault> ah yes it does
<ddevault> but it's the *second* PHDR that includes the ELF header, not the firstr
<ddevault> first*
<zid> heat can you remember what I am talking about
<heat> zid, sysv abi?
<zid> maybe lemme see
<zid> the pdf I just found has like 2 lines for dynamic linking heh, but it's also from 2012
<bslsk05> ​www.sco.com: System V Application Binary Interface - DRAFT
<zid> elf spec just says "the dynamic linker gets the program as an open file handle" and sysv spec said "only /lib/ld.so.6 is a valid interp strign"
<zid> I had a document that described, perhaps specifically how ld.so functioned, some environment shit
<zid> a bit like how sysv says argv and envp are on the stack
<zid> it had some data structures related to how you were dynamicly linked, or maybe this is all a huge fever dream
<ddevault> there we go
<bslsk05> ​paste.sr.ht: e952fce — paste.sr.ht
<ddevault> this is non-heuristicy enough for me to be cool with it
<heat> zid, <zid> I had a document that described, perhaps specifically how ld.so functioned, some environment shit
<heat> <zid> a bit like how sysv says argv and envp are on the stack
<heat> oh shti
<heat> this is probably what you're talking about
<zid> can't see it if it is
<zid> this is the pdf I found a minute ago more or less
<zid> it might just have been the ld.so internal manual or something idk
<heat> but this is the bleeding edge one
<heat> not those shitty 2014 ones
<zid> imma watch youtube
<zid> more fun
<heat> imma hop on the metaverse
<heat> more fun
<heat> you know, meeting xbox live zucc and whatnot
xenos1984 has joined #osdev
wootehfoot has quit [Read error: Connection reset by peer]
gxt has quit [Write error: Connection reset by peer]
gxt has joined #osdev
<zid> I thought the new hotness was trolling elon on twitter until he bans you
srjek_ has joined #osdev
srjek|home has quit [Ping timeout: 272 seconds]
knusbaum has quit [Ping timeout: 250 seconds]
knusbaum has joined #osdev
xenos1984 has quit [Ping timeout: 246 seconds]
wootehfoot has joined #osdev
<geist> nah but i've been using that energy to rebase my limited social presence to mastodon
<geist> maybe i'll post more often about stuff
<j`ey> lol rebase
<geist> yeah i think the analogy works!
<geist> though i dont intend to replay all of my posts or whatnot
<zid> it's not even an analogy
<zid> it's just what the word means, it's not actually jargon
<zid> or at least, it's jargon from another era so now it's just an acceptable word :p
<geist> not sure it's a 'real' word but it's fairly clear what it usually means
<zid> I'm guessing dentistry or woodworking or something
<geist> i'm still sour years later at trying to use 'enqueue' in a scrabble game to find out it was not in the dictionary
<zid> ah it's used in tax and dentistry
<geist> it woulda been a triple word score and everything
<zid> scrabble dictionaries are typically sucky
<geist> yah, but it's the rules!
<zid> they have to use old versions of collins and stuff in order to have qi and other.. useful competitive words
<geist> but actually i think it turns out enqueue isn't really an official english word i think
<geist> just used in software stuff
<zid> it's a word as soon as someone uses it
<zid> it's just whether it's a well known one or not
<zid> like, linguistically
<zid> rebase is probably in most dictionaries already as to re base some dentures
<zid> it's just what.. the word means, to replace the base
<geist> me and the droogs go to the Milkbar to make up our rassoodocks
<zid> dictionaries tend to just be kinda slow at adding words, because they come in and out of fashion fairly quickly
<zid> influencer was added to the OED in september 2022 apparently :P
<zid> recent words: techlash, blockchain, lateral flow, detransition, dine-and-dash, lit
<zid> this is fun
xenos1984 has joined #osdev
<zid> OED has 'grok' already though so it's basically complete
srjek_ has quit [Ping timeout: 272 seconds]
gareppa has joined #osdev
gareppa has quit [Quit: Leaving]
smach has joined #osdev
smach has quit [Client Quit]
smach has joined #osdev
[itchyjunk] has joined #osdev
<geist> ytah i remember grok getting added a while back, there was some article written about it
<geist> i remember being pleasantly surprised. as a grok work user i'm haapy that i dont have to explain what it means
<geist> s/work/word
smach has quit [Read error: Connection reset by peer]
bgs has quit [Remote host closed the connection]
GeDaMo has quit [Quit: You are becoming what we French call 'Le Fruitcake'.]
jafarlihi has joined #osdev
<jafarlihi> Hey, I made a NFA regex engine and embedded lexer generator: https://github.com/jafarlihi/clex
Burgundy has joined #osdev
<mrvn> I made pasta
jafarlihi has quit [Quit: WeeChat 3.7.1]
poisone has quit [Remote host closed the connection]
wootehfoot has quit [Read error: Connection reset by peer]
poisone has joined #osdev
<heat> yummy pasta
<heat> osdev.org up
<heat> chase best admin
moon-child is now known as Mondenkind
<zid> pasta is a good delivery vehicle for butter
elastic_dog has quit [Remote host closed the connection]
<heat> mamma mia
elastic_dog has joined #osdev
vdamewood has quit [Read error: Connection reset by peer]
vdamewood has joined #osdev
zoey has joined #osdev
thaumavorio has quit [Quit: ZNC 1.8.2 - https://znc.in]
thaumavorio has joined #osdev
srjek_ has joined #osdev
<heat> mjg_, what's the deal with openbsd not having kasan
<mjg_> it does not?
<heat> it does not
<mjg_> i know they run syzkaller with *something*
<mjg_> i don't follow their state for quite some time now, as previously mentioned
<bslsk05> ​github.com: EFI firmware has bugs which may mean that calling EFI runtime service… · openbsd/src@f3c5c95 · GitHub
<heat> are they grossly incompetent
<heat> "if the firmware crashes pretend it didn't" is a great idea
<CompanionCube> being silient about the firmware being shitty is certainly a choice
<heat> i wonder what happens if you call it again but this time the fw has inconsistent state
<mjg_> heat: i mentioned several times openbsd made some funny calls in the past
<heat> and they keep making funny calls
<mjg_> heat: and to definitely not trust their claims
<mjg_> basically if someone makes a perofrmance claim, they are most likely ill informed or lying
<mjg_> and when openbsd makes a correctness claim, same applies
<mjg_> i watched a video of some guy making claims about creating a functional programming lang which does not suck from perf standpoint
<mjg_> and of course provides a lolo benchmark to prove it
<mjg_> also "we migrated from ruby to haskell and got a 10x speedup"
<mjg_> like fucker, pleaze, are you a salesman
<CompanionCube> related to firmware page faults, encountering https://lore.kernel.org/lkml/YuQlbFSBC6U%2FyGeL@zn.tnic/T/ was certainly unfun.
<bslsk05> ​lore.kernel.org: [PATCH] x86/bugs: Do not enable IBPB at firmware entry when IBPB is not available
heat has quit [Remote host closed the connection]
heat has joined #osdev
<heat> hexchat had strok
heat has quit [Remote host closed the connection]
heat has joined #osdev
<heat> i cannot open that fucking link
dude12312414 has joined #osdev
<heat> CompanionCube, why? that looks fine
<CompanionCube> heat: it was an unexpected 'wut why isn't it booting, that's an unexpected error'
<heat> ah, the bug
<heat> lol
<mrvn> " I went to a lot of effort to prove this, but it's like Carl Sagan said: extraordinary clams require extraordinary evidence. "