00:50:56 how is it that a fully updated host and fully updated jail could have different "uname -U" values (FreeBSD version of the user environment)? host: 1401000, jail: 1400097. Both are 14.1Rp5. 01:01:08 freebsd-update -b /path/to/jail --currently-running 14.0-RELEASE-p0 -r 14.1-RELEASE upgrade ... that seems to have resolved it ... still not quite sure how i got in that state to begin with 02:36:52 markmcb: all kernels updated, jails rebooted? 02:37:28 rtprio, yes, it was fully up to date and the whole system rebooted 02:38:25 the command above fixed it 03:21:04 markmcb: oh, uh, the 'user' version is hard coded into the binary itself, IIRC; so yeah, that would also need updated 04:19:54 Hi, I am getting this: client_loop: send disconnect: Broken pipe after a few minutes while getting connected through ssh to a jail, any help is welcomed. I have tried to configure .ssh/config TCPKeepAlive Yes and ServiceAliveInterval 20 04:20:47 traceroute 04:26:29 how is your jail networkng set up? 04:32:26 I will prepare a pastebin 04:32:32 thanks duskmoss 04:32:43 np 04:33:07 I have an idea, but we'll have to see if it's even relevant in a minute 04:36:16 https://bpa.st/LZ24C 04:37:23 let me know if you want to see any other config file or output 04:38:05 ah yes, heres the issue. 04:38:09 the timeout does not happen when ssh'ing the host itself 04:38:41 when using an interface as the upstream for a bridge, the IP of the host should be set on the bridge, not the interface. 04:39:01 weird routing occurs otherwise. It mentions this somewhere in the docs, I'll see if I can recall where. 04:39:49 it also looks like you're setting the same ip on the bridge and assigning it to the jail, so you've got double weirdness 04:42:36 I have followed section 17.5.3 of the handbook https://docs.freebsd.org/en/books/handbook/jails/ 04:42:55 I double checked and unless I missed something everything seems consistent, could you please elaborate on that two issues 04:43:04 https://docs.freebsd.org/en/books/handbook/advanced-networking/#_enabling_the_bridge yes, here. "If the bridge host needs an IP address, set it on the bridge interface, not on the member interfaces. The address can be set statically or via DHCP. " 04:43:45 you misunderstood the ip to assign to the bridge. you don't assign the ip of the jail to the bridge, because the bridge can have many jails attached. 04:43:50 you assign the ip of the host. 04:43:54 what is the bridge host here. I have the host and the jail, the bridge host is the host? 04:44:17 so you do not create one bridge per jail? I am aiming one jail = one static ip 04:44:21 so you need to remove `ifconfig_igb1="inet 172.16.10.20 netmask 255.255.255.0"` 04:44:59 and change `ifconfig_bridge23="inet 172.16.10.23/24 addm igb1 up"` needs to have the host IP 04:45:11 ok understood 04:45:13 no a bridge is like a virtualized switch, you don't need one switch per computer 04:45:39 ok understood, so I attach all jails to the same bridge 04:45:43 yep! 04:46:03 most of the conf file can be shared. I'll make a pastebin real quick as an example of how 04:47:01 I think I know how to do it 04:47:03 I am changing it now 04:47:30 now it actually makes much more sense 04:47:52 yay! 04:49:35 that is why I was freaking out with "bridge0", as I thought it was one bridge per jail so I named it "bridge23" (ip .23) 04:50:03 https://bpa.st/ORPCU this is how I have mine set up to make it easy to add new jails. I have quite a few, but just included two to make it quick. Any settings in the { } block override settings at the beginning for that jail, so you can use it as a template even when things need to be different 04:50:22 yeah, the epair does need to have a unique name, I use the epair in mine, but just one bridge 04:51:40 I see. now it all makes sense 04:57:02 I am booting the server, first without booting up jails 04:59:29 *fingers crossed* 05:00:18 so when I do the ifconfig, now I see the HOST IP associated to bridge0 05:00:23 and the igb1 has no IP 05:00:35 but when I ping the HOST IP from my workstation I can not reach it 05:01:09 I have verified the entry in /etc/rc.conf and it is fine (I just replaced bridge23 with bridge0) 05:02:17 I have reorder the entries in /etc/rc.conf as per the handbook 05:02:20 just in case it matters 05:02:26 I am rebooting now 05:03:58 as a side thing I see from your code that you delay /etc/rc until the end, that explains why sshd was never boot up in the jail 05:06:24 uskerine, The variables get set in rc.conf and there is no ordering to setting those variables. It's declarative rather than procedural. All of the variables get set. And then actions do one thing or another thing based upon those settings. 05:07:19 now I have no network on the host, I see the ifconfig and everything seems in place. bridge0 created with igb1 as memeber, bridge0 contains the IP with the right netmask, netstat -r shows the right routing (although I am testing in the same LAN) 05:07:25 but I can not ping the HOST or ping from the HOST 05:07:34 it seems that bridge0 can not be reached 05:07:46 ordering does matter for somethings 05:07:46 the IP of the HOST is assigned to LO 05:08:00 lo0 05:08:12 while doing ifconfig, but I see assigned to bridge0 with ifconfig 05:08:31 hmm. one sec looking at your pastebin again 05:08:33 (forget that, I see in the workstation that it is the normal way) 05:08:55 I am not booting up any jail 05:09:03 just trying to get connectivty with the host as first step 05:10:31 I think you need to have ifconfig_igb1=up somewhere 05:10:51 mine ifconfig_igb0="up" 05:10:52 ifconfig_bridge0="addm igb0 SYNCDHCP" 05:10:52 you mean in /etc/rc.conf 05:10:56 yes 05:11:07 why DHCP 05:11:26 because I'm using dhcp, you're using static, but the member interface still needs to be set up 05:11:29 ah ok 05:11:34 I am adding that 05:11:47 if you do ifconfig igb1 up from the cli right now does it make the host reachable? 05:12:27 well I just reboot the whole thing 05:12:31 will take a couple of minutes 05:12:41 ok 05:12:53 hopefully just comes up with connectvity 05:19:06 hows it looking? 05:19:16 now it works 05:19:19 yay :) 05:19:25 I will try to launch the jail now 05:21:23 the jail can be accessed 05:21:36 I opened a ssh session and will wait a while to see if problem persists 05:21:48 thank you very much for your patiente duskmoss this was really helpful 05:22:01 you're welcome 05:22:04 I will save the config in github, this is essentially I need from jails in the near future 05:22:13 what* 05:25:32 glad it was helpful. The moving the rc to after was something I had to figure out myself when some of my jails weren't coming up how I expected. Maybe should try and get it updated in the handbook, but haven't yet 05:26:38 I think that would be good. I did not understood why sshd was not being launched automatically 05:27:24 yeah I don't have ssh in my jails, but I had some other service that failed to launch if it didn't have networking when rc ran 05:28:13 okay, I'm headed off for the night, glhf 05:28:24 thanks duskmoss 05:40:37 Hello, everyone. Has anyone experienced issues with 'mfiutil' breaking builds when building the world? I'm trying to build the world with CTF and 'DEBUG=-g1', but it causes a debug section in this program to get compiled in and break the build in the process. I am using metamode if that has anything to do with it. 05:40:37 Building /usr/obj/usr/src/arm64.aarch64/usr.sbin/mfiutil/mfi_config.o 05:40:37 /usr/src/usr.sbin/mfiutil/mfi_config.c:1258:57: error: use of undeclared identifier 'mfi_unit' 05:40:37 1258 | snprintf(buf, sizeof(buf), "dev.mfi.%d.debug_command", mfi_unit); 05:40:37 | ^ 05:40:38 1 error generated. 05:40:38 *** Error code 1 06:04:31 that is to control the RAID unit, right Mechami? 06:08:36 @uskerine I believe so; however, I'm not using a RAID controller and don't need the functionality in this particular build. 06:36:12 why is it being build then for? 07:18:11 https://unix.stackexchange.com/questions/784203/how-do-you-disable-xauth-in-x11-cde 07:38:15 uskerine: I don't know; I didn't enable it. I think it's just part of the default build configuration. I don't see an option to exclude it in `src.conf`. 07:48:46 Mechami: I was just curious, I understand now you are building the entire FreeBSD from source 07:58:51 so what is this exactly? Why Firefox is opening so many ports? seems that they are listrening ports, right? https://bpa.st/MWYG6 07:59:22 this is the output of sockstat -4 -l 08:41:47 when you put xdm_enable="YES" in /etc/rc.conf, how does rc know what to do? 09:25:23 https://freebsdfoundation.org/blog/why-laptop-support-why-now-freebsds-strategic-move-toward-broader-adoption/?utm_content=309749431&utm_medium=social&utm_source=facebook&hss_channel=fbp-102507223153209 09:25:30 fantastic! 12:37:19 https://freebsdfoundation.org/blog/why-laptop-support-why-now-freebsds-strategic-move-toward-broader-adoption/ is the link without tracking, just for good measure :) 12:38:18 and yeah, it's pretty fantastic news - especially that framework is involved 12:38:34 framework and amd, no less 12:38:50 if my t480s ever stops working, i'm definitely going amd-based framework 14:33:11 Really great news. My T480 already knows FreeBSD, but better support for laptops means openness to the desktop world in general. 14:33:38 Which is very good. 14:46:09 i Guys I have QCA9377 802.11ac Wireless Network Adapter, I'm unable to configure it, can you guys point me to tutorial that can assist me. I have installed wifi-firmware-ath10k-kmod-qca9377_hw10-20240513 and I'm unable to kldload ath10k. 14:46:44 your suggestions would be appreciated & thanks in advance ! 14:56:14 its not going to make it to the desktop 15:08:01 i Guys I have QCA9377 802.11ac Wireless Network Adapter, I'm unable to configure it, can you guys point me to tutorial that can assist me. I have installed wifi-firmware-ath10k-kmod-qca9377_hw10-20240513 and I'm unable to kldload ath10k. 15:08:04 your suggestions would be appreciated & thanks in advance ! 15:11:55 it's 1am time for me to crash. gnight. i'll follow up in 12 hours 15:12:37 dont 15:13:07 DETHROLL: ? don't, why 15:13:31 if it dont work it aint gonna 15:13:58 was this aimed a t me "its not going to make it to the desktop" ? 15:14:26 fbsd wont make it 15:14:55 me or the wifi card? 15:15:15 get a USB adapter 15:15:47 thatswhat i'm using, but this one sticks out to far on the laptop 15:16:26 use that one 15:25:24 I fogot, I have a RTS5229 19:17:19 run sysctl -n net.wlan.devices 19:17:35 what do you see ? 19:17:50 sorry gotta run driving 20:30:22 Please don't drive and IRC. 20:43:22 typical Berkeley attitude 20:44:07 yal shit dont work 20:48:57 Trolls really aren't what they once were. 20:50:01 yeah... low effort trolling these days 20:52:27 Hey everyone! I’m trying to install FreeBSD on a MacPro 5.1 with an AMD RX580, but I’ve run into an issue after installing the system. When I launch glxinfo in the XORG session, I get the following error: "amdgpu: os_same_file_description couldn't determine if two DRM fds reference the same file description. If they do, bad things may happen!" Has anyone come across this issue or can give me some pointers? 20:52:27 I’d appreciate any advice on how to proceed. Thanks in advance! :) 20:57:04 https://github.com/freebsd/drm-kmod/issues/21 might be worth reading 20:58:19 What version of FreeBSD are you using? It's sounding like it's not implemented kcmp. 20:59:03 Also, did you follow the handbooks guide on setting up things? 21:01:27 Thanks for the quick reply! I’ve already read that discussion. The issue is that 21:01:27 I’m on FreeBSD 14.1-RELEASE. If I install the drm-kmod port, it works but I get: 21:01:27 amdgpu: os_same_file_description couldn't determine if two DRM fds reference the 21:01:27 same file description. If they do, bad things may happen! 21:01:30 When I try installing the package, I hit a “vm_fault_lookup” error saying it 21:01:33 can’t unlock the DRM and the system reboots. Any advice on how to resolve this? 21:01:36 Thanks again! 21:04:23 I'd suggest trying to build drm-kmod from ports to get debugging symbols (see ports(7) example 6), and grabbing kernel-dbg.txz for 14.1-RELEASE, then ensuring you have swap and dumpdev configured in rc.conf. 21:05:01 That should give you the ability to debug things using kgdb, or at least get a proper backtrace to see where the error is. 21:07:24 Ok, I'm gona try to install from the latest git commit drm-kmod 21:10:57 Is it ok that kgdb said: 'the debug information found in "/usr/lib/debug//boot/kernel/kernel.debug" does not match "/boot/kernel/kernel" (CRC mismatch) ?? 21:12:59 I'm not actually sure 21:15:22 Could I ask you to guide me on a fresh install? I’m gonna wipe this mess and reinstall. Thanks in advance for your help! 21:15:42 There's a whole handbook for this.. 21:17:03 I have followed the guide to the letter more than once, but if I use pkg I go into kernel dump. If I install the port instead I have that mistake, I don't know what to do. 21:17:55 I think you're panic(9)ing your system because unloading the DRM subsystem is fraught with issues. 21:18:33 If you stop it from loading automatically (that'll depend on how you configured it to load automatically), you should be able to intervene and do whatever it is you want at that point. 21:20:02 I go into kernel panic and run startx. The framebuffer is changed correctly. I can only use the shell though 21:20:10 I don't have the energy to sit here and guide people through stuff, and it's almost midnight so even if I did I'm not likely to want to do it at this point.. 21:21:27 Okay, don't worry. Thank you for your help