00:27:36 In BSD Make, I want to do something like: ID = $(expr $(cat /path/to/counter_file) + 1). I have something like this: ID = $(expr `cat ${COUNTER_FILE} 2>/dev/null || echo 1` + 1) and ID comes back as empty 00:28:05 mns: you are probably looking for: ID!= expr `cat ... 00:28:29 see "Variable assignment operators" in make(1) 00:29:54 ivy: thanks. let me look at htat 00:29:57 *that 01:52:16 rwp: a lot of folks are forgetting to do a fresh install of /usr/ports/graphics/drm-XX-kmod when doing the 14.2 to 14.3 01:53:14 need to comment out drm-kmod in rc.conf or loader.conf (or both), so you can build the new drm-kmod and load it by hand the 1st time to verify that it is working correctly 02:43:26 SponiX: Shouldn't be a matter of forgetting, especially for folks only using binary packages. 02:46:43 Thanks rwp 02:47:56 Yeah, I've heard that starting with 14.3 there is a "kmod" repo that drm-XX-kmod can be installed from. I have no experience with this so far though 02:48:58 There's discussion here, but I don't see any definitive links: https://wiki.freebsd.org/KernelModulePackages 02:49:34 Hm, maybe some clues here: https://lists.freebsd.org/archives/freebsd-ports/2024-December/006997.html 02:50:46 FreeBSD-kmods: { 02:50:46 url: "pkg+https://pkg.FreeBSD.org/${ABI}/kmods_latest}", 02:50:46 mirror_type: "srv", 02:50:46 signature_type: "fingerprints", 02:50:46 fingerprints: "/usr/share/keys/pkg", 02:50:47 enabled: no 02:50:47 priority: 1 02:50:47 } 02:51:38 I’ll google it… thanks 02:53:37 I believe the appropriate kmod repo config made it into /etc/pkg/FreeBSD.conf on 14.3 02:54:08 see https://cgit.freebsd.org/src/tree/usr.sbin/pkg/FreeBSD.conf.latest?h=releng/14.3 and https://cgit.freebsd.org/src/tree/usr.sbin/pkg/FreeBSD.conf.quarterly?h=releng/14.3 02:54:32 (I believe -> I note that) 02:56:26 kevans: why is FreeBSD changing everything on us ? I’ve installed FreeBSD about 20 times and it just works 02:59:42 ? 03:02:20 kevans: cool, ty 03:17:50 SponiX: Also: cool, ty 03:23:52 In FreeBSD.conf I’m going to change it to latest .. how do I change the kmod part to latest ? 03:26:04 looking at the two files I linked to, it would seem you can just s/quarterly/latest/g and be happy 03:27:23 Ok 03:56:48 I would have chosen "Kernel ABI compatibility" as the way forward. That would have been the right way to fix the problem. 03:58:30 Hm, so, asking for "drm-kmod" appears to want to give me the same old drm-kmod, despite the kmod repo. Is there some trick? 03:59:53 upgrade: pkg upgrade -r FreeBSD-kmods" 04:01:13 tuaris: you're welcome to try and provide the Q/A necessary to get there 04:02:05 if it were an easy problem to solve for the modules that commonly have problems then we would've just done that 04:06:21 mzar: TIL, ty 04:18:22 rwp: fixed it https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287069#c11 04:22:58 Woot! 11:01:00 sup y'all? 12:28:58 If I want to 3d-print stuff from FreeBSD what do I need Freecad, and another program to convert models to gcode-format ?.. does someone know any good program for that? 13:44:23 nwe: I haven't 3d printed in a while, but we have cad/cura for slicing that worked pretty well last time I used it 14:15:23 * |cos| is of the experience that "all" of the slicers are pretty much win32/macOS/Linux only. One can perhaps get something working with huge effort, but that kind of software typically doesn't even merge bugfixes. 14:16:18 * |cos| would love to be proven wrong, but my experience has not been a walk in the park so I've always reverted to slice on some other machine. 14:22:00 odd, I don't recall putting in *that* much effort to tweak it for my machine 14:22:12 pretty much just worked 14:22:42 find a relatively close profile, twiddle there fiddle over here 15:16:29 I'm having a network routing issue with a bhyve VM, but I'm not certain it's a bhyve-specific issue. I have two NICs on the host, and I made a second virtual NIC to attach the secondary one to the VM. The problem is that return traffic is not making it back to the VM. If I use tcpdump, I can see what's happening: the traffic reaches the target, the target does an ARP query to get the ethernet 15:16:31 address of the VM's virtual NIC, then it sends a reply as expected. However, on the VM host, I can't see the ping reply packet in tcpdump, and I suspect this is because the hardware MAC address differs from the VM's, so it's ignoring it. What I don't understand is why this isn't a problem with the primary NIC which is working fine. The secondary NIC is different hardware, and I had to install a 15:16:33 kmod to get it to work, so my current suspicion is that this may be a hardware or driver limitation, but I am inexperienced in these things. Any ideas? 15:19:10 Zerock: does it work if you enable promiscuous mode on the second nic? e.g. ifconfig ix1 promisc 15:19:21 let's see 15:20:01 no 15:20:20 how did you attach the nic to the bhyve vm? 15:21:28 I'm using vm-bhyve. I made a virtual switch for the secondary NIC and attached that switch to the VM. 15:21:55 ah, then it created a bridge for you. if you run tcpdump on the bridge, do you see the expected traffic? 15:23:08 annoying that atf-c++ doesn't support std::wstring in ATF_REQUIRE_EQ... 15:23:31 looks the same as tcpdump on the real nic 15:23:55 I see the ping requests going out as well as some ARP queries from the VM 15:24:08 Zerock: okay, then you should have a tap interface in the bridge, which is the VM's NIC, what does tcpdump on the tap show? 15:25:18 hmm.. on the tap I'm only seeing those ARP queries, not the ping requests 15:25:39 that may be a coincidence though; it is inconsistent when I see the ping requests on the real nic also 15:26:08 hm, if you (sometimes) don't see the reply on the real nic that suggests the problem is in the nic itself or in the network 15:26:29 what hardware is the second nic? 15:28:13 AQtion AQC107 NBase-T/IEEE 802.3an Ethernet Controller [Atlantic 10G] 15:28:35 do you happen to have another NIC you could install temporary to see if it's a problem with the hardware/driver? 15:28:49 I don't think so 15:29:14 i feel like buying a $10 ix(4) off ebay may be the easiest way to test this, especially if your existing nic works 15:29:27 yeah that's not a terrible idea 15:31:53 oh, I just noticed 15:32:01 hm, if you (sometimes) don't see the reply on the real nic 15:32:15 I *never* see the reply on the real NIC. Only sometimes I see the *request* 15:32:34 I can only see the reply if I tcpdump the nic on the *target* machine 15:32:38 that's definitely a NIC problem, i would say. it sounds like perhaps the driver is not honouring the PROMISC flag correctly 15:32:54 (bridge(4) sets PROMISC on every member interface so it can receive traffic for other MAC addresses) 15:33:02 right, that stands to reason 16:19:04 Does FreeBSD have a poweroff option ? I do shutdown -h now but it leaves my laptop on 16:19:19 oxbar: `shutdown -p now` or `poweroff` 16:19:59 Nice 17:14:53 i added a port for the ACME client i wrote, in case anyone is interested: https://cgit.freebsd.org/ports/commit/?id=4c913ef6e182a4505171518025cc855b593cd498 17:48:06 anyone seen this https://dpaste.org/dk3Uo im trying to get audio working 17:49:20 /dev/sndstat and dmesg |grep pcm show things like normal 17:50:46 also https://://dpaste.org/8JXPN 17:54:54 oops https://dpaste.org/ZmJ8O 18:16:37 oxbar: does freebsd seem useful ? 18:40:29 kevans: is cura in ports or? 18:40:47 nwe: cad/cura 18:40:58 ivy: ah thanks! 18:41:10 pkg install cad/cura 18:42:31 my 3d-printer will arrive in a couple of weeks so :P 18:49:34 mzar: i realized in freebsd it works or it dosen't lol 18:49:37 no grey area 18:49:59 nice conclusion 18:50:20 FreeBSD is not any shady OS 18:51:33 also another question regarding laptop lid/close and dont set computer while external monitor is connected.. Are guys using devd with custom script to detecd if external monitor is connected? 18:51:58 mzar: are you sure? who is CSRG, really? and i heard they'll let just about anyone have a commit bit 18:58:48 the guys at CSRG have not had much work lately, mining jobs are getting safer 19:06:51 if you think that they sometimes rush out to hand out commit bits to keep the average age and gender parity, that's your opinion. I know that old committers are still active, and can spot them on the mailing lists https://lists.freebsd.org/archives/freebsd-hackers/2025-June/004610.html 19:12:04 uh, "age and gender parity"? that was supposed to be a self-deprecating joke, not some sort of sociopolitical commentary 19:12:55 ha.. same here 19:13:55 we can only joke here, the OS is rock solid, so people no longer seek for support and channel is idling 19:15:51 Oh, I can help with that... I'm trying to build tensorflow on 14.3... which is unsupported on so many levels. 19:16:12 Already getting the _build system_ to _build_ on FreeBSD is a quest 19:16:33 what's a tensorflow 19:19:54 ivy: OSS "machine learning". 19:22:28 Grody. After finishing all 3647 files to be built in order to get the build system... it fails. :°) 19:52:54 I have some zfs filesystems when I do get for properties many have values of YES or NO but the values field list on | off as values, I find that interesting