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
FreeFull has quit []
biblio_ has joined #osdev
biblio has quit [Ping timeout: 268 seconds]
biblio_ has quit [Quit: Leaving]
pmaz has joined #osdev
nyah has quit [Quit: leaving]
vdamewood has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dutch has quit [Quit: WeeChat 3.7.1]
dutch has joined #osdev
<geist> hey at least your rdtscps dont trap to firmware every time
[itchyjunk] has quit [Ping timeout: 256 seconds]
[itchyjunk] has joined #osdev
<heat> oh but your timer reads definitely do
<heat> thou shalt not touch hardware registers directly without trapping into magical firmware land
<heat> it's in the bible or something idk
eschaton has joined #osdev
[itchyjunk] has quit [Remote host closed the connection]
terminalpusher has quit [Ping timeout: 245 seconds]
heat has quit [Ping timeout: 240 seconds]
antranigv has joined #osdev
pmaz has quit [Ping timeout: 256 seconds]
<zid> good news heat, you love secureboot and all that stuff, intel's bootguard key just got leaked by msi
ptrc has quit [Remote host closed the connection]
ptrc has joined #osdev
bradd has quit [Remote host closed the connection]
<mjg> puck heat i confirm rdstcp no longer vmexits on qemu + kvm + cascade lake
<mjg> it is still slower in the vm than on bare metal, but it in the ball park
<mjg> 74765551 vs 92668798
<mjg> that is splendid news
<moon-child> zid: can i use that to decrypt the ucode?
bradd has joined #osdev
k0valski18891 has joined #osdev
Ali_A has joined #osdev
ThinkT510 has quit [Quit: WeeChat 3.8]
Ali_A has quit [Quit: Client closed]
ThinkT510 has joined #osdev
Ali_A has joined #osdev
sinvet has quit [Remote host closed the connection]
Ali_A has quit [Quit: Ping timeout (120 seconds)]
sinvet has joined #osdev
slidercrank has joined #osdev
pmaz has joined #osdev
zaquest has quit [Remote host closed the connection]
gxt__ has quit [Remote host closed the connection]
Vercas6947 has quit [Remote host closed the connection]
gabi-250 has quit [Remote host closed the connection]
gildasio has quit [Read error: Connection reset by peer]
Vercas6947 has joined #osdev
gildasio has joined #osdev
gabi-250 has joined #osdev
gxt__ has joined #osdev
zaquest has joined #osdev
remexre has joined #osdev
dennis95 has joined #osdev
Burgundy has joined #osdev
GeDaMo has joined #osdev
xvmt has quit [Remote host closed the connection]
xvmt has joined #osdev
pmaz has quit [Ping timeout: 256 seconds]
Vercas6947 has quit [Remote host closed the connection]
Vercas6947 has joined #osdev
elastic_dog has quit [Ping timeout: 250 seconds]
elastic_dog has joined #osdev
vdamewood has joined #osdev
nyah has joined #osdev
goliath has joined #osdev
bnchs has quit [Ping timeout: 268 seconds]
bnchs has joined #osdev
gog has joined #osdev
slidercrank has quit [Ping timeout: 268 seconds]
Left_Turn has joined #osdev
alexander has quit [Quit: ZNC 1.8.2+deb2+b1 - https://znc.in]
alexander has joined #osdev
elastic_dog is now known as Guest9837
elastic_dog has joined #osdev
CalculusCats has quit [Quit: Meow Meow Meow Meow Meow Meow Meow...]
CalculusCats has joined #osdev
cultpony has joined #osdev
cultpony has quit [Quit: ZNC - https://znc.in]
cultpony has joined #osdev
brunothedev has joined #osdev
Ali_A has joined #osdev
Ali_A has quit [Ping timeout: 245 seconds]
<puck> mjg: hrm, that is a decent perf loss on intel
Ali_A has joined #osdev
biblio has joined #osdev
<puck> zid, moon-child: no, the key that was leaked was the key MSI uses for intel's boot guard; it's fused into ... the PCH?
<puck> it breaks secureboot on those MSI mobos
<puck> (i think. i'm not entirely sure how the verified boot key logic works)
<zid> why are you noing me :(
<zid> pls daddy, I didn't mean it, don't get the belt again
<mrvn> I sometimes think they should use a scheme where multiple keys are required to sign but they would manage to leak enough keys there too
Ali_A has quit [Quit: Client closed]
[itchyjunk] has joined #osdev
<gog> hi
<puck> mrvn: it should be a tpm
<puck> or, well, hsm
<Ermine> hi gog, may I pet you
<gog> yes
* Ermine pets gog
* gog prr
* Ermine tries to boot minix by injecting NMIs
<bnchs> mew
heat has joined #osdev
<heat> i think that the only Intel private key that's used in bootguard is the one that signs the ACM
<heat> so as long as they only leaked MSI keys that's fine for everyone not using MSI
<heat> but this all would imply vendors don't forget to enable boot guard
<heat> *cough cough*
dayimproper has joined #osdev
<Ermine> Fun story: Lenovo firmware updater resets secure boot certificates and brings it into setup mode
slidercrank has joined #osdev
vdamewood has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<heat> Ermine, does it also update other efi variables?
<heat> (as in, wipe them)
slidercrank has quit [Remote host closed the connection]
slidercrank has joined #osdev
dayimproper has quit [Ping timeout: 276 seconds]
<Ermine> heat: idk, never checked
JerryXiao has quit [Ping timeout: 240 seconds]
JerryXiao has joined #osdev
Matt|home has joined #osdev
cultpony has quit [Quit: ZNC - https://znc.in]
cultpony has joined #osdev
<heat> mjg, dawg are percpu tracing buffers that overflow into a global buffer usually how you do tracing?
<heat> or do you go per-cpu all the way?
<heat> fully pcpu is kind of clunky but you avoid having any sort of locks
terminalpusher has joined #osdev
dayimproper has joined #osdev
biblio has quit [Quit: Leaving]
xenos1984 has quit [Ping timeout: 240 seconds]
xenos1984 has joined #osdev
dayimproper has quit [Ping timeout: 268 seconds]
dayimproper has joined #osdev
dayimproper has quit [Ping timeout: 256 seconds]
xenos1984 has quit [Ping timeout: 246 seconds]
MrBonkers has quit [Remote host closed the connection]
MrBonkers has joined #osdev
<geist> probably fully pcpu
xenos1984 has joined #osdev
terminalpusher has quit [Remote host closed the connection]
zaquest has quit [Ping timeout: 256 seconds]
<mjg> heat: full pcpu mofer
<mjg> you size them to avoid overflow
<mjg> and print warnings if one does happen
bauen1 has quit [Ping timeout: 256 seconds]
bauen1 has joined #osdev
zaquest has joined #osdev
<heat> ok dad
<heat> the interface is going to look real awkward
<mjg> ?
<mjg> watcha tracing anyway
<mjg> you can probably compute how many per second you can realistically get
<heat> i'm tracing everything
<mjg> allocate for that + some safety buf
<heat> the kernel
<mjg> and dump every second to clear
<mjg> what do you mean everything
<heat> erm, it's a ktrace kind of thing
<heat> enable tracing, gimme events, bye
<mjg> if it is really high traffic, you can have the kernel do the dumping
<heat> thru mmap? doesn't work with my circular buffer thing
<mjg> if the buf gets close to capacity, you VOP_WRITE in freebsd parlance
<mjg> :X
<heat> i'd need to find a new thing
<heat> if I do full pcpu i'll need at least an fd per cpu, plus a way to say "if we hit this watermark, signal POLLWHATEVER", plus polling every fd and reading from those
<mjg> you would need an output file per-cpu tho to avoid contention
<heat> it sounds better than randomly sleeping for 1sec or something and reading shit
<mjg> i noted kernel itself can just do the write
<heat> that's silly and I'm not doing it
<mjg> you do you
<mjg> ktrace is doing writes on its own :X
<mjg> you did not look at the magic tech yu were mentioning, did you :X
<heat> particularly as in my case I won't even need to write to a file
<heat> what magic tech?
<mjg> ktrace
<heat> no, I called my thing ktrace
<heat> i've never looked at freebsd ktrace
<heat> k<something> is very overloaded terminology
<mjg> referring to it a "ktrace kind of thing" in this context was really suggesting somethin'
<mjg> also i think i mentioned dick sites tracing framework?
zxrom has quit [Read error: Connection reset by peer]
<mjg> for ze kernel
<heat> whats a dick sites
<heat> oh wait its that guy hahaha
<heat> yes you mentioned cock blogs's tracing thing before
<bslsk05> ​dicksites/KUtrace - Low-overhead tracing of all Linux kernel-user transitions, for serious performance analysis. Includes kernel patches, loadable module, and post-processing software. Output is HTML/SVG per-CPU-core timeline that you can pan/zoom down to the nanosecond. (31 forks/252 stargazers/NOASSERTION)
<mjg> port this motherfucker
zxrom has joined #osdev
<heat> how about no
<mjg> i'll tell dick
<heat> dick sites is going to ban me from dick sites
zxrom has quit [Quit: Leaving]
zxrom has joined #osdev
zxrom has quit [Client Quit]
zxrom has joined #osdev
zxrom has quit [Remote host closed the connection]
bauen1 has quit [Ping timeout: 256 seconds]
bauen1 has joined #osdev
zxrom has joined #osdev
GeDaMo has quit [Quit: That's it, you people have stood in my way long enough! I'm going to clown college!]
<geist> and if you’re in NZ, also sites about decks
clever has quit [Ping timeout: 264 seconds]
clever has joined #osdev
brunothedev has quit [Quit: WeeChat 3.6]
morgan has quit [Ping timeout: 276 seconds]
<heat> reddit.com/r/RISCV/comments/1392cir/haiku_on_visionfive_2/
<bslsk05> ​reddit.com: Reddit - Dive into anything
<nikolar> Neat
<heat> geist, you know what to do
<geist> Woot
<heat> why run linux on it if you can run a BeOS clone with a kernel derived from your old OS
<heat> it's doubly you!
sebonirc has quit [Remote host closed the connection]
sebonirc has joined #osdev
morgan has joined #osdev
dennis95 has quit [Quit: Leaving]
morgan has quit [Ping timeout: 256 seconds]
zxrom has quit [Ping timeout: 256 seconds]
Burgundy has quit [Ping timeout: 276 seconds]
<heat> mjg, can you confirm that your very recent and nice freebsd system does not have a python3?
<heat> as in /usr/local/bin/python3 or wherever the fuck you pervs store your port binaries
morgan has joined #osdev
<zid> why would anybody have python 3
<zid> we're on python 4 now on onyx
<zid> (fedora onyx)
Left_Turn has quit [Read error: Connection reset by peer]
<mrvn> "The Python-4 is an Israeli short-range infrared air-to-air missile. It was developed in the 1990s by the Israeli arms manufacturer Rafael as the successor to the Python-3." https://de.wikipedia.org/wiki/Python-4
<bslsk05> ​de.wikipedia.org: Python-4 – Wikipedia
slidercrank has quit [Ping timeout: 256 seconds]
mavhq has quit [Ping timeout: 276 seconds]
Brain___ has quit [Ping timeout: 265 seconds]
heat_ has joined #osdev
heat has quit [Ping timeout: 240 seconds]
MrBonkers has quit [*.net *.split]
air has quit [*.net *.split]
Stary has quit [*.net *.split]
MaxLeiter has quit [*.net *.split]
justmatt has quit [*.net *.split]
lg has quit [*.net *.split]
eau has quit [*.net *.split]
moberg has quit [*.net *.split]
ghostbuster has quit [*.net *.split]
rein-er has quit [*.net *.split]
CalimeroTeknik has quit [*.net *.split]
justache has quit [*.net *.split]
dminuoso has quit [*.net *.split]
nortti has quit [*.net *.split]
air has joined #osdev
MaxLeiter has joined #osdev
justmatt has joined #osdev
MrBonkers has joined #osdev
moberg has joined #osdev
Stary has joined #osdev
justache has joined #osdev
justache has quit [Max SendQ exceeded]
dminuoso has joined #osdev
ghostbuster has joined #osdev
rein-er has joined #osdev
pounce has quit [Ping timeout: 246 seconds]
pounce has joined #osdev
nortti has joined #osdev
lg has joined #osdev
justache has joined #osdev