-
mns
there were plenty of articles on networking and such things back in the day
-
mns
GUI, Networking, Security ... big three items
-
uskerine
he mades several predictions that proven to be right later: that every single computer would end up having a network card which would cost 0$, that whatever UNIX evolution would exist in the future, the important thing would be the capability of running several processes in parallel, but that the multiuser would be irrelevant, and he made other comments that I do not think they were obvious back then
-
uskerine
it is old stuff, it seems from other age. Many of the contributors are no longer there too (which is obvious). There was another article about the director of research of AT&T talking about networking, convergence of Voice and Data and things like that
-
uskerine
mns I am reading 1985 now, so the GUI is still not that much a thing -yet-. There are comments about the BLIT and there was a lightweight window manager I do not recall the name
-
uskerine
MGR
-
uskerine
-
VimDiesel
Title: ManaGeR - Wikipedia
-
mns
uskerine: you're going down a rabbit hole of fascinating history :-) You can get a bilt emulator with 9front, a Plan 9 fork.
en.wikipedia.org/wiki/Blit_(computer_terminal)
-
VimDiesel
Title: Blit (computer terminal) - Wikipedia
-
wildeboskat
Is FreeBSD also affected by this data loss bug?
openzfs/zfs #15526
-
VimDiesel
Title: some copied files are corrupted (chunks replaced by zeros) · Issue #15526 · openzfs/zfs · GitHub
-
VimDiesel
15526 – [NEW PORT] security/pgpgpg: a wrapper for GnuPG to emulate PGP 2.6
bugs.freebsd.org/bugzilla/show_bug.cgi?id=15526
-
wildeboskat
And is there a way to update to a version that isn't?
-
wildeboskat
It sounds pretty serious
-
wildeboskat
Especially because a scrub doesn't see it
-
mason
wildeboskat: Look at the comment with: "With FreeBSD 14.0-RELEASE, there's complementary use of the vfs.zfs.bclone_enabled kernel state, 0 (zero):"
-
wildeboskat
Hmm I don't really know what that means :)
-
wildeboskat
But from what I understand from the hacker news thread, the bug also appears with block cloning deactivated, it's just much less likely
-
wildeboskat
-
VimDiesel
Title: The root cause of the bug may have been present for a long time. It increased in... | Hacker News
-
wildeboskat
But his "quick workaround" obviously doesn't work on freebsd as it requires sysfs
-
wildeboskat
On Linux they do this: echo 0 > /sys/module/zfs/parameters/zfs_dmu_offset_next_sync
-
wildeboskat
But on FreeBSD there must be a corresponding sysctl I imagine
-
wildeboskat
But not sure which
-
mason
hrm, I thought the bug only appeared with block cloning, but I'm insufficiently familiar with it
-
psychonate
vfs.zfs.dmu_offset_next_sync
-
wildeboskat
Thanks!
-
wildeboskat
This was on for me :(
-
wildeboskat
On 13.2
-
debdrup
The issue is neither related to BRT nor DMU offsetting, it's _probably_ related to SEEK_HOLE. All BRT or DMU offsetting seems to do is make the race-condition that's the source of the bug more likely to occur. For what it's worth though, outside of specific reproducers, I haven't actually seen anyone make mention of running into the issue on FreeBSD systems, and I'm not sure I understand why.
-
debdrup
A change to the GNU coreutils package, which is used by a lot of Linux distributions, made it much more likely to happen on Linux, and it's not like it _can't_ happen on FreeBSD (see: the reproducers proving that), but it doesn't seem to without running them?
-
debdrup
I can't imagine that there won't be an EN for it, but it has to be tested properly first and that takes time.
-
debdrup
It did make me wonder whether KCSAN (the Kernel Concurrency SANitizer, ported from NetBSD to FreeBSD) would've caught this, because it seems like the exact sort of thing that that's made for.
-
wildeboskat
There's a report of a build failing for a file containing zeroes: echo 0 > /sys/module/zfs/parameters/zfs_dmu_offset_next_sync
-
wildeboskat
Oops
-
wildeboskat
-
VimDiesel
Title: The recent FreeBSD 14 release apparently failed to build for one of the platform... | Hacker News
-
wildeboskat
That's the right link
-
wildeboskat
But thanks for the explanation debdrup! Do you know when a version that's fixed is pushed? Or does it require more testing to determine the "probably" part?
-
debdrup
wildeboskat: I can't imagine that it won't be part of an EN, so I'd recommend subscribing to the announcement mailing list on
lists.freebsd.org/subscription/freebsd-announce
-
VimDiesel
Title: FreeBSD Mailing lists: subscription for freebsd-announce
-
wildeboskat
Ugh I really hate mailing lists clutting up my mailbox, but I will keep an eye on the web part of it, thanks!
-
debdrup
announce@ is moderated, only people with explicit permission can use it.
-
wildeboskat
Ah ok
-
wildeboskat
I see
-
wildeboskat
But this sounds like a big enough issue to warrant an EN?
-
debdrup
What does and doesn't get an EN isn't really codified, but like I said, I can't imagine an EN not getting issued.
-
wildeboskat
Ahhh sorry I understand now, I thought you meant to say that it wouldn't be part of an EN which surprised me
-
wildeboskat
Thanks!
-
debdrup
announce@ gets less than 10 mails / month (with a few exceptions where there were 11/month).
-
wildeboskat
Thanks! That's pretty decent :3
-
debdrup
wildeboskat: that's probably on me, so I apologize.
-
wildeboskat
Nono I reread it and you said it correctly
-
wildeboskat
It's 5am here so I'm not at my most observant
-
robn
fwiw, KCSAN wouldn't have detected it. its was a logic error - one logical operation dirtied two different kinds of things, but lseek() was only checking one.
-
mns
under what circumstances do I need to be worried about this ZFS bug ?
-
wildeboskat
Well apparently block cloning and DMU offset (whatever that is :) ) make it more likely to happen
-
wildeboskat
But don't take my word for it
-
wildeboskat
I'm not really into filesystems
-
mns
I jsut have defaults for ZFS
-
robn
you almost certainly do not need to worry about it.
-
robn
and if you set sysctl vfs.zfs.dmu_offset_next_sync=0 , you definitely do not need to worry about it.
-
wildeboskat
Thank you
-
robn
-
VimDiesel
Title: 275308 – EN tracking issue for potential ZFS data corruption
-
wildeboskat
What I find the most worrying is that it's silent - the features which are supposed to detect corruption don't
-
voy4g3r2
veg: how did your netatalk stuff go?
-
robn
yeah. fortunately its wildly difficult to hit on any non-contrived workload, and even harder to hit without the application noticing
-
kevans
debdrup: fwiw i'm pretty sure that exact bug is what broke the PINE64 build for 14.0
-
kevans
some folks had been hitting it intermittently in kernel builds
-
kevans
oh, mentioned later
-
wildeboskat
kevans: You're referring to this right?
news.ycombinator.com/item?id=38408993
-
VimDiesel
Title: The recent FreeBSD 14 release apparently failed to build for one of the platform... | Hacker News
-
wildeboskat
Oh yeah I just dug down into it and it is jndeed the PINE build
-
kevans
yeah
-
wildeboskat
That sounds pretty real-world to me o_O
-
kevans
robn: oh, hey, how long have you been hiding out in here? :-)
-
wildeboskat
PS not trying to detract from FreeBSD or ZFS, just worried about my data lol
-
wildeboskat
100+TB is a lot :D
-
robn
wildeboskat: I said "difficult to hit without the application noticing". in this case, the application noticed
-
wildeboskat
Ahh good point
-
robn
wildeboskat: I'd put money on you not having any stored corruption caused by this bug
-
wildeboskat
Thanks :3
-
robn
I might lose, but I'll almost certainly win :)
-
wildeboskat
Most of my data is actually not on ZFS
-
wildeboskat
Though I was planning to move it, but I'll wait a but until all this is clear
-
wildeboskat
It is mostly on ext4 with the idea behind it that a simple FS is easier to extract data from if it screws upw
-
robn
kevans: here, maybe a year. my history of lurking in irc is more like 25 years lol
-
wildeboskat
However the lack of block-checksums etc is something worth going to ZFS for
-
robn
wildeboskat: all other things being equal, I'd prefer to be recovering from ZFS than ext4 (or any FFS-style filesystem). even the worst failures still leave a lot of structure on the disk
-
wildeboskat
Really? I didn't imagien that
-
robn
but I recognise the tools and expertise aren't as readily available
-
kevans
ah, nice- always nice to see zfs folks further infiltrating the freebsd community, whether for zfs purposes or not
-
wildeboskat
Yeah I wouldn't know how a ZFS works, ext4 is easier to understand
-
robn
yeah, coz ZFS never overwrites anything, only copies. including its own housekeeping structures. so if you totally toast the current version of something, a previous one is likely to have something you can use
-
voy4g3r2
this is going to sound crazy: Have ZFS users, who use the /compressed option on a mount.. notice performance lose with processing files/
-
voy4g3r2
i got time machine to work on mac, through netatalk, but it is HELLA slow.. like in 20 minutes, i have copied 25 megs of data...
-
robn
(also snapshots etc out of the box make it easy to make even _more_ copies)
-
voy4g3r2
well scratch taht question.. it is doing "burst" uploads.. it has to be the client and not the server.. never mind
-
robn
kevans: this year I learned that I've always been a freebsd-er at heart, I just accidentally ended up doing linux for 20 years and being depressed the whole time :D
-
mason
Linux had a few good years.
-
mns
wildeboskat: I used to be on linux, using ext3/ext4 and got some corruption. freebsd was the only OS from which I was able to recover that data. I tried NetBSD and a bunch of other linuxes to no avail. After that, I just switched to ZFS, have had numerous power outages and such things, but no data loss. once you get the hang of some of the basic stuff, its easy.
-
robn
Linux is _fine_. I just think we deserve more than that
-
robn
yeah, all operating systems/filesystems/disks will eat your data sometimes. can't do much about that as long as physics exists and humans are fallible
-
robn
zfs at least gives you a fighting chance of knowing before its too late
-
wildeboskat
I'm a FreeBSD user by the way, it's just my fileserver is still on Linux because I couldn't find a great BSD replacement for mhddfs
-
robn
oh for sure. my daily driver is still linux, because I've been doing it for decades and its very hard to find time to disentangle it
-
robn
not that I have to. all friends here
-
robn
(it is running zfs ofc)
-
robn
anyway I should stop shilling for Big Storage and get back to this sodding bug
-
kevans
robn: aha, so what I'm hearing is that we have enough upside that we could conceivably annoy you with enough quality of life improvements to implement that you eventually accept a committer branding
-
robn
oh quite easily. I'm already on that road; not hard to accelerate that by sniping me with interesting tidbits
-
robn
... so long as zfs doesn't keep catching fire and taking up all my free time, anyway
-
kevans
eheh
-
AumShivaya
What is FreeBSD like these days, thinking of switching again to F'BSD
-
AumShivaya
like for desktop?
-
la_mettrie
AumShivaya: it's pretty fine
-
AumShivaya
cool la_mettrie
-
AumShivaya
Does Steam work on it yet?
-
AumShivaya
with Linux Compat or something?
-
la_mettrie
i'm not sure. zork, lgeneral, freeorion and vms-empire are enough to me. maybe somebody else here knows the answer
-
AumShivaya
what is a zork?
-
Beladona
I am migrating from freebsd to debian but my disks are encrypted via geli that is not in linux. Should I use freebsd (as guest) inside virt manager and access those drives?
-
Macer
so i want to give the fbsd server some swap but am trying to think of the best way to do this. i guess i have these 2GB partitions.. is it common practice to mirror them?
-
angry_vincent
Beladona: i would think, yes. You can't access them from non-BSD env
-
jb1277976
Beladona if you can't get answers here go to the lists, forums or discord. Everything should work not just one place. Of course you will need to wait for an answer
-
Beladona
jb1277976: I love fbsd but cannot make manythings work. I have to make this choice
-
Beladona
angry_vincent: ok
-
Beladona
angry_vincent: any thoughts on migrating current freebsd in to that guest virt manager based?
-
thorre
Hi, upgraded to 14.0-RELEASE yesterday and everything is working fine now. During the upgrade I noticed that the root users shell no longer is /bin/csh in a passwd merge. I did not dare to change the root shell during the upgrade so on my machine root still has /bin/csh instead of the now default /bin/sh
-
thorre
Is it recommended to change to /bin/sh for root?
-
sams
hi i have a anano pi r4s with realtek NICs that i ran freebsd 13 + opnsense and the iperf3 speeds were only 500mbit max? Have things changed with freeebsd 14 and realtek NICs?
-
sams
s/anano/nano
-
Beladona
Is there anything that freebsd do for zfs and not zfs FS itself? Ie something OS dependant. Eg checking disks automatically itself if corruption happens etc. I am migrating to debian but will use zfs. So that is why I was asking
-
Remilia
thorre: use whichever shell you prefer, I really doubt csh will be removed from base any time soon
-
Remilia
the reason for the change is most likely that 95% of *NIX/POSIX users expect Bourne shell, not C shell
-
thorre
Remilia: I have the same feeling to but I wanted to make sure ;-) Maybe someone knows something that I do not.
-
meena
yeah, lots of crusty people (like me) prefer csh as their root shell
-
Remilia
I cannot deal with csh haha
-
thorre
crusty people ... made me smile
-
meena
but, 90% of my csh usage follows from jexex -l foo csh
-
thorre
I remember when working with sunos and the "cool" shell to use was korn shell, "ksh -o emacs" for esc-completion.
-
Remilia
thorre: my first non-handmade PC was a SPARCstation with SunOS and I am 100% sure the default was the Bourne shell
-
Remilia
it was the same on my second PC, an SGI Indy
-
meena
cool people sometimes deviate from defaults
-
thorre
Yes, sh was the default. Ksh was included from Sun. And bash could be installed via cdrom ;-)
-
» thorre had ULTRA-2, ULTRA-5 and ULTRA-10 workstations
-
Remilia
mine was the first SPARCstation I think
-
Remilia
it is somewhere in the basement back at home
-
meena
I used bash cuz i didn't know better, but then again, i only came to sun at the 9/10 era
-
Remilia
together with PC-8801 and various PC-98xx
-
thorre
I remember when a new hire asked me how to turn the machine off after he worked for us for several months. There was an email about weekend maintanance and he had never shut down his work station before
-
paulf
I still use ksh -o emacs
-
thorre
paulf: I migrated to zsh when that was made the default in macOS. I could honestly not see me having a shell without fuzzyfind and other nice things that zsh has.
-
thorre
But it depends on your use-case.
-
Remilia
in retrospect upgrading to 14 was a bad decision
-
pstef
thorre: you can keep csh of course, the point was to change the default
-
angry_vincent
Beladona: sorry, i cannot help with migration. i never used debian and quite possible never will. anyway, not a topic for this channel.
-
meena
Remilia: you have to suffer so that others don't
-
kevans
yeah, nobody is talking about deprecating csh
-
Remilia
sams: Realtec NICs are genuinely terrible so you are likely getting bottlenecked on performance
-
thorre
pstef: I will change to /bin/sh since this is the new default and I barely never use the root-user account anyway. When sudo is not enough I usually use the toor-user with zsh. root for me is only for rescue scenarios and there it can be good to have the default.
-
Beladona
angry_vincent: ok
-
meena
Remilia: any chance you're monitoring can record processes are running during those high load periods and what their stacks look like?
-
Remilia
can someone offer advice on how to track vnode exhaustion (possibly leak?) because I really do not like the kernel spending 4% of its CPU time in locks and another 100% in vnlru
-
meena
put differently, can we can figure what starts it?
-
Remilia
meena: I am not good enough to figure that out
-
Beladona
angry_vincent: what desktop OS you use?
-
Remilia
I know it is definitely something in periodic
-
Remilia
and in periodic, you have find
-
Remilia
which likely loves vnodes
-
Remilia
oh, I could move periodic runs to a time when I am awake
-
meena
I'm thinking of something simple, like a cron job that records what's happening at the time in a text file
-
meena
or that lol
-
pstef
sams: I don't claim to understand networking, but just recently I had to disable LRO on the FreeBSD side to get speed from 6 MB/s to 90 MB/s (over a gigabit link)
-
Remilia
meena: you know what was the worst after I tried increasing max vnodes, the way jails went slow motion
-
Remilia
`service jail stop X` just stalling forever
-
meena
now that sounds like something you can take lots of nice dtrace snapshots of
-
meena
hotkernel, pstacks, etc
-
Remilia
meena: yes but that is just the consequences of vnlru spending time in locks
-
Remilia
looked at the load graph carefully and it is definitely periodic, spike starts at 03:01
-
parv
:sicko: Oh yeah! 3a.
-
Remilia
moved periodic to 13:00
-
Remilia
now wondering if it will trigger today
-
Remilia
meena: if I changed the crontab line that already ran today, will it run at the new, later, time?
-
Remilia
I am assuming yes, doubt cron cares
-
Remilia
not like it can tell that I edited a line and not removed and added
-
angry_vincent
Beladona: i do not know what is desktop OS. to me this sounds like artifical word construct. i use wayland compositor.
-
Beladona
angry_vincent: Desktop OS: an OS designed for good desktop support. E.g GUI, bluetooth, hardware, wacom pen (muy case of issues)
-
Beladona
etc
-
debdrup
In my experience, there's such a wide amount of variance in what people want and expect from a desktop, that just about nothing can be generalized.
-
Beladona
debdrup: a few things are thought to be basic. Eg bluetooth
-
debdrup
About all that can be said is that FreeBSD can be made to work well as a desktop OS, if you've got the time, patience, inclination, and technical knowhow/willingness to learn.
-
debdrup
Beladona: I have bluetooth on my T480s working just fine.
-
debdrup
Tested with both a mouse and a headset.
-
Beladona
Many do. At what cost? How much time?
-
debdrup
Beladona: that's hard to quantify; how long does it take for a power-user to configure _any_ OS?
-
debdrup
An unenumerable amount, because powerusers tend to always tweak something or other.
-
Beladona
Agreed but some OSes do it for you. Built in. Better hardware support out of the box
-
debdrup
If it doesn't work for you, don't sunk-cost it - just accept that and move on.
-
Beladona
so millions of power users don't have to spend any second on it
-
Beladona
1 second X a million users = 1 m man seconds.
-
debdrup
Where did you get the idea that the FreeBSD project or community wants to market itself to millions of power users?
-
Remilia
when I reinstall Windows from scratch it takes me around 2 days to set it up just right
-
Beladona
Few people want to just get the job done quickly. Despite being power users, they don't want to spend time.
-
Remilia
so I dunno, I feel like for power users there would not be much difference
-
Beladona
Well if not millions, thousands?
-
debdrup
Beladona: it sounds like you're conflating what would make it easier for you as being equivalent to what would make it easier for everyone.
-
Beladona
I am relating my feelings as a human and assuming that many would feel similar "getting the job done in less time and expecting many things from OS out of the box". Specially if the same is done in many other known OSes. Freebsd had been the best OS I ever used. Except the things said above.
-
Beladona
So no bad feelings about Freebsd. Just exchanging thoughts
-
Remilia
setting up a FreeBSD desktop system for me would definitely take less time than with Windows but maybe you mean Mac OS?
-
Remilia
I last used that on a Powerbook G4 and remember nothing
-
debdrup
Remilia: how many times have you set up Windows, for comparison?
-
Beladona
If anyone is a power user, it does not means he and ALL others like him (thousands if not millions) have to spend time on it. VS that be made as in the core of OS by OS devs
-
Remilia
debdrup: I would not be able to count, likely >200
-
Remilia
actually scratch that
-
Remilia
>500, counting from 3.11
-
debdrup
When I was a Windows toucher, I would routinely install Windows often enough, that to this day I could probably still do it without attaching a monitor (though, I suspect, I'd need a dummy output, since I don't believe the Windows installer boots if there's no output attached..)
-
debdrup
Remilia: yes, and if you'd had to setup FreeBSD that often I suspect you'd have a bit more familiarity with the process.
-
Remilia
yeah but even without that it takes me less time than with Windows
-
Beladona
Its not just setup. Its so many things. I can repeat if Remilia is new : Brave browser, netflix, wacom pen, bluetooth versions support, less programming app/packages eg nodejs, this list goes onn.
-
debdrup
Remilia: Ah, I misread, sorry!
-
Remilia
when I say set up I mean everything needed for my tasks
-
Beladona
oh ok
-
Remilia
configuring Windows for my needs takes two days
-
Remilia
because I keep hitting stuff that works the wrong way that I forgot to fix, etc.
-
Beladona
no script/batch files help in windows?
-
debdrup
I stick to regular Firefox for reasons beyond the scope of this conversation, and have nothing to do with Netflix since I don't like paying subscription fees for things I don't use often - but bluetoth, wacom pen, and third-party software aren't things I've really run into issues with.
-
debdrup
Microsoft has routinely made it more difficult to automate the processes.
-
debdrup
It used to be that you could slipstream updates onto the installer media, with a little care - but now you basically have to go the WSUS route.
-
pstef
IME, bluetooth devices were easier to pair with a laptop running Linux
-
debdrup
There's also a _severe_ lack of a proper package manager, out of the box (yes, winget is useful in one sense, since it's what's used to install Chocolatey..).
-
Beladona
debdrup: many in this channel reported bluetooth issues in my presence. It's ok about your feedback but many people do want netflix, brave etc. As you said, we should not assume
-
» Beladona steps away from the conversation as it's going offtopic
-
debdrup
Beladona: it's one thing to want something, but another thing to expect it; at the end of the day, FreeBSD exists because of volunteer effort, not because a company is investing money into it - that's the fundamental difference between FreeBSD and the majority of Linux distributions that it gets periodically compared with.
-
Beladona
I respect the free source community!
-
Beladona
I understand!
-
debdrup
I'm sure you do, but it's a bit hard to read that through all the expectations you're outlining on what you think should work, is my point.
-
Beladona
Right: I wish something could be done regardless of the situation you wrote (free/volunteer etc). I am not sure what but this OS deserves more.
-
Remilia
also to be honest modern wifi and bluetooth situation is terrible more often than not
-
Remilia
especially wifi
-
debdrup
At the end of the day, FreeBSD _isn't_ a desktop OS. It's an OS in the older Unix-like style, where you're given a compiler, the source code, and instructions on how to build the OS itself. From there, you get to use it as a building block to do whatever you want with it.
-
debdrup
Those building blocks can take the shape of a desktop OS, but it's still up to the user to do a non-insignificant amount of work.
-
debdrup
I don't think the FreeBSD project or community is going to do away with that notion any time soon.
-
Beladona
I just lost hope that if I would buy something (bluetooth), or install something (nodejs, clojure/rust), I might not find the hardware support of software version supported. Tangible example: No support for puppeteer (a node lib). So no point in using the OS despite it is my favourite
-
debdrup
Anyway, I'll get off my two-step ladder and leave the floor to someone else.
-
Beladona
many other examples. No NVM. (node version manager).
-
Beladona
debdrup: yes. BUt I must say I had a lovely time in Freebsd
-
Beladona
debdrup: hey thanks for all the support !
-
Beladona
:)
-
Remilia
Beladona: a lot of modern bluetooth and wifi hardware are black boxes with proprietary drivers and no documentation
-
Beladona
ya..
-
kenrap
If one wants a pre-configured FreeBSD desktop OS, use GhostBSD. Even though I'm "power user", I do like that FreeBSD comes with a solid base to build off of in DIY way, be it for desktop, server, or embedded.
-
Beladona
ok but still the issues I listed will be there
-
Beladona
got to go
-
tercaL
Remilia: Hi again, missed what have been talking here recently ^^ anything new regarding your issue?
-
Remilia
nope
-
Remilia
I have no idea how to investigate it properly and no one else probably runs 10+ jails with relatively low amounts of requests per second
-
tercaL
Remilia: Do you have unnecessary periodics disabled in each your jail by a periodic.conf file for each?
-
Remilia
yes
-
tercaL
I've seen they run lots of pseudo stuff causing high CPU load, in the past.
-
tercaL
for nothing.
-
tercaL
Remilia: I have this for each Jail of mine:
pastebin.mozilla.org/ssuv1WMS
-
Remilia
to be honest I am not sure how to explain that I had zero issues even without disabling periodic scripts back before I upgraded to 14.0
-
VimDiesel
Title: Mozilla Community Pastebin/ssuv1WMS (Bash)
-
Remilia
and how to explain that yes, I have them disabled since yesterday for testing purposes
-
voy4g3r2
powerd question here, i am noticing that on one of my machines.. powerd just "dies" freebsd 13.2-p4 and when i run powerd -v this is the output i get:
bsd.to/Zi2V
-
VimDiesel
Title: dpaste/Zi2V (Plain Text)
-
voy4g3r2
my question is, would it "hurt" to "allow" the CPU to go up to 3000mhz.. this is a pi4
-
Remilia
considering that CPU load never spiked for more than 2-3 minutes prior to the upgrade, and that I upgraded using the recommended method, with the latest freebsd-update, from 13.2-RELEASE-p5
-
voy4g3r2
just seems like i am "limiting" it if it wants to burst higher
-
magnahelix
voy4g3r2: if it'll clock that high up. You're gonna need some major improvements to its cooling.
-
meena
tercaL: there should be a way to disable all, and only enable the ones you want
-
magnahelix
It'll throttle down if it can't dissipate the heat it generates.
-
voy4g3r2
magnahelix: i got a fan and heat sink on it and it is in a basement area where quite cool.. but better to be safe than sorry
-
voy4g3r2
i was just not expecting it to jump that high up.. since it is rated for 1500mhz
-
magnahelix
2000mhz is entirely possible with that pi4.
-
magnahelix
Maybe even 2.1 -2.2 ghz.
-
tercaL
meena: How?
-
meena
Remilia: i think you have enough circumstantial evidence to file a bug (and assign it to mjg@ ;)
-
tercaL
Remilia: and for each your jail, in their rc.conf files: cron_flags="$cron_flags -J 15"
-
Remilia
I am not sure what would that help with
-
meena
tercaL: i don't know, but going from implicit to explicit would be useful
-
tercaL
Remilia: Preventing cron jobs to start at the exact time for all jails
-
meena
tercaL: she's got like 8 jails, not 80 or 800
-
Remilia
tercaL: allow me to explain, I have been running the same setup on FreeBSD 12.x and 13.x for years, with no signs of trouble
-
Remilia
I probably forgot to mention this before
-
voy4g3r2
magnahelix: i would just like xfce4 to NOT tell me powerd died unexpectedly.. thi sis a dev box for a project.
-
Remilia
-
voy4g3r2
i was going to install libreoffice but gnumeric is causing enough headaches.. the only app i am using on xfce4
-
Remilia
the difference between these two graphs: FreeBSD 13.2-RELEASE-p5 vs FreeBSD 14.0-RELEASE
-
Remilia
nothing else
-
meena
Remilia: please open a bug report. just to have all the info tracked, and everything we've tried to exclude any hypothesis
-
tercaL
I'd open a bug report.
-
Remilia
meena: I guess I will have to :\
-
» Remilia does not like opening non-ports bug reports because it is very scary
-
meena
core developers are just people
-
meena
most of them, anyway, as far as i know. I've only met one in person, so this is a big extrapolation
-
Remilia
meena: imagine getting a reply from d.e.j. under your report
-
meena
I dunno who that is
-
voy4g3r2
well xfce4, powerd do not like each other.. boo
-
voy4g3r2
i guess time to find some other wm to rdp into
-
voy4g3r2
wow hard core unresponsive.. but xfce4 looks soo pretty
-
meena
voy4g3r2: hah
-
meena
what's powerd doing to it?
-
meena
there's also powerdxx in ports. it might be able to do better
-
voy4g3r2
meena: i have no root cause, i load xfce4 i try to load gnumeric and it just "hangs" then i get powerd unexpectedly crashes
-
_xor
I forgot about this, don't know where I got it originally, but I have this in my notes and forgot how useful it is...
-
_xor
comm -23 <(sysctl -T -a -N | sort) <(sysctl -W -a -N | sort)
-
_xor
That command is labeled as: "List tunables that need to be set in /boot/loader.conf vs /etc/sysctl.conf"
-
voy4g3r2
i will borrow that :)
-
meena
_xor: cool
-
pstef
-sh: Syntax error: "(" unexpected (expecting word)
-
pstef
things never work in FreeBSD!
-
kevans
pstef: less symbols more words please -- signed, /bin/sh
-
pstef
-
VimDiesel
Title: "Weird Al" Yankovic - grammar lesson - YouTube
-
seere
pstef: <( is a bashism, not implemented in FreeBSD /bin/sh AFAIK
-
thedaemon
bash comm -23 <(sysctl -T -a -N | sort) <(sysctl -W -a -N | sort)
-
thedaemon
I'm spoiled with having a history command, I tried sh, but it's missing that killer feature.
-
thedaemon
yes I'm aware it does create a history file
-
thedaemon
I'd be massively unproductive if I didn't have my history XD
-
CueXXIII
thedaemon: bash -c 'comm -23 <(sysctl -T -a -N | sort) <(sysctl -W -a -N | sort)'
-
pstef
so if it does create the file then what is it missing?
-
CueXXIII
otherwise the current shell still tries to expand the <()
-
thedaemon
ahh :)
-
thedaemon
pstef, you have to cat the history file to view the history
-
thedaemon
there is no "history" command in the shell
-
thedaemon
cat ~/.history
-
pstef
there is fc -l and I think recently we added a "history" alias for it
-
thedaemon
what's the "man" command to find the help for fc?
-
thedaemon
I forgot XD
-
thedaemon
man fc brings up builtin(1)
-
pstef
man sh
-
thedaemon
there is another way
-
thedaemon
ahh it's a bash feature
-
thedaemon
"help fc"
-
thedaemon
something else sh is missing
-
thedaemon
lol
-
thedaemon
pstef, thanks for the tip!! :)
-
voy4g3r2
-
VimDiesel
Title: Oh My Zsh - a delightful & open source framework for Zsh
-
thedaemon
I learn new things every day
-
voy4g3r2
i really need to get my configs in a git repo... this is becoming painful
-
thedaemon
do it, I find it very helpful
-
voy4g3r2
hrm.. interesting that xfce was working, even though i didn't have an /etc/fstab for proc /proc procfs rw 0 0
-
pstef
why wouldn't it work?
-
voy4g3r2
pstef: not 100% sure, just hte handbook says it needs to be there and i am trying to figure out why powerd just crashes .. when it is loaded
-
pstef
can you show the handbook page where you see that?
-
voy4g3r2
-
VimDiesel
Title: Chapter 8. Desktop Environments | FreeBSD Documentation Portal
-
voy4g3r2
and so far so good.. i just did a reboot for sanity of test.. but it is actually "working" but will keep playing
-
voy4g3r2
all i have running, minus xfcs, is gnumeric to do some excel stuff
-
pstef
very interesting, because I've been running xfce for a long time without procfs mounted
-
thedaemon
procfs is optional on FreeBSD
-
pstef
but is it optional for XFCE is my question
-
voy4g3r2
the way that i read that section, it appears to be required.. at least it is implied
-
voy4g3r2
well it does say require, so one would say it is
-
voy4g3r2
and since i added it, no powerd crashes.. so far
-
thedaemon
I cannot find information about it, but it appears to be a linuxism
-
thedaemon
man 5 procfs
-
voy4g3r2
yes, it is.. dbus requires it to work.. i do know that
-
voy4g3r2
well at least it was "always" there from that world.
-
thedaemon
I have it in my /etc/fstab and I don't even use xfce
-
pstef
I think it was an Irixism
-
thedaemon
probably for dbus
-
thedaemon
It was in Unix 8th edition XD
-
thedaemon
sysctl is the new way in FreeBSD and OpenBSD killed /proc years ago
-
voy4g3r2
makes sense to me, explains why i had to add it to /etc/fstab but so far xfce is much much more responsive
-
thedaemon
nice :)
-
CueXXIII
i think xfce only needs /proc for a few features to work (like powerd)
-
thedaemon
I need to get powerd to work speaking of that
-
thedaemon
and smartd
-
voy4g3r2
CueXXIII: which explains why powerd kept crashing and since i enabled that /etc/fstab "feature" it has yet to do it :)
-
Schamschula
After running a regular poudriere update, Nextcloud fails to update. I see `ld-elf.so.1: /usr/local/lib/php/20210902/apcu.so: Undefined symbol "php_pcre2_match_data_create_from_pattern"`
-
Schamschula
How do I figure out a) which port installed /usr/local/lib/php/20210902/apcu.so and b) how to fix the problem
-
dh
Schamschula: pkg which /usr/local/lib/php/20210902/apcu.so
-
dh
The apcu.so extension is probably compiled for a different PHP version than you're using
-
Schamschula
dh: It needs a revision bump, after the update to php 8.1.26
-
dh
From which version?
-
Schamschula
8.1.25
-
Schamschula
i.e. [7/46] Upgrading php81 from 8.1.25 to 8.1.26...
-
dh
Hm, that's rather minor difference, usually PHP extensions are not that picky
-
dh
Hm, does your php have pcre module?
-
dh
php -m | grep pcre
-
Schamschula
You would thing
-
Schamschula
s/thing/think/
-
dh
Never assume, always check & verify
-
Schamschula
It gives me pcre
-
Macer
ok that's not working
-
thorre
Someone here who can verify a statement / question about a zfs pool upgrade before I do it?
-
thorre
-
VimDiesel
Title: FreeBSD 14.0-RELEASE Release Notes | The FreeBSD Project
-
thorre
Based on those instructions i have "mount_msdosfs /dev/nda0p1 /boot/efi" and copied a file "cp /boot/loader.efi /boot/efi/EFI/BOOT/BOOTX64.efi"
-
kevans
thorre: double-check /boot/efi/EFI/FreeBSD
-
thorre
Is that all that I need to do before I upgrade my ZFS pools?
-
kevans
there may be a loader.efi there that's actuallyused instead depending on your boot config
-
thorre
[0]helio~ # find /boot/efi
-
thorre
/boot/efi
-
thorre
/boot/efi/EFI
-
thorre
/boot/efi/EFI/BOOT
-
thorre
/boot/efi/EFI/BOOT/BOOTX64.efi
-
thorre
[0]helio~ #
-
thorre
kevans: seems like BOOTX64.efi is the only file
-
psychonate
Watch out for the block cloning bug if you're upgrading your pool.
-
thorre
psychonate: Isn't that disabled by default?
-
kevans
on release yes
-
thorre
kevans: I am on release.
-
kevans
and cool re: only \efi\boot; that's a bit of an older setup but it's valid
-
thorre
So, the file that I copied to /boot/efi. Is that all I need to do before upgrading my pools?
-
kevans
should be, yes
-
thorre
kevans: THank you for verifying
-
dh
thorre: I copied it to /boot/efi/freebsd/loader.efi
-
kevans
that'll make sure the copy of loader matches the feature set enabled on the pool, which should be sufficient once we've made it all the way to a release (in general)
-
kevans
dh: their setup doesn't use this one
-
dh
If I remember correctly, I did that AFTER not paying attention to zpool upgrade issues
-
kevans
systems installed before 13.0, or maybe even 12.0, just used the removable media default in \EFI\Boot; we've since added \EFI\FreeBSD\loader.efi and create appropriate efibootmgr to establish it
-
thorre
-
VimDiesel
Title: Paste.to
-
kevans
yeah that's fine
-
thorre
I think mine has been upgraded for the past 4 or 5 years so that makes it to old for production but just right for home use.
-
thorre
OK, will upgrade and reboot, wish me luck.
-
kevans
good luc
-
psychonate
That was quick.
-
thorre
Yes, it made it!
-
thorre
zpool status is all good
-
Remilia
not that quick compared to my home router (a 6W AMD Jaguar system)
-
thorre
time to give the pools a good scrub
-
kevans
woot
-
kevans
you might also be interested in setting vfs.zfs.dmu_offset_next_sync=0, but the reports we've seen so far on FreeBSD seem to mostly be in part of the build system for src
-
thorre
Think I missed to copy the efi-file when I upgraded to 12-RELEASE. Since the machine I run is headless that was a real dumpsterfire.
-
kevans
i went to upgrade a machine recently that's running along -CURRENT and there was some ACPI breakage for a period of time. I knew about it and still forgot to update my loader.efi. the machine was even worse because it was headless, no serial option and there was only one display in my house that it could drive without panicking at boot
-
kevans
and that display is a 55" or so TV on the other side of the house
-
thorre
Upgrading my machine at home is always a bit traumatic. Never have that feeling when doing things like that at work. I guess that my machine at home is one of one. If that breaks internet is gone and the wife and kids go mad.
-
thorre
What does vfs.zfs.dmu_offset_next_sync=0 do?
-
thorre
It currently has the value of 1
-
kevans
helps mitigate
openzfs/zfs #15526 until patch is out and ready at the cost of some holes being expanded iirc
-
VimDiesel
Title: some copied files are corrupted (chunks replaced by zeros) · Issue #15526 · openzfs/zfs · GitHub
-
VimDiesel
15526 – [NEW PORT] security/pgpgpg: a wrapper for GnuPG to emulate PGP 2.6
bugs.freebsd.org/bugzilla/show_bug.cgi?id=15526
-
kevans
it's a conservative option, if you want to play it safe
-
» thorre reading online
-
thorre
Does not look good
-
kevans
it's not a common corruption
-
thorre
vfs.zfs.dmu_offset_next_sync: 1 -> 0
-
thorre
Have changed it now, must read up a little more on what it actually does
-
thorre
When i run "zpool get all <poolname> | grep feature@" it looks like block cloning is enabled
-
thorre
Is that something that I should disable for now?
-
kevans
yeah, but there's a sysctl to effectively disable it that should be flipped on (disabled) in 14.0
-
kevans
vfs.zfs.bclone_enabled
-
thorre
=0
-
kevans
s/on/off/ :-)
-
thorre
sysctl outputs "vfs.zfs.bclone_enabled: 0"
-
thorre
zpool states
-
thorre
zroot feature@block_cloning enabled local
-
kevans
yeah, 0 = disabled
-
thorre
I am no ZFS expert but to the best of my knowledge the block cloning is part of the copy-on-write design of zfs.
-
thorre
Guess that I have to scrub weekly instead of monthly now.
-
thorre
Is there any information on how common these corruptions are?
-
thorre
Hmmm, could it be that the zfs-pool supports block_cloning but the block_cloning is disabled in runtime via vfs.zfs.bclone_enabled=0 ?
-
voy4g3r2
thorre: there is no "root cause" yet, people have been able to confirm it happens.. the exact reason why.. still unknwon
-
voy4g3r2
-
VimDiesel
Title: ZFS - Don’t enable block cloning just yet. | The FreeBSD Forums
-
thorre
I saw that article.
-
thorre
Guess I need to pay extra attention to my scrub results.
-
thorre
Since it only is a home server there is not much activity on the disks. But for production this is some extra excitement.
-
voy4g3r2
and i have to write that down myself. "playing" with zfs and figure it is important.. to scrub
-
thorre
Scrubing is like flossing ones teeth. It keeps the rot away.
-
kevans
voy4g3r2: I don't think that is a correct characterization of the situation
-
kevans
there's at least two patches in flight to address the problem (when combined)
-
Schamschula
Indeed: I locally revision bumped php81-pecl-APCu, and now Nextcloud is working again.
-
Beladona
I think I accidently removed some dot .files and cannot login to awesomevm. I am in shell now with no browser. Does anyone knows what the config file is?
-
Beladona
its was some dot file in home dir
-
mason
-
VimDiesel
Title: Awesome WM - Overview
-
Beladona
mason: no browser : )
-
mason
Beladona: It works in elinks.
-
Beladona
I think it was some file having some GUI entry to run awesome on `startx`. That file was a .somefile in my home dir that was deleted.
-
mason
and w3m
-
flatdog
.xinitrc ?
-
mason
Beladona: Then maybe "exec awesome" in .xsession
-
mason
or whatever the binary's name is, exec'd from there
-
Beladona
.xinitrc
-
flatdog
echo "exec awesome" > .xinitrc
-
Beladona
mason: yes. but are you sure its .xsession and not .xinitrc?
-
mason
You use startx, and not a desktop manager?
-
mason
Beladona: Yeah.
-
mason
Unless you use startx.
-
Beladona
I do `startx` always
-
mason
Then it's .xinitrc
-
Beladona
ok thanks. doing
-
Beladona
it was .xinitrc and all that worked. I am back in UI. Thanks!
-
flatdog
enjoy :)
-
unixman_home
Having lynx web browser available on a headless box can be a life saver, IMO. IIRC elinks and w3m work best from an xterm window on a running desktop, which usually ain't gonna be available on headless servers.
-
parv
unixman_home, What issues did you get with elinks & w3m when run on a headless box?
-
unixman_home
parv, I don't recall. It's been a *long* time since I was having to pick a CLI web browser. TBH whatever was the problem back then may no longer be an issue. I've just been using lynx for years.
-
parv
unixman_home, Ah. Thanks. Did you happen to try links2?
-
unixman_home
parv, I think I have. It's not like I have used CLI web browsers daily, weekly, or even monthly. It's been at least a year or more since I last needed one. It's one of those, when I *need* it I use it, things for me. I don't often find myself in that position.
-
unixman_home
The last time I recall using lynx I was in the DC, with a crash cart keyboard / mouse connected to a headless box that had lost M&C connectivity. I used lynx to connect to a vendor site and download a patch for their software running on that box. After that, I worked with network engineering to fix the M&C connection so the next poor admin would not have to go to the DC for patching that box.
-
parv
unixman_home, What is "M&C", "monitor & control"?
-
unixman_home
Pretty much. I think we call it Management & Control, but basically it is the remote management interface built into a lot of server hardware that we connect to a dedicated network for that.
-
AumShivaya
Does anyone here use the enlightenment desktop? I have a question: I'm on a fresh install, just started e and after the 'wizard' setup thingy, all I get is a black screen, it is "as if" the backlight went to 0
-
AumShivaya
also is it really bad to mix ports and pkg installed programs?
-
AumShivaya
I remember at one time it was not really a good idea, then it was considered 'ok' but now?
-
uskerine
doing some tests with sockets, using old examples.
bpa.st/2DIQ I am struggling to understand how to extract the IP from struct hostent . Any help is welcomed.
-
VimDiesel
Title: View paste 2DIQ
-
AumShivaya
back
-
rtprio
AumShivaya: it's fine to mix ports and packages
-
rtprio
uskerine: what is h_addr/ line 45 showing you ?
-
dh
uskerine: You need to use inet_ntoa()
-
thedaemon
Haven't used E16/e17 in a long time. Sorry. mixing ports and packages is fine like rtprio stated. packages are just precompiled ports.
-
dh
-
VimDiesel
Title: c - Using gethostbyname - Stack Overflow
-
parv
AumShivaya, Mixing ports & packages may not work in some cases if you would use non-default options for port building due to differing dependencies
-
parv
"it's fine to mix ports and packages" comes with a fat caveat
-
rwp
uskerine, A snippet from one of my old programs that might help a little:
bsd.to/ouWs
-
VimDiesel
Title: dpaste/ouWs (C)
-
uskerine
-
VimDiesel
Title: View paste I4SQ
-
rwp
uskerine, inet_ntoa() returns a string not an unsigned.
-
uskerine
so when I use p_server->h_addr as a struct in_addr pointer I get a decimal value which maches the IP (although it is read the opposite way)
-
rwp
What you say is the opposite way is the difference between big-endian and little-endian.
-
rwp
Most systems are little-endian these days. But networking came about when they were big-endian.
-
rwp
I'll go out on a limb and say all network protocols are serialized as big-endian bit streams. But Intel x86 systems are little-endian.
-
rwp
So data always needs to be converted from host ordering to network ordering on the way from the host to the network wire.
-
rwp
And all data needs to be converted from network ordering (bigendian) to host ordering (littleendian) on the way in from the wire to the host.
-
AumShivaya
thanks :)
-
rwp
If you happen to be working on a natively big-endian system then the byteorder(3) macros/functions do nothing. But on a little endian system they flip the bits around.
-
uskerine
for some reason I get a segmentation fault while trying to apply inet_ntoa
-
uskerine
Can you use the returned char * directly as a parameter of printf using %s ?
-
rwp
Turn on all compiler warnings, re-read the man pages for every function, double check all of the types.
-
meena
rwp: pretty much all old-school systems that are still around are now Bi-Endian, except for IBM's big iron
-
rwp
uskerine, Yes. I am doing this: sprintf(peername,"%s",inet_ntoa(peeraddr->sin_addr));
-
rwp
meena, That's why I said I was going out on a limb. But general guidelines are useful for newcomers to go by. There will always be exceptions.
-
meena
well i guess you could switch your aarch64 systems to Big Endian, if you enjoy pain
-
meena
build your own exceptions!
-
rwp
I am sure you are familiar meena with the classic "ON HOLY WARS AND A PLEA FOR PEACE" by Danny Cohen but uskerine should read it
rfc-editor.org/ien/ien137.txt
-
meena
rwp: I probably am and it's been too long, but either way, I don't remember (much these days)
-
rwp
It's a fun read and if dealing with endianness such as the byteorder(3) macros then still applicable too. But otherwise the machines it references are all museum pieces now. Machines prior to 1980.
-
uskerine
A header was missing
-
uskerine
and inet_ntoa was going ballistic, I reduced the problem to just getting the IP address of www.yahoo.com
-
uskerine
normally I do not cease until I get no warnings, but this time I was not reading them
-
rwp
Missing header files will mean missing prototypes. If warnings are enabled then these will be caught at that point. And the man pages always list what header files are needed.
-
uskerine
I am aware on the little endian big endian, and that network is big endian
-
rwp
But don't go crazy adding every header file to every file thinking to avoid not having some needed header file. That way is considered bad as it slows things down.
-
uskerine
I once had a complain from a junior because my software was assuming that the architecture was little endian. I was wondering where he wanted to compile that thing in 2023 as everything that you put in a data center is little endian.
-
rwp
Thompson apparently had such an issue with it at Google that in Go-lang it is an error to include a header that is not used in the compilation unit.
-
uskerine
Yes go-lang is very strict on that end, same for unused variables
-
uskerine
I normally like to know which header is for what function, but with sockets it seems that you need several headers at once
-
rwp
Networking will always require several headers all together. True.
-
uskerine
I am trying to make peaces with sockets, and learn them in a reasonable proper way
-
rwp
Excellent! It's useful.
-
meena
rwp: to be fair, on Plan-9, you can't include header files more than once, and that makes for a lot, and i mean, a lot faster compile times
-
meena
So it's not just unused crap, it's also multiple incudes of the same thing
-
rwp
Agreed. I have worked on projects where there were massive lists of includes and one of the problems is that it kills incremental builds. Change anything and everything becomes out of date.