-
SponiX
Anyone wrote a LOT of data to a Linux ZFS array, and then hooked it up to a FreeBSD machine and imported that pool?
-
antranigv
I am confused, what am I doing wrong? I get "dtrace: failed to control pid 37689: process exited with status 1" when doing dtrace -l -n 'pid$target:::entry' -c 'myprogram'
-
antranigv
SponiX I have yes, why? around 40TB.
-
SponiX
antranigv: Is it pretty straight forward? Just make the ZFS Filesystem on Linux, put data on it, export it, and then hook the drives up to the FreeBSD machine and import the pool = Profit?
-
wokko
Hey guys, using "TARGET=amd64" in "make buildworld" just build that target?
-
la_mettrie
yes, it doesn't build codes specific for other architecures (than amd64) then
-
wokko
la_mettrie: cheers mate
-
LXGHTNXNG
SponiX: Can you expound? It should Just Work, as long as the feature flags are supported on the Linux in question.
-
wokko
How do we rebuild the kernel modules? I have an issue with dmesg saying "It can't load i915kms becos of unsupported file type"
-
luser
(cd /usr/src && make -s kernel)
-
wokko
luser: cheers, give it a go
-
luser
If it still errors you might need to (cd /usr/ports/graphics/drm-kmod && make install clean clean-depends)
-
wokko
-
mzar
wokko: "pkg upgrade -r FreeBSD-kmods" will fix the issue
-
mzar
we need this command in topic: "pkg upgrade -r FreeBSD-kmods" will fix i915kms issues after upgrade to 14.3-R
-
wokko
mzar: I downloaded to drm-66-kmod in ports and magically fixed the issue :)
-
mzar
OK
-
thedaemon
is drm-66-kmod working in 14.3?
-
wokko
It's for >15
-
thedaemon
yeah that's what I thought
-
mzar
thedaemon: not supported on older than 1500031, no kernel support
-
thedaemon
just still having drm-61 system freezes :(
-
wokko
drm-kmod has been working for a long time until today after an upgrade
-
mzar
thedaemon: is it amd ?
-
thedaemon
amd 6750xt
-
mzar
upgrade to 14.3, it's fixed
-
thedaemon
I am on 14.3
-
thedaemon
:(
-
thedaemon
Mine is still not fixed.
-
mzar
so you need new pkg
-
thedaemon
I understand, I am not a newbie :) I built from updated port just to be safe
-
mzar
upgrade: pkg upgrade -r FreeBSD-kmods"
-
mzar
thedaemon: OK, so your issue hasn't been fixed, but problem with memory fragmentation on amdgpu is fixed in 14.3
-
thedaemon
that's great!
-
thedaemon
Do you know if any fixes have happened 61 vs 66 ?
-
mzar
I don't know, I am using 66 on old radeon GPU and it just works
-
thedaemon
okay :)
-
thedaemon
I'm running this version drm-61-kmod 6.1.128.1403000_4
-
thedaemon
looks like 1403 means it's built for 14.3
-
thedaemon
-
thedaemon
My bug report
-
mzar
ha.. old one
-
thedaemon
yeah it plagues me
-
SponiX
thedaemon: you get your shit together yet?
-
thedaemon
haha no
-
thedaemon
I keep on falling in and out, of love, with drm.
-
SponiX
chances are you just need to pull the latest version of /usr/ports and then go to graphics/drm-61-kmod and build it from source
-
SponiX
it should WORK then
-
SponiX
I know there is a kmod repo now, but I've yet to use that. So not 100% sure how reliable it is
-
thedaemon
SponiX: I did that :P
-
thedaemon
it hates my particular gpu I think
-
SponiX
I blame Microsoft
-
SponiX
thedaemon: did you make sure to have xf86-video-amdgpu installed also?
-
SponiX
If not, do that and try again
-
thedaemon
but why? lol
-
thedaemon
I have navi22
-
burie
How do I get route metric. netstat -rn doesn't show it
-
burie
ifconfig has it for each interface
-
Linkoid01
Hello all, I have a question: does running the Linux Compatibility mode after installing linux_base-c7 use up a lot of resources? I want to be able to use Visual Studio Code to edit files on my FreeBSD server, and cannot do that unless I get this compatibility layer in, however, the machine is not quite a beefy machine. So am worried if this would
-
Linkoid01
have a significant impact on RAM.
-
ivy
Linkoid01: the only resources used (other than some kernel bookkeeping data) are the resources used by the Linux program(s) that are running. that includes glibc and any other libraries it needs. also, i think there's a native version of VS Code in ports
-
Linkoid01
I see. I am on a windows machine; I am aware that there is VS Code in ports but it does not help me connect to FreeBSD machines via VS Code
-
Linkoid01
would I need to enable the same compatibility mode in each jail that I run in order to get VS Code to work on each jail?
-
jmnbtslsQE
burie: `route -n get $route` . ifconfig metric is something else
-
antranigv
Linkoid01 I think there's VSCode in ports.
-
antranigv
Last Update: 2025-06-14 06:20:19
-
antranigv
Linkoid01 you can do `pkg install vscode`
-
Linkoid01
I'm on a windows machine, how does VS Code help me in ports?
-
Linkoid01
All I want to do is ssh to the machine like a regular linux machine and be able to edit my files that way
-
antranigv
Linkoid01 I think I misunderstood your question :-) I thought you wanted VSCode ON FreeBSD.
-
Linkoid01
okay, no worries
-
antranigv
Ohhh. that's the VSCode SSH Agent thingie, right?
-
Linkoid01
yes, Remote - SSH
-
Linkoid01
it's a wonderful tool
-
ivy
do you know what vscode actually does? i.e., is it trying to upload and run a Linux executable?
-
ek_
Yeah. VSCode is kind of stupid when it comes to remote edits. It checks the remote OS and determines whether or not it's supported.
-
ek_
-
ivy
maybe sshfs (or whatever the Windows equivalent is) would be an easier solution, or at least less fragile
-
ivy
ek: perhaps the new RL9 packages would fix that particular issue
-
ek
ivy: It looks like it requires Linux's BASH to run (again, kinda stupid).
-
ek
I'd imagine any linux compat would work.
-
Linkoid01
yes, I am aware. My first question is: Does running the linux compatibility take up a lot of resources? this is a 16GB memory machine with a very low powered CPU.
-
ek
Linkoid01: Nope. You won't even notice it at all.
-
Linkoid01
And do I need to enable the same for each jail?
-
Linkoid01
Ok, great to hear that ek
-
ek
For anything you'd be connecting to with VSCode, it'll need access to that compat bash. So, you can either mount that compat area to each jail, or install the compat on each jail. I'd think the first would be quickest, easiest, and smallest footprint.
-
ek
At least, I'd think that should work. I've very rarely used linux_compat and never used VSCode.
-
ek
Linkoid01: If you use RL9 linux compat, this looks interesting:
github.com/morganwdavis/vscode-server-freebsd
-
antranigv
hey Linkoid01 , did you find a solution?
-
antranigv
I am getting: KLD i915kms.ko: depends on kernel - not available or version mismatch ; any tips?
-
antranigv
I'm on 15-CURRENT
-
antranigv
and drm-kmod compiled from ports