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
leoh has joined #osdev
leoh has quit [Ping timeout: 240 seconds]
leoh has joined #osdev
edr has quit [Quit: Leaving]
leoh has quit [Ping timeout: 272 seconds]
leoh has joined #osdev
clever has joined #osdev
leoh has quit [Ping timeout: 276 seconds]
bauen1 has quit [Ping timeout: 248 seconds]
leoh has joined #osdev
_whitelogger has joined #osdev
leoh has quit [Ping timeout: 240 seconds]
Left_Turn has quit [Read error: Connection reset by peer]
jcea has quit [Ping timeout: 248 seconds]
leoh has joined #osdev
agent314 has quit [Ping timeout: 240 seconds]
gildasio has joined #osdev
agent314 has joined #osdev
vdamewood has joined #osdev
agent314 has quit [Ping timeout: 252 seconds]
leoh has quit [Ping timeout: 240 seconds]
chibill has quit [Ping timeout: 276 seconds]
chibill has joined #osdev
gildasio has quit [Ping timeout: 244 seconds]
goliath has joined #osdev
leoh has joined #osdev
Jari-- has quit [Ping timeout: 240 seconds]
leoh has quit [Ping timeout: 248 seconds]
freakazoid332 has quit [Read error: Connection reset by peer]
goliath has quit [Quit: SIGSEGV]
goliath has joined #osdev
Lucretia has joined #osdev
bauen1 has joined #osdev
vdamewood has quit [Ping timeout: 260 seconds]
vdamewood has joined #osdev
<Ermine> https://osservatorionessuno.org/blog/2025/03/a-deep-dive-into-cellebrite-android-support-as-of-february-2025/ -- so basically only google and samsung (and apple) do platform security well
<bslsk05> ​osservatorionessuno.org: A deep dive into Cellebrite: Android support as of February 2025 - Osservatorio Nessuno
<nikolar> lol
<kof673> nikolar :D </me points at bslsk05> [...] Eastern Serbia. The rotting corpse of this being is said to send forth each Spring a swarm of Golubatz flies
<kof673> you will have to play final fantasy 4 for the rest of the story lol
<Ameisen> geist: I suspect that I can do similar. I can probably reuse the chunking framework of the recompiler itself, but use that for regenerating chunks of 'microcode' instead.
<Ameisen> that should handle self-modifying code and the like.
<Ameisen> I use the native MIPS functionality for that - SYNCI, SYNC, and hazard barriers
bauen1 has quit [Ping timeout: 276 seconds]
GeDaMo has joined #osdev
pabs3 has quit [Ping timeout: 244 seconds]
xvmt has quit [Ping timeout: 240 seconds]
pabs3 has joined #osdev
Left_Turn has joined #osdev
<zid> I wish this wind would go away, a neighbour has bought some horrible wooden windchimes
<zid> It sounds like a comedy troupe performing "Ninja infiltration goes very wrong"
<GeDaMo> I don't like windchimes :|
<zid> You'd hate these ones
<zid> because I don't mind windchimes and I think they're godawful
xvmt has joined #osdev
<nikolar> throw rocks at the thing until it breaks
netbsduser has joined #osdev
<zid> I might sneak over and tape it still at some point
<zid> Hoping they notice a week later that it hasn't been making much noise lately
<zid> then check on it and be all wtf
Turn_Left has joined #osdev
Left_Turn has quit [Ping timeout: 265 seconds]
<nikolar> kek
<GeDaMo> I just hit an age check on Reddit :|
<nikolar> lol
<mjg> you have an account on reddit?
<mjg> bigger looser signal than irc!
<GeDaMo> I'm not logged in
<GeDaMo> It's because I'm in the UK
<zid> yea terfs are winning whatever war they're having
<zid> it hasn't done it to me.. yet?
<heat> mjg: loser
<GeDaMo> It's a story on /r/gaming about itch.io removing NSFW games
<heat> also it's spelled loser
<zid> My account is old enough to do porn by itself though so maybe? :P
<GeDaMo> This is the link, I got it from RSS, the story doesn't show up on the Reddit page https://old.reddit.com/r/gaming/comments/1m7ydgu/after_steam_itch_has_now_caved_to_puritanical/
<zid> They've already released a statement btw
<zid> basically saying they had to or nobody was getting paid again ever
<zid> porn or not
<GeDaMo> Yeah
<zid> and it'll be back but you'll have to censor
<GeDaMo> I'm thinking this link is being blocked because it has NSFW in the title
<zid> getting scunthorped
<GeDaMo> There's another Reddit link about the same story I can reach OK
<AmyMalik> britain is cancer
<zid> go fuck yourself stupid cunt
<AmyMalik> sorry, it's my country, I'm allowed to hat it.
<AmyMalik> hate*
agent314 has joined #osdev
<mjg> i find it surprising old.reddit is still a thing
agent314 has quit [Client Quit]
<mjg> and find it funny that it bypasses nsfw
agent314 has joined #osdev
<heat> i'm still on old.reddit
<mjg> what subs are you browsing
<mjg> osdevnsfw?
<GeDaMo> kernelsgonewild :P
<kof673> there was a sysadmin gone wild site..it was just fat dude in server room with shirt off iirc lol
<heat> mjg: r/bigcores
<mjg> kof673: i would visit
<mjg> you reminded me though of something
<mjg> my first job was at a small firm whose DC fit in one small room
<mjg> and the equipment was nothing fancy anyway
<mjg> a friend of mine invited me for a tour in a bigger firm
<kof673> well i mean...its probably nice and cool in there, it was just hot
<mjg> i went in there for kicks took photos leaning on racks 'n shit
<heat> you had a job at some point??
<mjg> pretending it's a car
<mjg> i mean like random jocks would lean on a car or a motorcycle
<mjg> anyway
<mjg> i had a fwb at the time who was a nerd, i sent her the photos
<mjg> she started giving me shit
<mjg> disappointed/10
<mjg> idk imagine you cosplayed as you fav character or something and got dunked on for it
<mjg> the company was doing card payment processing, realistically he probably broke the law or at least his contract by letting me in there
<mjg> i did manage to touch up some pretty sweet hw tho
<mjg> worth it
gildasio has joined #osdev
vdamewood has quit [Quit: Life beckons]
agent3142 has joined #osdev
agent3142 has quit [Client Quit]
agent314 has quit [Ping timeout: 252 seconds]
agent314 has joined #osdev
sortiecat has joined #osdev
jcea has joined #osdev
jistr has quit [Remote host closed the connection]
<sortiecat> Another day building a gcc
jistr has joined #osdev
<sortiecat> You know it's osdev when you have nightly jobs set up that build gcc about 10 times each night
<ZetItUp> well thats 2 hours im never getting back, had a ELF file verification check in the bootloader when i used an ELF file for test, then i switched to load a raw binary, i didn't understand why it couldn't jump into the kernel, i saw the ELF verification and was like "It needs to be there", 2 hours later it was like a light went off ..
<ZetItUp> i blame the heat
<heat> my bad bro
<sortiecat> heat needs to apologize
<ZetItUp> lol :D
<sortiecat> i propose heat spend two hours having fun playing video games to pay back ZetItUp for the time loss
<sortiecat> I finally figured out why manual pages weren't working on my laptop, turns out I had built a custom man and put it in my path
<ZetItUp> blame heat ;)
<sortiecat> if ( kill(zombie, SIGKILL) < 0 )
<sortiecat> err(1, "kill zombie");
<sortiecat> this is currently the code I am writing with a straight face
ekko has joined #osdev
frkazoid333 has joined #osdev
EmanueleDavalli has joined #osdev
goliath has quit [Quit: SIGSEGV]
<nikolar> sortiecat: how do we know your face is straight
<mjg> :)
<mjg> sortiecat: wtf is that about
<heat> os-test
edr has joined #osdev
<mjg> i would not think to test that sucker, but makes sense
ekko has quit [Ping timeout: 248 seconds]
gildasio has quit [Ping timeout: 244 seconds]
bauen1 has joined #osdev
leoh has joined #osdev
xvmt has quit [Ping timeout: 276 seconds]
sortiecat has quit [Quit: Leaving]
xvmt has joined #osdev
xvmt has quit [Remote host closed the connection]
xvmt has joined #osdev
xvmt has quit [Ping timeout: 276 seconds]
xvmt has joined #osdev
goliath has joined #osdev
jcea has quit [Ping timeout: 268 seconds]
xvmt has quit [Read error: Connection reset by peer]
<ZetItUp> Hulk Hogan died, damn now i feel old
<pog> i haven't watched wrestling since they split raw and smackdown into set rosters
<pog> wcw acquisition made for hot storylines but it changed the whole thing fundamentally
<pog> the N64 No Mercy game was peak
<mjg> wrestling?
<mjg> thunder in the paradise
<mjg> or whatever the title
dutch has joined #osdev
gildasio has joined #osdev
Turn_Left has quit [Ping timeout: 248 seconds]
xvmt has joined #osdev
<kof673> all roads lead to cow tools lol > Tatanka from the Royal Rumble SNES video game manual
Turn_Left has joined #osdev
leoh has quit [Ping timeout: 276 seconds]
xvmt has quit [Read error: Connection reset by peer]
xvmt has joined #osdev
gildasio has quit [Remote host closed the connection]
gildasio has joined #osdev
emanuele_davalli has joined #osdev
EmanueleDavalli has quit [Remote host closed the connection]
Left_Turn has joined #osdev
Turn_Left has quit [Ping timeout: 252 seconds]
<Ameisen> geist: does/did arm not have instructions or a way to signal invalidation of the instruction cache?
<geist> via instructions, yes
<Ameisen> I'm currently using them for that since it seems sensible - `SYNCI` to invalidate an instruction cache line (that just triggers the relevant chunks to be marked as invalidated, and for the same address range to be copied to shadow memory), SYNC to flush that, and then the hazard barrier to complete it.
<Ameisen> though SYNC and HB are basically identical to me... haven't figured out the best way to handle needing both.
<Ameisen> it's not an asynchronous operation for me
<Ameisen> though MIPS gets weirdly complicated when it comes to the cache. It gives you a lot of control over it, probably because the specification fully allows for memory ranges to be non-coherent.
<Ameisen> though I have just realized I have an error in my logic... delay branches with hazard barriers clear it after the delay slot.
leoh has joined #osdev
goliath has quit [Quit: SIGSEGV]
leoh has quit [Ping timeout: 248 seconds]
Left_Turn has quit [Remote host closed the connection]
Left_Turn has joined #osdev
Left_Turn has quit [Remote host closed the connection]
Left_Turn has joined #osdev
goliath has joined #osdev
leoh has joined #osdev
Left_Turn has quit [Ping timeout: 260 seconds]
<Ermine> Surprisingly enough, mainline kernel's TEE subsystem doesn't support Trusty
<heat> is it in the android tree?
<nikolar> TEE subsystem?
<heat> yes
<Ermine> heat: TEE subsystem is in mainline
<heat> yeah but trusty
<Ermine> Trusty bits are in android tree
Left_Turn has joined #osdev
adder has quit [Ping timeout: 240 seconds]
adder has joined #osdev
GeDaMo has quit [Quit: 0wt 0f v0w3ls.]
leoh has quit [Ping timeout: 240 seconds]
leoh has joined #osdev
leoh has quit [Ping timeout: 240 seconds]
Turn_Left has joined #osdev
Left_Turn has quit [Ping timeout: 260 seconds]
<geist> yah
leoh has joined #osdev
leoh has quit [Ping timeout: 245 seconds]
<heat> i'm having nonsensical crashes yay
<heat> only in this specific build
<heat> this is confusing
<mjg> use more bsd
<heat> ok so now i'm going to use you as a rubber ducky
<heat> basically, the gist of it is that the kernel crashes (but only on curl builds?) under high load. a backtrace of all CPUs indicates one or two CPUs seem to have busted stacks, weird page faults, weird KASAN problems
<heat> i'm thinking this can be a page UaF (i'm currently not quarantining pages on a free)
<heat> i've tried not freeing stacks at all
<heat> (doesn't help)
goliath has quit [Quit: SIGSEGV]
<heat> i can't repro if i disable the stack cache
leoh has joined #osdev
emanuele_davalli has quit [Quit: Leaving]
leoh has quit [Ping timeout: 260 seconds]
Turn_Left has quit [Read error: Connection reset by peer]
<Ameisen> I really hate implementing delay branches.
Lucretia has quit [Remote host closed the connection]
TehBoss has joined #osdev
<TehBoss> i'm following the barebones tutorial on nixos, but i'm struggling to install gcc
<TehBoss> i tried putting `pkgsCross.i686-embedded.buildPackages.gcc` in my flake.nix but it had compilation issues
<TehBoss> ok seems like it may be a disk space issue
Gooberpatrol66 has quit [Remote host closed the connection]
TehBoss has quit [Quit: seems to have worked now]
<Ameisen> So... I wanted to confirm something that's been confusing me a bit. In MIPS, as far as I know, SYNCI marks an instruction cache line as invalidated. SYNC (with GINV), aside from acting as a barrier for loads/stores, also acts as a global barrier for SYNCI instructions - basically guaranteeing that all processors see the invalidations. Then the hazard barrier jump/instruction acts as guaranteeing that the invalidation is actually completed?
<Ameisen> I'm trying to map what the instructions do to what the VM needs to do in a sane way.
<Ameisen> More precisely, I'm trying to figure out if the actual invalidation - resetting/updating chunks and copying to shadow memory - should happen during `SYNC` or during a hazard barrier instruction.
<Ameisen> or are the hazard barriers just intended to flush the pipeline so that the pipeline isn't potentially executing now-invalidated instructions?
<Ameisen> "JALR.HB implements a software barrier that resolves all execution and instruction hazards created by Coprocessor 0 state change"
<Ameisen> based on my reading elsewhere in the spec... I believe that the barriers are more specific to the pipeline? In many cases `SYNC` is specified as having completed the invalidations upon it being retired.
netbsduser has quit [Ping timeout: 240 seconds]