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
experemental has joined #osdev
Mutabah has quit [Ping timeout: 260 seconds]
<gog> i can't wait
<mcrod> gog
<mcrod> tell me a story
<gog> once upon a time there was a boy named mike
<gog> he was very nice to gog
<gog> the end
<nikolar> kek
<mcrod> :D
netbsduser has quit [Ping timeout: 256 seconds]
<mjg> my name is not mike
<bl4ckb0ne> hi mike
<gog> hi mike
<heat> greetings michael
[itchyjunk] has quit [Ping timeout: 276 seconds]
cow321 has quit [Ping timeout: 256 seconds]
<mcrod> hi mike
experemental has quit [Read error: error:0A000119:SSL routines::decryption failed or bad record mac]
<bl4ckb0ne> is mike short for micycle?
cow321 has joined #osdev
rpnx has joined #osdev
<gog> yes
Mutabah has joined #osdev
rpnx has quit [Quit: My laptop has gone to sleep.]
gbowne1 has quit [Remote host closed the connection]
JTL has joined #osdev
gog has quit [Quit: byee]
* kof123 starts humming ♪ I dream I move, I dream I groove / Like MJG ♪
navi has quit [Quit: WeeChat 4.0.4]
mavhq has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
mavhq has joined #osdev
[itchyjunk] has joined #osdev
zetef has joined #osdev
zetef has quit [Ping timeout: 260 seconds]
\Test_User has quit [Quit: e]
\Test_User has joined #osdev
fkrauthan has quit [Quit: ZNC - https://znc.in]
heat has quit [Remote host closed the connection]
heat has joined #osdev
fkrauthan has joined #osdev
zxrom has joined #osdev
[itchyjunk] has quit [Remote host closed the connection]
yoo has quit [Ping timeout: 240 seconds]
heat_ has joined #osdev
heat has quit [Read error: Connection reset by peer]
solaare has quit [Ping timeout: 268 seconds]
justache- is now known as justache
Gooberpatrol66 has quit [Quit: Leaving]
Gooberpatrol66 has joined #osdev
solaare has joined #osdev
solaare has quit [Remote host closed the connection]
solaare has joined #osdev
solaare has quit [Ping timeout: 260 seconds]
smeso has quit [Quit: smeso]
solaare has joined #osdev
smeso has joined #osdev
Arthuria has quit [Ping timeout: 268 seconds]
sbalmos has quit [Ping timeout: 256 seconds]
sbalmos has joined #osdev
owenw has joined #osdev
owenw has quit [Quit: Leaving]
heat has joined #osdev
heat_ has quit [Read error: Connection reset by peer]
heat has quit [Remote host closed the connection]
netbsduser has joined #osdev
heat has joined #osdev
heat has quit [Read error: Connection reset by peer]
heat has joined #osdev
netbsduser has quit [Ping timeout: 256 seconds]
bitoff has joined #osdev
netbsduser has joined #osdev
mahk has quit [Ping timeout: 252 seconds]
goliath has joined #osdev
netbsduser has quit [Ping timeout: 256 seconds]
agent314 has joined #osdev
zid has quit [Ping timeout: 268 seconds]
Brnocrist has quit [Ping timeout: 264 seconds]
Brnocrist has joined #osdev
rpnx has joined #osdev
rpnx has quit [Client Quit]
rpnx has joined #osdev
bitoff_ has joined #osdev
bitoff has quit [Read error: Connection reset by peer]
rpnx has quit [Client Quit]
bitoff__ has joined #osdev
bitoff_ has quit [Ping timeout: 240 seconds]
netbsduser has joined #osdev
Gooberpatrol66 has quit [Quit: Leaving]
zid has joined #osdev
<zid> grr, crashed, even with cores disabled, back to the drawing board
<heat> damn
<heat> are you sure it's a CPU problem?
<zid> not anymore
<zid> ram maybe? but I'd expect ram to give software issues
<zid> not random cpu MCEs
sjs has quit [Ping timeout: 252 seconds]
sjs has joined #osdev
netbsduser has quit [Ping timeout: 246 seconds]
mahk has joined #osdev
netbsduser has joined #osdev
dodoma has joined #osdev
Gooberpatrol66 has joined #osdev
rpnx has joined #osdev
GeDaMo has joined #osdev
rpnx has quit [Quit: My laptop has gone to sleep.]
geistvax has quit [Quit: Leaving]
<Affliction> Might be something betwen the cores and memory - bad L3?
CryptoDavid has joined #osdev
<zid> could be, but I have no idea what I'd do to either diagnose that or work around it
<zid> raise the cache voltage maybe
<zid> I think that's a setting
netbsduser has quit [Remote host closed the connection]
netbsduser has joined #osdev
heat has quit [Read error: Connection reset by peer]
heat has joined #osdev
netbsduser has quit [Ping timeout: 256 seconds]
<Ermine> heat: are there any ELF-related tasks in onyx?
Gooberpatrol66 has quit [Ping timeout: 260 seconds]
experemental has joined #osdev
gog has joined #osdev
<sham1> ELF on a SHELF
<gog> GOG on a POG
<vdamewood> DWARF on a WARF
<heat> Ermine, wdym elf related and why?
<Ermine> I want to learn ELF all of sudden, so maybe there's something to fix/imrove
[itchyjunk] has joined #osdev
<heat> first thing i can think of: fuzz the ELF loader. the kernel supports KCOV already, so imagining something like afl or llvm-fuzzer isn't too hard to port (i'm not sure if i've ported the llvm-fuzzer yet...), you could effectively fuzz it
<heat> second thing i can think of: the module loader has all sorts of rot, and there's no support for riscv nor arm64 there
<heat> the module loader effectively just links a .o against the kernel, so it's a bit gnarly and complex
<Ermine> thank you!
<heat> np, feel free to ping me or message me for more info
<heat> or open an issue or whatever
<heat> or email me
<heat> or send me a letter
<zid> comment on his onlyfans
<heat> send me a fax even
<heat> subscribe with your amazon prime free sub
<heat> on a sidenote: i found out sourcehut supports email-based workflows with send-email (I think?) and i'm curious enough to maybe try it once the outage is over
<zid> what is sourcehut
<zid> is it like pizzahut but they only sell like, carbonara, ketchup, etc?
<heat> it's ddevault's git forge
<zid> I don't know who ddevault is, and I have never heard the term you just made up of 'git forge'
<GeDaMo> Like github
<heat> ddevault aka sircmpwn aka a guy who's been hanging around #osdev for quite some time
<GeDaMo> And ddevault has been in here talking about their OS
<heat> yes
<heat> and yeah git forge is best described as "like github or gitlab"
<zid> I think maybe you should stop using 'forge'
<zid> and say 'webhost'
<heat> webhost doesn't describe it properly
<zid> except that's what github is?
<heat> github and gitlab are offer way more than "remote server you push commits to"
<heat> s/are//
<zid> yes, that's called a git server
<zid> they are full hosts, over the web
Cindy has quit [Ping timeout: 246 seconds]
Cindy has joined #osdev
netbsduser has joined #osdev
<Ermine> everything on the internet is webhost
agent314 has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<zid> no, some things are websites
<zid> The main issue here is that 'forge' is a fucking stupid piece of jargon
<zid> I'd rename all my branches 'main' if it means I didn't have to use 'forge', it's that bad
[itchyjunk] has quit [Read error: Connection reset by peer]
<nikolar> just don't call it forge
<helene> this is anti-dwarf propaganda
<gog> i love forgery
<gog> it's my second-favorite crime
<zid> It's west-coast tech elites co-opting blue-collar words to make themselves sound less bourgeoisie
<gog> zid i'm literally sticking code into a furnace and hammering it on an anvil
<zid> gog: west coast of iceland
<GeDaMo> West coast? Like Liverpool? :P
<gog> true, reykjavik is the los angeles of iceland
<gog> garðabaæ is the orange county
<zid> GeDaMo: liverpool doesn't have any elites, you're thinking of people on holiday in cornwall
<gog> mosfellsbæ is the inland empire (nobody cares about it)
<zid> nice, UK just ruled against a copyright exception for AI training
<gog> ama i'm a left coast elite, sneering down my nose at all the ýfrflugsýslur
woky has quit [Quit: Nothing in this world is hopeless!]
woky has joined #osdev
experemental has quit [Remote host closed the connection]
zxrom is now known as ThinkW520
<netbsduser> speaking of forges
<netbsduser> is sarhat back online yet
ThinkW520 is now known as zxrom
<bslsk05> ​sourcehut.org: Information regarding the SourceHut outage
<sham1> But the reason we call them forges is because of SourceForge
<sham1> Remember that? Yeah, it was a while ago
<zid> You mean sf.net
<zid> sourgeforge at least makes sense
<zid> given it was about *crafting* software packages
<sham1> And that's the same with GitHub, GitLab, Gogs, SourceHut et al
<zid> not in the least
<zid> it's a remote git host with a web interface
<sham1> And SourceForge was an svn host with a web interface
<sham1> Maybe even CVS at some point
bauen1 has quit [Ping timeout: 260 seconds]
<netbsduser> what do people think of solaris's slab allocator's consolidator? (it provides for objects to be moved out of slabs to reduce the number of partial slabs and increase the number of full slabs)
<netbsduser> conceptually i like it but in illumos i can only find it used for ZFS dnodes and znodes
Left_Turn has joined #osdev
<zid> heat: mcrod is stalking me, help
<mcrod> no i’m not
<zid> yes he is
<mcrod> i’m just a child of two different worlds
<zid> zid: member since jun 2023, mcrod: member since oct 2023
<mcrod> :)
bitoff__ has quit [Remote host closed the connection]
bitoff__ has joined #osdev
navi has joined #osdev
bauen1 has joined #osdev
Ermine has quit [Remote host closed the connection]
Ermine has joined #osdev
Turn_Left has joined #osdev
<Ermine> I'm still going to call it a forge
<Ermine> why tf ld doesn't want to put two sections in one PT_LOAD segment
bauen1 has quit [Ping timeout: 256 seconds]
<zid> flags don't match?
<zid> non-contiguous?
Turn_Left has quit [Remote host closed the connection]
Left_Turn has quit [Ping timeout: 256 seconds]
Turn_Left has joined #osdev
Left_Turn has joined #osdev
Turn_Left has quit [Ping timeout: 256 seconds]
<Ermine> yes
dutch has joined #osdev
<zid> you're welcome then
netbsduser has quit [Read error: Connection reset by peer]
bauen1 has joined #osdev
wgrant has quit [Ping timeout: 260 seconds]
wgrant has joined #osdev
netbsduser has joined #osdev
Arthuria has joined #osdev
epony has quit [Remote host closed the connection]
Matt|home has joined #osdev
edr has joined #osdev
epony has joined #osdev
<kof123> hut is good, it is kind of tropical
<nikolar> tropical=
<nikolar> tropical?
<bl4ckb0ne> tropical < optimal
zid has quit [Ping timeout: 255 seconds]
Brnocrist has quit [Ping timeout: 240 seconds]
zid has joined #osdev
Brnocrist has joined #osdev
<zid> tropical > optimal
eck has quit [Quit: PIRCH98:WIN 95/98/WIN NT:1.0 (build 1.0.1.1190)]
eck has joined #osdev
<kof123> i was thinking lego witch doctor with red mask churns out code, but feel free to make your own interpretation :D
goliath has quit [Quit: SIGSEGV]
Nixkernal has quit [Ping timeout: 246 seconds]
Gooberpatrol66 has joined #osdev
masoudd has quit [Ping timeout: 252 seconds]
Nixkernal has joined #osdev
eck has quit [Ping timeout: 252 seconds]
eck has joined #osdev
gog has quit [Quit: Konversation terminated!]
zid has quit [Ping timeout: 256 seconds]
zid has joined #osdev
xenos1984 has quit [Ping timeout: 256 seconds]
xenos1984 has joined #osdev
goliath has joined #osdev
bauen1 has quit [Ping timeout: 260 seconds]
gog has joined #osdev
CryptoDavid has quit [Quit: Connection closed for inactivity]
zid has quit [Ping timeout: 256 seconds]
zid has joined #osdev
<nikolar> simh apparently supports some ethernet controllers for pdp11
gog has quit [Ping timeout: 264 seconds]
xenos1984 has quit [Ping timeout: 264 seconds]
zid has quit [Ping timeout: 260 seconds]
zid has joined #osdev
xenos1984 has joined #osdev
<geist> yep
bauen1 has joined #osdev
<heat> hmm how big is lwip?
<heat> could you ever fit that into a pdp11?
<geist> sure. i mean yo ucould fit a much beefier one into a pdp11
<nortti> that was the contiki one? should fit then yeah
lzrd has joined #osdev
<heat> geist, why /netunix then?
<geist> because it plus the kernel was larger than 64k segment
<heat> i mean, i guess it fits but it's just awfully hacky
<geist> seems like that fits to me
<geist> i mean the whole os is context switching processes and whatnot. it just deals with the fact that the kernel is too big to fit in one segment
<geist> depends on your point of view i guess
<geist> i guess you more precisely mean ca you build a kernel + lwip in 64k? sure
<geist> maybe? i haven't tried running LK on it, since i dont particulary want to add 16 bit compat to it
<geist> it's my experience that lwip is pretty small. the core bits are basically a single thread that just loops through a queue of things to deal with
<geist> or not even thread, in an unthreaded environment you just pump it by calling a process routine all the time
gog has joined #osdev
<nikolar> has anyone tried doing that
<nikolar> lwip on pp
<nikolar> pd
<nikolar> pdp
Arthuria has quit [Ping timeout: 268 seconds]
<heat> my network stack definitely doesn't fit into 64KiB
<heat> why's it so GOD DAMN BLOATED
<sbalmos> it gave up on its resolution to slim down
dza has quit [Ping timeout: 260 seconds]
<nikolar> heh
gbowne1 has joined #osdev
lzrd has quit [Quit: leaving]
<heat> hrm maybe it's not so bloated
<heat> something looks broken in bloaty
<nikolar> can't be that bad
gbowne1 has quit [Remote host closed the connection]
<heat> -d compileunits,symbols is routinely mistaking symbols
gbowne1 has joined #osdev
<heat> i.e everything in my amap implementation is getting attributed to kernel/mm/reclaim.cpp
<heat> my lib/interval_tree/interval_tree_test.cpp has an arc4random implementation
<sham1> > .cpp
<sham1> C++? Ew
<heat> shut up
<heat> java m68k lover
<Cindy> i heard m68k
<netbsduser> so did i
<netbsduser> i love m68k
<heat> ok bloaty's DWARF5 support is borked
<nikolar> heh
<nikolar> we love m68k
<Cindy> i'm currently making a m68k emulator
<bslsk05> ​www.google.com: Error 403 (Forbidden)!!1
<netbsduser> Cindy: keep me up to date on it
<Cindy> it's for a CD-i emulator
<netbsduser> my kernel runs on qemu's "virt" machine and on amigas with a 68040 or 060 with MMU
<nikolar> nice
<Cindy> nice
<heat> i'd love to get my thing running on a 32-bit arch
<heat> but i'm afraid it'll be a PITA
<netbsduser> fs-uae's gdb support is lacklustre which makes the amiga port harder to work on
<heat> i could /maybe/ limit 32-bit architectures to the lower ~800MiB memory
<nikolar> is it reasonable to limit yourself to paging systems
<heat> yes
<netbsduser> heat: this is what i did
<nikolar> ie non 32bit x86 for the most part
<netbsduser> a direct map is just too useful
<heat> netbsduser, right, i appreciate the engineery-ness of linux's kmap but i dont want to deal with it in many code paths
<nikolar> yeah true
<heat> <nikolar> ie non 32bit x86 for the most part <- wdym
<nikolar> sorry worded it weird
<nikolar> basically not caring about x86
<netbsduser> originally i did make a bit of effort to be able to survive without a direct map, i could transition to having a pseudo direct map where there is *individually* contiguous mappings of all individual contiguous memory regions
<heat> x86 is a paging system
<nikolar> am i misremembering
<nikolar> wasn't it a segmented system
<sbalmos> it is in older modes
<netbsduser> and when i implemented the "vmem" allocator from solaris i implemented the facility whereby with a static pool of boundary tags, you can have kmem slab depend on vmem which in turn depends on kmem slab. but i moved my kmem to use direct-mapped pages for 1-page slabs
GeDaMo has quit [Quit: That's it, you people have stood in my way long enough! I'm going to clown college!]
<heat> 16-bit only has segments, 32-bit has segments and paging, 64-bit has pseudo-segments and mostly paging
<netbsduser> nikolar: you can forget about the segmentation for the most part if you build a modern (as in late 70s or beyond) kernel
<nikolar> netbsduser: nice
<nikolar> netbsduser: yeah that's what i thought too
stefanct has quit [Ping timeout: 245 seconds]
<nikolar> but x86 is weird so guess i got it confused
<heat> i'd love to use x86 segments for something but gcc won't play too well with that
<heat> at least when it comes to separate code and data
<nikolar> any particular ideas in mind heat
<nikolar> or just in general
<netbsduser> one of the remaining uses for the segmentation facilities would be for TLS, as in amd64, but on i386 i think it's %fs that's used for it rather than %gs
stefanct has joined #osdev
<nikolar> yeah but that kind of barely counts
<heat> nikolar, making my other OS (a shitnix) have a literal data segment that grows with brk
<heat> basically an ode to old shitnixes and old x86 segmentation
<nikolar> heh sounds good to me
<heat> i guess having a single process segment and growing it also works, but it's just not the same
<netbsduser> if i ever targeted the i386 it would not be for my ""serious"" kernel but for some kind of elaborate practical joke
<heat> yep
<heat> i implemented the mckusick-karels allocator
<heat> it's hilarious
<netbsduser> it would have to make full use of segmentation, the virtual 8086 mode, all of the fun stuff
<nikolar> lol switching to 8086 to do bios calls and all that
<heat> i've been writing code as obtusely as possible
<heat> basically "what would keith bostic do"
<nikolar> what's wrong with mckusick-karels
<heat> it can't reclaim pages at all
<nikolar> oh yeah that's bad
<heat> once malloc grabs a page, it's pinned to malloc, to that specific object size
<nikolar> how often did systems run out of ram using it
<heat> i guess it's a step up from "struct inode inodes[NINODES];"
<heat> no clue
<nikolar> "struct inode inodes[NINODES];" is fine when you're running on 16bit
<heat> fairly sure this was a thing even in 32-bit UNIX. early at least
<nikolar> well at that point i think you could afford a proper allocator
<heat> i mean, they also had malloc in 16-bit
<heat> it just sucked
<nikolar> it worked i guess ¯\_(ツ)_/¯
<heat> accurate description of UNIX
<nikolar> heh
<nikolar> UNIX(tm)
dza has joined #osdev
goliath has quit [Quit: SIGSEGV]
gog has quit [Ping timeout: 256 seconds]
dza has quit [Quit: ]
dza has joined #osdev
dza has quit [Client Quit]
kristinam has quit [Quit: leaving]
rpnx has joined #osdev
dza has joined #osdev
<Mondenkind> int fds[1024]; /* ought to be enough for everybody */
<heat> sir
<heat> why is your file descriptor array just ints
rpnx has quit [Quit: My laptop has gone to sleep.]
<sortie> heat, you can store a whole 32 bits of information in such a beast!
kristinam has joined #osdev
<heat> oh boohoo look at mr fancy pants here with his 32-bit ints
<sortie> Hey I worked my way up from the two bit factory!
<heat> TwoBitFactoryFactory
gbowne1 has quit [Remote host closed the connection]
gbowne1 has joined #osdev
<sham1> UNIX(R)
<nikolar> that one
<sham1> Get your trademark symbols correct smh
<nikolar> you're right, my bad
<heat> UNIXⓇ
<sham1> There we go
<nikolar> heat won
<ThinkT510> but at what cost?
<nikolar> kek
<heat> do NOT let me win
<heat> that'll inflate my ego
<nikolar> can it get even bigger
<sortie> heat, your OS is cute, here watch real OS bootstrap
<heat> sortie, my OS thinks you're cute too 😳
<sortie> You wanna be the cc1 to my gcc
<heat> the cc1plus to your cc1
<nikolar> get a room you two
<sham1> Hm, apparently I can type ® with Compose key
<sham1> Neat
<sham1> Both with <Compose> O R or <Compose> ( R )
dude12312414 has joined #osdev
dude12312414 has quit [Client Quit]
netbsduser has quit [Ping timeout: 252 seconds]
<nikolar> apparently its AltGr+Shift+R
<nikolar> at least on serbian latin
<sortie> For the greater alt!
<nikolar> kek
<sham1> That's quite a graphic thing to say
rpnx has joined #osdev
rpnx has quit [Client Quit]
nitrix has quit [Quit: ZNC 1.8.2 - https://znc.in]
nitrix has joined #osdev
nitrix has quit [Remote host closed the connection]
nitrix has joined #osdev
gog has joined #osdev
rpnx has joined #osdev
Arthuria has joined #osdev
Left_Turn has quit [Read error: Connection reset by peer]
CryptoDavid has joined #osdev
rpnx has quit [Quit: My laptop has gone to sleep.]