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
[itchyjunk] has joined #osdev
gog` has joined #osdev
gog has quit [Quit: byee]
<mcrod> how the fuck do people use upload-artifact and not question their life decisions
<bslsk05> ​github.com: upload-artifact zips .tar.gz archive · Issue #109 · actions/upload-artifact · GitHub
<mcrod> "We absolutely have plans to address this" - Sep 25, 2020
ornitorrincos has quit [Server closed connection]
ornitorrincos has joined #osdev
wootehfoot has joined #osdev
<moon-child> huh? what's wrong with that?
<moon-child> .tar.gz.zip clearly gives double the compression
wootehfoot has quit [Ping timeout: 245 seconds]
<zid> .bz2
<zid> just in case zip missed something
MiningMarsh has quit [Ping timeout: 246 seconds]
Stary has quit [Server closed connection]
Stary has joined #osdev
wootehfoot has joined #osdev
wootehfoot has quit [Ping timeout: 246 seconds]
<bl4ckb0ne> is it normal to get inconsistent runs on different cpu with qemu?
<zid> yes and no
<zid> if you mean 4+7 is sometimes 12, no
<zid> if you mean slightly different irq timing, yes
<bl4ckb0ne> still trying to get that cr3 filling stall, same code runs fine on intel
vdamewood has joined #osdev
foudfou has quit [Remote host closed the connection]
foudfou has joined #osdev
<zid> nobody actually believes you that it stalls btw
<bl4ckb0ne> i can see that
<bl4ckb0ne> `info status` on the qemu monitor gives "VM status: paused (shutdown)"
<zid> okay? but what does -d int say
<zid> you almost certainly triplefaulted
<zid> we asked you multiple times
<bl4ckb0ne> im trying to get a dump of what is going on
<zid> you don't need to "get a dump"
<gog_> info registers
<zid> -d int just makes it print it
<gog_> try info registers, info mem, info tlb
<bslsk05> ​paste.sr.ht: 60ab017 — paste.sr.ht
<zid> eip=ff0
<zid> fff0
<zid> oh look, it triple faulted
<bl4ckb0ne> zid: im runnin with -d int,mmu,cpu_reset
<zid> if only there was some option like -d int
<zid> so paste it?
<bslsk05> ​paste.sr.ht: 45325f4 — paste.sr.ht
<zid> That's the cpu_reset, int isn't on here
<bl4ckb0ne> got nothing else
<zid> do just qemu-system-x86_64 -cdrom blah -monitor stdio -m 1024 -d int or something
<zid> (however you're booting it, cdrom image or hard drives or whatever, replace that first option)
<bl4ckb0ne> still only seeing those 2 CR0 update
<zid> you should get none
<zid> you only get that with -d cpu_reset
<zid> show me a picture of your invocation options
<bl4ckb0ne> qemu?
<zid> of qemu yes
<bl4ckb0ne> qemu-system-x86_64 -L /usr/share/OVMF -bios OVMF.fd -m 1G -no-reboot -no-shutdown -drive file=boot.img,format=raw -display none -d int,mmu -monitor stdio -enable-kvm
<zid> okay so absolutely nothing like what I said
<zid> qemu-system-x86_64 -L /usr/share/OVMF -bios OVMF.fd -no-reboot -drive file=boot.img,format=raw -d int -monitor stdio
<zid> run that
<bl4ckb0ne> ha now i get stuff
<zid> You always would have
<zid> You had kvm enabled
<zid> we getting a paste?
<bl4ckb0ne> was running some tests, intel works fine with -enable-kvm, amd works fine without
<zid> This is just a lot of int 32 spam
<zid> (presumably the PIT)
<zid> so your interrupts work at least, gj? :P
<bl4ckb0ne> heh
<zid> you also work as well as hyperv now
<zid> kvm works on hyperv on intel, but not amd
<bl4ckb0ne> do i need kvm?
<zid> nope
* bl4ckb0ne yeets it
Arthuria has joined #osdev
<bl4ckb0ne> still dont get why that was triplefaulting silently
<zid> because kvm
<zid> your cpu doesn't printf to qemu's monitor, oddly enough
<bl4ckb0ne> anyway, thanks for helping me on this
<zid> you were running it bareback raw on your cpu
<zid> that's what kvm means
<zid> without kvm it gets recompiled by the TCG
<zid> and ran as a normal program, with your logging options etc inserted into the code
<zid> (which is why you can just install qemu-arm)
vdamewood has quit [Read error: Connection reset by peer]
<bl4ckb0ne> whack
vdamewood has joined #osdev
<zid> you'd be *very* update if you wanted to use kvm and it was dog slow because it insisted on faulting back to your qemu process a few thousand times a millisecond
<zid> update? upset.
<zid> It'd probably be slower than TCG :P
<bl4ckb0ne> at least now I can sleep
x64S has quit [Quit: quit]
m5zs7k has quit [Server closed connection]
m5zs7k has joined #osdev
gog_ has quit [Quit: Client closed]
SGautam has quit [Quit: Connection closed for inactivity]
lechner has quit [Ping timeout: 246 seconds]
vdamewood has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
goliath has quit [Quit: SIGSEGV]
<zid> Don't suppose anyone happens to remember an article that had a bunch of edge cases in how to write a C parser as examples
<zid> (some of which were bugs in gcc too)
GeDaMo has joined #osdev
<zid> That may infact be it, wow, good job
vdamewood has joined #osdev
selfsigned has quit [Server closed connection]
selfsigned has joined #osdev
zxrom_ has joined #osdev
zxrom has quit [Ping timeout: 246 seconds]
zxrom_ has quit [Remote host closed the connection]
zxrom_ has joined #osdev
zxrom_ is now known as zxrom
alexander has quit [Server closed connection]
alexander has joined #osdev
Arthuria has quit [Ping timeout: 245 seconds]
sebonirc has quit [Changing host]
sebonirc has joined #osdev
[itchyjunk] has quit [Read error: Connection reset by peer]
frkzoid has quit [Ping timeout: 240 seconds]
frkazoid333 has joined #osdev
gareppa has joined #osdev
wootehfoot has joined #osdev
zxrom has quit [Quit: Leaving]
slidercrank has joined #osdev
zxrom has joined #osdev
deflated8837 has quit [Server closed connection]
deflated8837 has joined #osdev
gog has joined #osdev
pmaz has joined #osdev
zid has quit [Server closed connection]
zid has joined #osdev
jjuran has quit [Quit: Killing Colloquy first, before it kills me…]
jjuran has joined #osdev
frkazoid333 has quit [Ping timeout: 250 seconds]
tanto has quit [Quit: Adios]
pie_ has quit []
vancz has quit []
tanto has joined #osdev
tanto has quit [Client Quit]
vancz has joined #osdev
pie_ has joined #osdev
tanto has joined #osdev
tanto has quit [Client Quit]
vancz has joined #osdev
pie_ has joined #osdev
pie_ has quit [Client Quit]
vancz has quit [Client Quit]
tanto has joined #osdev
vancz has joined #osdev
pie_ has joined #osdev
tanto has quit [Client Quit]
pie_ has quit [Client Quit]
vancz has quit [Client Quit]
tanto has joined #osdev
vancz has joined #osdev
pie_ has joined #osdev
tanto has quit [Client Quit]
pie_ has quit [Client Quit]
vancz has quit [Client Quit]
tanto has joined #osdev
vancz has joined #osdev
pie_ has joined #osdev
tanto has quit [Client Quit]
pie_ has quit [Client Quit]
vancz has quit [Client Quit]
tanto has joined #osdev
vancz has joined #osdev
pie_ has joined #osdev
pmaz has quit [Ping timeout: 246 seconds]
wootehfoot has quit [Quit: Leaving]
tanto has quit [Quit: Adios]
vancz has quit []
pie_ has quit []
tanto has joined #osdev
vancz has joined #osdev
pie_ has joined #osdev
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tanto has quit [Client Quit]
pie_ has quit [Client Quit]
vancz has quit [Client Quit]
tanto has joined #osdev
pie_ has joined #osdev
vancz has joined #osdev
foudfou has quit [Remote host closed the connection]
foudfou has joined #osdev
pmaz has joined #osdev
pmaz has quit [Ping timeout: 245 seconds]
MiningMarsh has joined #osdev
tomith has quit [Ping timeout: 246 seconds]
tanto has quit [Quit: Adios]
pie_ has quit []
vancz has quit []
pie_ has joined #osdev
pie_ has quit [Read error: Connection reset by peer]
tanto has joined #osdev
vancz has joined #osdev
pie_ has joined #osdev
dennis95 has joined #osdev
goliath has joined #osdev
pmaz has joined #osdev
[itchyjunk] has joined #osdev
riverdc has quit [Quit: quitting]
wootehfoot has joined #osdev
riverdc has joined #osdev
dutch has quit [Quit: WeeChat 4.0.1]
MiningMarsh has quit [Quit: ZNC 1.8.2 - https://znc.in]
MiningMarsh has joined #osdev
tanto has quit [Quit: Adios]
vancz has quit []
pie_ has quit []
pmaz has quit [Quit: Konversation terminated!]
frkzoid has joined #osdev
tanto has joined #osdev
pie_ has joined #osdev
vancz has joined #osdev
Left_Turn has joined #osdev
bnchs has joined #osdev
dutch has joined #osdev
bnchs has quit [Remote host closed the connection]
tanto has quit [Ping timeout: 252 seconds]
pie_ has quit [Ping timeout: 252 seconds]
vancz has quit [Ping timeout: 252 seconds]
tanto has joined #osdev
pie_ has joined #osdev
vancz has joined #osdev
wootehfoot has quit [Read error: Connection reset by peer]
nyah has joined #osdev
<zid> good news, today is sunday, that means tomorrow is monday, and monday is mynesday
dude12312414 has joined #osdev
<sham1> Tomorrow is Monday and thus word! Yay
<sham1> Work*
carbonfiber has joined #osdev
Turn_Left has joined #osdev
Left_Turn has quit [Ping timeout: 246 seconds]
zxrom has quit [Ping timeout: 246 seconds]
Left_Turn has joined #osdev
Turn_Left has quit [Ping timeout: 260 seconds]
zxrom has joined #osdev
tomith has joined #osdev
xenos1984 has quit [Ping timeout: 246 seconds]
xenos1984 has joined #osdev
gxt__ has quit [Remote host closed the connection]
gxt__ has joined #osdev
dude12312414 has quit [Quit: THE RAM IS TOO DAMN HIGH]
MiningMarsh has quit [Quit: ZNC 1.8.2 - https://znc.in]
Arthuria has joined #osdev
xenos1984 has quit [Ping timeout: 264 seconds]
MiningMarsh has joined #osdev
Turn_Left has joined #osdev
Left_Turn has quit [Ping timeout: 246 seconds]
xenos1984 has joined #osdev
Mids_IRC3 has joined #osdev
dennis95 has quit [Quit: Leaving]
heat has joined #osdev
nanovad has quit [Ping timeout: 245 seconds]
MiningMarsh has quit [Quit: ZNC 1.8.2 - https://znc.in]
MiningMarsh has joined #osdev
Arthuria has quit [Read error: Connection reset by peer]
Turn_Left has quit [Ping timeout: 246 seconds]
Turn_Left has joined #osdev
<Mids_IRC3> Anyone else had a USB MSD simply not respond to a bulk transfer? I'm trying to have an INQUIRY sent, but the CBW packet simply times out. And if I set max errors to 0, it just never finishes (I waited 10+ seconds)
Arthuria has joined #osdev
Arthuria has quit [Killed (NickServ (GHOST command used by Guest684531))]
deflated8837 has quit [Read error: Connection reset by peer]
Turn_Left has quit [Remote host closed the connection]
Turn_Left has joined #osdev
deflated8837 has joined #osdev
Left_Turn has joined #osdev
duderonomy has joined #osdev
Turn_Left has quit [Ping timeout: 260 seconds]
Turn_Left has joined #osdev
Turn_Left has quit [Max SendQ exceeded]
Turn_Left has joined #osdev
Left_Turn has quit [Ping timeout: 260 seconds]
<geist> wow, just noticed that my mac laptop has 698 processes sitting still
<geist> i knew it had a lot but figured it was like 150
<geist> seems like a lot of those are single threaded daemons since it only has about 3000 threads
valshaped742 has quit [Read error: Connection reset by peer]
Left_Turn has joined #osdev
valshaped742 has joined #osdev
Left_Turn has quit [Max SendQ exceeded]
Turn_Left has quit [Ping timeout: 260 seconds]
Left_Turn has joined #osdev
<heat> late stage computing
<heat> everything was better on the VAX
<heat> modest computing with modest UNIX systems that only served teh VAX
<heat> how many bits do you have? 64? that's too much, 32 was just right
nanovad has joined #osdev
Gooberpatrol66 has quit [Quit: Leaving]
<sham1> UNIX
<sham1> UNIX++
<sham1> I loved the part where it said "It's UNIX time" and UNIXed all over the VM
Left_Turn has quit [Remote host closed the connection]
Left_Turn has joined #osdev
Left_Turn has quit [Max SendQ exceeded]
Left_Turn has joined #osdev
gareppa has quit [Quit: WeeChat 3.8]
GeDaMo has quit [Quit: That's it, you people have stood in my way long enough! I'm going to clown college!]
carbonfiber has quit [Quit: Connection closed for inactivity]
Stary has quit [Quit: ZNC - http://znc.in]
CompanionCube has quit [Quit: ZNC - http://znc.in]
Stary has joined #osdev
CompanionCube has joined #osdev
<mcrod> i wonder why znc is constantly sending a WHO command
<zid> ask him
nur has quit [Ping timeout: 246 seconds]
Turn_Left has joined #osdev
<gog> hi
Left_Turn has quit [Ping timeout: 260 seconds]
TkTech has joined #osdev
<mcrod> hi gog
valshaped742 has quit [Ping timeout: 252 seconds]
valshaped742 has joined #osdev
goliath has quit [Quit: SIGSEGV]
<bl4ckb0ne> bonsoir gog
<Ermine> hi gog may I pet you
<gog> hi Ermine you may pet me
<heat> hello Ermine the /gog/pet file has 0777 permissions, no need to ask next time!
elastic_dog has quit [Ping timeout: 246 seconds]
<gog> no, it has 664 permissions and you have to be in the gog-pet group
<mcrod> I'm so annoyed
<gog> all may observe pets
<mcrod> the left ctrl key on my ducky keyboard is a bit tacky
<gog> time to pull the switch and douse it in alcohol and relube it
<mcrod> no i don't wanna
<mcrod> :(
<heat> maybe you're tacky
<mcrod> maybe
<mcrod> cherry blues don't seem to have a great appeal for me either
<mcrod> i thought they would
<heat> cherries are red, not blue mate
<mcrod> roses are red
<mcrod> violets are blue
<mcrod> heat is a fool
<mcrod> but gog is cool
<heat> roses are red, violets are blue, UNIX is cringe, but i love you
<mcrod> <3
<heat> <3
<zid> roses are red, violets are violet, trees are purple, help what is this mushroom
<Ermine> cat /etc/group | grep gog-pet
* Ermine pets gog
<heat> omg noooooo
<heat> grep gog-pet /etc/group
<Ermine> Indeed
<Ermine> Maybe there's a special command to inspect groups
Turn_Left has quit [Read error: Connection reset by peer]
<bslsk05> ​twitter: <defnotbeka> i get the idea of Everything Is A File on linux, but it's so annoying that you have to change your computers audio volume to 100% or whatever by doing ␤ ␤ cp /sys/class/volume/100 /vol
<heat> you dont get it moon-child, it makes total sense
<heat> everything is a file, you use filesystem commands just like normal, and it works exactly like normal files
<heat> i.e they pop in and out of existence, and writes don't do the obvious thing, just like normal files!
elastic_dog has joined #osdev
<heat> and if you think about the performance perspective, traversing the filesystem more means the overall solution scales less, which is good as you force people to buy more enterprise Linux licenses to install on more machines
<heat> if they don't get more machines, then you just made people use Linux less, which is a big win!
<heat> one must always never forget that ASCII text is a great, superior ABI
<heat> all your kernel APIs should be suited for the shell first and foremost
<heat> i get sad that bill joy's control() idea never worked out!
<moon-child> wazzat?
<heat> on the joy2.pdf thing i've posted like 2 times now, he talks about control() as an alternative to ioctl (1981)
<heat> control being something like int control(const char *request, const char *indata, size_t indata_len, const char *outdate, size_t outdata_len)
<heat> so everything would be serialized to text and back in the "ioctl" barrier
<heat> s/const char *outdate/char *outdata/, but ya know, the rest of the signature is also not 100% correct and i dont care
<moon-child> ehhhhhh
slidercrank has quit [Ping timeout: 264 seconds]
<mcrod> i'm sure everything as a file made sense back in.. the 80s
<mcrod> I certainly don't see the point now
<heat> everything is a file was retrofitted as a "UNIX concept"
<heat> i.e if you asked people in 1980 about UNIX they would never say everything is a file
<heat> they would say commands need to be simple and pipelineable, etc, but no everything is a file
<heat> pseudo-bullshit filesystems weren't invented yet
<bslsk05> ​'"What UNIX Cost Us" - Benno Rice (LCA 2020)' by linux.conf.au (00:34:14)
<mcrod> i will watch in an hour or so
<kof123> eh, look at vms or something like that "records." i'm not arguing either way, just ...what else was going on at the time
<kof123> or "what would multics do?"
<zid> heat: I really like the *idea* of computers being full of strings for shit
<zid> like, sysfs but for everything
<zid> but in practice it's slow and buggy
<zid> so no, fuck that
<kof123> eh, "it's all the same to me" -- motorhead, ace of spades #define BIG_LETTER_A 0x41 enum { BIG_LETTER_A = 0x41 }; 'A'
<klange> L'A'
<mcrod> another clion complaint: just made a .clang-format, and its built-in clang-format binary (which cannot be changed) is too old, so the formatting fails
<mcrod> how are these things not thought of?
<heat> didn't you rant about this before?
<zid> Have you considered not writing ugly code
<mcrod> heat: maybe once
<klange> zid: hiss boo heathen
MiningMarsh has quit [Ping timeout: 260 seconds]
MiningMarsh has joined #osdev
gog has quit [Quit: byee]
<mcrod> jesus why is everything so fucking awful
<heat> #grumpy-tech-people
<heat> in this channel: C++ sucks, rust sucks, C sucks, AT&T assembly sucks, Intel assembly sucks, x86 sucks, arm64 sucks, riscv sucks, UEFI sucks, BIOS sucks, solaris sucks, openbsd sucks, freebsd sucks, netbsd sucks, linux sucks, UNIX sucks, Windows sucks
<heat> and this is a small sample
<heat> oh, nodejs sucks too
<heat> old things suck, new things also suck
<mcrod> I eventually gave up using CLion
<mcrod> so I went to vscode
<heat> no one likes anything ever, here
<mcrod> but the clangd extension seems to be totally busted
<mcrod> can't find almost anything, but CLion did
<heat> oh, vscode also sucks, so does vim, so does emacs