-
mason
Hm, I'd never before noticed that /var/db/freebsd-update can get unexpectedly large.
-
mason
Ah, mostly in files/
-
mason
And, the man page nails it: "All files under /var/db/freebsd-update/ may be deleted if an upgrade is not in progress and rollback will not be required."
-
tm512
I'm trying to jump over to 15, to see if the 6.6 DRM drivers work better, following the directions from
wiki.freebsd.org/action/show/pkgbase
-
tm512
pkg-static spits out a bunch of stuff about "cannot solve problem using SAT solver" and a bunch of lines with "require rule", asking me if I want to remove kf6-kiconthemes from the request
-
divlamir
josephholsten: so it was just a resolv.conf issue? Glad you sorted it out. And about that big container library, when you say porting, are you working on some kind of FreeBSD compatible podman registry?
-
tm512
do I want to remove it? isn't that going to result in me rebooting into a half-upgraded system?
-
divlamir
I haven't used KDE for many years, but it looks like it provides just a couple of theming libs. Worst thing is KDE could be somehow borked if you have heavily customized it
-
» divlamir off to work
-
tm512
I'm not even using KDE. something else pulled KDE Frameworks in as a dependency
-
tm512
saying yes it's also having a problem with kf5-kcmutils
-
tm512
and kf6-kservice, kf6-knotifications, kf5-kdeclarative, kf6-kxmlgui, kf6-karchive, and a *bunch* of other KDE Frameworks packages
-
divlamir
pkg info -r ...
-
tm512
I'm wondering if this is because I don't have an already fully updated set of packages here on 14
-
tm512
seems Falkon brought in these dependencies
-
tm512
I'm going to try to upgrade base first, and then upgrade non-base packages after, see if that works
-
tm512
also, base_latest for 15 is now being built from stable/15 right, and I'd need to ask for 16 if I wanted to track main?
-
tm512
following the wiki's instructions, I'm not sure which of these pkgbase packages in 15, but not in 14, are actually things I want to install
-
tm512
it seems like 15's base_latest kernel packages actually predate stable/15 being forked: FreeBSD-kernel-generic-15.snap20250904204618
-
tm512
got suspicious when I noticed the generic-nodebug package showing up in my uninstalled packages
-
tm512
how do I upgrade to stable/15 or the ALPHA1 snapshot from a 14-STABLE pkgbase system?
-
angry_vincent
anyone have /usr/obj on tmpfs, i,e building world/kernel on tmpfs? if yes, does META_MODE work? for me having /usr/obj on tmpfs not working with META_MODE, each build is from scratch
-
tm512
I thought base_latest was supposed to be built twice daily, so if it were tracking stable/15 at this point surely it'd have some packages that were built later than sept 4th
-
tm512
it's weird, 14's base_latest is up to date, 16's base_latest is up to date, but 15's is not
-
tm512
I'd prefer to avoid needing to bother with the nodebug kernel stuff
-
tm512
whatever, I guess I'll just settle for the outdated packages for now, and just manually select the nodebug kernel. hopefully this is sorted out before ALPHA2. it would just be nice to be able to find any information as to what's going on
-
tm512
-
tm512
so my guess that the SAT solver errors could be avoided by upgrading base separately was incorrect. upgrading still wants to remove a bunch of packages:
termbin.com/0oni
-
tm512
how can I avoid having these all uninstalled?
-
tm512
am I really going to have to allow this, and just install them all manually afterwards?
-
tm512
so for whatever reason, running this upgrade to 15 has apparently caused the font size in the bootloader and VT to become huge
-
tm512
so big that the bootloader menu doesn't even display fully anymore
-
tm512
really odd, since the loader still has a warning about needing to be updated, making me think it hasn't actually been modified, yet it evidently has been
-
tm512
fixed the font wonkiness with screen.font in loader.conf, and I got those packages reinstalled that the initial pkg-static upgrade couldn't figure out for whatever reason
-
tm512
but drm-66-kmod does not build on the 15.0-PRERELEASE build available through pkgbase
-
tm512
so this was more or less pointless
-
tm512
-
tm512
has anyone else run into this?
-
tsoome
either your build host or source is old. you can have easy (temporary) fix by adding the prototype.
-
tm512
this is the latest 15.0 snapshot available from pkgsrc, and I just did a git pull on ports
-
tsoome
check with cc -E option which headers are used (where from) and if origin is updated to include the needed prototypes.
-
jkm
tm512: have you tried with an older drm-kmod (drm-61-kmod)?
-
tsoome
modern compilers default to require prototypes for functions.
-
tm512
jkm: I'm trying a 61 build right now
-
tm512
but the only reason I decided to try 15 so early is to get away from 61
-
jkm
On GH (
github.com/freebsd/drm-kmod-firmware): "For 6.1-lts (Supported on FreeBSD 15.0 and above)"
-
jkm
so I guess 6.1 should be supported on 15.0
-
tm512
the 6.1 DRM drivers work on 14 as well
-
tm512
but the amdgpu driver suffers from GPU hangs on my hardware
-
tm512
I'm trying to see if 6.6 fixes the problem
-
jkm
Yes, I know your pain - have the similar issue with my i915
-
tm512
I really wish 5.10 just remained supported on the 14 branch, because those were the only ones that worked for me, but I guess those are "too old"
-
tm512
drm-61-kmod builds just fine
-
jkm
Try to run it let me know if your GPU hangs on 6.1
-
tm512
tsoome: and yes, but obviously the drm-66-kmod package is intended to be built on a modern compiler without modification
-
jkm
if not - I will try to upgrade to 6.1 on my side too
-
tm512
jkm: 6.1 is the version with the GPU hangs, at least on FreeBSD 14. I doubt 15 will make a difference here
-
tm512
5.15 causes kernel panics for me after a while, and 5.10 works but I can't downgrade to FreeBSD 13 to continue running those on a supported release
-
tm512
s/works/worked/
-
jkm
tm512: hmm... so I will not bother upgrading from my ancient 5.10 for now - anyway thanks for info
-
tm512
you're still on FBSD 13?
-
jkm
No, 14.3
-
tm512
support for 5.10 got dropped as of the 14.2 release though...?
-
jkm
Oh really?
-
jkm
Ok, I will build 6.1 anyway
-
tm512
the Makefile for the port blocks building 5.10 on 14.2 and newer, so unless it does just continue working if you stick with a binary made on 14.1 or earlier?
-
tsoome
tm512 the issue about too big font has 2 causes -- the root cause is that large font was added (32x64 - you can comment it out from /boot/fonts/INDEX), and there was a bug in automatic font selection code which caused too large font to be picked -- we should not get terminal screen smaller than 80x24.
-
tsoome
so the bug was revealed when this large font was made available;)
-
tm512
is anyone else here on FreeBSD 15? can you confirm whether drm-66-kmod fails to build with the current ports tree?
-
tm512
I guess I could just install the binary package. I think the only reason I started building the package from source is because there was a window of time where the package was for 14.2, and not compatible with the current 14-STABLE
-
tm512
dev_is_removable is supposed to be located in sys/compat/linuxkpi/common/include/linux/device.h in the source tree, but I don't know where that header is supposed to end up on an installed system for me to check
-
tsoome
find /usr/include -name device.h :)
-
tm512
the file is present under /sys, but its modification date is from aug 2024...
-
tm512
there's no device.h under /usr/include
-
tm512
have I screwed up my install somehow?
-
tsoome
not sure. if #include file is missing, compiler will be very angry on you, so it has to find it.
-
tm512
the compiler isn't complaining about a missing include, it's complaining about an implicit declaration (see the termbin link I posted)
-
tsoome
yes and your compiler command line does have -I/usr/src/sys/compat/linuxkpi/common/include
-
tsoome
so thats the place it is looking for
-
tm512
so my install is screwed up somehow. I've got FreeBSD-src and FreeBSD-src-sys packages installed from the base_latest repo for FreeBSD 15
-
tm512
yet this header hasn't been touched in over a year?
-
tsoome
what is git branch telling there?
-
tsoome
.oO probably nothing if its just plain source tree
-
tm512
"not a git repository"
-
tsoome
mhm, no .git there, as I figured.
-
tsoome
are you sure the src package is the latest for 15?
-
tm512
it's FreeBSD-src-sys-15.snap20250904204618
-
jkm
tm512: ok, I tried to build drm-61-kmod from ports, but it failed on amd step, so I have built drm_kmod_drm_v6.1.128_4 manually from git with amd and radeon kmods removed from DEFAULT_KMODS in Makefile
-
tsoome
-
jkm
tm512: it works on my side (i915kms) on 14.3-RELEASE
-
jkm
but I don't have 15.0 setup to test :(
-
tm512
currently stuck in a VT without an easy way to copy-paste links into a browser. does that revision of device.h have dev_is_removable()?
-
tsoome
I'm not quite sure what is happening about this src package, but yes, the file there has the dev_is_removable (its static inline actually)
-
tsoome
so, your option would be to install git and checkout stable/15 branch into /usr/src and then your build could be happy(er)
-
tsoome
probably worth to report an bug about this package.
-
angry_vincent
jkm: you do need to remove them from DEFAULT_KMODS in Makefile, you just do: export KMODS="..." and it will be the ones set compiled,
-
tsoome
am, could it be the source package is about 15.0 actually?
-
tm512
I went and untarred the FreeBSD-src-sys package in /var/cache/pkg, and its device.h has this function as well. but for whatever reason, /usr/src/sys at least is not being touched by the package
-
angry_vincent
is how i build only i915kms
-
angry_vincent
export KMODS="i915kms drm ttm dmabuf" is what only needed
-
tm512
looking at /usr/src overall, it seems like the latest modification here was june 9th 2025
-
angry_vincent
same goes for gpu firmware
-
tsoome
so, if you uninstall FreeBSD-src-sys, verify its really gone from /usr/src/sys and install it again?
-
tm512
I can try that, but it leaves me wondering what other components on my system are not being updated, if any
-
tm512
if it's happened to /usr/src, presumably it could happen with other packages
-
tm512
removing FreeBSD-src{,-sys} complains about a bunch of missing files and leaves an incomplete removal. plenty is still left under /usr/src
-
tsoome
pkg check maybe.
-
tsoome
fortunately /usr/src can be wiped clean and re-populated. it does not affect the running system
-
tm512
right, I figured that was the path forward at this point, but I'm worried my running system is some kind of FrankenBSD now between 14 and 15 (and maybe even with various versions of 14 at this point)
-
tm512
it would have been nice to check whether pkg check would have caught the issue with the src tree though, to see if it would catch any other issues. I should've cloned this BE first
-
tm512
so /etc/ssl/cert.pem has a checksum mismatch with the ca_root_nss package, but that's it so far
-
tm512
is it expected that ca_root_nss will have a checksum mismatch? in the package tarball, /etc/ssl/cert.pem is a symlink
-
tsoome
if they store ca roots into one file (which is checksummed) and something else will add cert there, then its expected.
-
tm512
apparently this is an issue with the ETCSYMLINK port option on 15, which is fixed in the port, but there isn't a package for it yet
-
tm512
I know it's supposedly bad practice to mix ports and packages, but building this one from ports seems pretty low risk?
-
jkm
angry_vincent: good point, thanks
-
tm512
drm-66-kmod still fails to build, with different errors this time:
termbin.com/2188
-
tm512
at this point /usr/src/sys/sys/vnode.h should be the very latest from the FreeBSD-src-sys package
-
tm512
I'm so confused by this
-
tm512
nobody else appears to be dealing with build errors
-
tsoome
I'd contact with maintainer about it.
-
tm512
I guess I will give up on having this solved before I have to go to sleep, and just stick with 6.1 for now here on 15, assuming I don't run into even more with 15 that forces me to just rollback to 14
-
tm512
brb, rebooting
-
tm512
nevermind, drm-61 kernel panics on 15. back on 14
-
tm512
what a pain in the ass
-
tm512
this is the kind of stuff that was making me hesitant to try 15 this early, but the prospect of less broken GPU drivers tempted me
-
tm512
the kernel panics were dropping into a debugger, too, they weren't core dumping and rebooting like they do on the default config for 14
-
tm512
not sure how to get a shareable dump/backtrace from there
-
[tj]
that might just be default flags for the debugger
-
[tj]
you should look at `sysctl -a | grep panic` and see if anything is set in a way that will actually stop on a panic
-
[tj]
but if you dump core you can just load the core
-
tm512
I suspect it has to do with the extra debugging options that were enabled when 15 was -CURRENT. the snapshots available through pkgbase predate the forking of stable/15
-
[tj]
yeah we change the defaults for releases
-
tm512
the kernel panics were happening on driver initialization, so before I have an opportunity to tweak sysctls
-
tm512
I guess I could block the driver from loading automatically, and kldload it
-
tm512
but if I could just manually dump from the debugger, that works
-
tm512
oh, huh, so the firefox package for 15 is pretty outdated. I wonder if that's part of why that initial upgrade attempt from 14, specifying the 15 ABI, couldn't figure out how to deal with firefox (and other packages)
-
tm512
that might've caused issues with firefox complaining about a profile downgrade, if I had managed to reach a desktop on 15
-
tm512
kinda surprised by how much the 15 packages are lagging, firefox hasn't gotten any updates in almost 3 weeks?
-
tm512
is there the possibility of just using the firefox package built for 14 on 15, or is backwards compatibility not that consistent?
-
tm512
maybe it'll be moot by the time I actually manage to get 15 to work properly
-
Macer
so around thanksgiving is RELEASE for 15?
-
holopeinen
HI
-
ivy
-
Macer
yeah that's what i was looking at. good stuff. couple more months :) i thought bout going with CURRENT but it's ok for me to wait
-
Macer
i'm all about it for zfs 2.3 for raidz expansion
-
Macer
i'm going to make a 3 disk raidz2 vdev and keep expanding it so i can get rid of older, smaller drives gradually
-
mzar
Macer: 15.0 # zfs -V -> zfs-2.4.0-rc1-FreeBSD_g00dfa094a zfs-kmod-2.4.0-zfs-2.4.0-rc1-FreeBSD_g00dfa094a
-
dvl
Well, this isn't good. Updated a host from 13.2 to 14.3... and I'm updating bootcode... now this is something I usually do for zpools, but this one is ufs
-
dvl
# gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 da0
-
dvl
gpart: /dev/da0p1: not enough space
-
dvl
it's only: 34 128 1 freebsd-boot (64K)
-
mzar
ha... too small
-
mzar
you need 512k
-
dvl
mzar: so, no update here. However, there was a failed update of this host last week, but it was rolled back for some other reasons, not for bootcode.
-
dvl
mzar: worst case, I can reboot, see if it works. If not, rollback.
-
BarnabasDK
Do anyone know if this is arcconf is still available somewhere else on the web?
paste.ubuntu.com/p/BbVfMGNdcV
-
dvl
here goes... weeeeee!
-
dvl
mzar: it boots.
-
Macer
Mzar: oh. My mistake. I remember AllanJude said it was going to be released in sync with zfs 2.4.
-
Macer
Which is more awesome. lol. I think I’ll bite the bullet and go CURRENT on my nas then go to RELEASE afterwards (if that’s a thing).
-
mzar
dvl: perhaps you can reduce swap and create another freebsd-boot part, make it bootable and install loader there
-
mzar
Macer: yep, follow his guidance
-
dvl
mzar: Perhaps one day.
-
dvl
mzar: or we could just redeploy the host.
-
mzar
is it a VM ?
-
dvl
mzar: Yes, it is.
-
dvl
mzar: It is so old it still uses UFS for the boot/main drive
-
mzar
zfs is convenient
-
» CrtxReavr is a UFS luddite.
-
dvl
come to the dark side, we have cookie.
-
Shirkdog
I thought the darkside was hammerfs :)
-
ketas
it boot was small on vm, it would be easier to reimage it?
-
Retrofan
Hi
-
f451
avoid zfs hassle by *not* having root-on-zfs. just use zfs for data
-
Retrofan
Thank's for the fix yesterday..
-
Retrofan
I succeeded in making pipelight to use native wine
-
f451
have a different disk for booting/running the os and swap
-
Macer
Is zfs on root a hassle on fbsd?
-
f451
it's easy to set up, but what happens when there's a zfs problem?
-
tsoome
same what happens when you have ufs problem.
-
Macer
I’ve never seen an issue with it in my experience.
-
ketas
what happens if there's ufs problem?
-
ketas
:p
-
ketas
yeah
-
tsoome
in worst case you restore from backup.
-
ketas
zfs is more complex for sure
-
f451
less likely with ufs because it's just been around a lot longer
-
Macer
I usually mirror zroot.
-
ketas
in this case bootloader doesn't fit
-
tsoome
zfs has been around sine 2005 (in public), thats 20 years. how long must be "long"?
-
Macer
zfs is on 20 years isn’t it?
-
f451
i have had a vm (zfs internally) bon-bootable because of changes on the host wrt zfs
-
Macer
I’d expect more an issue with zol but not really on fbsd just because it is so baked in.
-
tsoome
also, ufs on freebsd does receive updates even now, so its not as old as you may want to believe.
-
ketas
zfs problems from host?
-
ketas
how
-
f451
relatively easy to replace the os disk with a standard install then zfs import the data
-
ketas
my single qemu vm runs ufs
-
ketas
i wonder what it would do on zfs
-
f451
it'd run
-
ketas
it already builds pkg in 4h eh
-
ketas
sure it runs
-
ketas
bonus would be no fsck
-
ketas
i could actually fully nfs it maybe
-
ketas
large parts of it is on nfs
-
ketas
v3, without locks, so it fails for some things :p
-
Macer
Ketas: but what is the underlying fa qemu is using?
-
ketas
it's my armv7 current vm where i build stuff for embedded
-
Macer
*fs
-
ketas
zfs
-
ketas
file
-
f451
re zfs issues, context was arm64 and EFI baremetal, the loader needs to be upgraded between major versions as it doesn't happen automatically. the loader would not have been an issue wrt booting is all zfs was just data and not zfs-on-root
-
Macer
So it’s ufs running on top of zfs. :)
-
Macer
f451: using fbsd?
-
f451
s/if/was/g
-
f451
yes
-
mzar
yes, the loader has to kept up to date
-
mzar
s/to/to be
-
Macer
That’s not done automatically?
-
f451
thread is here
-
ketas
-drive file=/root/files/qemus/yellowgreen/.img,format=raw,discard=unmap,detect-zeroes=unmap
-
ketas
that's what it's disk is
-
mzar
not, that's your duty
-
tsoome
no, fbsd does not update loader automatically.
-
mzar
FreeBSD user is sysadmin, responsible for the maintentace of the OS
-
Macer
Ah. You’d think that would be a thing. I mean admin has to do all updates anyways right?
-
ketas
use sysutils/loaders-update
-
mzar
this attracts many hobbyists to FreeBSD
-
Macer
Those are the sorts of issues I’d expect from zol. I’ve actually ran into that before where zfs was updated but module wasn’t since it has to do the whole GPL/cddl double dutch.
-
ketas
i already asked if it could updated automatically
-
ketas
the loader
-
ketas
it's difficult too
-
tsoome
there are always + and - sides on automation. altho, I haven't heard much down sides from automated illumos bootloader updates;)
-
ketas
like, where is the loader?
-
ketas
is it on efi part?
-
ketas
on which disk it is?
-
ketas
on how many disks is in on, etc
-
tsoome
root disk(s) and efi + freebsd-boot (if present). its that simple.
-
ketas
but where are the root disks?
-
tsoome
however, it needs versioning, so you wont downgrade it accidentally.
-
ketas
would that be foolproof to autoassume?
-
tsoome
zpool status or see /etc/fstab
-
tsoome
zpool layout is easy to parse.
-
ketas
yeah one could look if it had loader before
-
ketas
but i see so many failure point
-
ketas
s
-
f451
(am looking for the thread that was posted about it - machine not booting after source upgrade. thing is, it wasn't upgrade btwn major versions, it was upgrase stable/14 to a later stable/14)
-
f451
but basically i could have wholly avoided the issue to not have root-ob-zfs
-
ketas
it's only zfs issue?
-
mzar
upgrading from sources is fastest method
-
ketas
loader is old?
-
Macer
tsoome: a piece of me wants to try illuminos just because I miss opensolaris but then I try to boot it and it doesn’t for install lol
-
ketas
and was it fixed0
-
ketas
?
-
ketas
considering stable is for devs
-
f451
it's the only zfs issue i had - well it's the only one i mention here
-
ketas
sure it's a ooh crap moment
-
ketas
that loader isn't able to read a disk and now you have to boot external
-
f451
-
tsoome
yee, its telling loud and clear, one important bit was not updated.
-
ketas
it nearly bite my ass too i think
-
tsoome
many years ago, there was issue you had to update system firmware to be able to run next version of os.
-
ketas
on solaris?
-
ketas
how would you update firmware now if os won't run :)
-
tsoome
yep, on some sparc, can not remember which...
-
tsoome
you do not necessarily need os to update system firmware.
-
tsoome
*your* os, that is.
-
ketas
anyway this auto loader update could fail too
-
ketas
who knows
-
tsoome
if I remember correctly, this supermicro of mine was needing dos for it;)
-
ketas
sparc dos?
-
ketas
they made it?
-
MelMalik
i assume it was an x86
-
tsoome
supermicro X10SAE (x86)
-
tsoome
I think, i used freedos or something like-
-
tsoome
I'm not really sure what was the thing about the sparc fw update, because the early kernel start is using forth hooks on sparc, it may have been some new words were needed with new kernel.
-
divlamir
Cool, didn't know that sysutils/loaders-update was included in the ports tree. Saves some time, especially if you have EFI/BIOS boot partitions, mirrored... that makes four loaders to update :)
-
f451
wasn't aware of sysutils/loaders-update that must be a relatively new port
-
f451
Oct last year
-
divlamir
Do use `show-me` before you shoot yourself in the foot :D
-
Retrofan
back
-
f451
:D
-
tsoome
Actually with UEFI esp you can actually keep your old loader around for a case the new one may be bad.
-
divlamir
Hm, this sounds like a good strategy with a mirrored setup, to update only half the mirror, and if all is good update the other hlaf then
-
divlamir
*half
-
tsoome
yes, except with some systems its really annoying to attempt to boot from other half;)
-
tsoome
which is why many x86 admins insist on having those raid adapters;)
-
divlamir
Mmm, hardware raid, sounded so fancy reading about those in computer magazines in the 1990s ..
-
tsoome
small computer running its own os;)
-
divlamir
wouldn't touch it with a stick
-
divlamir
as long as we have zfs
-
ketas
raid cards make booting easier?
-
ketas
i thought they just corrupt your data
-
ketas
more easily
-
tsoome
;)
-
divlamir
the have to sell them somehow
-
ketas
recently someone was losing one of 8 hdd and in the end it was either disk issue or lsi issue but not fbsd
-
ketas
but card nicely did hide it up
-
ketas
or whatever it was
-
ketas
owner of a card was confused as card ran "direct" firmware
-
ketas
btw how would one move disks to different machine?
-
ketas
i mean virtually
-
ketas
i recall people sometimes use zfs via iscsi or perhaps ggate
-
ketas
tho at that scale, maybe it's good idea to run something on top instead
-
divlamir
Never tried iSCSI, every time I think of it I end up usin plain old NFS
-
divlamir
Haven't stumbled upon a usecase for it I guess
-
divlamir
-
divlamir
Anyone knows if bluetooth is working on a raspberry pi? I doubt it very much as it's on the same broadcom crap with the wifi, and yet..?
-
spork_css
Does anyone know if it's still possible to build a port that's all statically linked?
-
divlamir
I don't know but speaking of ports, poudriere started giving me `unhandled error` and doesn't even try to build in a fresh jail. Should I nuke it all, and reisnatll poudriere? Try poudriere-devel?
-
divlamir
Using -vv does show more info in the preparation stage, but nothing more about the error
-
Retrofan
Hi
-
Retrofan
There is problem here..
-
Retrofan
Pipelight needs xattr to run.. is it supported on freebsd?
-
Retrofan
oh, after more search found user_xattr is supported
-
Retrofan
but It scares me mounting my / using it, will break the system?
-
ek
Retrofan: Take a look at rmextattr(8) maybe?
-
Retrofan
it supported but it just mounting the root partition scares me
-
Retrofan
using it
-
Retrofan
could I separate home away from it?
-
Retrofan
For now, I will try it on my testing partition
-
ek
You can separate them, sure.
-
ek
Might already be separated if you're using ZFS.
-
Retrofan
I will try
-
Retrofan
no zfs
-
Retrofan
I want to use zfs now
-
Retrofan
I really liked
-
Retrofan
it but the ram usage of it is high :(
-
ek
You can limit it, if you'd like.
-
Retrofan
could it only use few MBs?
-
ek
I suppose so. Likely wouldn't be prudent, though.
-
Macer
What is it using ram for? Usually it’s just arc isn’t it?
-
Macer
Afaik arc will dial down if the system calls for more app memory.
-
Retrofan54
Somewhere read that a 8gb system will die using it..
-
ek
Retrofan54: Maybe a very long time ago. These days, it's nothing like that. I have VM's with 1GB RAM using ZFS without any problems at all.
-
Retrofan54
I am using my pc for many heavy stuff.. so it will continue work
-
ivy
8GB systems barely existed outside of enterprise hardware when ZFS was released, the original requirement was like 2-4GB, 4GB being better... nowadays i've used it with no problems on 1GB VMs, although setting an arc limit helps
-
ivy
the problem originally was that ARC doesn't release memory fast enough when an application needs it, that's been improved a lot (particularly in 13.x) but on very small systems it's still not perfect, which is why the limit helps
-
ivy
s/13.x/14.x
-
ek
Yep. I haven't had any problems in the last couple years, for sure.
-
Retrofan54
yeah the UNIX philosophy..
-
ivy
the other problem with ZFS originally was that it likes a lot of VM and 32-bit systems don't have much, obviously nowadays that's not an issue
-
dsmith
Anyone know if any of the other *bsd's have leading spaces on wc output?
-
mzar
ZFS was vicious on i386
-
Retrofan54
mzar: you said to me that your a freebsd desktop user
-
mzar
sure
-
Retrofan54
So just curios what is your setup..
-
Retrofan54
like X stuff
-
mzar
I am using FreeBSD for everything
-
Retrofan54
:O
-
mzar
XFCE4 works OK
-
Retrofan54
Then you are not a customize fan?
-
mzar
not at all
-
Retrofan54
plain setup...
-
mzar
that's proven to work
-
rwp
I am running zfs on 1GB RAM virtual machine systems and everything has enough memory there but I would consider that the floor RAM size for a zfs system.
-
rwp
Everything just consumes so much RAM. The more RAM you can have (up to a point) the better everything operates.
-
» Retrofan54 After realize that I worked on my custom Xorg setup for 8 months..
-
mzar
sure, in the past we were running ZFS on i386 with 512MB of RAM, but this machine retired before FreeBSD 10.0-RELEASE IIRC
-
ivy
rwp: 1GB is barely enough for pkg nowadays, although i think that might be a bug
-
ivy
i had to bump a few 1GB VMs to 2GB just to run pkg upgrade without running out of memory
-
Macer
lol
-
Macer
Makes you wonder what pkg is REALLY doing.
-
rwp
ivy, Any swap configured? Looking at one VM I have 512MB of swap and pkg is okay memory wise there. But the floor size disk space for zfs on 14.3R is around 4GB of storage. I can't keep any Boot Environments. If I do then those quickly consume too much space and I hit that frequently during upgrades and have to bectl destroy BEs to free space first.
-
rwp
The solution to all of these is mostly just money. Rent more RAM+storage. This is only a problem on rented VPS where I am trying to scrape by with the least cost. Any bare metal hardware bought these days will have plenty of both.
-
ivy
yeah, i do that on my own hardware but this was a project that needed a bunch of small VMs in different locations
-
ivy
so trying to save money :-)
-
rwp
Trying to save money here too!
-
rwp
Storage is the biggest driver of expense. Storage is expensive to rent. RAM is cheaper.
-
tm512
I guess I'll try again to see if I can find some resolution to this. can anyone else reproduce this drm-66-kmod build failure on 15.0?
termbin.com/2188
-
tm512
starting to suspect that upgrading to 15 from 14 via pkgbase just ruined the system
-
tm512
my /usr/src/sys/sys/vnode.h file matches the one here:
cgit.freebsd.org/src/plain/sys/sys/vnode.h?h=stable/15
-
ivy
tm512: this looks like a bug in the header (if it's meant to be self contained) which you could raise on current@
-
mzar
1500063 is outdated
-
mzar
ALPHA1 is 1500064
-
tm512
mzar: I'm aware, but the pkgbase packages are out of date
-
mzar
OK
-
tm512
I would like to find some explanation as to why the supposedly twice-daily builds haven't been uploaded in a week, but there's basically nothing last I checked
-
tm512
the drm-66-kmod binary package seems to have been built against 63 just fine though (see the Packages section)
freshports.org/graphics/drm-66-kmod
-
mzar
is pkgbase built in poudriere ?
-
ivy
tm512: bapt is actively working on pkgbase builds for both 15.0 and 16, you should ask this on pkgbase@ so he's aware there is a problem
-
ivy
it is literally one guy maintaining this, so the answer to "i don't understand why these packages aren't what i expect" is to ask him why that is
-
tm512
I've never actually used mailing lists for any project, and I don't want to end up subscribed to one
-
tm512
does seem like there is already a mention of the problem on the list, but there hasn't been any response
mail-archive.freebsd.org/cgi/getmsg…tch=55791+0+current/freebsd-pkgbase
-
ivy
well, if you want to run prerelease builds you are sort of expected to report problems on the lists, if you choose not to do that they won't be fixed and you'll never know why
-
tm512
would the current mailing list really be the most appropriate for build failures on 15.0?
-
tm512
also I guess to clarify I don't really *want* to run prerelease, but I want working GPU drivers, which 14 no longer provides after dropping support for the 5.10 drivers
-
tm512
I guess all of this is what I get for not just installing Linux on this laptop though
-
ivy
i think either stable@ or current@ would be fine, but since there hasn't been a 15.0 release yet i'm not sure anyone is discussing it on stable
-
mzar
14.3 has drm-61-kmod
-
tm512
5.15 and 6.1 both have issues that seriously hinder system usability. 6.6 is only available on 15 and 16
-
tm512
I'm wanting to try out the 6.6 drivers
-
mzar
upgrade then
-
tm512
I did, but 6.6 won't build
-
tm512
hence the build failures I pasted
termbin.com/2188
-
tm512
so yeah, going up through the nested includes (vnode.h, list.h, wait.h), SHA256 matches between my 15.0 install and the headers from the stable/15 branch on the upstream repo
-
mzar
bummer...
-
tm512
last night I had to sort out this issue where the entire /usr/src tree was not actually being managed by pkg (causing a different set of failures). after sorting that out, pkg check reports no further issues with the base system, but I'm wondering if there's still further corruption or something
-
tm512
like if something about the compiler got messed up
-
mzar
from my experience drm-66-kmod builds fine in recent stable/15
-
» ketas curses a lot
-
ketas
tr a-z A-Z failed due locale
-
mzar
you need something more sophisticated
-
ketas
there's 0 cases where a-z needs locale
-
ketas
:/
-
ketas
locale causes your acme.sh to fail!!!
-
tsoome
well, locale does not fail, programmers do;)
-
ketas
well tr could be free form text processing tool that supports all langs but
-
ketas
eh
-
tsoome
tr '[:lower:]' '[:upper:]'
-
tm512
mzar: seems not unlikely that going from 14-STABLE to 15.0-PRERELEASE via pkgbase has left this install FUBAR
-
tm512
but I would expect pkg check to complain about checksum mismatches or missing files or the like
-
ketas
"echo abc | tr '[a-z]'" -> "Ac"
-
ketas
tsoome: yeah, that's what i patched into acme.sh
-
mzar
tm512: could be, perhaps some header files are missing or outdated
-
ketas
other patch uses check and then switches to lower <-> upper
-
mzar
tm512: can you see commit hash in uname ?
-
tm512
mzar: but as I mentioned, all of the system headers match upstream, I verified the hashes (at least for the headers involved in the first build error: list.h, wait.h, and vnode.h
-
ketas
tsoome: what about tr -cd '[:print:]' < /dev/urandom | head -c 32 ? :)
-
mzar
what about sources ? do they match ?
-
ketas
also doesn't do what one honestly expects
-
tm512
the drm-66-kmod sources? I'll have to check that out a bit later, gotta go on some errands
-
tsoome
you are expecing valid utf-8 sequences from /dev/urandom?:)
-
ketas
no i expected it to contain, well, printables
-
ketas
i have no idea what actually does
-
ketas
it
-
tsoome
to get those, you need to grab byte stream, convert it to your charset (iconv) and then you you have something.
-
tsoome
because multibyte chars have specific structure, you can not get that from random number generator.
-
ketas
yeah they are all "printables" i guess
-
tsoome
printable is defined via locale charset, modern locales are based on UTF-8, so the classification is based on UTF-8. unless you are using 8-bit charset...
-
ketas
i think world is filled with horrors
-
ketas
i think tr was once also helpful to included superscript 2 in numbers too
-
ketas
because it's a number!!!
-
ketas
can't replicate it now
-
ketas
yeah this is wrong tool
-
ketas
once you go utf-8 you enter true hell
-
ketas
can't even trust eyes now :p
-
ketas
oоοօ
-
tm512
mzar: so you were referring to the drm-66-kmod source archive, right? make install on the port does not complain about any checksum mismatch after fetching the sources, so...
-
kerneldove
is there a command we can run to purge all swap currently in use?
-
kerneldove
i wanna reset swap usage back to 0% without reboot
-
kerneldove
i see 'swapoff -a && swapon -a' in web search is that still the way?
-
mason
kerneldove: There's generally little reason to do this. But yes. Be prepared for it to take a long time if you have a lot swapped out. You're forcing the system to do more work than it'd like.
-
kerneldove
how long is a lot of time? what if a lot was swapped out, prog using tons of mem is closed so tons of mem is now free, then i toggle swap?
-
kerneldove
ah it's fast
-
kerneldove
basically instant
-
tm512
made my own "me too" post to the github issue about GPU hangs on drm-61. seems like another person also was able to reproduce it
-
kerneldove
im sorry you experienced that
-
tm512
hopefully the GPU hanging issue gets a quick resolution, but dunno how likely that is
-
tm512
it seems the initial poster of issue has the exact same iGPU that I do, so even though it seems to manifest somewhat differently for them, hopefully it's the same root cause
-
tm512
I think while I was browsing around I did find a patch that supposedly allows drm-510 to be built on recent 14-STABLE so maybe I should just find that again
-
tm512
I wish compatibility was just retained to begin with. with just how finicky GPU drivers are on FreeBSD, really sucks to lose access to the one version that worked okay for me
-
mason
kerneldove: That really depends on load and workload generally. Glad it was fast.
-
kerneldove
gtk ty
-
rwp
If the system needs any pages that are swapped out then it will swap those pages back in as they are needed. There is no need to pre-load the memory with those pages again.