04:30:29 Hi all, I am coming across a tough issue. I will understand if you tell me to RTFM. 04:31:25 I have compiled a custom kernel for the first time, no problem booting but I am not able to use X due to i915kms module failing to load. I have determined it's probably because I have been using the pkg of said module and need to build the port. 04:31:55 When building the port I get a OS version mismatch. Should I just mangle the code checking for osversion or is there an easy way around this? 04:33:04 can you paste the output somewhere 04:33:36 mfro: did you rebuild the port after building the kernel? 04:33:42 you'll need to do that 04:34:30 I cannot paste it due to being on tty but simplified: bsd.port.mk UNAME and OSVERSION do not agree on major version number 04:34:36 is what I get when running make for drm-515-kmod 04:34:42 dont disable version checking, its going to use the wrong headers and some structs wont match up between x and the module, probably a crash 04:35:22 did you update the kernelsources it's using? 04:36:41 no... not sure how that is done. Maybe I should have just rtfm lol. 04:37:10 I don't even know which M you would be RTF'ing 04:38:29 https://forums.freebsd.org/threads/updating-kmod-ports-procedure.96021/ ? 04:38:52 sorry not at a freebsd machine rn but hope it helps 04:41:28 I don't think that applies to me unfortunately, since my version number simply doesn't match anything the port expects it refuses to build 04:42:09 at least I believe that's what's happening. 04:42:16 do you know any amount of make? see where it gets OSVERSION from and why they don't match. 04:42:34 i assume UNAME is the correct expected version 04:43:41 oh you know what, it isn't the makefile complaining, it's make 04:43:57 uname is 15.0-CURRENT which I assume it shouldn't be for a custom kernel. 04:44:19 what did you name the kernel? 04:44:27 MYKERNEL, lol 04:44:47 mmm dunno if you're running what you think then... 04:45:08 it does list the custom kernel path in the uname. but it says 15.0-CURRENT beforehand 04:45:12 did you try shutting it off and turning it on again? 04:45:49 lol. yeah, I'm fairly certain I'm booted into the custom kernel 04:45:59 generic actually worked fine. 04:46:26 then what's OSVERSION? 04:46:42 1402000 04:46:49 well 04:47:03 where does the port get OSVERSION from 04:52:27 mfro: I recommend using the LOCAL_MODULES support if you're going to build a custom kernel 04:53:14 mfro: if you clone the drm-kmod repo to /usr/local/sys/modules/drm-kmod (for instance), buildkernel & installkernel will build it as a tied kmod and install it 04:54:26 oh man i scared them off trying to give advice 04:55:34 Whoops. Think I suspended by accident 04:58:02 mfro: it sounds like you didn't properly update to 15-current 04:58:18 follow the steps in the handbook again, then build the port 04:59:33 well, I'm not updating to 15-current, right? I am just building a custom kernel. Or do I need to buildworld for 15-current stuff? 05:00:02 if it says 15-current then you've updated to 15-current 05:00:28 you probably didn't pick the right branch or tag when you checked out the /usr/src 05:03:48 ah. I see. I did in fact use the CURRENT tree, because I didn't read the addendum to the 'using git' page 05:05:18 so am I understanding correctly that my userland stuff is 15-current whereas the osversion is supposed to be stable based on what I originally installed and built the kernel on? 05:12:37 sorry, last question, does releng branch correspond to release src? 07:52:18 TIL yet again that I need XAUTHORITY defined. 08:14:40 I have a laptop that occasionally docks onto a dock. Both the laptop and the dock have a 1TB drive. Could I make the dock's drive mirror the laptop's drive, but the laptop should keep working if I remove the dock? Thanks! 08:14:49 Note: "Drive" refers to SSD 08:18:17 1). i think you're asking too much for an OS without OEM support 08:18:20 I suppose it depends on your setup, but if you're using ZFS, you could certainly snapshot and send to the dock drive . 08:18:39 2). maybe, it really depends on what kind of device the "drive" is. 08:21:21 I'm relatively new to ZFS, but I am considering it, yes 08:22:08 ... I could try to attack the dock's disk as a mirror to an existing zpool created on the internal drive... not sure what exactly happens when I unplug or plug the dock's drive 08:23:45 not sure if resilvering is automatic 08:26:01 ek: Actually, hm. I mainly use the dock's drive as a sort of backup drive so perhaps snapshotting makes more sense... 08:26:49 runxiyu: A mirror would not be a good idea. Problem central. 08:27:17 But, you could likely set up some sort of snapshot job if/when the dock drive is connected to make snapshots. 08:28:15 Of course, that would require an initial snapshot and transfer of some magnitude. But, after that, it should be pretty smooth sailing. 08:28:54 ek: Actually, hm. I mainly use the dock's drive as a sort of backup drive so perhaps snapshotting makes more sense... 08:28:56 err sry 08:29:05 got it, thx! 08:29:15 A simple cron job that run if /dev/whatever exists should do the trick. 08:30:08 Snapshot every hour (or whatever you choose) if the dock drive exists. 08:31:36 Or, you could send/recv local snapshots to the external drive when it's connected. 09:17:59 anybody does work pkg 2.0 now? 09:19:44 i did #pkg update -f #pkg upgrade #pkg autoremove -y #pkg clean -a and now does work properly. 12:44:12 Is there a documented process of manually installing FreeBSD? 12:51:27 runxiyu: https://forums.freebsd.org/threads/installing-freebsd-manually-no-installer.63201/ 12:51:44 I found this article from DDG 12:52:28 Thanks! 12:52:55 Another question, what does the "Encrypt Disks" option do in the FreeBSD installer? It seems to... make my SeaBIOS ask for a password before booting into any disk??? 12:55:14 <|cos|> runxiyu: geli(8) might hold the answer to that one, i hope 13:05:01 thanks 13:17:47 trying to boot into the installer, asks for disk0 geli password three times; if i fail to provide a password it simply continues 13:20:53 100% resilient to human failures 13:23:39 my point was that it shouldn't ask for my disk0 password when i'm booting from installation medium 13:25:55 Potential bug in the installer: It doesn't ask for PSKs, for WPA2 networks whose SSID include Chinese characters 13:37:21 is it serious flaw ? 13:39:01 Serious to the extent that I couldn't install my system over WiFi 13:40:10 ha.. you have to fix your wlan to make FreeBSD compatible pall 13:40:33 hello tsoome 13:41:17 I ended up setting up a Linux machine as a NAT, and connected them wired 13:41:39 My WLAN is not broken, FreeBSD's installer is broken for exhibiting odd behavior on encountering non-ASCII SSIDs 13:41:41 I am provoking, just asking, could it be ever possible to boot from encrypted zpool (encrypted in native to ZFS way) 13:42:10 you are escalating runxiyu 13:43:44 hi 13:44:38 mzar sure, it depends on few things of course, but I can boot illumos from encrypted zpool;) 13:49:16 great, thank you for the answer tsoome and have a nice evening 14:02:15 what's the default value for kern.vt if i don't set it in loader.conf? 14:02:31 i set it to vty and now everything with the display breaks 14:07:36 Hm. I used to be their customer (still am, but only for 2 tiny servers), and it's been a while since I've had dedicated ... does anyone have any comments on Hetzner? I've been hearing numerious rumours about them just canceling entire accounts with no warning (which especially came to the forefront with the Kiwix situation) 14:07:48 I'm looking to move my server to a new host, and deciding between a few >_< 14:21:13 I saw the link of ghodawalaaman earlier. Is that the recommended way of co-installing FreeBSD next to Linux as well? I canโ€™t install a second SSD so a partition must make due 14:23:50 how do I get freebsd to use kms... intel integrated gpu here 15:34:45 I think I understand why I can have pkg-2.0.0 installed but it's not in my repo. If I'm following `latest` for 14.x, then pkg will download from https://pkg.freebsd.org/FreeBSD:14:amd64/latest/Latest/pkg.pkg and install that - that's where I get it from... 15:39:16 dvl: 2.0.0 is buggy 15:39:29 please install 2.0.3 15:39:47 mzar: that's not my point.... 15:39:55 mzar: but thanks, I have 2.0.3 15:40:04 (which in my story, is also not in the repo) 15:40:30 ha.. I have it in the repo, all built fine 15:41:20 mzar: I build my own repo. That's not my point. I am trying to learn more about pkg / confirm a theory. https://github.com/freshPorts/freshports/issues/615 15:42:00 it looks like fresh breakage 15:42:11 what does? 15:42:49 15 hours ago 15:43:50 I do not think it is breakage. 15:46:02 I think my theory may be broken. I just updated pkg from 1.x to 2.2 and Latest was not used - https://github.com/FreshPorts/freshports/issues/615#issuecomment-2614475523 18:21:36 I'm using headscale and when I use it without -c option in CLI, it always shows github.com/juanfont/headscale/cmd/headscale/cli/root.go:49 > Error loading config error="fatal error reading config file: Config File \"config\" Not Found in \"[/etc/headscale /root/.headscale /usr/local/etc]\"" This error 18:22:00 I think /usr/local/etc/headscale should be added in the root.go file 18:22:21 I guess it can be fixed in upstream but it would be better to fix it in freebsd size 18:22:25 side* 18:31:30 and how can I find a log for headscale? 18:53:46 OctopusET: it would be wrong for upstream, /usr/local purity is more of an us-thing 18:53:56 but you're right, /etc/headscale should go away in favor of $LOCALBASE/etc/headscale 21:40:58 Hello - does anyone know the official enlightenment desktop chatroom 21:47:51 ooo man enlightenment.... 22:03:36 acu: enlightement? ๐Ÿค” 22:07:41 thanks tyler82 I found it #e 22:09:47 acu: ok. i have on sxc FreeBSD & DesktopEnvironment group btw. The group is currently on approval phase but once will be available on public repositories u can ask there as well somebody might help u. 22:14:59 thanks tyler82: I just found https://www.enlightenment.org/news/2025-01-11-enlightenment-0.27.0 22:15:11 acu: ok 22:15:19 obviously I need to wait a bit for https://www.freshports.org/x11-wm/enlightenment 22:27:00 tyler82: so where is this group for desktop ? 22:27:47 acu: are u on sxc? its not on irc 22:31:09 tyler82, I do not know what sxc is - is this another platform I do not know about ? 22:32:17 acu: Ahm.....Yes ๐Ÿ˜ https://github.com/simplex-chat/simplex-chat