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
Brain__ has quit [Read error: Connection reset by peer]
* pog burps
<heat> omg like the hit character rick from the hit show rick and morty
<heat> lol
<geist> ahaha
pog has quit [Quit: byee]
bnchs has joined #osdev
money has joined #osdev
<heat> i've just wasted half an hour watching steamed hams remakes
<zid> total zoomer
<heat> what have you wasted the last half hour on
<zid> la mulana soundtrack while reading a book
<heat> total millennial
money has quit [Read error: Connection reset by peer]
money_ has joined #osdev
money_ has quit [Read error: Connection reset by peer]
<zid> okay I guess no more book, I've lost the ability to see, temporarily
alturmann1729 has quit [Ping timeout: 248 seconds]
Arthuria has joined #osdev
money has joined #osdev
alturmann1729 has joined #osdev
nyah has quit [Quit: leaving]
<zid> heat: kvm is broken on my machine now
<zid> how do I fix
danilogondolfo has quit [Quit: Leaving]
<zid> fiddle some menuconfig kvm options to make it use.. svdm or whatever the fuck amd calls it I guess
[itchyjunk] has quit [Read error: Connection reset by peer]
<heat> yeah did you compile SVM in?
<zid> there we go, modprobe kvm-amd
<heat> oh
<heat> ok cool
<zid> this onyx.iso on root's desktop doesn't work anymore
<heat> rly?
<heat> wdym "doesn't work"
<zid> changes res, goes black, then reboots
<heat> huh
<heat> -no-reboot -no-shutdown gimme the info registers and send me the iso
<heat> ty
<heat> in fact if you could take one from my github actions and see if it works that would be much appreciated
<zid> boo
<zid> eip=fff0
<zid> that's helpful qemu
<Mutabah> reset vector?
<zid> exactly
<heat> -no-reboot -no-shutdown should not take it to the reset vector
<zid> unless you jumped to it
<heat> i did not
<zid> couldn't I not build onyx for some reaosn last time
<zid> you still have all this crap in ~heat/
<heat> do I still have ssh?
<zid> yea but idk if the port forwarding works
<heat> conn refused
<klange> what onyx.iso are we running
<heat> idk some old one I used to prove linux 6.1 was wildly borked
<zid> I typo'd
<zid> but it's a real router, lol
<heat> you working on that ssh for me?
<zid> ye
<heat> cool thanks
<zid> neat, windows 10's start bar thinks I am holding 'down'
<heat> but are you
<zid> how the fuck do you start programs if your controller's deadzone is bad
<zid> on windows 10
<zid> because APPARENTLY it thinks an xbox controller is the correct input device for navigating the start menu
<heat> haha
<geist> yah i had to disconnect one of mine for the same reason
<geist> really annoying
<zid> try now?
<zid> add v4tov4 listenport=22 connectport=22 listenaddress=192.168.0.10 connectaddress=192.168.211.100
<zid> oh, sweet, I just noticed I can see again
<zid> I have a headache now instead
<heat> something's still wrong
<zid> how far do you gte
<heat> it establishes a connection but then
<heat> kex_exchange_identification: read: Connection reset by peer
<heat> Connection reset by 81.101.221.143 port 22
<zid> neat
<heat> ssh -v heat@...
<zid> yea I can't do it either, portproxy is lame
zxrom has joined #osdev
<zid> or vmware
<zid> how do you connect to ports on your own damn vmware on w10
<heat> with a vmware menu thing to forward ports I guess
<zid> oh my routes are broken, I can't *ping* vmware
<zid> Pinging 192.168.211.100 with 32 bytes of data:
<zid> Reply from 10.112.32.217: Destination net unreachable.
<zid> !?
<zid> try now
<heat> we're here m8
<zid> yes I see a pts/1 heat
<zid> okay so for some reason the dhcpcd inside vmware had given my eth0 an insane address, but it.. worked
<heat> where's the iso?
<zid> despite being completely the wrong subnt
<zid> in ~
<heat> i can't look at your ~
<zid> ~heat
<zid> not ~root
<heat> oh lol
<zid> check that uname -a
<heat> install socat pls
<zid> fuck is a soc at
<zid> 'multipurpose relay'
<zid> are you hacking me
<klange> h4x
<heat> i want to look at this qemu monitor unix socket
<heat> actually I guess I can use tcp for this?
<zid> why not direct it to a file, ssh in a second time, and watch that file
<zid> and by file I mean pipe
<zid> or screen
<zid> but, socat is now installed
<heat> yeah im ssh'd 2x
<zid> You are enabling both readline and ssl (openssl) USE flags, the licences for these packages conflict. You may not be able to legally redistribute the resulting binary.
<zid> Don't scp my /bin/socat okay?
<heat> hahaha this was my plan all along
<heat> are you sure your kvm isn't just entirely fucked?
money has quit [Quit: late]
<klange> What versions of readline and openssl are those? Fancy new OpenSSL 3 is Apache 2 which is GPL3-compatible, and readline has been GPL3 for a while now.
<zid> I have no idea, heat
<zid> You can find out for me!
<heat> ok no, linux boots
<klange> Really, readline being GPL not LGPL is the eyeroller here.
<heat> it's on purpose
<heat> GNU or the FSF or whatever do say that "libraries that give GPL programs an advantage should be GPL themselves"
<heat> and explicitly refer to readline
<klange> I said eyeroller not headscratcher, it's no mystery.
<klange> This is why Kuroko ships with a vendored Toaru rline.
<heat> zid, if you run onyx with no-shutdown no-reboot graphically, do you get any output?
<zid> yea I get the initrd thing
<zid> then when it would normally DO THE THING
<zid> the screen resolution changes and it reboots/hangs at 0xfff0
<zid> You could start X and forward the socket thingy I think?
<zid> DISPLAY=:1 qemu-system
dude12312414 has quit [Quit: THE RAM IS TOO DAMN HIGH]
<heat> gtk init failed
Left_Turn has quit [Read error: Connection reset by peer]
bnchs has quit [Remote host closed the connection]
<heat> wait, I wonder if this is an apic id thing or something?
<zid> I have x2apic
<zid> now
<zid> oh maybe you tried to boot cpu 0 as an AP at 0xfff0 or something cus apic code got confused?
<heat> does that mean kvm only emulates x2apic?
<heat> yeah my code has a pending TODO on not assuming apicid 0 exists and is cpu0
<heat> this is pure conjecture, I have 0 visibility into this
<zid> man, imagine if your code booted on a REAL CPU
<zid> Not those crappy xeons intel sell that are as dead as coal
<heat> how do I extract from an iso?
<zid> mount it loopback
<heat> without mounting it I hope
<zid> -o loop
<heat> ok do it for me father
<heat> i do not have root
<heat> i hope
<zid> iso/
<heat> ty
<heat> this is riveting osdev
<heat> the log is weirdly garbled
<heat> i'm getting a newer iso
<heat> ok this newer one doesn't crash
<zid> boo
<zid> It still likes to print ??????????? when I type at least
<heat> ok great
<heat> is it not panic'ing for you?
<zid> nope
<heat> ...ok
<heat> this qemu invocation i'm doing is
<zid> it moans about
<zid> a thing
<zid> bug works
<heat> moans about what?
<heat> can't find root, dropping into a root shell or something?
<heat> oh right
<heat> noice
<heat> can you just show me how you're invoking the thing
<heat> waiiiiiiit it's probably cuz i have no screen so it gets confused and dies
<heat> lets see
<heat> ok gr8 you have gdb
<zid> I have full regular tools
<zid> not 'socat' and 'soccer_pt' or whatever deeply insanguinous things you want
<heat> haha I think I know why it's failing
<heat> it's running out of memory when decompressing
<zid> did you forget -m 1G
<heat> yes but that's not really a requirement here
<heat> *in theory*
<heat> 0xffffffff810de187: "ZSTD compression error: %s\n"
<heat> *shrug*
<zid> imagine not knowing how to decompress on a real cpu
<heat> tsc: Invariant/Constant TSC not available - tsc is not able to be used as a clock source
<heat> uh oh
<heat> oh, i forgot to pass that
<zid> I have constant_tsc
<heat> yeah im just dum dum
<zid> and tsc_reliable and tsc and rdtscp and tsc_known_freq
<zid> pick your poison
<heat> [00000.00000] [INFO] cpu: Manufacturer ID: AuthenticAMD
<heat> [00000.00000] Name: AMD Ryzen 7 5800X 8-Core Processor
<heat> orgasmic
<zid> Not even a fakeamd
<heat> just running some quick tests but everything seems to work so i'm happy
<zid> It's an 8 core with 12 threads, unless I remembered to change it
<heat> no idea why the old one didn't work
<zid> Oh, I did
<heat> cheers m8
<zid> This thing is too fast
<zid> I have no impetus to try overclock it, or upgrade it, or anything
money_ has joined #osdev
Arthuria has quit [Remote host closed the connection]
money_ has quit [Quit: late]
gildasio has quit [Quit: WeeChat 3.8]
bnchs has joined #osdev
gbowne1 has quit [Quit: Leaving]
heat has quit [Ping timeout: 248 seconds]
bgs has quit [Remote host closed the connection]
rnicholl1 has joined #osdev
<sham1> FakeAMD, so intel /s
tiggster has joined #osdev
MarchHare has quit [Ping timeout: 246 seconds]
rnicholl1 has quit [Quit: My laptop has gone to sleep.]
slidercrank has joined #osdev
<hmmmm> AuthenticAMD
<hmmmm> I mean has there ever been a chip that gave something other than GenuineIntel/AuthenticAmd/VIAVIAVIAVIA for cpuid eax=0?
<hmmmm> you gotta make shure you got the genuine stuff, not those fake knockoff x86 procs, never know when one will pop up in ur computerz
theboringkid has joined #osdev
<kof123> not a real chip, bochs lets you set it i believe: bochsrc(5)/command-line: 'cpuid: vendor_string=GenuineBochs'
<kof123> i think i patched qemu just to be funny too Genuine_Qemu
<kof123> busy with other stuff... just remember doing that
<Mutabah> Try `Quality_Qemu`
<Mutabah> :D
theboringkid has quit [Read error: Connection reset by peer]
theboringkid has joined #osdev
theboringkid has quit [Client Quit]
<kof123> i thought it would be a braindead (foolproof) way to detect...but im not sure i even use that yet. just there if i need it
<sham1> Fake knock-off x86. So yes, VIA
<geist> fun. been playing with my old bebox
<geist> still boots and runs like a champ, though it's a bit slow
<geist> but it was slow even at the time
Clockface has quit [Ping timeout: 255 seconds]
hmmmm has quit [Ping timeout: 250 seconds]
hmmmm has joined #osdev
<kazinsal> re cpuid strings, Centaur chips spat out CentaurHauls and Cyrix spat out CyrixInstead
<kazinsal> can't remember what NexGen did
hmmmm has quit [Ping timeout: 248 seconds]
staceee has quit [Remote host closed the connection]
staceee has joined #osdev
Ali_A has joined #osdev
xvmt has quit [Remote host closed the connection]
xvmt has joined #osdev
hmmmm has joined #osdev
bnchs has quit [Remote host closed the connection]
gog has joined #osdev
Ali_A has quit [Quit: Client closed]
MaxLeiter has quit [Remote host closed the connection]
vdamewood has joined #osdev
bauen1 has quit [Ping timeout: 240 seconds]
<mrvn> hmmmm: Imagine some chinese company producing a fake AMD. Even though they totally ignore copyright and stole the design surely they will change the cpu id to FakeAMD, right?
ilovethinking has joined #osdev
<ilovethinking> hello
<ilovethinking> i have learnt assembly as promised
<ilovethinking> and now i am back
Ali_A has joined #osdev
slidercrank has quit [Ping timeout: 276 seconds]
<moon-child> mrvn: is supposed to be 12 characters though
<moon-child> maybe 'NotReallyAMD'?
slidercrank has joined #osdev
GeDaMo has joined #osdev
gildasio has joined #osdev
Ali_A has quit [Quit: Client closed]
Ali_A has joined #osdev
gildasio has quit [Quit: WeeChat 3.8]
bauen1 has joined #osdev
sprock has quit [Ping timeout: 248 seconds]
sprock has joined #osdev
[itchyjunk] has joined #osdev
<gog> ilovethinking: did you implement strlen
<ilovethinking> not yet but i learnt the syntax
<gog> prove it
<kazinsal> mov eax, fs:[femboy_location_base+0x16]
<gog> the femboy segment
<kazinsal> ds: data segment. es: extra segment. fs: femboy segment. gs: girl segment
<gog> ah yes the two genders
<kazinsal> girl and girly twink
<gog> one of each please
<kazinsal> same
<kazinsal> my two interests: "I love the kind of woman that will actually just kill me" and "uwu smol femboy"
dutch has quit [Quit: WeeChat 3.7.1]
<sham1> Good to know
Ali_A has quit [Quit: Client closed]
Ali_A has joined #osdev
Ali_A has quit [Client Quit]
Ali_A has joined #osdev
Ali_A has quit [Client Quit]
dutch has joined #osdev
<FireFly> es: enby segment
MarchHare has joined #osdev
[itchyjunk] has quit [Remote host closed the connection]
bradd has quit [Ping timeout: 250 seconds]
bgs has joined #osdev
gildasio has joined #osdev
<ilovethinking> hey, i am trying to get nasm to output debug symbols but lldb does not recognize them
<ilovethinking> i compile with -g -F dwarf
<ilovethinking> is there something i am missing?
MarchHare has quit [Read error: Connection reset by peer]
MarchHare has joined #osdev
danilogondolfo has joined #osdev
MarchHare has quit [Ping timeout: 240 seconds]
dutch has quit [Quit: WeeChat 3.8]
ilovethinking has quit [Ping timeout: 240 seconds]
dutch has joined #osdev
theboringkid has joined #osdev
slidercrank has quit [Ping timeout: 252 seconds]
theboringkid has quit [Ping timeout: 260 seconds]
danilogondolfo has quit [Ping timeout: 248 seconds]
leon has quit [Ping timeout: 255 seconds]
<zid> okay so samsung sent me a present
<GeDaMo> Is it a puppy? :P
<zid> sadly, it's an 860 pro
leon has joined #osdev
<zid> should I email them to ask how the warranty works now
<zid> do I get a new 5 years, new 10 years, the rest of my 10 years, etc
<gog> they don't care, the original purchase was 3x what it cost them to make it
dh` has quit [Quit: poof]
<GeDaMo> Ask them when you get your puppy :|
<zid> gog: what don't they care about?
<zid> omg is it puppies
<zid> GeDaMo: Can you make me an ebay listing, then just tell me where to mail it to once it's over? Thanks.
<zid> You can keep £10
heat has joined #osdev
theboringkid has joined #osdev
<gog> zid: about sending you new ssd
<zid> companies very care, sadly
<zid> WHERE IS YOUR PROOF OF PURCHASE? OH WHOOPS NOPE DOESN'T COUNT YOU USED THE WRONG BOLTS
<ghostbuster> when was the last time segmentation was actually necessary on i386
<zid> never
<zid> why would anything be 'necessary'
<ghostbuster> i don't understand why you'd want overlapping memory ranges lol
<zid> why would you overlap them
<zid> usually you do the complete opposite
<ghostbuster> it allows you to overlap them, right?
<zid> ..maybe?
<zid> wouldn't make a C program or whatever very happy though :P
<zid> It gets used for making virtual address spaces out of linear chunks of physical memory, aka mapping segments
<zid> such that multiple processes can all load their .text to the same 0x400000 virtual address or whatever
theboringkid has quit [Ping timeout: 252 seconds]
<zid> without clashes
<ghostbuster> so basically the same thing that virtual memory does, only not as well?
<zid> I mean, it is virtual memory, it just isn't paginated
<zid> it's a small number linear spans only
<ghostbuster> right
<zid> (which honestly is good enough 90% of the time, but paging is more versatile)
<zid> let's you do things like swapping to disk
<\Test_User> segmentation also has an address limit attached to the segment, so harder to accidentally access the wrong thing
<zid> hence 'span' not, 'open interval' :P
<\Test_User> ye, just stating it explocitly bc the question was about it being useless :P
<\Test_User> *explicitly
crankslider has joined #osdev
d34d1457 has joined #osdev
crankslider is now known as slidercrank
sinvet has quit [Read error: Connection reset by peer]
<zid> heat: good news, I installed the C++ analysis tool on my VM
d34d1457 has quit [Read error: Connection reset by peer]
MarchHare has joined #osdev
geros has joined #osdev
slidercrank has quit [Ping timeout: 248 seconds]
<heat> what tool
<zid> The C++ analysis tool ofc
<zid> You run it over a .cpp file
<zid> and it prints out all the lines with potential issues
<heat> is that clang-tidy or whatever
<zid> C++ Analysis Tool.
gildasio has quit [Ping timeout: 255 seconds]
gildasio has joined #osdev
bnchs has joined #osdev
danilogondolfo has joined #osdev
<SerHack> haha
gog has quit [Quit: Konversation terminated!]
_xor has joined #osdev
<zid> I am eating portuguese food for dinner
<sortie> Ah, I only eat vegans
<zid> It's not really portuguese anyway it's portugal via india via england
<acidx> sortie: only eat vegans? didn't take you for a cannibal
<zid> I only eat animals that eat vegetables
<zid> pigs and cows and stuff, rather than crocodiles
<sortie> acidx. don't worry it's 100% plant-based
<zid> hence my diet is vegans only
* geist yawns
<netbsduser> zid: it must be vindaloo
<zid> winner
<zid> The only food from portugal that's been changed enough that a human would eat it
<zid> process of elimination
<geist> oh vindaloo is fantastic
<zid> I dun some real good basmati to go with it too
<bslsk05> ​www.amazon.co.uk: Salaam Conserve Basmati Rice, 5 kg : Amazon.co.uk: Grocery
danilogondolfo has quit [Remote host closed the connection]
danilogondolfo has joined #osdev
danilogondolfo has quit [Remote host closed the connection]
<mrvn> just had schnitzel
hmmmmm has joined #osdev
hmmmm has quit [Ping timeout: 276 seconds]
henloduud42069 has joined #osdev
henloduud42069 has quit [Client Quit]
bauen1 has quit [Ping timeout: 240 seconds]
henloduud42069 has joined #osdev
dude12312414 has joined #osdev
<mjg> lol wtf
<mjg> Additionally, BFS has been added to an experimental branch of Google's Android development repository.[20] It was not included in the Froyo release after blind testing did not show an improved user experience.
GeDaMo has quit [Quit: That's it, you people have stood in my way long enough! I'm going to clown college!]
<heat> lol wtf what
<heat> that makes sense
<mjg> bfs on android? probably not
<heat> they basically tested for responsiveness
<heat> it didn't improve things, so they dropped it
<heat> actually it was even swetland that said this
<zid> I ran bfs back in like 2010
vdamewood has quit [Quit: Life beckons]
<mjg> heat: afair the fundamental problem with bfs is lack of fairness, so even if it imiprove responsivness here and there, it could still mess you up
<mjg> ... in a way cfs, at least on paper, would not
<mjg> so the thing to do, if rsponsiveness is a problem, is to work on cfs
<zid> who needs fair when you can actually move your mouse
<mjg> if there is no guarantee for getting cpu time, you very well may not be moving your mouse for long
<mjg> or only move it and see nothing happen
henloduud4206963 has joined #osdev
henloduud42069 has quit [Ping timeout: 260 seconds]
henloduud4206963 has quit [Quit: henloduud4206963]
bauen1 has joined #osdev
theboringkid has joined #osdev
theboringkid has quit [Client Quit]
gog has joined #osdev
sinvet has joined #osdev
<gog> hi
<lav> hihi
<bslsk05> ​twitter: <sigma_da_enigma> At one point, Red Hat Linux had a "Redneck" language option for its installer. I'll just leave these images here: https://pbs.twimg.com/media/FUalmVdaQAAoZLq.png https://pbs.twimg.com/media/FUalmV7agAAE2hQ.png https://pbs.twimg.com/media/FUalmWXaQAYgsNB.png https://pbs.twimg.com/media/FUalmWuakAENuy_.png
bgs has quit [Remote host closed the connection]
thatcher has quit [Remote host closed the connection]
thatcher has joined #osdev
zxrom has quit [Ping timeout: 268 seconds]
<moon-child> hihihi
<mjg> lucius marcus aurelius octavian
<bnchs> heat: where's the bri'ish version
<bnchs> "sir, may you kindly insert the Red Hat compact disc into the optical drive"
dude12312414 has quit [Quit: THE RAM IS TOO DAMN HIGH]
<zid> boomericus moonicus childicus aurelius
alturmann1729 has quit [Remote host closed the connection]
crankslider has joined #osdev
<mjg> > In yet another Wikipedia citation loop, the citation asked for higher in the thread now points to the comment above me.
<mjg> lmao
<bnchs> zid: moon-child more like.... man-child
<bnchs> was thinking of that for weeks
<nortti> mjg: where's that from?
<bslsk05> ​lwn.net: CyanogenMod 5 for the G1/ADP1 [LWN.net]
<nortti> ah, so nothing too important at least
<mjg> scheduler article is pretty garbage
<mjg> not that i'm mr shocked over here
Matt|home has quit [Quit: Leaving]