-
tm512
well, it's after 00:00 UTC, allegedly a new batch of pkgbase builds should be being made. is there anywhere I can monitor the builds for 15.0? I'm struggling to find my way around pkg-status.freebsd.org. not seeing anything for pkgbase there
-
tm512
it kinda seems like the pkgbase builds for 15 broke as soon as it was forked off to stable/15 with main becoming 16
-
tm512
pkgbase builds are being made for both main (16) and stable/14, so did someone forget to add stable/15 as a new branch to build packages from?
-
tm512
would be nice to see if the build issues with drm-66 is something that has been fixed since this sept 4th pkgbase snapshot
-
kevans_
tm512: i poked internally about stable/15 there
-
kevans_
he's been quite busy with sme other bits related to the ongoing release, though, so it's maybe not all that surprising if it just slipped
-
kevans_
(and they're indeed not published at all on pkg-status.f.o)
-
tm512
got it, I just want to rule out whether the drm-66 build failure is something that got fixed after this pkgbase snapshot was built, or if my upgrade from 14 to 15 was indeed botched
-
tm512
I am baffled what could go wrong. my vnode.h matches what's in stable/15, yet it's still throwing compiler errors
-
tm512
"error: declaration of 'struct vop_inotify_args' will not be visible outside of this function" seems like this struct should be declared/defined elsewhere, and included prior to this function prototype
-
tm512
but it's just not
-
kevans_
tm512: vnode.h isn't the problem, a file generated during the build is
-
tm512
in fact, I'm not seeing any definition of vop_inotify_args anywhere in the /usr/src tree I've got locally on 15
-
kevans_
tm512: does your sys/kern/vnode_if.src have vop_inotify?
-
tm512
yeah, starting on line 830
-
tm512
sha256 of vnode_if.src is 009932d2f1d6813181e78b16590cd03a4afcdd886b12ff5e0f131b3002d68982
-
kevans_
and this was a clean build of drm-kmod to start with, right?
-
kevans_
.oO(is the machine haunted?)
-
kevans_
is this in poudriere or not in poudriere? what does `which awk` look like?
-
kevans_
presumably 'not in'
-
» rwp once had a system where over a short period of time every part of the system was changed except for the hostname. I think the hostname was cursed.
-
tm512
I was building drm-66-kmod explicitly, not through the drm-kmod metaport, just cd'ing to the dir and running 'make install clean', and it should have been a clean build, pretty sure I ran make clean after resolving the initial problem with my /usr/src tree not being properly managed by pkg
-
tm512
re: awk, I would have to reboot into the 15 BE to see, but here on 14 it's just /usr/bin/awk and I don't expect it to be different, I don't have any awk in /usr/local/bin
-
kevans_
well, you could also `bectl jail` the BE
-
kevans_
but it doesn't matter, yeah
-
tm512
I figured I couldn't jail since I'm on a 14 kernel
-
kevans_
oh, 14 -> 15
-
kevans_
sorry, trying to spit out as much as I can before I have to go wrestle damn-near-2yo into bed
-
kevans_
i'd be interested in seeing what the generated vnode_if.h looks like if you can reproduce the failure
-
tm512
where would I find vnode_if.h?
-
kevans_
*should* be in dmabuf/ inside the work tree, iirc
-
kevans_
theret's probably more than one, it'd maybe also be interesting to know if they're all identical
-
tm512
it seems I've cleaned out the work tree since I last made an attempt at this, so I will have to reboot to give that a shot
-
tm512
so bbiab
-
tm512
booted into 15 now
-
tm512
fwiw, awk is version 20250804 (and is indeed /usr/bin/awk)
-
tm512
it's a bit weird, lately when trying to pull the latest ports tree, if I use git pull --depth=1 --rebase, the first invocation fails with "could not read <commit>" and "could not parse commit <commit>" but then a second invocation succeeds
-
tm512
it's not erroring this time. +1 for the machine being haunted
-
kevans_
i think you found a build race, actually
-
kevans_
cgit.freebsd.org/src/tree/sys/conf/kern.post.mk#n216 in the kernel-proper build, we slap an OBJS_DEPEND_GUESS to serialize absolutely everything on vnode_if.h being generated
-
kevans_
oh hmm. the kmod build does as well, indirectly:
cgit.freebsd.org/src/tree/sys/conf/kmod.mk#n565
-
tm512
or I wonder if I somehow did overlook cleaning out the entire work tree, and the vnode_if.h was generated based on the outdated/corrupted /usr/src tree, but I just don't know how likely that is
-
tm512
kevans_: and that kmod.mk applies to kmods built from the ports tree?
-
kevans_
generally if the build completed the ports framework will be an ass about forcing you to clear out some other flags in the work/ tree to force a rebuild
-
kevans_
yeah
-
kevans_
e.g., dmabuf/Makefile includes <bsd.kmod.mk>
-
tm512
so assuming this does successfully build all the way, and drm-66 doesn't panic on boot like drm-61, then I'm in the position of dealing with 15 forcing a Firefox downgrade
-
tm512
the package for 15 is 142.0, whereas I was using 143 on 14
-
tm512
another weird thing, even though I did a full upgrade from 14 using pkg-static, running pkg upgrade -r FreeBSD-ports here on 15 shows a bunch of packages that still need to be upgraded and/or reinstalled
-
tm512
but just pkg upgrade on its own, reports "your packages are up to date"
-
tm512
termbin.com/6kl1 anyone know why a general pkg upgrade wouldn't see these? it clearly claims to be checking the FreeBSD-ports repo
-
tm512
maybe the fact that my firmware kmods are all outdated is why drm-61 was panicking on boot
-
tm512
also I thought these packages should be from FreeBSD-ports-kmods, not FreeBSD-ports, and specifying -r for the kmods repo also shows these firmware upgrades
-
tm512
hopefully it's a one-off issue, and not going to be a recurring thing where pkg upgrade fails to see packages. this upgrade process has been very janky
-
tm512
drm-66 built, going to reboot, though I'm not sure what I'm going to do about Firefox now that my profile is tied to 143.0
-
tm512
I've been burned by forcing a profile downgrade in the past
-
tm512
and I don't want to have to start from a fresh profile. it would be nice if I could just use the FreeBSD 14 build of FF
-
tm512
brb
-
kevans_
tm512: the pkgbase for 15 availability thing is a bug in the automation; should be fixed within a few days or so
-
tm512
great, looking forward to that (assuming 15 + DRM 6.6 avoids the issues that 6.1 has, otherwise I'm going back to 14 probably)
-
tm512
hmm, so likelihood that Firefox will still work if I install the 143.0 package for 14 here on 15?
-
kevans_
tm512: you need compat14x package at least
-
kevans_
feels like dep hell tho
-
tm512
I guess I could try a jail, but I'm not sure how to give it access to my X server. generally I don't have any experience with jails
-
tm512
my other options are to chance it with forcing a profile downgrade, build FF from source on this not-very-impressive quad-core laptop, or to give up on 15 until the packages aren't so outdated compared to 14
-
tm512
here on 15 it feels like the defaults for trackpoint and trackpad sensitivity has been cranked up?
-
tm512
so installing compat14x, and then doing add -f on the cached 143.0,2 package, appears to have worked
-
kevans_
right on
-
kevans_
eventually package builds will stabilize
-
kevans_
oh, I guess the 143 update was only committed on September 8th
-
tm512
I guess I don't know what's typical for the latency between commit and a binary being published. I would've thought the amd64 latest repos would be similar between the different releases
-
kevans_
it will reach eventual consistency between versions, at least
-
kevans_
the builders just build in a loop completely disconnected from each other, bulk -a to build everything incrementally from the last update
-
kevans_
depending on where a given builder is at in the cycle, when it restarts to pick up a version of the ports tree with the update, other things that can cause pkg cleansing (src version updates for 15 (currently) and main), etc
-
tm512
I guess now that I'm on 15, it doesn't really matter, the issue is just because I've moved from a branch with a newer package
-
tm512
assuming I stay on 15 anyway. going to have to test the GPU hang issue
-
tm512
alrighty, so drm-66 does not fix the GPU hangs. I guess the additional data point is valuable, but ugh. now I've gotta decide whether to stay on 15, or roll back
-
tm512
the upgrade process was pretty dreadful, and I don't really want to repeat it, but if I go back to 14, maybe by the time I do hop over to 15 (maybe like 15.1 or 15.2) it'll be smoother
-
tm512
so yeah I'm convinced the trackpoint on this laptop has its sensitivity cranked up on 15 vs 14. does anyone know what that's about? how can I revert that?
-
tm512
so the GPU hang issue is even worse on drm-66. just going fullscreen with mpv, even without firefox open, causes a hang
-
mzar
tm512: no, I was referring to /usr/src checkout
-
tm512
it wasn't a checkout, it was populated by the FreeBSD-src{,-sys} packages, after completely nuking everything under /usr/src
-
tm512
but whatever, I couldn't reproduce the build failure today
-
mzar
neat, you fixed that
-
tm512
it was all (mostly) for naught, since drm-66 is even worse than 61
-
tm512
-
tm512
all I really got out of this was another data point, that it's not limited to 14 + drm-61
-
tm512
if 15 isn't giving me access to a more usable set of GPU drivers, I am just leaning towards rolling back to 14 until 15 is more mature. given how much I had to fight to get 15 to install, it gives me the feeling that the setup I've ended up with is perhaps a bit fragile
-
tm512
not sure what else 15 has to offer that I actually care about. is 802.11ac support on 15 better?
-
tm512
when I tried iwlwifi on 14 a month or so ago, I couldn't get it working properly, leaving me stuck with 802.11a using the old iwm driver
-
mzar
tm512: how long have you been using FreeBSD ?
-
mzar
I am only asking, because I see that you are very enthusiastic about FreeBSD
-
puffi
mzar: Most people who use FreeBSD are fairly enthusiastic about it
-
mzar
that's great 1
-
mzar
ld-elf.so.1: Shared object "libutil.so.9" not found, required by "env"
-
mzar
why I need compat14x-amd64 to build world on stable/15 ?
-
mzar
nevermind, it was unclean environment, leftovers from building stable/15 from stable/14
-
psionic
So which is the #BSD which perormance getting WORSE running in KVM not better over time?
-
psionic
Of course OpenBSD�
-
psionic
Of course OpenBSD��
-
psionic
Of course OpenBSD��
-
psionic
Of course OpenBSD�
-
paulf
Does OpenBSD have a decent suite of performance measurement tools? Or has Theo thrown the baby out with the bathwater with his various attempts to increase security?
-
[tj]
this isn't really the place for discussion of openbsd
-
paulf
Not that FreeBSD is great for that either.
-
[tj]
for continuous performance measurements?
-
[tj]
we have public ci, but performance measurements are very difficult to do this way
-
[tj]
vpp does a great job of it by employing a team of people to manage the process
-
paulf
no, stuff like pmcstat
-
kevans_
-
kevans_
believed
-
divlamir
poudriere stopped working, unhandled error, whatever that means...
-
divlamir
Is ports-mgmt/synth still a thing? I've never tried it, not sure if it's still maintained
-
divlamir
I am building very few packages locally, only one currently used by the host, and the rest by jails. I think it stopped working after upgrading to 14.3, but I am not 100% sure when exactly
-
ek
divlamir: Have you tried re-building/re-installing pourdriere?
-
ek
... or wiping out the old jail(s) and recreating?
-
divlamir
I haven't reinstalled poudriere but I nuked all the jails, and started with a fresh one 14.3, same as host
-
ek
Did you build poudriere from ports or did you just install via pkg?
-
divlamir
bulk -vv gives plenty of output in the prep stage, but nothing before, or after the "unhandled error"
-
divlamir
its from pkg
-
ek
Can you paste the exact error somewhere, please?
-
ek
Also, how are you creating the jails?
-
divlamir
with `poudriere jail -c -j name -v release`
-
divlamir
-
ek
What command(s) are you running when the unhandled error appears?
-
divlamir
poudriere bulk -f /usr/local/etc/poudriere.d/ports.list -j 143R -v
-
divlamir
tried -vv, but nothing
-
ek
Hrm. This looks almost like it might be a problem with pkg in the jail.
-
ek
I do recall hearing about issues with the way pkg repo data was being fetched by poudriere.
-
divlamir
hm. I've set it to fetch all the dependencies that I don't care about changing options
-
divlamir
And why is it installing pkg on each run? Shouldn't it be done just once?
-
ek
That's why I'm wondering if this is a pkg issue.
-
ek
What version of poudriere is it?
-
divlamir
lemme check
-
divlamir
3.4.3
-
divlamir
Maybe I should uninstall it and try poudriere-devel in its place
-
ek
I would suggest that. I'm using -devel.
-
divlamir
Ok, thanks, will give it a go. Should work with same config?
-
divlamir
I'll check the diff
-
ek
Can you paste your poudriere.conf (only the useful stuff. Maybe: cat /usr/local/etc/poudriere.conf | grep "^[a-zA-Z0-9+]" )
-
ek
It should work with the same config, but you might be missing some additional config options in the -devel version. So, yep, I'd check the diff against the new config sample file.
-
divlamir
Here's the current conf:
bpa.st/F3KQ
-
divlamir
Need to check against the new sample
-
divlamir
maybe i'll nuke the ccache too
-
ek
I don't see much of a difference in the config other than I'm using TMPFS.
-
ek
And, not using TMPFS certainly should cause any problems.
-
ek
s/should/should not/
-
divlamir
It started building with pouriere-devel :) Same conf, haven't touched it
-
divlamir
Wow, it's not fetching pkgs though, it's building them all..
-
ek
Yeah. Conf looks good. I figured -devel would work. Non-devel might work too if you re-install it. Likely just a missing or updated lib somewhere or something.
-
ek
divlamir: Yeah. That's the pkg thing I was talking about earlier.
-
ek
I believe it has to do with the way things are being renamed as well as the way pkg handles something differently now? I wish I could find the link.
-
divlamir
So it's a noop? It will build everything even if I tell it to just fetch it?
-
divlamir
It's gonna get sweaty in the room :D
-
divlamir
Anyway, thanks for your help, it's building again :)
-
divlamir
geez, 95 degrees, need to repaste this thing
-
ek
There is a patch (sort of). What does "pkg repos" say?
-
divlamir
on the host, or in jail?
-
ek
Host.
-
ek
-
ek
That links to the poudriere Github "patch" as well. Not sure if it'll fix your issue(s), but it might.
-
divlamir
-
ek
Wait. That might be the wrong one. Lemme check.
-
ek
... not your paste, but the link I provided.
-
ek
Here's the issue report for your first reported problem (unhandled error):
freebsd/poudriere #1238
-
divlamir
No, the link seems good, I am looking into it
-
ek
No, no. It was just the wrong issue.
-
ek
In fact, the second link I just sent is covering exactly everything we're talking about right now.
-
divlamir
Yesss, it's because of the new kmods repo...
-
ek
non-devel gets unhandled error, -devel won't fetch packages.
-
ek
Yeah.
-
divlamir
Thanks, all clear now
-
divlamir
Should be fixed in 3.4.4
-
divlamir
Subscribing to the issue
-
divlamir
Or I might just revert that commit locally and live with the warning in the daily mail
-
ek
Yeah. With any luck, that fetching issue will be fixed. They did have a little patch to basically manually add the exact repo to use. I think that worked for some, but not all.
-
ek
Actually, can you try reverting the commit mentioned in the thread to see if it works?
-
divlamir
Yeah, I can try that
-
ek
Pretty simple. Edit /usr/local/share/poudriere/common.sh and on line 4505 change "${pkg_bin} update -f -r FreeBSD; then" to "${pkg_bin} update -f; then"
-
ek
Then, just re-run your poudriere bulk command see if it fetches.
-
divlamir
Yep, setting up a new jail
-
ek
No need for a new jail or anything (I wouldn't think.) Just re-running poudriere with the new common.sh in place should be fine.
-
divlamir
Patience, flakey LTE here
-
ek
I'm not going anywhere.
-
divlamir
Well, it won't build anything beacause all is up to date there
-
ek
Ah. I gotcha'. I thought you had just started fresh. I figured it was still building your previous bulk run.
-
divlamir
Ah, it's still building everything from scratch, even with that line reverted
-
ek
Bummer. I was hoping that would help.
-
divlamir
Or is it...
-
divlamir
It's too fast
-
ek
Like I'd mentioned earlier, it appears to have worked for some, but not others.
-
divlamir
Queued: 27 Inspected: 0 Ignored: 0 Built: 0 Failed: 0 Skipped: 0 Fetched: 0 Remaining: 27
-
ek
0 Fetched.
-
divlamir
No, it's a lie!!!
-
divlamir
It didn't build python in 10s!!!
-
ek
Of course, that *MAY* be because those 27 all have updates compared to repo version (doubtful, but possible.)
-
divlamir
Something very fishy giong on, it says it's building but I don't beleive it.
-
ek
Why not?
-
divlamir
Cause it seems a bit to fast compared to, a wait... ccache
-
divlamir
Yep, whatever, it's not fetching
-
divlamir
It just hit the cache, that's ahy the speed differenve
-
ek
Yeah. ccache will always be helpful.
-
divlamir
Have to go, will look into this further later, thanx ek!
-
ek
Sure thing.
-
nwe
to use lua in haproxy must I both use
github.com/haproxytech/haproxy-lua-http and install haproxy-lua package?
-
tm512
kevans: so presumably when it gets MFC'd over to stable/15, and then the next twice-daily builds start up? at this point I'm back on 14 after all, though
-
tm512
would've stayed on 15 if drm-66 was an actual improvement, but if I'm stuck having to be careful to avoid GPU hangs, might as well stay on 14
-
tm512
I ended up discovering that drm-510 is not blocked on >=14.2 due to failure to compile, which really got my hopes up that I could just revert back to that, but it didn't actually work properly (also GPU hangs)
-
tm512
maybe I should finally get around to a bug report about the kernel panics that drm-515 causes, just to cast a wider net that *some* version of drm will become fully usable for me
-
kevans
tm512: it got an expedited MFC, but not quite in time to hit the build earlier today
-
skered
tm512: Do you have steps to reproduce it? I have that loaded.
-
tm512
skered: have drm-61 or 66 loaded, start up firefox and use it for a while (open up various tabs, I suppose just get GPU resource consumption up?), and then try to go fullscreen playing a video with mpv
-
tm512
it's pretty finicky
-
tm512
or not finicky, but it's unclear exactly at what point the GPU is going to give up
-
tm512
when I was testing with 15 + drm-66 last night though, just going fullscreen in mpv on a fresh boot caused a hang
-
tm512
so far this seems to be happening with GCN 5 and GCN 5.1 iGPUs
-
tm512
so like APUs from 2018-2020
-
tm512
-
tm512
per abishai's latest comment, they claim it's not happening on this Zen2 system with some particular loader.conf tweaks applied. I've asked for clarification on what exact GPU that system is using, but if I wanted to try out those tweaks, could I expect them to have any performance consequences?
-
skered
er I have 515 not 61.
-
skered
I guess I can use 61 though.
-
skered
Wonder if I can reproduce it with xrdp and DRI.
-
tm512
so for me, drm-515 does not have this issue, but I can't use it, because it kernel panics after a while