IRC channel logs

2025-04-27.log

back to list of logs

<damo22>i think we need to go over all the changes to ASM for smp because i just realised i may have misunderstood the CMP asm instruction all along, apparently it sets the zero flag to 1 when A == B, so CMP A, B ... JNZ means take the jump if A != B ?
<damo22>i thought JZ means jump when the result of the CMP is 0
<damo22>but that seems not to be the case
<damo22>wait that still does work
<damo22>the zero flag adds complexity that i dont want to know about :(
<azert>damo22: CMP Is the same as SUB but It dia
<sneek>Welcome back azert, you have 1 message!
<sneek>azert, ZhaoM says: I see. If we can port puffs, we can directly have libp2k and use rumpfs
<azert>but It discards the result except flags
<youpi>damo22: jnz says "not zero", i.e. Z is not set, i.e. a!=b
<youpi>and jz jumps when a==b
<youpi>it's really like azert said: it just subtracts the two operands, doesn't store the result, but updates the flags
<youpi>so the jxx after this talk about the result of the subtraction
<damo22>ok
<gnucode>So I am still trying to fix the hurd console not appearing to work for me...
<gnucode>I double checked that the /etc/default/hurd-console file is correct from this irc chat log:
<gnucode> https://logs.guix.gnu.org/hurd/2025-04-25.log#100233
<gnucode>I am updating right now...
<gnucode>I did notice that "ps -e | grep console"
<gnucode>does show a hurd-console process
<gnucode>but I still appear to be stuck in the mach console
<gnucode>sudo kill -9 *hurd-console PID*
<gnucode>does kill the hurd-console
<gnucode>but it just gets restarted as a different PID.
<gnucode>So for now I am disabling the hurd-console at boot time.
<gnucode>ergo I will have to manually start the hurd console from the command line.
<gnucode>hopefully that'll work better.
<gnucode>and I need to remember to start he hurd console as root apparently.
<gnucode>so I can su; sudo hurd-console MAGIC-INVOCATION
<gnucode>but I am still stuck in the mach console...
<youpi>gnucode: remember that the console is in two parts
<youpi>the /hurd/console server part sitting as translator on /dev/vcs
<youpi>and the console client started from init
<gnucode>I am trying to work on a short script to explain the difficulties that I am having.
<gnucode>I'll upload the pastebin in a bit.
<gnucode> https://paste.debian.net/hidden/30f90752/
<gnucode>youpi: I know you are trying to help. I just don't really know what to do. Also I randomly looked inside /lost+found/ and I apparently have 30+ file in that directory.
<gnucode>so it's entirely possible that I am just suffering from some serious filesystem corruption.
<gnucode>This is not me telling anyone to drop what they are doing to help me. I'm just confused.
<youpi>gnucode: probably useful to run this with gdb, through ssh
<youpi>to see where it gets stuck
<gnucode>youpi: what is the expected behavior after I run " # console *MAGIC INVOCATION*" ? After the command completes...would I magically be in the hurd console?
<youpi>yes