IRC channel logs
2024-12-02.log
back to list of logs
<damo22>yeah but BSD bpf is a /dev node that you can explicitly connect to <damo22>we need the node version because it connects to rump kernel <azert>Ok, but it seems to me that the Hurd was once speaking the bpf language to its network driver <azert>if you can resurrect that code, I think you’ll restore what was meant to be <damo22>most likely yes, but we have resurrected it in the machdev <azert>Because many pfinet can install their own bpf filters in the rumpnet <damo22>gnumach doesnt need to serve the network device anymore <damo22>libmachdev does this in userspace now <azert>Yes, but you can resurrect the bpf part <damo22>i left it as a commented out part in my code <damo22>i need to rewrite the socket to use bpf though <damo22>we might be able to have predefined bpf filters for tcp and udp packets, etc <damo22>i really need to implement mach_printf() <ZhaoM>youpi: do I need to submit the patch to util-linux when I get a working hwclock for Hurd? <youpi>ZhaoM: probably better send it to bug-hurd first so we can check what it looks like <damo22>errr, send_packet and receive_packet in bpf.c requires knowing the MAC address of the destination and the IP address of the destination... <youpi>for sending you know that, from the packet and from arp <youpi>for receiving, you should be able to request all packets <damo22>cant seem to rump_sys_open(/dev/bpf) <Pellescours>youpi: i think I found a potential deadlock (my hang from yesterday) <Pellescours>object comes from vm_seg_pull_cache_page, and doc saus that when it returns, object is locked when shuccessfull call <Pellescours>so we try to lock an object that is already locked. I din't see a unlock call between the 2 <youpi>you can try to check that for a start yes <youpi>that being said, is vm_object_lock() not a nop in non-smp ? <youpi>ok, that can explain why we hadn't noticed it <Pellescours>Doing a ctrl+alt+suppr in the hurd console (to reboot) make it crash <damo22>Pellescours: i think i added a commit for fixing ctrl-alt-delete crashing the console <damo22>but it may have exposed another bug <Pellescours>should pae work with gnumach kernel drivers? I just tried it and I got a page fault <ZhaoM>youpi: I asked a question about the util-linux hwclock patch but I forgot to set the "reply to" to you, please have a look when you have time <Pellescours>for the console, I think the problem is here for long time. <youpi>yes it was there, but got fixed, just waits for a new snapshot