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
netbsduser has quit [Ping timeout: 252 seconds]
thinkpol has quit [Remote host closed the connection]
thinkpol has joined #osdev
corinne has quit [Remote host closed the connection]
corinne has joined #osdev
frkzoid has joined #osdev
jcea has joined #osdev
vdamewood has joined #osdev
corinne has quit [Remote host closed the connection]
corinne has joined #osdev
edr has quit [Quit: Leaving]
corinne has quit [Remote host closed the connection]
corinne has joined #osdev
amine has quit [Quit: The Lounge - https://thelounge.chat]
amine has joined #osdev
amine has quit [Client Quit]
karenw has joined #osdev
amine has joined #osdev
terrorjack has quit [Quit: The Lounge - https://thelounge.chat]
terrorjack has joined #osdev
corinne has quit [Remote host closed the connection]
corinne has joined #osdev
* geist yawns
jcea has quit [Ping timeout: 260 seconds]
bliminse has joined #osdev
eluks has quit [Remote host closed the connection]
eluks has joined #osdev
_whitelogger has joined #osdev
karenw has quit [Ping timeout: 265 seconds]
karenw has joined #osdev
_whitelogger has joined #osdev
Lucretia has joined #osdev
<klys> ただいま〜
ThinkT510 has quit [Quit: ThinkT510]
ThinkT510 has joined #osdev
<vdamewood> おかえりなさい
karenw has quit [Quit: Deep into that darkness peering...]
GeDaMo has joined #osdev
fedaykin has quit [Quit: leaving]
fedaykin has joined #osdev
<zid> god, the curtain just brushed my arm and it felt HOT
<zid> We'rein trouble today GeDaMo
<zid> [zid, killed by solstice]
netbsduser has joined #osdev
<GeDaMo> It's foggy here, all the ships in the bay are blowing their horns :P
Shaddox404 has joined #osdev
<GeDaMo> I can barely see the other side of the river, it's maybe 50m away?
vdamewood has quit [Quit: Life beckons]
<zid> fog? I'd kill a nun for some fog
<GeDaMo> I don't think fog comes from dead nuns :|
<zid> There's a broker situation
<zid> We buy any dead nun . com
corinne has quit [Remote host closed the connection]
corinne has joined #osdev
corinne has quit [Remote host closed the connection]
corinne has joined #osdev
mavhq has quit [Ping timeout: 268 seconds]
benlyn has joined #osdev
mavhq has joined #osdev
sortiecat has joined #osdev
sortiecat has quit [Read error: Connection reset by peer]
benlyn has quit [Remote host closed the connection]
sortiecat has joined #osdev
MrBonkers has quit [Remote host closed the connection]
jcea has joined #osdev
Shaddox404 has quit [Remote host closed the connection]
sortiecat has quit [Quit: Leaving]
eluks has quit [Remote host closed the connection]
eluks has joined #osdev
arminweigl has quit [Ping timeout: 252 seconds]
arminweigl has joined #osdev
netbsduser has quit [Ping timeout: 252 seconds]
netbsduser has joined #osdev
arminweigl has quit [Ping timeout: 260 seconds]
argantantua has joined #osdev
arminweigl has joined #osdev
arminweigl has quit [Ping timeout: 248 seconds]
<bslsk05> ​news.ycombinator.com: Chromium Switching from Ninja to Siso | Hacker News
<heat> Google google'd again
<heat> It's always the companies you most expect
arminweigl has joined #osdev
<Ermine> whaaaaaaaaa
<Ermine> wasn't ninja built with chromium in mind
sortiecat has joined #osdev
divine has quit [Ping timeout: 265 seconds]
divine has joined #osdev
<nortti> iirc it was already kinda struggling with how huge chromium had become
<pog> bazel
<nortti> ah, nvm, it was android where it was struggling, per https://neugierig.org/software/blog/2020/05/ninja.html
<bslsk05> ​neugierig.org: Tech Notes: The Success and Failure of Ninja
goliath has joined #osdev
sortiecat has quit [Quit: Leaving]
jcea has quit [Ping timeout: 276 seconds]
errno has joined #osdev
<heat> oooh ninja finally got GNU make jobserver support
<heat> fuck yes
<mjg> lol
Test_User has joined #osdev
xenos1984 has quit [Read error: Connection reset by peer]
\Test_User has quit [Ping timeout: 252 seconds]
xenos1984 has joined #osdev
Test_User is now known as \Test_User
<nikolar> lol
<nikolar> google googled
McDonaldsWiFi has joined #osdev
PublicWiFi has quit [Ping timeout: 252 seconds]
<Mutabah> Random note: yay! I got my OS booting on real hardware... except for the broken USB driver meaning no input devices :(
errno has quit [Ping timeout: 272 seconds]
<n00by> sweet
Shaddox404 has joined #osdev
<Mutabah> And maybe I've found the error by reading the linux source... something to check tomorrow morning
Shaddox404 has quit [Quit: (╯°□°)╯︵ ┻━┻]
karenw has joined #osdev
karenw has quit [Quit: Deep into that darkness peering...]
<heat> i've been implementing scheduler affinity lately
<heat> migrating a live thread is actually fugly and awful
<heat> and needs some extra infrastructure i still don't quite have
<k4m1> Not exactly the right place to ask since fw/'bios' dev, not osdev, but PIC config matches to data-sheets & osdev wiki, software-interrupts & cpu faults trigger my int-handlers, but never getting irq's from eg PIT, qemu reports irq 0 count rising, IMR=F8, IRR=07, ISR=0
<k4m1> any ideas would be welcome
<k4m1> right, above on qemu-system-x86_64
<k4m1> interrupts are enabled (Flag register 0x0..202 )
<k4m1> feel like am overlooking something really simple, but just can't figure out what exactly have I got wrong ^^`
xenos1984 has quit [Ping timeout: 252 seconds]
xenos1984 has joined #osdev
xenos1984 has quit [Ping timeout: 252 seconds]
<heat> can you show your code?
gog has joined #osdev
<k4m1> sure, moment
<pog> tricky piccy
<bslsk05> ​praios.lf-net.org: src/drivers/pic_8259/pic.c · main · k4m1 / TinyBIOS · GitLab
<bslsk05> ​praios.lf-net.org: src/interrupts/idt.c · main · k4m1 / TinyBIOS · GitLab
<k4m1> those are probably relevant ones, I think
<bslsk05> ​praios.lf-net.org: src/c_entry.c · main · k4m1 / TinyBIOS · GitLab
xenos1984 has joined #osdev
<heat> k4m1: you're not setting up the PIT
<k4m1> ah, that file-pair was still not there on links, sorry: https://praios.lf-net.org/k4m1/TinyBIOS/-/blob/main/src/post.c?ref_type=heads
<bslsk05> ​praios.lf-net.org: src/post.c · main · k4m1 / TinyBIOS · GitLab
<bslsk05> ​praios.lf-net.org: src/drivers/pit/pit.c · main · k4m1 / TinyBIOS · GitLab
<k4m1> on post.c, at line 100, doing pic init, and a few lines later pit init with what i think should be binary-mode square-wave generator at channel 0
<k4m1> or did I miss something to poke that to trigger irq's?
<heat> I mean, I don't immediately see what's goign on
<heat> the mask looks ok, the IRR looks okay, the ISR does not
<heat> I think
<heat> it's been a while since i've looked at this sort of stuff out of QEMU
<k4m1> Right, for PIT, mode-byte is 0x36 ( 0011 0110 )
<k4m1> ISR looks odd to me too but I can't quite figure out why
<k4m1> and yea, it's been a few years since did osdev & poked at pic ^^`
<k4m1> aanyway, thanks for taking a look -- if any more ideas come by, pls ping
goliath has quit [Quit: SIGSEGV]
<bslsk05> ​news.ycombinator.com: Cosmoe: BeOS Class Library on Top of Wayland | Hacker News
* kof673 sees the tree of portability glow silver for a moment, then it returns to normal </nethack>
argantantua has quit [Read error: Connection reset by peer]
goliath has joined #osdev
<pog> ISR would only be 1 if the interrupt fired and wasn't ACK'd
<pog> or corresponding to the vector i mean
<pog> i think i can't remember
<mjg> spent 2 hours watching fail compilation on youtube
<mjg> or how i managed to NOT work over the weekend
<heat> why would you ever want to work on the weekend
<mjg> DEADLINE
<mjg> BACKLOG
<mjg> that aside there are cases where people have a weekend shift to cover production
<mjg> [not the case here, but just sayin'!]
<heat> yeah i know
<heat> it was pretty common at cloudflare to have a guy on the team on-call
<heat> in case shit fans the hit over the weekend
<heat> or during the night
<mjg> so the support dept at rh had rotating shifts for the weekend
<mjg> where you would be on call if frontline needed help
<mjg> one day they offered to move regular working days to the weekend for select individuals
<mjg> there were no takers, go figure
<mjg> :X
<heat> :)
<mjg> ok i'm looking at funny doggos compilation
<mjg> but so far i'm not laughin'
<mjg> probably because i don't like dogs
<heat> mofer what's your opinion on linux scheduler code
<heat> i find it super hard to follow
<heat> the locks and the memory barriers
<heat> it would be so much easier if we replaced it all with, idk, tasklist_lock
<mjg> i have no opinion
<mjg> or rather, no basis to have one
<mjg> but if i had to guess, SOLARIS did it better
<heat> certainly
goliath has quit [Quit: SIGSEGV]
MelMalik is now known as Reinhilde
karenw has joined #osdev
m3a has quit [Read error: Connection reset by peer]
GeDaMo has quit [Quit: 0wt 0f v0w3ls.]
goliath has joined #osdev
<sortie> today in sortie can debug anything: i'm losing hair debugging why mediawiki doen't work with crashes taking me through multiple labyrinthine codebases also including php and sqlite
<sortie> oh for extra fun it crashes after outputting half of the first line of the strack trace
m3a has joined #osdev
<bslsk05> ​github.com: Onyx/kernel/kernel/fs/coredump.c at master · heatd/Onyx · GitHub
<heat> almost as if there's technology for that
<heat> *almost*
<sortie> heat, it's even a php-level crash or something, not a real crash
<sortie> I really really need a strace
<heat> there's also technology for that
<bslsk05> ​sourceware.org: GDB: The GNU Project Debugger
<sortie> I also need a gdb and ptrace and all the tech for that
<sortie> Only issue is just that it takes time and effort to build all that tech
<heat> tell me once you get the sweet sweet EU funding
<heat> so i can start charging you for my advice
<heat> osdev consulting
<heat> advice #1: you need to lay some people off
<sortie> heat ur hired n fired
<sortie> tired: Error 10: disk I/O error
<sortie> wired: Error 5386: disk I/O error
<sortie> You don't wanna know how time I sunk into figuring out how to get an extended sqlite error code out of php and wikimedia
<heat> oh you're getting -EIO's?
<sortie> heat, actually it's 34 different errors that they merged into one generic IO error
<heat> i would point you towards fsx.c
<sortie> So I had no idea which one it possibly could be
<heat> but you're missing half the headers
<heat> either way keep in mind you have your sqlite file locks stubbed
<sortie> Oh I'm very aware of this house of cards
<sortie> #define SQLITE_IOERR_SHMMAP (SQLITE_IOERR | (21<<8))
<sortie> ^ WE HAVE A WINNER
<heat> oh cool
<heat> yeah sqlite does MAP_SHARED
<sortie> The funny thing is that this has worked before
<sortie> sqlite works for phpBB without issue
<sortie> It even works for mediawiki for a bit until it starts crashing with this error
<sortie> Yep it's our friend MAP_SHARED at play
<sortie> #if defined(__OpenBSD__) || defined(__QNXNTO__)
<sortie> lmao sqlite cc heat
<sortie> /* Disable MMAP on platforms where it is known to not work */
<sortie> #if defined(__OpenBSD__) || defined(__QNXNTO__)
<heat> LMAO
<heat> LMAO
<heat> LMAO
<heat> LMAO
<heat> sorry
<heat> LMAO
<sortie> it is that funny!
* Matt|home gives heat a bottle of water
<heat> mjg: LMAO
<zid> why are you so mean to qnx
netbsduser has quit [Ping timeout: 272 seconds]
<pog> why you gotta be so mean to me
<CompanionCube> it's in the docs: 'The hard upper bound is automatically set to zero on certain platforms (ex: OpenBSD) where memory mapped I/O does not work due to the lack of a unified buffer cache.'
netbsduser has joined #osdev
<heat> please don't mention it again or i might have a LMAO attack again
<heat> and i've LMAOed enough
<sortie> Looks like I can avoid MAP_SHARED if I disable Write-Ahead Logging in sqlite3
<heat> add yourself to that LMAO ifdef sortie
<sortie> heat, you may be laughing, but one of us almost has an OS that runs mediawiki, and the other one is you :P
* heat laughs in page cache
<zid> he was laughing at openbsd though?
<sortie> heat, funny thing about that ifdef is that it appears to be non-functional, it doesn't actually seem to disable memory mapping, fully for real at least
<sortie> In fact SQLITE_MAX_MMAP_SIZE defaults to 0 on unknown operating systems, so it was already 0 for me
* Ermine gives pog a piece of cheese
<sortie> > Database was successfully set up
<sortie> booyah mediawiki installed
<bslsk05> ​github.com: tools/syz-make: limit make concurrency on OpenBSD · google/syzkaller@94e0b70 · GitHub
<heat> LMAO LMAO LMAO LMAO LMAO LMAO
<Ermine> KEK
<heat> mjg: you'll notice there's no "limit make concurrency on Solaris"
<heat> !
<Ermine> because Solaris is OPTIMAL?
<heat> obviously
<heat> there is no need to limit concurrency there
<heat> you just turn it on and it scales right up
<geist> scaling is for closers
<kof673> i'll just note the cos-tools cray os is one letter off from cow-tools lol
<heat> darn closers
Lucretia has quit [Remote host closed the connection]
<sortie> wtf wtf wtf sortix.org is now running a working mediawiki!!!
<zid> time for your own os development wiki, with only articles about sortix
<sortie> oh no linux is editing my os
<sortie> zid: I'm doing an osdev run where I have to follow the bare bones tutorial from a wiki hosted on my own OS
<heat> you can't do that
<heat> you'll never be able to figure out the osdev wiki question
<zid> "What is the piece of software running this wiki called?" and the answer has to be typed Media-WIKi"
<zid> or it rjects
<sortie> I can literally all of osdev.org on Sortix now. phpbb, mediawiki
<geist> dont accidentally osdev.org
<heat> yeah or we'll see you every 3 years when the wiki breaks or gets DDoSed
<sortie> I can even host my own #osdev irc chat over on irc.sortix.org
<bslsk05> ​sortix.org: Sortix
<sortie> who did this show yourself
<jimbzy> Friends don't let friends osdev.org
<zid> ^
<zid> "You have entered the Sortix." sounds weirdly sexual
<sortie> geist: I have an evacuation plan where when chase one day disappears along with osdev.org, then I move us all to Sortix
<heat> zid: it is.
* CompanionCube unsorts sortie's mediawiki
<zid> sortie: can you go back in time and rescue the old gentoo wiki too
<zid> sortix/sortix sucks but I'd defo run gentoo/sortix
<sortie> zid: the sortix compile times are *wild*
<heat> gnu/gentoo + sortix * onyx / littlekernal
<sortie> You're gonna love development(7) and make sysmerge
<Ermine> or lk/onyx
<heat> all the kernal of littlekernal combined with all the onyx of onyx
<heat> no one was ready for this colab
<zid> so just lk but with portugoose encryption?
<heat> no it's onyx but with more kernal
<zid> lk is the bigger part of lk/onyx though
<zid> so it's "lk with", not "onyx with"
<heat> ok mr stallman
<geist> i like using the / in the IBM sense
<zid> onyx/2
<geist> like topic/variant or something
<zid> Isn't it actually a 'for'
<heat> onyx 3.11/workgroups
<geist> good quesiton dunno
<zid> PL/I, PL/M, CP/M, OS/2
<zid> PL/M is programming language for micros
<geist> there's also the big ones, OS/360, etc
<zid> CP/M is an actual slash
<zid> PL/I is.. stylization?
<zid> OS/2 is.. demarkation?
<geist> OS/VS1, z/OS, System/88
<heat> S/390X
<geist> but yeah you're kinda right, the / is sort of 'for' most of the time
<geist> except stuff like Z/OS
<zid> z/os is cus of z/arch
<heat> ARCH FOR Z
<zid> which is probably cus esa/390
<heat> wait... the little known arch linux Z release
<heat> which was the beta of btw
<geist> PC/IX is one i hadn't heard before
<zid> I should probably, at some point today, eat?
<jimbzy> My Life/Aiur
<zid> I had a nap for dinner
<zid> cus it was hot
<zid> SIESTA, heat knows all about those
<heat> yo quiero dormir
<heat> necesito de una siesta
<jimbzy> It is pretty toasty here, too. I had to do some work on a rooftop bar earlier and it was pretty meh.
<zid> "the cheese sleep"
<zid> "necessary of a sleep"
<CompanionCube> also OS/400, later renamed to i5/OS, now 'IBM i'
<jimbzy> Other than that I've just been sorting out the components of my transciever kit.
<heat> iBM
<heat> if ibm was any good at branding
<kof673> they had an eye bee M screensaver but the reader will have to inappropriately connect on their own
clever has quit [Ping timeout: 244 seconds]
<zid> heat: What do yo think of my translation skills?
<heat> muy bueno si si
<geist> jimbzy: i did see your starcraft quote and could come up with nothing better
<geist> but just want to acknowledge it
<jimbzy> XD
<jimbzy> You know me. Bounce into the chat, add absolutely nothing to the conversation, and then bounce back out for a few months. ;)
<geist> it is the way
clever has joined #osdev
<jimbzy> Yup. It's been working for me for decades, so why stop now? ;)
<geist> yay i love it when you update a headless box and it doesn't come back
<heat> what operating system are you running there
<heat> and why is it not solaris
<zid> heat: he's not running anything, anymore
<zid> follow the plot
<jimbzy> I had a Coke Freestyle machine do that to me the other day. It downloaded updates, rebooted, and that was the end of that.
<heat> s/are/were/
<bslsk05> ​<heat*> what operating system were you running there
<heat> s/is/was/
<bslsk05> ​<heat*> and why was it not solarwas
<heat> solarwas lol
<jimbzy> Hah
<jimbzy> That's funny.
_whitelogger has joined #osdev
<nikolar> imb i is fun
<nikolar> it's basically "operating system, but it's an sql database"
<geist> nice way to cover up all the saucy chat that the logger just missed
<nikolar> any ibm mainframe users here :)
gog has quit [Quit: byee]
netbsduser has quit [Ping timeout: 276 seconds]