-
kerneldove
how can i profile a rust binary to see where it's doing its work? for optimizing
-
kerneldove
does valgrind run breddy good on freebsd?
-
jozan
i didnt have any problem with it
-
rtprio
kerneldove: that's more of a rust question than a freebsd one
-
Hund
Where is the global zshenv file located in FreeBSD?
-
ivy
Hund: /usr/local/etc/zshenv, unless you selected the option when building shells/zsh to put it in /etc
-
luke_sb
it's usually user-bounded
-
luke_sb
csh is set for root and i personally don't like touch that
-
luke_sb
just do all in csh in case of root
-
ivy
root's shell has been /bin/sh since 13.0
-
ivy
although if you want to keep it as /bin/csh, that's obviously fine
-
luke_sb
why have i done in csh
-
Hund
ivy: Hm. I must have done some sort of typo. I tried that path, but it didn't work, and now.. it works. :D
-
luke_sb
oh 13
-
Hund
I never change the shell for root. :)
-
luke_sb
(proud)
-
roccosano
is it possible to set epoch date on /usr/src/release/amd64/mkisoimages.sh ?
-
Arceus
Hey!
-
Arceus
I want to run a secure and private system
-
Arceus
I was thinking about using FreeBSD as my main OS and then virtualizing Arch and Windows, where I could do my main work
-
Arceus
anyone have experience with virtualizing Arch on FreeBSD? Is it stable enough?
-
rtprio
not sure how running a secure, private system with a windows vm keeps it secure and private
-
rtprio
but i've virtualized both linux and windows using bhyve and both were exceedingly stable
-
Arceus
Well by virtualising Windows I would sandbox it in a way right?
-
Arceus
And especially on a FreeBSD system, where additionally (if I am not mistaken, I am a complete FreeBSD newbie so correct me if I am wrong) everything is containerised with jails
-
Arceus
I need to use Windows for work at times since I work in automation and a majority of the software runs on Windows
-
rtprio
no, everything is not containerized in jails, unless you containerize it in jails or other means
-
rtprio
how do you plan on connecting to this windows? rdp? perhaps you should test the latiency before making any broad decisions
-
Arceus
Well I was thinking about doing all my work on the Windows VM through for example bhyve
-
Arceus
I'm not sure how USB and other peripheral passthrough would work though (or if it even would)
-
Arceus
that is why I am asking beforehand for opinions
-
Arceus
Also I would be interested to know how well RDP works on FreeBSD to Windows
-
Arceus
if anyone has experimented beforehand
-
rtprio
why don't you just try it and see for yourself
-
rtprio
there's no usb passthrough or other peripherial unless you lock the entire pci id to the VM
-
Arceus
I am planning to, but again, I am just trying to see if anyone else has done it before as well
-
Arceus
How would I lock the PCI ID to the VM? Is it possible?
-
rtprio
-
Arceus
thx!
-
mason
Hrm. What is libsys? Just saw the recent advisory, and a system library seems like a move away from portability, depending on what it is. Without knowing more, it reminds me of libelogind0.
-
phlux2
Does anyone know why my userland and kernel would be at different patch levels for 14.3-RELEASE?
-
psychonate
Was it a fresh install or an upgrade? If upgrade, how did you upgrade?
-
phlux
I upgraded using freebsd-upgrade from 13.3. I ended up with -p4 for my userland and -p3 for my kernel.
-
phlux
Err, freebsd-update rather
-
Macer
Didn’t reboot after kernel update?
-
phlux
I did :\
-
phlux
Now it says there are no updates, so I'm kind of at a loss
-
Macer
freebsd-version -k and uname -a don’t match?
-
Macer
You sure you don’t have some beadm weirdness going on?
-
phlux
They do, but ``freebsd-version -k`` and ``freebsd-version -u`` should match, no?
-
psychonate
I don't think the userland and kernel -p# always match when you're using binary updates. I think that depends on whether the most recent binary updated was for just the kernel, just the userland, or for both.
-
psychonate
s/updated/update/
-
phlux
Interesting...so it's OK that the userland and kernel are at different patch levels?
-
Macer
Would the pkg-static thing do the trick?
-
psychonate
I can check my older laptop in a while. I still use binary updates on it.
-
psychonate
And it's also at 14.3 release, so I can compare.
-
Macer
pkg-static upgrade -f is usually used for major updates though isn’t it?
-
phlux
that just reinstall pkg-2.2.2 for me
-
phlux
reinstalls, rather
-
Retrofan
Hi guys
-
sd0
phlux: freebsd-version(1): "... freebsd-update(8), which does not update the kernel version unless the kernel itself was affected by the latest patch."
-
psychonate
Nice, there you go.
-
phlux
Ahh, thanks y'all :)
-
psychonate
I'm glad you asked, because I hadn't updated to -p4 yet on that old laptop, so I'll do that now.
-
psychonate
Yeah, when I do the 'freebsd-update fetch', it shows what will be updated. For the -4 update, those files are all userland.
-
phlux
It feels good to have a FreeBSD machine again. I'm a Linux Systems Engineer by day, so I haven't messed with FreeBSD too much since the 4.3 days :)
-
phlux
Needed to rent a dedicated server for some personal projects and figured I'd get back to my roots.
-
AmyMalik
:o
-
Retrofan
I got the error!
-
Retrofan
bge0: APE event 0x00020510 send timed out
-
Retrofan
When just the pc starts up..
-
Retrofan
Someone said that problem faced him on Openbsd..
-
Retrofan
and no fix for it..
-
Retrofan
"Argh, I gave up on it, used a completely different pc. I tried all combinations, new network cables, different switch to the modem/router, could not get anything to work. The pc itself works fine, it’s running FreeBSD with Fluxbox on just one network card, the original bge0.
-
Retrofan
Funnily enough, the new pc still uses Broadcom nics, Everything works correctly.
-
Retrofan
Thanks for replying though.
-
Retrofan
"
-
Retrofan
Very sad :(
-
Retrofan
It's a bug..
-
Remilia
V_PauAmma_V: ahaha, I said it was a NIC driver issue and it is
-
Retrofan
This an unsolved bug in freebsd and openbsd
-
Remilia
Broadcom NICs are somewhat blackboxy
-
Retrofan
So what is the fix?
-
Remilia
use a different NIC
-
Retrofan
"Hello! I have installed OpenBSD on a HP Compaq Pro 6305 SFF, which has an integrated BCM5761 NIC. Although it is detected and shows up as interface bge0 (both in bsd.rd and the installed system), it doesn't seem to actually work - it does not get an ip address with dhcp and even if I assign ip addresses manually, it still doesn't work. "
-
Retrofan
The fix "I updated both the BIOS and the NIC's firmware. It now works in both Windows and OpenBSD.
-
Retrofan
In case someone has the same problem, here are the links to the updaters (note both of them extract a folder that contains the actual programs and the READMEs):"
-
Retrofan
Looked like is updating
-
Remilia
not a guaranteed fix
-
Remilia
I try to avoid certain Intel NICs, all Broadcom NICs, and some Atheros for anything important
-
Retrofan
He uses the same pc I use HP Compaq Pro 6305 SFF
-
Remilia
what prevents you from trying the solution then o.o
-
Retrofan
So I think it's the fix
-
Retrofan
All those guys with this problem have the same PC
-
Retrofan
I think we need to announce that on Freebsd wiki for HP Compaq Pro 6305 SFF
-
Retrofan
Remilia: Could I run those updates on WINEHQ
-
Retrofan
*can
-
Remilia
I don't know
-
Remilia
does wine allow direct hardware access?
-
Retrofan
Remilia: I will search.. you know something, my internet is quota 140gb (which the least available) and it's too much for me. I monthly use under 9GB, so I was thinking about continue using my sim (It's more cheaper).
-
aic
alias tun5G="ssh -C -D 127.0.0.1:40000 some-internet-ssh-server"
-
aic
you can point your firefox to localhost port 40000 SOCKS5 proxy and all your traffic will be compressed to save gigabyte quota
-
Retrofan
aicaic: Nice, but I am saying that 140GB is too much not too low (The most amount I ever I used was 20GB back in 2021)
-
Retrofan
So good it will be good idea to switch to sim (cheaper)
-
Retrofan
and they now want to remove 140GB option; to pay for more expensive ones like 200GB which the double the price
-
Retrofan
aic: I think if done that I will use monthly only my 2gb which is the free amount in my subscription = Free internet!
-
Retrofan
I am using Invidious which better than bloated youtube, and saves alot
-
Retrofan
Back
-
Retrofan
People using Winehq is a big NO
-
Retrofan
*saying
-
Retrofan
Also, guys try Invidious (if you didn't try it), It so customizable, no algorithm, just show the content of your subscriptions (and some other stuff).. But it's sadly now under attack from those crap called "AI", like my website :(
-
jozan
invidious is nice yes, I use rss+mpv for youtube, this is gold
-
Retrofan
Yeah I was think about that also
-
Retrofan
I listen to really long videos (+2 hours) while working; so I am using it.. it saves a lot (nearly 3Gb/month)
-
Retrofan
*uses
-
Retrofan
I will Windows PE or Freedos for updating
-
Retrofan
*use
-
rtprio
why are you so concerned to save data?
-
Retrofan
I think it's a good idea
-
Retrofan
Which make now able to use only sim
-
Retrofan
*me
-
jozan
you use 5g internet?
-
Retrofan
yeah
-
Retrofan
It's alot
-
Retrofan
on sim
-
Retrofan
jozan: Just be away form bloated stuff, and you will same as I use.. This what the internet really designed for
-
jozan
my personnal suckless war has started long ago and its going well
-
jozan
but i do like a good fiber internet anyway
-
rtprio
huh, the 5g providers here i believe are 'unlimited'
-
Retrofan
5g providers?
-
Retrofan
I am saying I use only 5GB not my internet is 5GB (mine is 140GB)
-
Retrofan
And I am paying a lot for nothing, so using sim card now is better (Like paying for 15GB which I will use most them is better and cheaper, and keep the other subscription freezed until I want to run some kind of server or something needs a lot internet)
-
wavefunction
Having a 2Gbit fiber internet connection (no limit) has, uh, ruined me. But my spouse works from home so it's necessary.
-
jozan
wavefunction: how much does it cost in your currency?
-
wavefunction
$95 USD / month
-
Retrofan
Now this crazy O_o all the stuff I talked about near the smartphone that I got for few days, is now coming for me in recommendation on youtube, exactly the same I was saying
-
wavefunction
I have dreams of going low- / off-grid for network, but cellular providers out here are garbage.
-
jozan
i have the same 2G down / unlimited and its 50 EUR / month here
-
Retrofan
Here is better than landline
-
Retrofan
They are watching us XD
-
wavefunction
jozan: Yeah, see, that's what I'm talking about.
-
Retrofan
I found many people talking about that but never believed
-
wavefunction
Retrofan: As long as you have a NAS / local storage, go for it
-
Retrofan
?
-
Retrofan
for sim?
-
wavefunction
Retrofan: Yeah, I mean, you're not wasting anything. Being happy with smaller allotments means the providers have less of a hold over you
-
Retrofan
Yeah I save nearly everything I need on my local storage
-
Retrofan
I still have downloads from 2005
-
jozan
download as much as you can and then never pay for internet anymore
-
wavefunction
Retrofan: How big is your local storage, out of curiosity
-
Retrofan
I think it's 2TB
-
Retrofan
And it takes all I need
-
wavefunction
Fantastic.
-
wavefunction
I'm a little jealous.
-
Retrofan
most of my files is just under 100kb
-
Retrofan
So I store billions of them
-
phlux
I'm kind of blown away at how much packages are used vs ports these days
-
phlux
It used to be ports or nothing
-
phlux
I know some things were available via pkg_add back in the day, but not everything iirc..
-
TommyC
Lots of devoted (and more importantly, trusted) FreeBSD users building packages now-a-days.
-
Macer
-
Macer
so is this a thing for 15? arc support?
-
Macer
it seems like it was merged
-
Macer
and if so would transcoding work in jellyfin or plex?