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
thinkpol has quit [Remote host closed the connection]
thinkpol has joined #osdev
netbsduser has quit [Ping timeout: 248 seconds]
itrsea has quit [Remote host closed the connection]
itrsea has joined #osdev
itrsea has quit [Quit: leaving]
edr has quit [Quit: Leaving]
msv has quit [Remote host closed the connection]
msv has joined #osdev
colona has quit [Server closed connection]
colona has joined #osdev
msv has quit [Remote host closed the connection]
msv has joined #osdev
\Test_User has joined #osdev
itrsea has joined #osdev
jcea has quit [Ping timeout: 248 seconds]
MrBonkers has quit [Read error: Connection reset by peer]
_whitelogger has joined #osdev
frkazoid333 has quit [Ping timeout: 260 seconds]
fedaykin has joined #osdev
eluks has quit [Remote host closed the connection]
eluks has joined #osdev
goliath has joined #osdev
<Ermine> i found a null dereference in amdgpu
<geist> you win
<Ermine> yay!
<clever> Ermine: ive found one before
<clever> i was trying to run the vc4 userland half of mesa, to pre-compile shaders for the rpi
<clever> first thing the userland half did, was an ioctl to query the vc4 version in the kernel, via /dev/dri
<clever> that ioctl, did something totally different on amdgpu!
<clever> because the struct was too small, the kernel defaulted to nulls in the fields that userland didnt populate
<clever> and then OOPS, kernel null pointer!
<Ermine> kaboom
<clever> yep
<AmyMalik> i wonder if that's the problem i've been having trying to upgrade to khardenedbsd14.3
<AmyMalik> unlikely
<Ermine> And i've broke it by accessing a file in debugfs
karenw has quit [Ping timeout: 252 seconds]
chiselfuse has quit [Remote host closed the connection]
chiselfuse has joined #osdev
<Ermine> and it tried to access structure which corresponds to hardware not present on my gpu
<Ermine> clever: is your use case even supported
Lucretia has joined #osdev
<clever> Ermine: there is a benchmarking tool in mesa, that is meant to take a given shader, and then compile it for every gpu the userland supports
<clever> and the plan was to repurpose that, to compile shaders and then run them in baremetal
<clever> so only the userland half of mesa needs to be active
<clever> but the userland half, went and tried to probe the kernel, to see if the kernel half was usable!
<clever> and the ioctl's clash