-
meena
yes! everything about this page inspires absolute confidence!
freedesktop.org/wiki/Software/xlibs
-
VimDiesel
Title: xlibs
-
RhodiumToad
dammit, I hate it when I forget to mount large data drives with nosuid
-
RhodiumToad
(or noexec)
-
RhodiumToad
I wish there were a persistent attribute for that
-
last1
is it possible to setup the following: partition a drive in 2: 1 part for OS , second part as special device
-
last1
oh, in zfs, and it has to be mirrored
-
RhodiumToad
special device?
-
last1
yeah, you can use it to store the metadata
-
last1
aka: data on spinning hdd, metadata on ssd. gives huge speed boost
-
parv
Do not see the point of partitioning the same disk to separately store the metadata
-
last1
there is a point. the os and metadata are on ssd, data is on hdds
-
last1
*metadata for the hdd pool
-
parv
So the partitions are on a SSD with OS & metadata for the data on a separate disk?
-
parv
last1, I see you had already mentioned that. Ok then
-
RhodiumToad
how many hdds are involved?
-
sphex
RhodiumToad: I just alias mnt to mount -o noatime,nosuid
-
last1
44
-
sphex
wow
-
RhodiumToad
the only part I'm not sure about is how mirroring of the special device would be handled
-
last1
my question was more like: can I partition ada0 in 250GB for the OS, rest for metadata and then install FreeBSD on ada0p1 with ZFS
-
last1
I would do the same with ada1 so the OS would be zfs mirrored on ada0p1 / ada1p1 , and the special vdev would also be a mirror on ada0p2/ada1p2
-
RhodiumToad
in terms of partitioning, you can do almost anything, because zfs is basically ignorant of the underlying geom layout, it just consumes whatever providers you give it
-
last1
my problem is that in the installer I can't choose ada0p1 , just ada0 in the Auto-ZFS installer
-
RhodiumToad
you have two separate ssds to use for the OS/special bits?
-
last1
no, just one
-
RhodiumToad
anything non-standard and you have to do manual partitioning, obviously
-
parv
last1, you would need to do that manually
-
last1
ugh, a manual zfs zroot install, I wanted to avoid that :)
-
sphex
last1: I think you'd have to do manual partitioning from the shell. which is a PITA with ZFS if you want the default dataset layout that the installer creates (and you should because they're good) because you have to create them by hand.
-
RhodiumToad
you should be able to do the partitioning in the installer
-
last1
yeah, that's what I had started on, I created the partitions with gpart
-
last1
but then I wanted to jump back in the installer
-
RhodiumToad
I would install just the OS partition manually, and set the rest up later
-
last1
and have it use ada0p1
-
RhodiumToad
but then I haven't used the installer in anger for a while
-
parv
last1, You could parition via the installer. Then choose the partition to install ZFS (there will be no separate datasets,
bugs.freebsd.org/bugzilla/show_bug.cgi?id=262461 ) Later make the mirror after the installtion.
-
VimDiesel
Title: 262461 – bsdinstall: After manual partitioning the disk, installer installs "ZFS on root" directly on the pool not under separate ZFS datasets
-
last1
ugly business, I might just get 2 dedicated mirrored OS drives
-
last1
but I wanted to save on 2 SSD slots and do it all on those 2 drives
-
RhodiumToad
what's ugly about it?
-
last1
ok, let me try this one more time.
-
» parv had installed ZFS on a single partition, on 2-SSD mirror, but not on a mirrior on 2 partitions
-
last1
so in the Installer, I go manual route, create just one 250Gb partition as freebsd-zfs and try to install on that
-
last1
and after, I add the second drive as mirror
-
RhodiumToad
yup
-
last1
-
VimDiesel
Title: Imgur: The magic of the Internet
-
last1
if I try to set mountpoint as / , the installer crashes and restarts
-
last1
parv: how did you manage to do auto-zfs on just part of the disk ?
-
RhodiumToad
unfortunately I don't have a VM spare to test it in right now
-
last1
any way to know when this page dates from and if it's still to be used ?
wiki.freebsd.org/RootOnZFS/GPTZFSBoot
-
VimDiesel
Title: RootOnZFS/GPTZFSBoot - FreeBSD Wiki
-
last1
ah, it says at the bottom: last edited 2022-06-12
-
last1
so fairly recent, but this line in the beginning: newfs_msdos -F 32 -c 1 /dev/ada0p1 gives me an error: 1542 clusters too few clusters for FAT32, need 65525
-
RhodiumToad
is that for an ESP?
-
last1
apparently it's for the UEFI boot partition
-
last1
I'm doing it by hand
-
RhodiumToad
yes, that's what an ESP is
-
RhodiumToad
1542 clusters of 1 sector looks very small
-
last1
eh, I'll just do legacy boot instead
-
RhodiumToad
are you trying to make it just big enough for loader.efi? that's a very bad move
-
last1
well, I was just following that document:
wiki.freebsd.org/RootOnZFS/GPTZFSBoot
-
RhodiumToad
except on install media, you should make it at least 64 megs
-
VimDiesel
Title: RootOnZFS/GPTZFSBoot - FreeBSD Wiki
-
last1
it's apparently wrong
-
RhodiumToad
you can make the partition larger, or use fat16, or both
-
sphex
try -c 8. I *think* it's better to stick to FAT32 for the ESP...
-
RhodiumToad
-c 8 will make it worse
-
RhodiumToad
that'll push the minimum size up to ~256MB
-
sphex
RhodiumToad: maybe I remember wrong but I think it's what I did not long ago. it gave me 4K clusters which seems fine. the error message is very confusing.
-
RhodiumToad
I've never had any issues with fat16 for ESP
-
sphex
oh alright
-
RhodiumToad
4k clusters is fine in itself, it's just that newfs_msdos wants the device to be large enough for 65525 clusters to use fat32
-
sfox
why is iocage making me update every single file in /etc/ by hand for every single jail just to upgrade from 13.1 to 13.2?
-
RhodiumToad
so the larger the clusters, the larger the minimum device size
-
sfox
i didn't change weird things like ssh moduli
-
sfox
surely something has gone wrong?
-
sfox
The following file could not be merged automatically: /etc/mtree/BSD.debug.dist
-
sfox
Press Enter to edit this file in /usr/bin/vi and resolve the conflicts
-
sfox
manually...
-
RhodiumToad
huh, that shouldn't need a manual update, it should just be replacing it
-
sfox
yeah
-
RhodiumToad
but I have no idea why it would do that
-
sfox
but there's no option to replace it
-
RhodiumToad
what are the conflicts?
-
sfox
almost everything in /etc/
-
sfox
from where debug files
-
sfox
weird
-
sfox
to sshd_moduli
-
RhodiumToad
no, I mean if you edit the file, does it show any conflicts and if so, what
-
sfox
oh
-
sfox
yes
-
sfox
basiclly all the stuff you'd normally expect from the new release
-
sfox
version identifier changes
-
sfox
small additions to hostapd's init script
-
sfox
most of the merges are things that should be totally doable automaticlly
-
sfox
like inserting lines where these was none before
-
RhodiumToad
is it invoking etcupdate to do the work, or using its own code?
-
sfox
i don't know i'm just running iocage upgrade -r 13.2-RELEASE ALL
-
parv
IIRC etcupdate on recent enough 13-STABLE (& 14-CURRENT) had handlled those files
-
RhodiumToad
you could look at the process list and see if etcupdate is running
-
sfox
alright i'm restarting to upgrade on the jail to check if it's using etcupdate
-
sfox
but if it is what would that change?
-
RhodiumToad
just whether it's an iocage bug or an etcupdate bug
-
sfox
one second
-
sfox
/bin/sh /tmp/tmp_onnvkjc -b /zroot/iocage/jails/mumble/root -d /zroot/iocage/jails/mumble/root/var/db/freebsd-update/ -f /zroot/iocage/jails/mumble/root/etc/fr
-
last1
sweet, I've done it:
imgur.com/a/LNBVH4v
-
VimDiesel
Title: Imgur: The magic of the Internet
-
sfox
eebsd-update.conf --not-running-from-cron --currently-running 13.1-RELEASE -r 13.2-RELEASE upgrade
-
sfox
i don't know
-
sfox
i can't find etcupdate
-
last1
so now zfs is on ada0p3, and I would just add a mirror to ada1p3 to have it redundant ? don't I also need to mirror ada0p1 and ada0p2 ?
-
sfox
The following file could not be merged automatically: /etc/mtree/BSD.debug.dist
-
sfox
Press Enter to edit this file in /usr/bin/vi and resolve the conflicts
-
sfox
manually...
-
RhodiumToad
last1: there's no sane way to mirror the ESP, but you can make a copy of it on the other drive as a backup (nothing on it should change in normal use)
-
RhodiumToad
what's ada0p2 ? swap?
-
sfox
RhodiumToad, is there some other way to tell?
-
RhodiumToad
if you want to avoid crashing if ada0 dies, you can use gmirror to mirror the swap partition
-
last1
yes, swap, that I can ignore I guess
-
last1
oh, good idea
-
last1
and set the swap to the mirror
-
RhodiumToad
you'd probably want to set it to 'prefer' and give the ssd the higher priority
-
sfox
well shit, i'm just going to roll it back
-
sfox
thank goodness for zfs snapshots <3
-
sphex
I left some unpartitioned space on a nvme to install Windows later on. I assume that this just works (and that it'll use the existing ESP without issue) but if this wrecks my freebsd install I'm going to be a little bit annoyed...
-
RhodiumToad
it may overwrite the bootx64.efi, you may want to keep an extra copy handy
-
RhodiumToad
if you have multiple OSes you probably want some form of EFI boot manager anyway
-
sphex
RhodiumToad: ah right. well if it's only that it's something that can be fixed from a USB key.
-
sphex
RhodiumToad: can setting up some EFI "boot menu labels" (or however that's called) be enough to dual boot them?
-
sphex
heh I haven't bothered trying to dual boot in forever. small SSDs are so cheap. but with nvme it makes sense to try to share them again.
-
RhodiumToad
I've not tried dual booting from EFI
-
RhodiumToad
but I know in theory how it works
-
sphex
alright. well, I'm just gonna hope that messing with efibootmgr(8) can make it just work.
-
RhodiumToad
i.e. in theory it's just a matter of having all the various OS boot loaders on the ESP and either telling the firmware which one to boot via an EFI environment var, or having a menu program on the ESP to handle that part
-
RhodiumToad
efibootmgr works by setting those EFI env vars
-
RhodiumToad
if you want a boot menu, there's things like rEFInd
-
sphex
RhodiumToad: that's an intermediate boot loader right? you boot into it and then it chain loads some other ESP boot program?
-
RhodiumToad
yup
-
sphex
I'm hoping that I won't need anything like that. If I have to press the "boot menu" key while booting to pick from the EFI's built-in boot meny that's fine. if that works...
-
RhodiumToad
hm, my buildworld looks nearly done
-
RhodiumToad
after 130 minutes
-
RhodiumToad
hm, not as nearly done as I thought
-
bradd
hi. is there a package that reports pcie 10gb nic temperatures?
-
RhodiumToad
it looks like at least some high-speed NIC drivers report chip temperatures via sysctl?
-
_xor
I'd look at IPMI/SMBus as well.
-
bradd
ok, I'm checking things right now
-
RhodiumToad
can pcie cards be on smbus?
-
bradd
tried sysctl dev | grep ix | grep -i temp but nothing relating to the temperature
-
RhodiumToad
ixgbe driver?
-
bradd
yes, i think so.. Intel(R) X520 92599ES
-
RhodiumToad
looks like ixgbe adds sysctls for temp only on certain device IDs, specifically IXGBE_DEV_ID_X550EM_X_10G_T
-
bradd
sorry, i mis-typed. its a 82599es
-
_xor
RhodiumToad: Not sure, I thought I remember seeing one of my servers show me NIC info via the embedded management interface, and I thought it was getting it via SMBus, but not sure. Couldn't hurt to take a quick look though, should be easy to eliminate if it doesn't.
-
RhodiumToad
FETCH_DEPENDS+= ${GO_CMD}:${GO_PORT} \
-
RhodiumToad
fucking hell.
-
RhodiumToad
how am I supposed to fetch all my distfiles in advance if any go port needs to build go just to fetch itself?
-
meena
sfox: iocage hasn't seen updates in quite some time
-
sfox
why is that?
-
sfox
it's not abandoned is it?
-
sfox
hopefully this is just a matter of rolling back and waiting for a proper fix upstream?
-
meena
-
VimDiesel
Title: Last Accepted Pull Reqest was Oct 2021 · Issue #1289 · iocage/iocage · GitHub
-
VimDiesel
1289 – errno breaks in thread-safe c++ compiles
bugs.freebsd.org/bugzilla/show_bug.cgi?id=1289
-
sfox
ugh
-
sfox
i just migrated from ezjail too
-
sfox
am I really supposed to just go use linux?
-
sfox
i switched to FreeBSD cause I couldn't stand Linuxisms any longer
-
sfox
now this new update even implements /etc/machine-id
-
meena
sfox: Linux is now the new standard without a standards body
-
meena
if we don't follow some of directions or sets you won't be able to run any applications, because people who pretend they program for the POSIX platform don't test on anything than their macOS they developed on, and the Linux ci
-
meena
anyway. ezjail hasn't seen updates even longer than iocage.
-
meena
if you want a thing that's actively developed, please do the research or ask for recommendations
-
parv
So OpenBSD (sans ZFS)?
-
meena
-
VimDiesel
Title: Containers - FreeBSD Wiki
-
meena
parv: oh, yeah, OpenBSD will definitely stay what it is. I think
-
meena
cue OpenBSD integrating a kernel bus
-
meena
tho, honestly, i'd love to see that, because i think they'd do a fantastic job
-
meena
btw, jailer might be a bit volatile
weblog.antranigv.am/tags/jailer but the work coming out of jailer (lol) and landing in base is there to stay
-
VimDiesel
Title: Jailer | Freedom Be With All
-
yuripv
it's almost orwell
-
meena
sfox: anyway, to summarise: the real reason to join a BSD community isn't the technology, so much, although we have some cool tech, it's the process behind how that tech comes together, and the kind of communities that make that possible
-
xtile
I like the tech.
-
meena
the fact that i can get a one line patch into the base system, without having twenty decades of kernel hacker credentials tells you something about our process:
github.com/freebsd/freebsd-src/pull…is%3Apr+author%3Aigalic+is%3Aclosed
-
VimDiesel
Title: Pull requests · freebsd/freebsd-src · GitHub
-
meena
GitHub doesn't tell you that only one of those wasn't merged
-
meena
I love that morse(6) is a game (section six) but it also implements an ITU standard:
freshbsd.org/freebsd/src/commit/82a…6d86acaac75b1ff6d4f8b767bbb117694f1
-
VimDiesel
Title: FreeBSD / src / 82a036d86acaac75b1ff6d4f8b767bbb117694f1 - FreshBSD
-
xtile
Nice.
-
meena
Freaky: what'd you think of displaying the subject line in the title when linking commits?
-
meena
the commit hash isn't as useful to the casual observer as the commit subject line, imo
-
nimaje
seems like games is also meant for stuff that was made for fun and not for some serious need, like caesar too, totaly usable and implements frequency based guessing of the right rotation, ah wait that has a serious need, how else would you solve #ircpuzzles if caesar wasn't in base?
-
mage
no rc.d script for if_wg in 13.2?
-
mage
does this mean that wireguard-tools should still be used?
-
alex1216
Hello again. Looks like there was an power outage during package installation. Now pkg complains about malformed local package database image. Is there any way to recover it without re-bootstraping pkg?
-
_xor
Do you have a list of packages that were installed? (I do wonder how it got corrupted though, is there a *.wal file in /var/db/pkg somewhere?)
-
_xor
...also, anyone know if there's a setting in Firefox to get it to release /dev/dsp when audio isn't actively playing?
-
meena
mage: I think it's in ports
-
» _xor had USB audio stop working randomly several times in the past few days until he finally noticed that the end of of his USB-C cable was frayed and was causing power issues
-
_xor
Replaced the cable and hasn't happened since, but would still like to avoid the sound device being locked and unable to release/re-create without reboot.
-
_xor
(...or at least, that was the only way I found to fix it, though I found a couple of blog posts that seemed to confirm that's the case)
-
alex1216
_xor: Unfortunately, neither. There is only some shell history, but would it be really enough?
-
_xor
No idea. You mainly need to know which packages you explicitly installed were, the rest of it can be installed as automatic dependencies.
-
_xor
I know it's "normal", but seeing a bunch of "pid 12345 (conftest), jid 321, uid 0: exited on signal 11 (core dumped)" messages in my logs still feels...odd.
-
Freaky
meena: that's a surprisingly invasive change
-
meena
Freaky: hmmmm… I figured it might be
-
Freaky
-
VimDiesel
Title: FreeBSD / ports / 23612e19c7ea25fc1a94c70aa3da2905df7da6af / www/onlyoffice-documentserver: Fix path in documentserver-jwt-status.sh - FreshBSD
-
Freaky
maybe not *that* invasive :)
-
Freaky
shortened the ids too
-
meena
-
VimDiesel
Title: FreeBSD / src / 77f0e19 / procctl: add state flags to PROC_REAP_GETPIDS reports - FreshBSD
-
meena
Nice!
-
meena
now my only complaint is that some diffs are too hard to read on mobile
-
meena
-
xtile
turn phone landscape?
-
RhodiumToad
_xor: I reported the reason for that conftest segfault years ago, it could have been fixed but has not been
-
yuripv
Freaky: why does it show older commits to main as being on e.g. releng/13.0, related to git switch?
-
_xor
RhodiumToad: What's the actual fix for it?
-
_xor
(brb, picking up lunch)
-
RhodiumToad
-
VimDiesel
Title: 236165 – crash in malloc with ld.lld and -Wl,--export-dynamic -static
-
Freaky
yuripv: branch names in git are a clusterfuck
-
yuripv
that answer works :D
-
Freaky
with svn you just extract from the filenames in the commit, with git you.. shrug
-
Freaky
branches are just names for tips on the commit graph
-
RhodiumToad
"older commits to main"? you mean ones from before releng/13.0 was branched?
-
Freaky
I use git name-rev and it tries to pick one vaguely sensible branch name for the given commit, which is far less than ideal
-
Freaky
git just has no concept of what branch a commit was made to, you can only vaguely infer it from walking the commit history from the tip of a branch and going back through history until it seems to merge with main or another branch
-
meena
-
VimDiesel
Title: ⚙ D42748 [ELF] Don't create a .dynamic section when linking with -Bstatic
-
veg
hey there; for an 8 x 22tb disks NAS storing movies, would I be better off doing a zpool of 2 x RAIDz1 VDEVs (containing 4 disks each) or 1 x RAIDz2 VDEV (8 disks)?
-
veg
I've consistently read that the more VDEVs the better performance wise, but wouldn't using 2 RAIDz1 VDEVs reduce redundancy by only allow a single drive failure per VDEV?
-
veg
also, I'll be using 10gb NICs soon enough, hence my worrying about having better IOPS
-
» _xor clicks link while opening his lunch from Chipotle(TM)
-
_xor
I really should try Nandos sometime. I've heard good things.
-
xtile
if you have Moe's Southwest Grill, it's like Chipotle but a slightly better. I like both, _xor
-
ox1eef_
Yeah. Fast food chains are, oddly enough, one of the things I miss most since moving to a small village in South America where those options don't exist.
-
Freaky
meena: tried removing line numbers for small displays but Chrome told me to die in a ditch
-
meena
Freaky: that's okay, i don't use chrome
-
_xor
omg, it's a stupid global nodejs dependency that's causing this
-
» _xor noticed his system getting sluggish and CPU utilization rising...then noticed a ton of bash processes being spawned
-
_xor
Looked like some stupid race condition or possibly intentional DDoS (sadly, not uncommon with nodejs ecosystem).
-
meena
Freaky: a quick look at GitHub, gitlab, and codeberg tells me they all do that. it's just your site that i mostly look at:
codeberg.org/FreeBSD/freebsd-src/co…c2b136841b84b8ffdc703a1afeee5d0e268 /
freebsd/freebsd-src b1a00c2b13 /
-
meena
-
VimDiesel
Title: Quiet compiler warnings for fget_noref and fdget_noref · b1a00c2b13 - freebsd-src - Codeberg.org
-
VimDiesel
Title: Quiet compiler warnings for fget_noref and fdget_noref (b1a00c2b) · Commits · FreeBSD / FreeBSD src · GitLab
-
Freaky
meena: I'll sort something out, one way or another
-
meena
and then the others will follow suit I'm sure ;)
-
rwp
veg, Both of your proposals allow for two failing devices but the first one only if the second failure is from the other VDEV while the second allows any two.
-
rwp
Both are good configurations. It depends upon your own judgement as to which is better for you.
-
rwp
If you expect to be able to react to the first device fail by replacing the redundancy of the failure before a second one in the set of four fails then it is fine.
-
rwp
That would be typical in a corporate enterprise datacenter situation with spares handy and someone on call to make the replacement every day.
-
rwp
The raidz2 configuration allows any two devices to fail. Allows a little more slack in your schedule if one fails and you don't get to it before a second one fails then things are still okay if you then replace the failed devices and restore redundancy.
-
rwp
At the cost of somewhat less performance than the striped VDEV configuration of the first proposal.
-
rwp
In my home setup I decided I might be away on vacation for a couple of weeks and I did not need that performance. YMMV.
-
rwp
Also remember that if one has an identical collection of storage devices and they are all running identical hours in identical environments then systematic type failures are more likely to cluster together.
-
rwp
Twice in my career I have had two sibling spinning disks die within a few days of each other. One I caught okay.
-
rwp
The other failed before the client decided to replace the redundancy and I had to do a full restore from backup.
-
meena
rwp: oooooooooof
-
rwp
oooooooooof?
-
meena
that just sounds like no fun.
-
rwp
For the one that I caught I copied the data to a different NAS and switched over to it. But left the original running since it was remote.
-
rwp
And then two days later the second drive in the mirror failed causing the loss of the entire array. But the data had already been moved. So all okay.
-
rwp
For the one that needed full recovery from backup the entire tale was just snafu because that client needed to be convinced to do something about it causing time to drag on. Could have saved it. But not after the second drive failed too.
-
rwp
Experiences like those are why I am a huge fan of raidz2/raid6 which gives a little more safety. Sometimes just enough more. :-)
-
meena
I wonder how drives from different vendors that have same specs… fail
-
skered
.epi
-
rwp
Failures modes from different vendors should be completely decoupled. Which is what you want.
-
rwp
For my own stuff I often split lots of drives. I mean I have two drives that are identical and been running mirrored for a year.
-
rwp
I buy two more identical drives. I then split those lots up so that each system has one new drive and one experienced drive.
-
rwp
Hoping that being a year apart that any failures will not be coupled failures.
-
rwp
Corporations though often have SLAs with service vendors and those vendors will often require arrays to have identical drives and identical firmware. Because they don't want the client to be complaining about weird issues that might be due to drive firmware or behavior.
-
rwp
But they might have a 4-hour service agreement to replace any failures very quickly. Which makes up for the potential problems.
-
rwp
Since veg mentioned 22TB disks I will mention in passing that I sure hope they are not SMR Shingled Magnetic Recording. Because those are completely unsuitable for purpose in a RAID.
-
rwp
If I were _given_ that much SMR storage I would probably still use the drives. But not in any raid. I would use them only as singles.
-
» RhodiumToad grumbles about make's spurious "read-only file system" warning
-
sixpiece
hello I was trying to make the sound work in a user account and then I followed some instructions from the BSD chapter on multimedia now for some reason the sound seems like it works on the user as well as root
-
sixpiece
but xorg stopped working in the user account but it still works in root
-
sixpiece
any ideas what to do to make it work?
-
skered
Xwrapper.
-
sixpiece
-
sixpiece
not sure why it stopped working but that was working before
-
skered
Ok no Xwrapper then
-
RhodiumToad
sixpiece: what error do you get from X when starting as non-root
-
skered
not*
-
sixpiece
I just get the 3 screens
-
sixpiece
it's like 3 terminal screens that are small
-
sixpiece
I've had it on these issues
-
RhodiumToad
how are you starting X?
-
sixpiece
startx
-
sixpiece
it's supposed to automatically start however and it works as root
-
RhodiumToad
and what is in your .xinitrc, and did you change that file recently?
-
RhodiumToad
you have it enabled in /etc/ttys? or where?
-
sixpiece
no but I might have made a command that screwed it up
-
sixpiece
-
VimDiesel
Title: Chapter 8. Multimedia | FreeBSD Documentation Portal
-
sixpiece
I did commands in there
-
sixpiece
sysctl hw.snd.default_unit=4 an extra one or two of these
-
sixpiece
# kldload snd_driver
-
sixpiece
-=- and this command as well that could have interfered the other thing that I did was I added the user to several groups not only pulse but pulse-access and _sndio I then pw groupmod pulse-access -d kiwichap to try and repair the situation
-
RhodiumToad
ah, did you take the user _out_ of the video group by mistake, perhaps?
-
RhodiumToad
try the 'id' command to see
-
sixpiece
I added the user to video group but it shouldn't matter when it goes to sddm since it could be any user of the system I think
-
sixpiece
I mean they don't know specifically that I am that user until I login is what I mean to say
-
RhodiumToad
you're using sddb started from where? rc.conf, or ttys?
-
RhodiumToad
*sddm
-
sixpiece
rc.conf
-
RhodiumToad
and sddm starts ok and prompts for the user?
-
sixpiece
termbin.com/cihg for the id command
-
sixpiece
no it does not start ok
-
RhodiumToad
what happens?
-
sixpiece
good observation I will try
-
sixpiece
cannot mix incompatible Qt library (5.15.5) with this library (5.15.8)
-
gzar
i had the same issue recently
-
gzar
i did `pkg update -f; pkg upgrade -f` and it got resolved
-
gzar
somehow you have 2 qt libraries core versions or something
-
sfox
> if you want a thing that's actively developed, please do the research or ask for recommendations
-
sfox
yes, i'm looking for a reccomendation of iocage development
-
sfox
i mean yes i'm looking for a reccomendation for a replacement of iocage since it's no longer developed
-
sixpiece
right I installed chromium browser
-
veg
rwp: thanks a lot for the thorough reply! My disks are 22tb WD Gold, AFAIK they do not use SMR technology
-
sixpiece
doing the upgrade now , although it doesn't explain why the root still works
-
» gzar shrugs
-
gzar
i had the same issue with screengrab
-
gzar
found the solution on the freebsd forums
-
gzar
after forcing and update and upgrade it worked for most people
-
gzar
its like your binary is compiled against an older version of QT then your current library
-
sixpiece
it says notice: this port is deprecated you may wish to reconsider installing it uses python 2.7 which is EOLed upstream
-
gzar
it must have gotten updated and left the other packages that still relied on the older one unupdated
-
gzar
you have some python2.7 installed, pkg upgrade -f upgrades all your packages
-
RhodiumToad
chromiumm is still stuck on python 2.7
-
sixpiece
ok sounds good
-
sixpiece
stupid chromium
-
sixpiece
thank you
-
gzar
no problem
-
RhodiumToad
or was when I last looked, anyway - not sure if it's fixed
-
RhodiumToad
hm, no, that should have been fixed apparently
-
sixpiece
so I could go up to 6
-
RhodiumToad
?
-
sixpiece
qt6
-
» RhodiumToad doesn't know
-
sixpiece
does anyone know how to do the secure boot is it really not possible or very difficult?
-
Allan
it is not that bad
-
Allan
if your bios will let you enroll your own key
-
Allan
then it is just some commands to sign the loader.efi etc
-
Allan
helped a customer with in last month
-
sixpiece
it has a key already it's like a trio boot of windows, linux and freebsd
-
Allan
signing the freebsd loader with microsoft's key would require having microsoft's private key
-
sixpiece
I'm not an expert on this to say it has a key already
-
Allan
vs, you can add a 2nd trusted key, and sign the freebsd loader with that
-
sixpiece
correct it worked for ubuntu so it must be able to make a 3rd key
-
Allan
ubuntu has a shim loader signed with microsoft's key
-
Allan
so it doesn't require loading your own key
-
Allan
but yes, it is doable
-
sixpiece
ok
-
sixpiece
sounds very interesting
-
Allan
these instructions are rough, and a bit old, but, they talk about the process if you are interested:
freebsdfoundation.org/freebsd-uefi-secure-boot
-
VimDiesel
Title: FreeBSD UEFI Secure Boot | FreeBSD Foundation
-
sixpiece
thanks I believe I tried something like this and got stuck or something maybe that one is updated
-
sixpiece
I'm just upgrading the laptop to 13.2
-
meena
Allan: one day, when PkgBase hits, we can just add WITH_BEARSSL as a standard, imagine that
-
yuripv
when is "one day"?
-
meena
yuripv: my reading is that it's planned to go beta in 14.0
-
yuripv
yay
-
meena
-
VimDiesel
Title: FreeBSD 14.0 Planning - HackMD
-
trev
any way to query pkg info for only packages that are not dependencies (i.e ones that were installed with pkg install)?
-
meena
yes
-
meena
pkg alias --list has something, which i cannot remember
-
trev
i got it i think
-
meena
I think it's leaves?
-
trev
i have no aliases
-
trev
nvm i need to copy the sample pkg.conf
-
meena
noauto
-
trev
sweet, thanks! meena
-
trev
btw i made a forum post about my uaudio problem
-
trev
no one cared to comment yet
-
trev
i'm about to stay up all night and dig into the kernel driver and start hacking it up
-
meena
ah, to be young again…
-
trev
i'm old
-
meena
yes, but, is anyone actively leeching the marrow from your bones, every waking hour of the day, and sometimes at night, too?
-
trev
yeah kinda
-
trev
i don't know what kind of child eats bone marrow though
-
trev
unless i'm missing the poetic reference
-
paulf
it just feels like it
-
meena
it's poetic, alright. except, in utero: if a foetus doesn't get enough calcium, it does leech it from the mother's bones
-
trev
congrats on the news
-
trev
it gets worse
-
meena
anyway, our kiddo is four, and, yes, i know
-
trev
oh nevermind then
-
trev
thought you had a marrow-eater in the oven
-
jbo
I've just updated the base for several jails. all went well except for one jail which is no longer able to update packages from a remote repository due to: 'Certificate verification failed'. All other jails are happily pulling from the same repo. I am not sure how to resolve this. I tried to workaround by bootstrapping from pkg-static but that didn't work either.
-
jbo
where does one usually go from here?
-
meena
why is it failing, exactly?
-
jbo
not sure. it seems that the jail is lacking ca_root_certs tho.
-
jbo
can't install it easily tho as that would happen via pkg :p
-
meena
huh?
-
meena
is this FreeBSD's repos, or your own?
-
jbo
my own. but shouldn't matter. all other hosts & jails are happily working with that repo.
-
meena
yes,
-
meena
it's just that FreeBSD's base system supplies the key for the FreeBSD repo
-
jbo
yeah I have my own cert installed. same as on all other hosts & jails
-
meena
i would use a downloaded/ cached ca_root_certs from one of the other jails and manually install it into the jail, and try again
-
jbo
Certificate verification failed for /C=US/O=Internet Security Research Group/CN=ISRG Root X1
-
jbo
34378686464:error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:/usr/src/crypto/openssl/ssl/statem/statem_clnt.c:1921:
-
meena
can curl/wget/fetch verify it?
-
jbo
sure, I just successfully fetched the HTML of the poudriere dashboard form that jail
-
jbo
actually, it's ca_root_nss and that is installed (brainfart with ca_root_certs)
-
jbo
wtf, I am getting the same error when doing a 'pkg install' on a .pkg
-
jbo
pkg-install -U did the trick. just updated pkg from 1.19.0 to 1.19.1 on the jail but still getting the same error :(
-
meena
pkg add would skip some things that install does
-
meena
but that doesn't explain why you're getting those errors
-
jbo
I've manually installed ca_root_nss from the jail's host in the jail and now things are back to working :s
-
meena
weird
-
jbo
not sure what happened there
-
jbo
meena, also thanks for the pkg-add note
-
meena
jbo: does the log tell you anything?
-
Schamschula
Having fun updating python before moving on to FreeBSD 13.2. I used Poudriere to pre-build the new packages. However, pkg won't admit that Poudriere had built nextcloud-php81. Now manually (re-)building.
-
meena
Schamschula: what does poudriere testport tell you?
-
concussious
hi all, how can I use lock(1) [lock -npv] with zzz(8)?
-
meena
write a wrapper script?
-
puddinghead
im going to switch from debian to freebsd soon
-
meena
lockzzz() { lock -npv & && zzz }
-
meena
concussious: something like that ⬆️ ?
-
meena
puddinghead: cool
-
puddinghead
any advantages of freebsd over linux? aside from the whole approach to freebsd as well as the so-called customizabilty
-
puddinghead
from what ive noticed everything i run on linux should also be running on freebsd, even the emulators
-
puddinghead
but im still a bit worried about running freebsd alone as opposed to dual booting for non-emulated games and photoshop
-
puddinghead
(not like i havent used photoshop in a looong time)
-
concussious
@meena thank you so much
-
meena
puddinghead: my favourite part is that i know where to find the source,
cgit.freebsd.org/src/log (and how that makes contributing back to it very easy)
-
VimDiesel
Title: src - FreeBSD source tree
-
meena
concussious: thank me when it works. that's untested, written on my phone
-
concussious
@meena, ok I'll go test now
-
puddinghead
@meena nice
-
puddinghead
im also a bit worried when it concerns hardware compatibility
-
puddinghead
mostly because i have an nvidia card but still
-
puddinghead
does the 3070ti work on freebsd?
-
meena
i mostly use FreeBSD on servers, and virtual machines. I had one Lenovo laptop that i used for FreeBSD development which I bricked (well, not really bricked, just upgraded into a non-working state)
-
meena
either way, I'm not allowed to touch real hardware, so you'll have to ask someone else
-
puddinghead
i see
-
puddinghead
id also like to move my vps from debian to freebsd tbh
-
puddinghead
kind of tired of how debian forces me into dependency hell and whatnot
-
parv
There is no escape from dependency hell
-
puddinghead
for real
-
meena
we also just cook with water
-
puddinghead
based
-
puddinghead
i hate oil
-
meena
(ELF, but we have slightly more symbol versioning in base)
-
yuripv
puddinghead: yes, there's binary nvidia driver for FreeBSD
-
puddinghead
nice
-
puddinghead
how good is it?
-
meena
(not as much as Solaris or Windows, but definitely more than a standard Linux distro)
-
yuripv
it's lacking cuda support, otherwise should be the same as in linux
-
Schamschula
poudriere testport seems to indicate everything is in order. I installed lots of other packages w/o any issues. Everything is back up using manual builds.
-
RhodiumToad
puddinghead: the nvidia driver is provided and maintained by nvidia, as far as I know the only long-standing defect is lack of CUDA, and I saw that there may have been progress on that
-
jbo
meena, sorry, was busy doing laundry.
-
meena
speaking of ports, I need to upgrade the GoToSocial port
-
puddinghead
i see
-
jbo
meena, haven't checked logs. it's a burner jail so also didn't care too much.
-
puddinghead
i think that my biggest issue with switching from linux to freebsd is the whole ai thing
-
puddinghead
i sometimes work with ai on my gpu as a hobbyu
-
puddinghead
not too often, though
-
paulf
you could dual boot
-
paulf
(or more :-) )
-
jbo
afaik bhyve recently gained the ability to pass-through GPUs
-
jbo
kinda sucks if you only have one GPU tho :p
-
meena
or have a vm and pass-thru the gpu, oh
-
RhodiumToad
it's worth checking on whether progress has been made with nvidia in that respect
-
jbo
I'm just glad that now I can finally have a VM with more than 16 vCPUs. that was a real bummer.
-
puddinghead
yeah, i only have one gpu
-
VVD
What web/gui/tui/cli do u use for manage bhyve's VMs?
-
VVD
jbo
-
VVD
Tried ClonOS - missing many must-have features
-
jbo
VVD, I use cbsd (the guy that also works on clonos)
-
jbo
from the guy* (I'm not that guy)
-
jbo
I spend months testing different CLI tools to manage jails/VMs and eventually settled with cbsd - been happy ever since.
-
jbo
VVD, if your user info is to be believed the cbsd author is one of your commrades
-
VVD
jbo, do you know how to connect iso from different place to vm?
-
VVD
without any repositories and etc
-
VVD
and create VM without any templates - just create vm
-
VVD
I know about author and planned to contact him
-
jbo
sure, you can just dump ISOs wherever you want on your host and register that location as a local repository in CBSD. you can also mount them from an NFS share or whatever if you feel fancy
-
VVD
jbo, ye, I have NFS share with a lot of iso files - use for VirtualBox and VMware
-
VVD
> register that location as a local repository in CBSD
-
VVD
every file or just root of place?
-
puddinghead
once i switch from linux to freebsd, what should i use for my backup?
-
puddinghead
i generally use btrfs for linux backups, but i think that for freebsd i might as well use zfs as the backup format for my external hdd
-
jbo
VVD, I think you can do both. I remember having spawned some VMs with weird images I didn't want in my library so I just attached that ISO directly to the VM upon creation.
-
jbo
puddinghead, have a look at zfs-send and zfs-receive. that allows you to do a lot of stuff.
-
jbo
VVD, have a look at the 'media' subcommand of cbsd
-
VVD
puddinghead, I'm using zfs snapshots send/receive via network for backups 5 years
-
jbo
VVD, cbsd media --help
-
puddinghead
that sounds nice
-
puddinghead
my pc is pretty decent (16gb ram + 1tb nvme) so i should be fine just using zfs right
-
jbo
definitely. been running ZFS regularly on 8gb RAM machines and afaik 4gb works too (as general rule of thumb)
-
puddinghead
thanks a lot
-
jbo
just go zfs - don't even look at UFS for a desktop system if you're new to freebsd
-
jbo
zfs is epic
-
puddinghead
i guess thats yet another reason to switch to freebsd in addition to my grievances with linux and being able to keep a stable base AND installing the (almost) bleeding edge versions of programs at the same time
-
VVD
for servers better
-
VVD
:-D
-
puddinghead
yeah freebsd for my media server was what i was originally planning to do with it
-
jbo
puddinghead, we've all been there :p I too switched from linux to freebsd about 12 years ago. first only for servers. now also desktop.
-
puddinghead
yay!
-
jbo
once I saw how much nicer the freebsd experience is on my servers I decided to also go freebsd desktop and I have not looked back a single time.
-
VVD
using FreeBSD for servers from 4.x
-
VVD
for desktop from 7.x
-
jbo
I think I was still wearing dipers in 4.x times :s
-
» RhodiumToad has been using it for desktop for 26 years now
-
jbo
my first freebsd was 10
-
puddinghead
that's a loooong time
-
puddinghead
my first freebsd will be either 13 or 14 depending on how late i end up switching
-
RhodiumToad
2.1.x installed from floppies :-)
-
puddinghead
first need to get rid of that pesky bios password
-
puddinghead
nice
-
jbo
puddinghead, a word of warning tho: hardware support is not as nice as it is in linux world. not a problem for servers, generally also not for desktops but if you plan to go freebsd on a laptop choose carefully.
-
ixmpp
jbo: thats what puts me off, tbh
-
puddinghead
yeah thats why im planning to get an old thinkpad if i do get a laptop
-
puddinghead
im on desktop rn
-
puddinghead
main issue for me are the peripherals tbh
-
jbo
ixmpp, I was initially concerned too - but haven't looked back :)
-
ixmpp
i cant even have it on my laptop because elan touchpad
-
puddinghead
i use everything wired but im stil worried if my mouse/kb/speakers dont work
-
jbo
just don't use crappy peripherals you don't need but marketing makes you think you doo :p
-
puddinghead
yeah
-
ixmpp
guess i'll rip out my touchpad :p
-
puddinghead
rip touchpad
-
jbo
who uses a touchpad anyway o.O
-
jbo
xD
-
jbo
anyway, my touchpad works just fine (synaptics).
-
jbo
puddinghead, what CPU are you running? Intel 12th & 13th gen support is pretty so-so. My last laptop upgrade was intentionally an 11th gen
-
puddinghead
ryzen 7 5800x
-
puddinghead
i am not buying recent intel processorws
-
jbo
not running any myself but from what I remember from forums/mailing-lists that should work fine.
-
jbo
yeah I think my intel times are also over... :s
-
puddinghead
yeah amd has no issues iirc
-
RhodiumToad
amd has had plenty of issues
-
jbo
yeah that seemed like a pretty non-solid statement
-
puddinghead
true
-
puddinghead
was mostly referring to cpu though
-
jbo
don't worry - we're used to it from folks switching over from linux :p
-
RhodiumToad
yes, amd cpus have had plenty of issues
-
jbo
RhodiumToad, care to enlight us/me a little? I am considering going AMD soon.
-
puddinghead
yeah
-
ixmpp
jbo: used to what?
-
RhodiumToad
one of the most glaring ones from a few years back is that some amd cpus would break if you used the top page of memory
-
ixmpp
😂
-
puddinghead
lmao what
-
jbo
RhodiumToad, that sounds like the AMD I used to know :D
-
jbo
anyway, not running shitty software usually goes a long way in avoiding hardware upgrades
-
jbo
if your text editor requires a web server you don't deserve to have a good experience IMHO :p
-
ixmpp
that i can agree on
-
ixmpp
all the things i want from a desktop experience are already on freebsd, happily, because i keep things trimmed down
-
ixmpp
but then hardware fails me
-
jbo
heck, I am not even running dbus :d
-
puddinghead
amazing
-
ixmpp
i think i'd have been running it on that laptop for ages if not for that driver issue
-
jbo
ixmpp, no luck with porting the linux driver(s) via KPI?
-
jbo
that's what is currently going on with iwlwifi too
-
ixmpp
heh. tried for so long to avoid dbus, but its just not reasonable to, on linux, anymore
-
ixmpp
huh, i dunno actually, i never dug far
-
jbo
yeah, once your init system requires a DNS implementation any argument falls short I guess :p
-
ixmpp
oh at least that is still avoidable
-
ixmpp
for now
-
jbo
I was amazed the other day when working on the hardware design for an embedded linux project that systemd won't do with 128MB total system RAM out-of-the-box
-
puddinghead
NICE
-
puddinghead
ive actually used linux without systemd more than with systemd on my desktop
-
puddinghead
rn im on devuan for desktop and i actually started with artix
-
ixmpp
i think i only put up with systemd briefly
-
puddinghead
seems about right
-
puddinghead
i like the convenience on my server but on my desktop? not as much tbh
-
puddinghead
systemd on the desktop is kind of bloat tbh
-
ixmpp
so what you want is just a good service manager? or, what draws you to it on a server?
-
puddinghead
ease of use, really
-
puddinghead
as well as good service management, something that gets stuff out of the way
-
ox1eef_
Super hard to avoid dbus in my experience. Most login managers depend on it. Chrome depends on it (afaik).
-
puddinghead
systemd uses more ram than id like to but its the price to pay on my server
-
puddinghead
on desktop doesnt matter as much since i dont prioritize memory management as much as on my servers
-
ixmpp
ox1eef_: if you use a light login manager, you avoid that first one, and obviously yeah don't use chrome. my problem was every small app under the sun these days assumes dbus, even if for dumb small things like libnotify
-
ixmpp
its whackamole
-
puddinghead
i dont even use a login manager these days tbh
-
ixmpp
it seemed smarter to cave and have one controlled dbus broker, than every app starting one
-
ox1eef_
Yeah, I wanted to avoid it as well but I eventually gave up. I was using Slim at one point. Now I just use startx.
-
puddinghead
same, except i actually stopped when i got lightdm replaced with slim
-
puddinghead
then i tried tbsm a bit
-
puddinghead
but uninstalled because i noticed i just had xfce and therefore had no need for anything more than startx
-
ixmpp
i think there's some pam-based stuff that ends up easier with a login manager - console sessions don't create a runtime dir, graphical ones do. though, on freebsd i just loaded pam_xdg so maybe that doesnt apply there
-
ox1eef_
On OpenBSD I use xenodm. It would be nice if that was ported to FreeBSD. I'd most likely use it instead.
-
puddinghead
i see
-
ixmpp
i reccomend greetd, or Ly
-
ixmpp
both are lovely
-
puddinghead
yeah ive been considering greetd
-
ixmpp
text-based login manager, every time
-
puddinghead
yeah
-
ox1eef_
Ly is nice indeed. I used that at one point too.
-
ixmpp
unfortunately, i use pam_yubico, and Ly doesnt support that
-
ixmpp
so yet another pain
-
ixmpp
(greetd isnt ported to freebsd)
-
puddinghead
i tried ly
-
puddinghead
prefer tbsm tbh
-
puddinghead
but idk if its ported to freebsd
-
puddinghead
doesnt seem so
-
ox1eef_
All of it is candy anyway. startx is all you need.
-
puddinghead
yeah lol
-
RhodiumToad
xdm ftw
-
» RhodiumToad is very old-school about X stuff (still uses twm)
-
» meena tries to remember how to startx kde
-
» jbo is just happy with x11-wm/bspwm
-
puddinghead
* puddinghead has used xfce since she first switched to linux
-
ixmpp
i am pretty set on wayland. i do think it was a good move
-
puddinghead
if i wasnt on novideo id prob be using wayland tbh
-
ixmpp
though i take it thats unpopular here
-
jbo
puddinghead, the way to do that is by using /me followed by whatever message
-
puddinghead
i see
-
puddinghead
so itd be like this
-
RhodiumToad
hah, found the amd last-page thing
-
» puddinghead has been using xfce since first getting into linux
-
RhodiumToad
"Lower the amd64 shared page, which contains the signal trampoline, from the top of user memory to one page lower on machines with the Ryzen (AMD Family 17h) CPU."
-
jbo
ixmpp, wayland is just one of those linux things that tries to solve a problem that doesn't really exist and hasn't solved it yet. plus terrible support from nvidia's side.
-
meena
jbo: luckily, Val is very interested in it, so it might become more usable in time for us
-
ixmpp
granted, i don't use nvidia, but i still appreciate it
-
ixmpp
and frankly, nothing wrong with competing standards, right?
-
jbo
we'll see. I am not opposed to new things in general. but until they actually work better than what has been there for decades I see no reason to switch. leave the hype to linux users :)
-
ixmpp
meena: it's already pretty usable, from what i've tested
-
jbo
ixmpp, let me guess: you just installed a desktop and used it normally?
-
ixmpp
yes?
-
jbo
hardly what matters to the industry
-
meena
all I've seen, be it Linux or FreeBSD, was pretty poor
-
jbo
that ^
-
ixmpp
wayland already is and has been used by the industry some time to be fair
-
meena
it's like a second system effect in reverse
-
ixmpp
phones, car screens, netbooks
-
jbo
ixmpp, same story as with systemd, pulseaudio and all the other "crap" (excuse my language). a lot of things are being used because the workarounds have become more painful than just accepting the degrataion of quality.
-
ixmpp
(and actually from what i understand, in those situations it was used because it actually was better)
-
jbo
something that FreeBSD luckily handles very differently.
-
jbo
heck, I remember when debian had to gave in and switch to systemd... they didn't do it because they perceived systemd as the better system.
-
ixmpp
how does freebsd handle X differently?
-
jbo
it doesn't. the "handle it differently" was in regards of not jumping on every new hype emerging from the linux world.
-
jbo
linux changes fundamental system components more frequently than the average european changes cars.
-
jbo
or the brits their PM :D
-
ixmpp
i get it
-
ixmpp
ha, ouch
-
puddinghead
do europeans even use their cars?
-
ixmpp
too close to home
-
puddinghead
the ones in the cities at least
-
jbo
puddinghead, we try to avoid it when possible. I live in a remote mountenous area so live without a car is pretty difficult
-
ixmpp
i appreciate that it is a pretty loud linuxism, but of all the ones of late, its the only one i'm actually sold on
-
jbo
but my car usually doesn't see action for more than once or twice a month
-
puddinghead
i see
-
jbo
ixmpp, I can see how wayland is definetly one of the least affected - indeed.
-
jbo
again: I am not agains change. I am against changing things constantly just because some community needed another hype to fuel their self perceived value rather than actually improving things.
-
jbo
it seems to have become a trend to replace prooven things rather than extending and improving them and then eventually figuring out that it's way too much work after replacing stuff that has been working well for decades - and then moving on to the next thing doing the same again :D
-
ox1eef_
Yup. That's my biggest issue with Linux generally. They want to replace everything that came before with complex, and complicated alternatives that are so far from simple that it is almost sad.
-
puddinghead
for real
-
puddinghead
linux stop switching audio systems every 5 years challenge (difficulty: impossible)
-
ixmpp
yeah that one hurts
-
RhodiumToad
sometimes you do need to replace something, but you need to make sure the replacement is actually both better and simpler
-
jbo
jup
-
jbo
look at geom. still going strong :D
-
jbo
and pretty much anything else in base
-
jbo
and then we didn't even start talking containerization technologies...
-
jbo
meanwhile, jails still rule.
-
» RhodiumToad mutters about the geom bug he has outstanding
-
jbo
RhodiumToad, would you happen to know whether there is any progress on root-on-zfs with boot-from-encrypted-dataset?
-
RhodiumToad
progress from where?
-
jbo
I thought that was a spanner in the working
-
jbo
afaik there was some plan of adding dataset decryption support to the boot loader to encrypt zroot
-
RhodiumToad
oh, with zfs native encryption?
-
jbo
yeah
-
RhodiumToad
dunno. haven't been looking.
-
jbo
I ditched GELI one zfs native encryption became a thing but can't boot from those.
-
» jbo remembers the awkward GELI but from a few months (?) ago :D
-
jbo
bug*
-
ixmpp
anyway, jbo do you have resources for attempting to port a driver with linuxkpi? maybe i ought to try
-
ixmpp
at least on that laptop, thats the only thing holding me back
-
jbo
ixmpp, have a look at drm-kmod and iwlwifi. they do this successfully (with lots of KPI work happening every week)
-
jbo
ixmpp, just don't get confused by the linuxulator thing. there's a difference between linuxulator and LinuxKPI. the later is targetted for interfacing linux kernel drivers
-
puddinghead
i see
-
ixmpp
yup, already aware
-
jbo
great :)
-
ixmpp
im now wondering if sound will work too, because even linux struggled with audio drivers for that laptop until i ripped the firmware out of chromeos
-
jbo
what abomination of a laptop do you have?! :D
-
ixmpp
acer chromebook flip C433 (shyvana) :p
-
jbo
alright :D
-
ixmpp
chromebooks are great for value for money
-
ixmpp
audio card is MAX98927
-
jbo
ixmpp, grep on source shows results in the device tree. no idea whether it actually works tho
-
ixmpp
heh
-
jbo
the device-tree text file lists it as "compatible: should be one of the following [...] MAX98927"
-
jbo
ixmpp, you can always boot from a usb drive and test everything that way
-
ixmpp
yeah, i was thinking that, i have a usb mouse
-
ixmpp
well, shouldnt need one i guess
-
jbo
surely RhodiumToad is still using a PS/2 mouse
-
RhodiumToad
actually I am
-
jbo
knew it <3
-
ixmpp
gee i havent seen one of those in over a decade
-
RhodiumToad
but I do currently have a usb keyboard (not entirely by choice)
-
RhodiumToad
there's a ps/2 keyboard plugged in as well (I think the ps/2 mouse port doesn't work without it) but I'm not using it
-
jbo
did you require n-key roll over for more efficient blogging? :p
-
RhodiumToad
no
-
jbo
that was an unnecessarily snarky question - sorry. I'd be geniuenly interested in learning why you switched to a USB keyboard involuntarely.
-
RhodiumToad
mostly due to having to switch keyboards around without rebooting the machine
-
jbo
I wish I would have been able to experience the glory days of computing.
-
RhodiumToad
plugging in a usb keyboard was less disruptive than trying to get at the ps2 ports (which are not exactly hot-plug-friendly)
-
jbo
reasonable
-
» RhodiumToad remembers the days of AT keyboards, with DIN plugs
-
puddinghead
ps2 peripherals sound so nice
-
puddinghead
kinda want to switch from usb to ps2 mouse noww that i think about it
-
puddinghead
mostly because i want a mouse without rgb lightning but whatever
-
jbo
the best mouse-related thing I did in my life was switching to a trackball
-
RhodiumToad
I believe the latency is still lower on ps/2 ports
-
puddinghead
i c
-
ixmpp
this, im intrigued about. i love my fancy keyboard and mouse
-
jbo
puddinghead, just buy peripherals without rgb o.O
-
ixmpp
having 12 extra buttons on a mouse is something i wouldn't go back from
-
puddinghead
keyboard is just fancy enough to have a backlight, its a very cheap reddragon otherwise
-
puddinghead
and im fine with it rn, gonna switch to a more expensive keeb if it ever dies on me
-
ixmpp
just seems like ludditism to go back like that
-
jbo
when it comes to peripherals, I just use my general strategy of "buy once - but buy well".
-
ixmpp
i can live without the rgb part, but the buttons no
-
ixmpp
i mean, what is your rationale for preferring ps/2, it seems we already detailed one reason it's a pain?
-
RhodiumToad
fwiw I can't find evidence of support for the MAX98927 on freebsd
-
ixmpp
damn.
-
jbo
RhodiumToad, it's only mentioned in some text file in /sys/contrib/device-tree/Bindings/sound/max9892x.txt
-
RhodiumToad
it seems to be an i2c device
-
ixmpp
would make sense, touchpad is also i2c
-
jbo
RhodiumToad, most audio codecs & amps have an i2c sideband interface to control stuff like volume etc.
-
jbo
and then usually SAI for the actual sound interface (or USB or whatever)
-
ixmpp
(also, trackballs break so often, do you really think that's worth it)
-
ixmpp
lord i don't wanna go back to the ps/2 trackball era
-
jbo
what breaks about them so often? just buy a decent one. same as with a mouse.
-
jbo
I'm using a USB trackball - just use whatever you like.
-
ixmpp
moving parts
-
RhodiumToad
the disappearance of mouse balls is something I very much appreciate (not all innovation is bad :-)
-
ixmpp
its inevitable, eventually
-
jbo
the only moving part on mine is the trackball itself which is a solid sphere. everything else is static.
-
ixmpp
oh, it uses cameras or something?
-
jbo
yes.
-
ixmpp
interesting
-
jbo
it's literally like any modern optical mouse but then just tracking the movement of a ball rather than its movement relative to the surface you use it on.
-
» puddinghead is curiously watching the conversation unfold
-
puddinghead
now that i think about it
-
ixmpp
that i understand, then
-
puddinghead
does any virtual drive software exist for freebsd?
-
jbo
puddinghead, define "virtual drive"
-
puddinghead
some program that allows you to mount iso files
-
RhodiumToad
sure
-
RhodiumToad
mdconfig
-
ixmpp
fuse exists, so
-
puddinghead
i see
-
jbo
ofc
-
puddinghead
is mdconfig the default mount anything program or is it just for images
-
RhodiumToad
md = "memory disk" (but it actually does files as well)
-
jbo
it's a memory disk - anything you want.
-
RhodiumToad
mdconfig creates disk devices which are backed by wired memory, swappable memory or files on any filesystem
-
jbo
bonus points for doing a memory device over rclone
-
RhodiumToad
the created device works like a disk for all purposes
-
jbo
just found this in some of my code:
-
jbo
y -= 7.0; // No idea why but it's 3am in the morning and fuck this shit.
-
jbo
not good.
-
puddinghead
i see
-
puddinghead
also, do appimages work on freebsd or are they linux only?
-
puddinghead
pretty sure its the latter but i still wanna check to make sure since a thing or two might be appimage only unless i try to compile 'em from source
-
jbo
appimages are a linux thing
-
jbo
and pretty much anti-unix in every perceivable aspect
-
puddinghead
seems about right with all the alternate packaging methods currently trending on the linux world
-
puddinghead
snapd and its suckstemd dependence, flatpak's lack of quality control, etc
-
jbo
the way to install 3rdparty software on freebsd is via ports. anything that has an existing port can be installed via pkg install foo
-
puddinghead
yeah i am indeed considering ports
-
jbo
you don't get a choice. FreeBSD tends to be concise
-
puddinghead
i like being concise
-
jbo
I mean sure, you can build everything locally and install it that way but that is pretty much what the ports framework does for you.
-
puddinghead
yeah, thats what i like about ports
-
RhodiumToad
well, some ports do not have packages, but those are a minority
-
puddinghead
pkg install installs from binary though, doesnt it?
-
RhodiumToad
generally due to licensing issues
-
puddinghead
or does it install the port with the exception of some big packages
-
puddinghead
and makes sense
-
RhodiumToad
pkg install installes a package.
-
RhodiumToad
the ports tree defines how to build a package from the original source.
-
puddinghead
i see
-
jbo
puddinghead, by default, pkg installs binary packages built on the official builders. however, you can also build your own repositories (where you compile everything yourself). I one wrote a high-level beginners tutorial for that
-
puddinghead
nice, where can i read it?
-
jbo
a port is basically just a recipie from which the port will be compiled
-
RhodiumToad
a bunch of machines at freebsd.org spend all their time building ports and putting the packages into repositories
-
jbo
-
VimDiesel
Title: Poudriere: A complete guide
-
ixmpp
puddinghead: ftr, appimages are just packaged binaries and libs, you can extract them if youre desperate, or just build it?
-
jbo
ixmpp, and end up with a bunch of executables that make system calls that aren't available?
-
ixmpp
i think the only thing i still use appimage for is ledger live, because it's proprietary and there's bugger all to be done about that
-
» RhodiumToad running a poudriere build right now, as it happens - 829 queued, 213 built, 1 failed so far
-
ixmpp
jbo: i meant on linux
-
ixmpp
or, linuxulator
-
jbo
RhodiumToad, I changed my poudriere config the other day. I was a bit done with waiting for some ports to compile on single-core while all other builders are idling
-
jbo
now I am looking at load averages of 20
-
puddinghead
@ixmpp only think i really need appimages for is pcsx2 i think
-
ixmpp
pcsx2 is open source, isn't it?
-
puddinghead
yeah
-
puddinghead
retroarch is on ports, dolphin if i ever need to use it is on ports, rpcs3 has official freebsd releases
-
puddinghead
mame is on freebsd too and i think ill need that soon
-
ixmpp
jbo: on that topic, am i losing out on much by using portmaster and not poudriere, i've yet to comprehend what poudriere offers entirely, but it seems more complex to set up
-
RhodiumToad
poudriere is the bee's knees
-
RhodiumToad
and I say that as a long-time portmaster user
-
puddinghead
bee's knees?
-
jbo
+1 for poudriere
-
ixmpp
its a british idiom :p
-
ixmpp
fair enough, will try, on my server at least
-
jbo
I never used portmaster so I can't tell but everybody I know that used portmaster switched to poudriere eventually
-
RhodiumToad
ixmpp: poudriere's big win is better parallelism and clean builds
-
jbo
jup, poudriere does all the building in jails
-
ixmpp
neat
-
jbo
very neat.
-
RhodiumToad
also better handling of dependencies, portmaster notoriously keeps recursing through the same things repeatedly
-
RhodiumToad
whereas poudriere sorts out the dependency list once at the start
-
ixmpp
while im at it, is there a way to globally enable debug symbols, with e.g. poudriere config?
-
jbo
I think poudriere is one of those cases where something newer actually solved problems :p
-
jbo
ixmpp, yeah, you can have a global make.conf
-
RhodiumToad
WITH_DEBUG in make.conf
-
puddinghead
nice
-
ixmpp
gotcha
-
puddinghead
i've wanted to work with jails since forevers
-
puddinghead
seems like a better docker (especially given the recent controversies)
-
jbo
just do it.
-
RhodiumToad
note that poudriere has its own make.conf files, since they may need to be different from the host ones
-
jbo
I'd argue that jails are a core concept/feature of FreeBSD.
-
ixmpp
certainly much cleaner than lxc
-
puddinghead
really? that sounds cool
-
RhodiumToad
also, poudriere can do cross-building nicely
-
puddinghead
nice
-
jbo
RhodiumToad, although dealing with qemu-static is apparenlty at times painful :D (if you want to do aarch64 builds)
-
RhodiumToad
oh, I know
-
puddinghead
currently reading the tutorial and they say that pudriere should be ran in a separate server... i dont have any
-
puddinghead
just my desktop
-
RhodiumToad
it doesn't need to be separate.
-
puddinghead
really?
-
jbo
puddinghead, my tutorial? that should just be a recommendation. you can do it well on your local machine and still get all the benefits for free.
-
puddinghead
thanks
-
jbo
I know plenty of people running poudriere on their desktop because they don't have a dedicated server
-
RhodiumToad
however, if you don't disable or restrict poudriere's use of tmpfs, it'll use a shitton of memory
-
puddinghead
how much should it be compared to actual memory
-
jbo
yeah, that's why my poudriere server runs 128GB RAM. but that is certainly not a requirement at all.
-
RhodiumToad
(it's an option in poudriere.conf)
-
puddinghead
like, if i have 16gb of ddr4 ram
-
puddinghead
what hould the limit be?
-
jbo
the limit would be 16gb
-
puddinghead
really?
-
puddinghead
i expected like half that
-
jbo
if you only have 16gb then the limit is 16gb, yes :p
-
jbo
I mean the base OS uses like what? 300MB?
-
jbo
my first poudriere server was running happily with 16gb
-
RhodiumToad
if you let poudriere use tmpfs for workdirs, which is the fastest way, it can use a lot more than 16GB
-
jbo
yeah, mine is currently consuming 103 GB :x
-
jbo
but I set tmpfs to 'all'
-
jbo
puddinghead, the takeaway here is: you are not restricted. poudriere will run just fine on your desktop. just go with the default config when you start out.
-
jbo
definitely DO use ZFS tho.
-
RhodiumToad
er, I'd say turn off tmpfs use rather than using the default.
-
puddinghead
yeah im 100% gonna use zfs, been wanting to try it out and might as well try on desktop before i get my media/datahoarding server
-
jbo
puddinghead, you can also put your poudriere server in a VM (eg. when you run your desktop on freebsd just spawn a native bhyve VM). that way you can easily limit memory usage.
-
puddinghead
i see
-
puddinghead
so i could limit it to like, 8 gigs if i wanted?
-
RhodiumToad
sure
-
RhodiumToad
I'm currently running it in a 4.5GB vm
-
puddinghead
and then how would i transfer my poudriere builds to the actual pc
-
jbo
puddinghead, my tutorial shows all of that.
-
puddinghead
my issue with vms is disk storage just as much as ram, ive been starting to hoard data so its become an increasing worry (and im planning to get a second drive soon)
-
puddinghead
cool!
-
jbo
the normal way is to setup an nginx webserver on your poudriere server (which very well may be a VM). then just setup your client (your host) to consume that repo via HTTP(S) and you're done (also shown in that tutorial).
-
puddinghead
i see
-
puddinghead
do i need to do any fancy stuff like open up router ports or nah?>
-
jbo
I'd recommend you just to get started. things will make sense soon.
-
ixmpp
is `ln -s /etc/make.conf /usr/local/etc/poudriere.d/make.conf` a bad idea?
-
jbo
unless you want it to be accessible from outside your host no.
-
jbo
ixmpp, I'd say so :D
-
ixmpp
damn :p
-
puddinghead
host is the hostname right?
-
puddinghead
as in the local network?
-
RhodiumToad
ixmpp: it's not quite what I do
-
jbo
ixmpp, you'd most likely want a different make.conf for your ports than for your host.
-
RhodiumToad
ixmpp: what I do is this: /etc/make.conf has only .include lines for make-common.conf, make-default.conf and make-${MACHINE_ARCH}.conf
-
jbo
that's the pro setup. generally I'd just recommend to get started. you can always tweak & improve later.
-
RhodiumToad
ixmpp: then in poudriere.d, default-make.conf -> /etc/make-default.conf, etc.
-
ixmpp
ah, cool, clever
-
RhodiumToad
that way I can have poudriere.d/amd64-make.conf -> /etc/make-amd64.conf, and likewise for i386 and armv7
-
puddinghead
i c
-
jbo
ixmpp, puddinghead you might also want to consider using the poudriere-devel port as the development version has a setting which allows to fetch packages from the official binary repos IF they match what poudriere would build otherwise. this can safe a lot of time & energy if you just run a small setup on a desktop.
-
puddinghead
oh, really?
-
puddinghead
i just have to pkg install poudriere-devel instead of the regular one then, right?
-
RhodiumToad
yeah, the real annoyance with poudriere builds is having to build things like rust and llvm, which take ages
-
jbo
all my desktops that run poudriere locally (for ports development) use that feature. only my build server doesn't (because I just want to build everything myself)
-
puddinghead
@RhodiumToad can relate. compiling firefox is like hell.
-
jbo
jep. and changes are that you just want to use rust, llvm and so on the way they are in the official binary repos anyway. in that case poudriere will fetch those instead of going through 16 hours of building them.
-
puddinghead
honestly all of this makes me want to just upgrade ram before storage
-
puddinghead
just gonna go from 16gb to 64gb
-
RhodiumToad
worst thing is that you often end up having to build multiple llvms
-
jbo
oh yeah, my poudriere is currently building llvm12, llvm13, llvm14, llvm15, llvm16 and llvm17-devel.
-
jbo
so you'd want to fetch those from the official binary repos instead in your average beginner case :)
-
RhodiumToad
looks like this build I'm doing will include llvm10, llvm12, llvm13 and llvm15
-
RhodiumToad
and I have no idea why llvm13 is in there