-
darwin
in 14.3
-
darwin
i have no idea
-
darwin
i used both
-
ketas
you mean can't use disklabel/bsdlabel anymore?
-
ketas
scheme is still there
-
ketas
and you can still boot mbt to the gpt?
-
ketas
mbr
-
ketas
so unsure what darwin meant
-
ketas
what around disklabels are deprecated in 15?
-
ivy
ketas, darwin: BSD disklabels aren't being deprecated, only the "disklabel" command, along with the "fdisk" command. they are both obsoleted by gpart(8)
-
black1
ivy: so fdisk is going away in future fbsd releases?
-
ivy
black1: yes, it will be removed in 16
-
ivy
iirc, it was meant to be removed in 15 but no one got around to doing it, so it was pushed back
-
black1
okay alright fbsd seems to be taking a radical step in this
-
ivy
radical how? what do you use fdisk(8) for today that you can't do with gpart?
-
anth
“Radical” feels a bit strong, but I don’t think that’s the question. It’s still the removal of a tool with many decades of history.
-
anth
(I take no position on whether it’s the right thing to do under the circumstances. But don’t downplay the significance.)
-
black1
ivy: well these two basically have the same functionality... but it might pose a cost for those used to the fdisk-style syntax for example
-
ivy
anth: sure, but on the other hand very few people use it or even knows that it exists nowadays, so the actual signifiance of its removal is fairly low
-
ivy
the only interaction most people have with fdisk is switching from Linux to FreeBSD and assuming our partitioning tool is called fdisk, which leaves them confused until they find gpart
-
black1
ivy: I mean most GNU/Linux distros choose to stick with fdisk as a standard utility...
-
ivy
black1: the FreeBSD equivalent of Linux fdisk is gpart
-
black1
honestly I haven't personally used gpart except in a GUI env
-
black1
ivy: so gpart was specifically developed for fbsd?
-
ivy
black1: yes, gpart is part of GEOM, which is a FreeBSD feature. maybe DF also has it, i'm not sure
-
black1
okay alright i see
-
black1
thx for the information btw
-
black1
it reminds me of ubuntu getting rid of ifconfig at one point
-
ivy
i wasn't aware any Linux distributions still shipped ifconfig, at least by default
-
black1
I think debian still does
-
black1
and KNOPPIX definitely which I gave my grandma for solitaire purposes
-
wipt
ivy: Thanks for the information about fiber a few weeks back. Finally got around to ordering some stuff.
-
ivy
wipt: good luck :-)
-
ketas
fiber?
-
ketas
also
-
ketas
linux updated the fdisk to gpt and kept the same tool name?
-
ivy
i don't have access to any linux systems right now to check, but from what i remember, yes
-
ketas
while here somebody had nice idea to rewrite disks
-
ketas
it's all pentagon's fault anyway
-
ketas
:p
-
ketas
GEOM(4): HISTORY: This software was initially developed for the FreeBSD Project by Poul-Henning Kamp and NAI Labs, the Security Research Division of Network Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035 ("CBOSS"), as part of the DARPA CHATS research program.
-
darwin
good
-
rtprio
black1: shipped if you install net-tools
-
kerneldove_
-
ivy
why doesn't our malloc(), in debug configuration, report an error when trying to free() a pointer that wasn't returned from malloc?
-
ivy
i feel like this is the most basic behaviour you'd expect from a debug malloc, so perhaps i'm missing something here
-
mason
ivy: Seems bugworthy.
-
rtprio
ivy: how would it know? that's like a valgrind level of out of band data isn't it?
-
ivy
rtprio: presumably it would know because of all the debug information it stores?
-
ivy
like, if it's ~10% slower when debug is enabled, but it can't detect this... what is the purpose of that performance penalty?
-
ivy
i'm annoyed because this was the cause of
reviews.freebsd.org/D53545, which i would have expected debug malloc to flag
-
angry_vincent
is bootloader automatically updated when doing make installworld? ( an UEFI boot )
-
ivy
angry_vincent: no, you must copy /boot/loader.efi to the EFI partition
-
angry_vincent
ah ok. they have different time of origin indeed
-
angry_vincent
one in efi partitions is older by 6 monthes
-
nwe
what does ppl running for wireless networkmanager?
-
nwe
or does you guys just appending in wpa_supplicant.conf?
-
[tj]
wpa_supplicant for me, but I am not a normal person and shouldn't be imitated
-
tehpeh
Hey all, I have a laptop which crashes on sleep or wake, not sure which one, but in any case it's not writing to /var/crash. How can I get someone to post to the bug tracker?
-
ivy
tehpeh: why do you need someone else to do that?
-
tehpeh
ha
-
tehpeh
some*thing*
-
tehpeh
How can I get a core dump or similar?
-
[tj]
tehpeh: you can try setting debug.acpi.suspend_bounce=1
-
[tj]
and suspending
-
[tj]
it suspends everythign then restarts it
-
[tj]
you might get a panic you can see with that
-
[tj]
you can also try using devctl to suspend individual devices
-
[tj]
this page might have more things to try:
wiki.freebsd.org/SuspendResume
-
tehpeh
[tj]: awesome thanks, I'll try that
-
nwe
[tj]: so just ifconfig wlan0 scan and then genrated a new entry in wpa_supplicant and reloading with service netif restart ?
-
nwe
feels like you get stupid/lazy after some years with macos... :P
-
[tj]
wpa_passphrase network passs >> /etc/wpa_supplicant.conf
-
[tj]
wpa_cli reconfigure
-
[tj]
you don't need to restart networking to move around wifi networks
-
[tj]
any ui that uses wpa_supplicant should work, but I frequently have a fresh system
-
Capio|Yaazkal
morning
-
ke8cqc
I'm so close to getting bluetooth paired to my headphones. I'm following this tutorial:
jrgsystems.com/posts/2022-08-20-how…luetooth-headphones-on-freebsd-13-1 . I've successfully gotten to the virtual_oss command, but it doesn't like the -T option. How do I modify the virtual_oss command to make it work?
-
nwe
are you guys using devd with a custom script to suspend/resume when closing lid ( and if external monitor is connected dont suspend) etc? looks like I dont have permission to run zzz as a normal user.. is the workaround there to use sudo with zzz command?
-
nerozero
question, time to time, when ssh session interrupts, the terminal windows stops accepting any commands, just ptinting keys like `127;129u[127;129u[127;129u[127;`
-
nerozero
is there a way to fix it other then killing shell process ?
-
nerozero
nwe, - I never manage to fix it ...
-
Capio|Yaazkal
I have a fresh installation of 14.3 on a nano pi R4S (using the rockpro64 image). I does not install pkg because it says it can't verify the certificate but was able to run `freebsd-update fetch && freebsd-update install` to update the OS. I've tried useng `fetch` to any URL and says again it can't verify the cert.
-
cyric
nerozero: try `reset`?
-
nerozero
cyric, no verbal command accepted
-
nerozero
"reset[13;129u"
-
nerozero
that is the "reset and enter
-
nerozero
not executed ...
-
nerozero
kinda like "visual" in vim
-
cyric
weird
-
nerozero
~. also does't seems to
-
Capio|Yaazkal
this is the error:
-
Capio|Yaazkal
Bootstrapping pkg from pkg+https://pkg.FreeBSD.org/FreeBSD:14:aarch64/quarterly, please wait...
-
Capio|Yaazkal
Certificate verification failed for /CN=pkg.freebsd.org
-
Capio|Yaazkal
0850E7F5D15E0000:error:0A000086:SSL routines:tls_post_process_server_certificate:certificate verify failed:/usr/src/crypto/openssl/ssl/statem/statem_clnt.c:1890:
-
Capio|Yaazkal
Certificate verification failed for /CN=pkg.freebsd.org
-
Capio|Yaazkal
and this when I test whatever url using fetch
-
Capio|Yaazkal
-
Capio|Yaazkal
Certificate verification failed for /CN=www.google.com
-
Capio|Yaazkal
081066E46A8E0000:error:0A000086:SSL routines:tls_post_process_server_certificate:certificate verify failed:/usr/src/crypto/openssl/ssl/statem/statem_clnt.c:1890:
-
Capio|Yaazkal
fetch:
google.com: Authentication error
-
Capio|Yaazkal
any workaround ?
-
Capio|Yaazkal
running 14.3-RELEASE-p5
-
Capio|Yaazkal
oh, seems the system date is way off. Let me try to fix that first
-
Capio|Yaazkal
that was the issue, sorry for the noise
-
spuos
hey does anyone have a good intro to jails? I tried
docs.freebsd.org/en/books/handbook/jails but I could use a little more guidance
-
psycorama
spuos: the books from Michael W Lucas are well regarded and there is one about mastering FreeBSD jails.
-
nwe
I using this devd/lid.conf
dpaste.org/gz2Ku when I running the script from terminal it working, but it looks like devd doesnt trigger and running the script.. who can I debug this?
-
spuos
psycorama: I do appreciate the "proper" answer, and I often do want one, In fact an in-depth resource helped me understand PF rules. That said, is there a layman's quick guide? I'm trying to set up a quick and dirty game server on my multiuser system after my VPS died, and my friends are getting a little annoyed.
-
psycorama
use one of the frontend. that's probably the fastest way. i'm still using iocage but migrationg to bastille
-
psycorama
bastillebsd.org/getting-started is probably a good start, then
-
spuos
would you reccomend bastille? I didn't know frontends exist
-
spuos
oh, I guess you would then. Thanks!
-
psycorama
i remember a table, quickly comparing the different sollutions. but i can't find it, currently.
-
psycorama
but yes. bastille is the newest of the solutions und seems well mantained
-
psycorama
-
mnd999_
Hello, does anyone know if we're getting RDNA4 support in FreeBSD 15? I'm sure I read somewhere that there was limited support in drm-6.9, but I tried BETA4 last night and it still crashed as soon as I loaded the module. Am I doing something wrong, or is it still not implemented?
-
[tj]
rdna4 support seems to first appear in 6.17
-
mnd999_
No, it's works well in 6.12, I'm using it right now
-
[tj]
6.12 is more than 6.9
-
» mnd999_ slow hand clap
-
mnd999_
I know it works in 6.12, and it probably works in 6.17. What I'm asking is does it work in FreeBSD 15?
-
[tj]
those first two things are different than the second thing
-
[tj]
(third thing)
-
[tj]
the drm-kmod kernel driver is synced to linux kernel revisions
-
[tj]
I'm gonna say you are hitting "limited support"
-
mnd999_
That suggests it would not be expected to crash as soon as the amdgpu module loads.
-
[tj]
immediately panicing seems pretty limited to me, it is more support than not detecting anything and refusing to load
-
[tj]
you could try master on drm-kmod from git
-
mnd999_
it was doing the same on 6.6, instapanicing
-
mnd999_
But I was not expecting that to work, so thought nothing of it
-
kevans
yeah, i wouldn't really expect anything unless you've tested it yourself on linux at the equivalent kernel version
-
dho
what's going on in freebsd these days
-
dho
i haven't paid attention in about 13 years
-
mzar
dho: why were you interested in freebsd 13 years ago ?
-
dho
i used to be quite heavily into the community, was a chanop here quite some time ago.
-
mzar
cool
-
dho
places i worked stopped supporting freebsd, it became cognitive burden to keep up with the system amongst other things
-
mzar
I see, bad places
-
dho
no, not really. linux just won the developer market
-
mzar
the slogan that FreeBSD is dying probably won
-
dho
market share wise, it's certainly smaller than it was 20 years ago
-
mzar
yep, and most likely smaller than 13 years ago
-
mzar
market share is shrinking, but some people still use it, and they most likely will, at least until 2030
-
dstolfa
dho: regarding the developer market, the thing you might find interesting is that freebsd is now an official OCI target, has a working podman (and has for a while) and can run linux containers in basically the same way you'd do it on linux via podman
-
fink
...and we have a working libuuid after almost a decade!
-
dho
not surprised -- was talking with the folks at sun about their brandz stuff doing effectively linux containers on solaris in 2006, did some proofs-of-concept of thesame on freebsd using linuxemu
-
CrtxReavr
I had to create, administer, and analiize surveys and survey data a few times in college, so I feel a certain amount of empathy and sense of responsibility when I'm asked. . .
-
dho
somehow i've managed to work on cloud stuff for ages without actually working on any of the cloud stuff though
-
dstolfa
i mean, linux jails were a thing for a long time. it's just that you now can use podman to fetch stuf from ghcr.io, docker.io and so on
-
CrtxReavr
But. . . some surveys get way too fucking long.
-
dho
lol hi CrtxReavr, long time
-
rtprio
dstolfa: can run linux pods? how long ago did that happen?
-
dstolfa
rtprio: been a while i believe. i think all you need is pkg install podman-suite and enabling the linux service
-
dstolfa
you should then be able to use podman to run containers that are based off of linux under freebsd
-
rtprio
huh
-
dho
cool that it's an oci target tho. are there any particularly interesting system-wide development efforts?
-
mzar
dho: it’s a handful of developers pushing the cart, with two larger firms pulling from the front
-
dho
i assume netflix is still one, who's the other?
-
mzar
please take a look at commit messages, I cannot use any commercial names
-
dho
lol, wild.
-
Macer
So I’m trying to put a separate network on lagg0 so I can have a “fast” network that bypasses the router so my fbsd nas can just go straight to clients. It doesn’t seem to be working out too well. I figured it would just be making sure samba is bound to both IPs and add a second ip/mask to lagg0. Do I have this wrong?
-
Macer
rclone, for instance seems to be getting hung up after mount and says I/O error.
-
dho
what's the network topology like?
-
mzar
Macer: you need a kind of policy based routing, it can be done with pf or ipfw
-
Macer
Ah ok. Would this be the same even if I created a second lagg?
-
mzar
are the clients reachable directly or via gateway ?
-
Macer
That is an option. I have 2 10gbit and 2 1gbit ports to work with. I just want the fail over so I can make lagg0 10gbit+1gbit failover and the same for lagg1 if that makes it easier.
-
mzar
failover is one thing, double address scheme and separate network, another
-
Macer
mzar: right now I wound up putting it back the way it was. fbsd nas is on a 192.168.1.x network and clients are on 192.168.20.x vlan
-
Macer
The clients are proxmox Debian containers.
-
Macer
.1.x is untagged
-
Macer
20 is tagged
-
rtprio
why not add a 192.168.20./24 address to the nas?
-
rtprio
lagg0.20
-
Macer
That’s what I tried first.
-
Macer
Adding an alias
-
rtprio
alias is not a vlan
-
mzar
that's not an alias, subinterface
-
Macer
Oh. Ok. I was working on the assumption an alias was the way to go there.
-
Macer
So is actually he creating a virtual interface?
-
Macer
*be
-
Macer
I’ll see if I can hunt that down in the handbook.
-
mzar
if lagg0 is untagge, use lagg0.20, if lagg0 is vlan1, use another lagg
-
Macer
Yeah. lagg0 is untagged vlan1
-
mzar
Macer: it will work, unless you want to use lagg0 in bridge
-
mzar
is bridge(4) involved ?
-
Macer
Sounds like the quick and easy is to make an actual physical interface.
-
Macer
Like just have the untagged data on lagg1
-
mzar
please don't be afraid of tagging
-
Macer
Well. I’m a little afraid of tagging and getting locked out. lol.
-
mzar
do you have ipmi console there ?
-
Macer
O suppose I can ensure there is an untagged port.
-
mzar
you can leave untagged vlan 1, just add tagged vlan 20
-
Macer
Hm. I don’t think so. That is my ancient dual Xeon isilon with the ancient Java based ipmi 2.something that for the life of me I haven’t found a way to access in forever even with IPMIView.
-
mzar
I bet you can configure it to use ipmi sol, it's old feature
-
Macer
Yeah I’ll have to take a harder look. It should just be a physical port tag shouldn’t it?
-
Macer
Yeah I was trying to sort that out too so I could use the serial on lan connection. I just haven’t had time to look at it too hard.
-
rtprio
vlans_lagg0="20" ifconfig_lagg0_20="up 192.168.20.254/24"
-
Macer
Oh. Fbsd can just tag it itself?
-
mzar
sure, but you need to configure port on switch
-
Macer
I’m guessing the “20” is the vlan id?
-
mzar
to pass tagged vlan 20
-
Macer
The IPs are 20.x but vlan id is 201. That’s awesome though. I’ll try that when I get home and see how it works. Maybe that was the issue all along. Although. I was able to ping.
-
Macer
I’m honestly not sure what happened after that. rclone smb mounting didn’t work for sure. Not sure if that’s the reason.
-
Macer
I’m just looking for a direct path that doesn’t hit the router since the router is gbit only. I thought that wouldn’t be an issue… until it was.
-
Macer
If this works I may actually make a data only vlan.
-
mzar
new samba uses heavily DNS, perhaps the client is still looking for address from vlan 1
-
Macer
Yeah I thought that too so forced the address with hosts
-
Macer
And also tried setting up rclone for the ip
-
Macer
Since the local dns points to the 1.x address
-
Macer
I thought once I was able to ping the alias and change it to the ip in rclone it would work for sure. It didn’t.
-
mzar
take one step at a time, create tagged subinterface on lagg0, test connectivity with the clients, then teach samba to behave
-
Macer
And direct nfs isn’t an option in unprivileged lxc containers.
-
Macer
Yeah. I’ll have to give it the college try once I get home. Going through the router is hammering it. lol
-
Macer
It will give me the opportunity to take the time to properly label them in the ubiquity interface too.
-
mzar
Macer: good idea; were you trying to ask any LLM for support ? what brought you in here ?
-
Macer
No lol. I’d die if some LLM sent me to irc.
-
mzar
cool
-
Macer
I just figured I was configuring it wrong in FreeBSD and the nas sounds like the better place to start.
-
Macer
It just runs vanilla fbsd
-
Macer
I wouldn’t trust an LLM anyways. It would probably tell me to wipe it and install windows server.
-
dho
I just asked Gemini "Would you send me to IRC for any answers you were struggling to find?"
-
mzar
hhe
-
dho
"The direct answer is no, I would not send you to IRC."
-
dho
"If I were struggling to find an answer, my protocol isn't to send you elsewhere, but to try a different approach _with_ you"
-
mzar
dho: the amount of people seeking help significantly dropped since asking LLMs became an option
-
dho
double edged sword but i think in general it's a good thing
-
nwe
hmm when I using FN+FX on my laptop, but when I using my external Keyboard the FN isnt reconized :(
-
dho
the fn key is typically a 'hardware key' and usually changes to its behavior require bios stuff. not surprised an external kb fn key wouldn't work
-
armin
dho: yup.
-
nwe
dho: okey
-
dho
(also usually the only thing you can do with it in the bios is tell it to swap with ctrl since vendors decided to place it where ctrl ought to be)
-
dho
(and sometimes the only thing you can do is have it work as ctrl for "popular hotkeys")
-
nwe
itś not a really big issue, more nice to have, because itś working fine in macos etc :P Itś a keychron wireless keyboard I using btw :P
-
dho
the issue isn't with the keyboard, it's with how the fn key works on the laptop
-
dho
you won't find a keyboard that has a fn key that will work, basically
-
nwe
I have an even more annoying issue, that devd doesnt trigger my script when closing lid (so it going to sleep mode) it works if I running the script :)
-
nwe
dho: okey
-
Macer
-
Macer
mzar rtprio: that's what i have in rc.conf... i'm a little confused about the defaultrouter part
-
Macer
wouldn't i wind up using a different router for each subnet?
-
Macer
that's me trying to split the physical vlans .. although i'm curious if i have to add the vid to 20.x
-
Macer
(still)
-
Macer
would i still need a vlans_lagg1="201" there for the vid?
-
rtprio
there are 2 ways to do it: or at least there were in my rc.conf history
-
rtprio
oh, if you need vlans_ depends on how you set the switchport
-
zi
Macer: you cant have more than one default gateway, without setting up something like multiple fibs--which has its own sets of complexity
-
Macer
i'm curious at this point if i even need the vlan tbh
-
zi
Macer: what are you trying to do?
-
Macer
since now it's a dedicated port
-
Macer
zi: i'm trying to split 2x 10gbit + 2x 1gbit to (1 x 10gbit + 1 1gbit) x 2 for separate subnets on the same fbsd server
-
Macer
so the fbsd server has a fast lane that doesn't need to go throgh the router (which is 1gbit) for samba, nfs, etc
-
Macer
so i'm essentially making 2 networks on it. one that talks and one that transfers copious amounts of data
-
Macer
the 1gbit ports are just for failover
-
zi
why separate subnets?
-
Macer
because the clients need to go through the router to reach the other subnet
-
Macer
and i want them to go straight to the nas
-
Macer
the router is 1gbit max .. so vlans talking to each other have a bottleneck
-
zi
a small switch with 1000/10g ports would probably do everything you need without anything special
-
zi
(config wise)
-
zi
no second subnet or other stuff
-
Macer
i have a EdgeSwitch 16 XG
-
Macer
but i don't see how i'd be able to get to go vlan to vlan without the router telling things where to go. i'd need a switch with routing capabilities and i don't think mine does that
-
Macer
my solution was to just put the fbsd server on 2 subnets
-
zi
i dont suppose you can make a quick diagram of the bits involved?
-
Macer
it has 4 nics 2 10gbit and 2 gbit .. so i was just going to make lagg1 with the other subnet and see if it will traceroute to clients without hitting the router
-
rtprio
you don't need additional gateways, as the nas already knows how to get to 192.168.20.0/24
-
rtprio
so just ... ignore that
-
zi
you would just put all of your 10g clients on your switch and connect a 1g port on your switch to your router
-
rtprio
Macer: i don't think you need a routing switch for that
-
zi
everything local to the switch will do 10g
-
zi
stuff leaving the switch will go 1g through the router
-
zi
no routing on your side needed
-
Macer
yeah. that's what i'm trying to sort out right now ... before i had nas on 192.168.1.x and clients on 192.168.20.x .. so clients connecting to the nas are traveling through the router to get there
-
zi
just collapse everything to a single subnet
-
Macer
then i lose the vlans. i want to keep them :)
-
Macer
that's how i originally had it
-
zi
for what?
-
Macer
i have an iot vlan, guest vlan, proxmox servers (containers) vlan,
-
Macer
to keep things separate
-
zi
are you doing firewalling or something between them?
-
Macer
not yet
-
Macer
right now i'm just trying to figure out how to have a fast data path between the clients and nas
-
zi
then, id probably just collapse it all to a single vlan. you can logically divide it up into /26s for organization, but all on the same /24
-
Macer
i'd be kind of working backwards doing that
-
zi
you only need vlans if you need some separation
-
zi
and if you need vlans, you'll need routing
-
Macer
yeah. unless the nas and the clients are on the same subnet then it would be handled by the switch directly and not have to bother right?
-
Macer
should turn it into a direct path
-
zi
if everything is on the same subnet/vlan, then the traffic would be switched locally, yes
-
Macer
yeah. i'd like to keep the vlans while creating a fast data path. so that's the goal right now and my solution is to just make another physical connection.
-
zi
as in you want to give other devices dual interfaces and dual ips?
-
zi
either way. you really dont want more connections imho.
-
zi
if you want vlans, setup vlans and routing
-
Macer
ok that didn't work lol
-
Macer
-
Macer
i went with that. i have lagg1 and an ip but can't ping
-
Macer
ah great
-
Macer
exactly what i was trying to avoid lol
-
rtprio
eh, can't ping what
-
Macer
i can't ping something on the 20 network
-
Reinhilde
20?
-
rtprio
and you set the port on the switch to be native vlan 20?