-
_xor
What's the right way to escape a modifier in bsd make?
-
gman999
a backslash _xor?
-
gman999
`man 1 make`
-
_xor
Yes that's what I tried first and I did read the man page (looking at it again now, in fact). It didn't work, so there's something specific about this usage of it that I'm missing.
-
_xor
I'm finishing up a port. It builds fine, but does throw a warning.
-
_xor
brb
-
Erhard
Anyone know Why I would be getting the version mismatch from pkg upgrade like this:
-
Erhard
- package: 1301000
-
Erhard
- running kernel: 1300139
-
Erhard
Even though it is at 13.2-p2 ?
-
Erhard
This is in a jail.
-
Erhard
If I run freebsd-version -kru on the host they are all 13.1 p2
-
Erhard
If I run it in the jails they are also 13.1 p2
-
Erhard
(NO kernel of course in the jails)
-
Erhard
And above 13.2 is a typo
-
Erhard
pkg upgrade worked fine on the host
-
» parv got nothing; was going to suggest to compare the installed & running versions but that had been already accounted for
-
Erhard
It is strange right?
-
Erhard
I could do IGNORE_OSVERSION=yes
-
Erhard
But I wasn't sure what my problem was
-
parv
Looks like it. Perhaps missed some step during OS update?
-
Erhard
Maybe
-
Erhard
IGNORE_OSVERSION=yes seems to have worked
-
Erhard
I am going to reboot for the heck of it
-
Erhard
Restart all the jails.
-
Erhard
And then try pkg upgrade
-
Erhard
I noticed I had missed this server, and it had not been upgraded to 13.1 until today
-
Erhard
So when I first ran pkg upgrade it did have the wrong version
-
Erhard
Maybe it stored that flag
-
Erhard
Seems to be running smoothly now
-
Erhard
Weird...
-
parv
Post reboot(s)?
-
Erhard
Well, rebooting did not fix that error I had to do the IGNORE_OSVERSION
-
Erhard
But after setting that and running pkg upgrade and rebooting it works.
-
parv
Hmm ...
-
grahamperrin
meena: FYI 13.0-RELEASE reached end of life a few weeks ago, <
freebsd.org/security/unsupported>
-
VimDiesel
Title: Unsupported FreeBSD Releases | The FreeBSD Project
-
tehpeh
Does any one have experience running FreeBSD on HP Proliant towers? I bought a used ML30 Gen9, am I going to experience pain trying to use third-party components (HBA, drives etc)
-
rwp
Since you have already bought it one must wonder if it matters? Since regardless you will almost certainly try it anyway. And then you will know! :-)
-
parv
Experience via fire ;->
-
rwp
I am running FreeBSD on previous generation HP Workstations. Typing this on one right now.
-
rwp
The only problem I have has been with some but not all HP Workstation UEFI firmware. On five systems close in time but not identical ONE of them will not boot UEFI without crashing during the boot.
-
rwp
One would like to think that these bugs were found and fixed in later generation models. So you are probably going to like the machine very much.
-
rwp
Which CPU did you get with that model? Hopefully the blazing fast E3-1280v6! But then I would be super envious. :-)
-
tehpeh
rwp: yes, I will try it >_<
-
tehpeh
It has a single E3-1230
-
tehpeh
It's got a SFF 8-bay drive cage, but I don't know if I'll use that or swap it for the 4-bay LFF
-
tehpeh
I need to buy the disk caddies either way
-
tehpeh
Just heard stories about the fans ramping up to 100% when non-HP drives are used, which does not excite me
-
rwp
I think that one with the E3-1230 only ever shipped with the E3-1230v6. It's quite speedy!
cpubenchmark.net/cpu.php?cpu=Intel+Xeon+E3-1230+v6+%40+3.50GHz
-
VimDiesel
Title: PassMark - Intel Xeon E3-1230 v6 @ 3.50GHz - Price performance comparison
-
tehpeh
I'll need to double check, but the specs on ebay said v5 3.4GHz
-
parv
Does HP uses others' disks but branded or does it produce its own disks?
-
parv
s/uses/use/
-
tehpeh
In any case, the plan is to get an LSI HBA to replace the Raid controller, a PCI m.2 card and drive for OS, and attempt to use consumer disks in the 8-bay
-
tehpeh
parv: no idea actually
-
parv
tehpeh, Ok
-
rwp
HP hasn't made their own disks in a long time now. But they did at one time.
-
tehpeh
Interesting
-
rwp
-
VimDiesel
Title: List of defunct hard disk manufacturers - Wikipedia
-
tehpeh
This site indicates that some drives are ok, and some are not (at least for an DL380)
dascomputerconsultants.com/HPCompaqServerDrives.htm
-
VimDiesel
Title: HP Server Third Party Drive Compatability
-
parv
tehpeh, Earlier you mentioned switching 8-drive bay cage with 4. What would you have planned in either case?
-
meena
grahamperrin: need to shuffle order on PkgBase.live, and upgrade my own jails :😬
-
grahamperrin
:-)
-
rwp
On that page it is discussing HP Proliant DL380 servers. That's a rack mount system. The HP tower you just got will have been from a different design lab.
-
tehpeh
parv: not 100% sure. The 8-bay takes 2.5in SAS (and hopefully SATA) drives. One idea I had was using the 5TB Seagate portable harddrives, cracking them open, and using the drive inside. Cheap, but unsure if it will cause issues with ZFS.
-
grahamperrin
meena: … and maybe encourage probonopd to take more of an interest in PkgBase
-
tehpeh
rwp: good to know! It makes sense that the Proliant Microserver would take any drive because it's marketed at consumers really, and the ML30 is only one step up from that...
-
tehpeh
I don't need a lot of storage, 2TB minimum, 5TB would be nice, in a mirror
-
parv
Don't forget the backups!
-
tehpeh
Oh yeh, good point, might do that on a separate system though :D
-
tehpeh
If I swapped for the 4-bay I'd buy new 3.5in NAS drives
-
parv
.oO( Man, only of 8-bay thing could have 3.5 in disks )
-
parv
s/of/if/
-
rwp
tehpeh, I have posted this here before and risk being too repetitive but if you are buying drives now be aware of the problems documented here
raid.wiki.kernel.org/index.php/Timeout_Mismatch
-
VimDiesel
Title: Timeout Mismatch - Linux Raid Wiki
-
tehpeh
Yes, exactly! I only found out about this yesterday, very interesting
-
rwp
And avoid SMR drives! Just recently someone else here got caught in the SMR trap.
-
tehpeh
Which means using enterprise 2.5in (probably SAS) or if I can get a 4-bay cage I can use cheaper 3.5in NAS drives (I believe)
-
tehpeh
Or just wait until SSDs become cheaper for 2TB+
-
rwp
It all depends upon how much storage you want online. For a 6x 6TB array spinning is still a LOT less expensive than SSD for example.
-
rwp
But a 2x 1TB SSD pair is certainly cheap and affordable.
-
parv
On SMR, avoid WD "Red"; "Red Pro" are ok; don't know the deal with "Red Plus"
-
rwp
-
VimDiesel
Title: On WD Red NAS Drives - Western Digital Corporate Blog
-
tehpeh
crazy that WD would see a drive branded NAS that wouldn't work properly in RAID
-
rwp
WDC's management thought shipping cheaper SMR drives as NAS RAID drives was a good thing. Got caught. Got shamed. They came clean and said here is how you can tell what you are actually buying.
-
tehpeh
Fair, but they should also print that on the box ;)
-
rwp
Meanwhile Toshiba used that as a marketing opportunity to say they had never lied to us.
toshiba.semicon-storage.com/ap-en/c…ics/2020/04/storage-20200428-1.html
-
VimDiesel
Title: Use of Shingled Magnetic Recording (SMR) technology in Toshiba Consumer Hard Drives. | Toshiba Electronic Devices & Storage Corporation | Asia-English
-
rwp
As long as I am being repetitive in the channel go to page 2 here and look at the resilvering times.
servethehome.com/wd-red-smr-vs-cmr-tested-avoid-red-smr
-
VimDiesel
Title: WD Red SMR vs CMR Tested Avoid Red SMR - ServeTheHome
-
rwp
I just think information is power and don't want people to get caught unawares!
-
tehpeh
Ok, so I'm going to target 5TB usable space in a ZMIRROR (so 2x 5TB or 4x 2TB maybe) and the 2.5 vs 3.5in will be decided by cost I guess
-
tehpeh
rwp: nice, thanks for those links, will read tonight
-
rwp
And I don't know if I want to advocate for this here but... It's somewhat an interesting opinion piece. So here it is but it is BUYER BEWARE for certain! "Cost of SAS vs SATA Hard Drives | Shopping with Art of Server on eBay!!"
youtube.com/watch?v=QtvJA9mHNjw
-
VimDiesel
Title: Cost of SAS vs SATA Hard Drives | Shopping with Art of Server on eBay!! - YouTube
-
» rwp must relocate but maybe will BBIAB
-
tehpeh
thanks both rwp and parv :)
-
parv
tehpeh, Aye! Bye!
-
parv
tehpeh, Sorry, it was rwp who was relocating.
-
tehpeh
hehe
-
parv
😅
-
tehpeh
So what happens to the people who buy synology or qnap NAS boxes and put SMR drives in them?
-
parv
tehpeh, What do you mean? Technically (ZFS doesn't like) or from consumer point of view?
-
tehpeh
Well presumibly those consumer NAS boxes don't run ZFS, so are they at risk?
-
parv
Don't know enough; neither have I read an anecdote that I could rememer
-
parv
s/rememer/remember/
-
tehpeh
Just curious :) Alright I'm off too, have a good day y'all
-
parv
Later
-
FatalFUUU
Is there an equivalent to CAP_NET_BIND_SERVICE in BSD?
-
V_PauAmma_V
MAC or Capsicum may provide one. Hard to say without knowing what it does.
-
FatalFUUU
Allows (induvidual binaries) to bind <1024
-
FatalFUUU
Looks like it might just be sysctl security.mac.portacl.rules=uid:80:tcp:80,uid:80:tcp:443 (etc) doesnt help the example uses uid 80 took a few reads to get over port 80
-
meena
I think you can do that via MAC, but it's a pretty steep curve to climb, for something you can just declare in a systemd unit file or or an SMF service definition
-
meena
FatalFUUU: and that's then for a user, and not restricted to the lifetime of a process / service
-
FatalFUUU
not sure I follow you meena - where would systemd enter into this ?
-
meena
-
VimDiesel
Title: systemd.exec
-
FatalFUUU
in bsd?
-
meena
it would be cool if our rc did the same
-
FatalFUUU
I know about this just not sure why it was brought up
-
V_PauAmma_V
New laptop running 13.1. I have an Intel wireless 3165 PCI(mumble) device that's recognized by iwm(4), but the firmware for that is missing, and
freebsd.org/status/report-2022-01-2…linuxkpi_802_11_compatibility_layer (and erlier status reports),
wiki.freebsd.org/WiFi/Iwlwifi/Chipsets, and the 13.1 release notes all say or hint that I
-
VimDiesel
Title: FreeBSD Quarterly Status Report First Quarter 2022 | The FreeBSD Project
-
V_PauAmma_V
should. But iwlwifi is loaded by devmatch and iwm appears to be loaded much earlier, in loader or when probing for devices. How do I change that? iwm_load="NO" in loader.conf? device.hints looks ISA-only.
-
V_PauAmma_V
s/that I should/that I should use iwlwifi instead/
-
V_PauAmma_V
Oh, module_blacklist. Going to try that.
-
grahamperrin
Booting from a simple installer for FreeBSD on a USB flash drive, is the command below enough to (intentionally) delete everything on the internal nvd drive?
-
grahamperrin
trim -f /dev/nvd0
-
nimaje
hm, wouldn't handing the socket to listen on to the service be a better idea, but rc probably can't do that as a sh script, maybe add something like that to daemon?
-
meena
apparently, openntpd does not give a toss about how much drift there is when it starts up
-
meena
it does not just panic, and instead just adjusts time
-
nimaje
you set the -q flag?
-
meena
FatalFUUU: mostly thinking out loud. I like to pick on init systems, and think about of ways to improve them
-
nimaje
s/-q/-g/
-
meena
nimaje: that's not enough, either
-
meena
nimaje: ah, -g should be, yeah,
-
meena
but, no, i wasn't setting any flags on either daemon. openntpd works without flags
-
nimaje
yeah, just assumed that openntpd would behave like ntpd for that, before looking it up, seems like openntpd ignores how big the adjustments are and just makes them
-
parv
Why is that -- openntpd does not give a toss about how much drift ... just adjusts time -- a bad thing?
-
jgh
it's a hole for attacks
-
parv
Or, what would be gained if openntpd would refuse to adjust time on "too large" (for some definition) of a drift?
-
nimaje
because something is very wrong if your clock drifts too much while running (well, or someone tries to attack you for some reason and tries to set your clock to a specific time)
-
hhfyu
my (ports) system fucked itself suddenly - any way to debug it?
-
nimaje
what are the symptoms?
-
hhfyu
accounts-daemon, lightdm and polkitd all segfault
-
nimaje
hm, where do they segfault? lldb can help you with that; maybe a partial update?
-
hhfyu
vxorps
-
hhfyu
is that avx? I don't have avx
-
hhfyu
oh I see what's going on
-
meena
nimaje: the main reason my clocks drift that much in my VMs is because I put my laptop to sleep
-
hhfyu
what the heck happened to thunar?
-
nimaje
yeah, but something like that is probably the only way to legitimly have big clock drift on a "running" system
-
jgh
one might wish that the hardware RTC ran during a sleep, and that it was read for a time-jump on wakeup, and that time-sensitive applications (eg. ntpd) got notified of wakeups.... I don't know if any of that is true. Time is hard.
-
nimaje
but the case here was a vm and the host is put to sleep, so the vm thinks no time passed while the host was sleeping
-
meena
anyone done the UFS snapshot as Boot Env dance yet?
-
jgh
so host should pass on wakeup notifications to VMs
-
meena
jgh: virtio has clocks, but i know that OpenBSD doesn't implement that, and last time I read around that corner of code, neither does FreeBSD
-
meena
hrm, i'm seeing an RNG in libvirt, but no clock… dunno if that means it's happening automatically, or that I'm wrong
-
meena
(me, being wrong is quite common tho)
-
hhfyu
when will they fix webkit in 12.3?
-
vkarlsen
hhfyu: What's wrong with it?
-
hhfyu
it is missing
-
vkarlsen
What exactly is missing from where?
-
hhfyu
webkit package is missing from the repository
-
nimaje
on portsfallout.com for webkit I only see that qt5-webkit doesn't build for riscv64 as it doesn't know the cpu
-
hhfyu
-
VimDiesel
Title: FreshPorts -- www/webkit2-gtk3: Opensource browser engine using the GTK+ 3 toolkit
-
nimaje
from which repository, there are many as you need one for each pair of freebsd version and architecture
-
hhfyu
12.3, x86_64 obviously
-
nimaje
ah, and quarterly or latest
-
hhfyu
how ca I tell
-
hhfyu
half of xfce desktop is missing due to a stupid epub preview library lol
-
nimaje
probably quarterly then, as that is the default, you can configure that in the config files for your pkg repo (see url there)
-
nimaje
the latest build of 12.3, quarterly, amd64 that I can find has a successful build of webkit2-gtk3 (and -gtk4), so no idea why you don't get it
-
hhfyu
I see gtk4 one but not gtk3
-
pkubaj
last year there was talk about panfrost being "almost ported"
-
pkubaj
but since then, there's been no info about it and seemingly nothing is happenning
-
pkubaj
does anyone know the current status?
-
hhfyu
package system in freebsd is laughably bad
-
CrtxReavr
ORLY?
-
hhfyu
from non-existent infrastructure through dependency handling to packages vanishing
-
coreystephanphd
For desktop / non-power usage: Generally speaking, mixing large-to-medium scale ports with pre-packaged binaries is going to be the cause of one's real headaches. Ports =/ AUR. But the pre-packaged quarterly binaries are rock-solid, and an occasional small port will be good.
-
hhfyu
there is half of xfce missing, in your rock-solid packages
-
hhfyu
aur is much more usable than ports
-
CrtxReavr
WTF is up with mergemaster?
-
CrtxReavr
It's just showing me the diff, it's not letting merge.
-
nimaje
ok, no idea which pkg repo you use; as far as I can see beefy2 should build 12.3, quarterly, amd64, the latest build there is
beefy2.nyi.freebsd.org/build.html?m…3amd64-quarterly&build=31229ca1324c there xfce succeded
-
nimaje
hhfyu: so you use freebsd 12.3 on amd64 and have url: "pkg+http://pkg.FreeBSD.org/${ABI}/quarterly" in /etc/pkg/FreeBSD.conf and don't override that somewhere (e.g. in /usr/local/etc/pkg/repos/)? pkg.FreeBSD.org uses geo-dns and tells you which mirror you get if you just visit it via a webbrowser
-
hhfyu
yes
-
hhfyu
browser says 403 forbidden
-
hhfyu
the beefy link doesn't open either
-
pkubaj
-
pkubaj
are you sure you have properly set up network?
-
nimaje
ok, for some reason on my mirror
pkg.freebsd.org/FreeBSD:12:amd64/quarterly has modification dates of 2022-10-01, while the quarterly was still running 2022-10-02
-
VimDiesel
Title: Index of /FreeBSD:12:amd64/quarterly/
-
nimaje
hm, I throught beefy < 10 support ipv6 and ipv4, but it seems like beefy2 only has an ipv6 address
-
debdrup
I think most of build servers are IPv6 only nowadays, but they're accessible through pkg-status.freebsd.org by using
pkg-status.freebsd.org/beefy18 (as an example)
-
VimDiesel
Title: Poudriere Index
-
debdrup
Or you can ssh -D 1080 to a server with IPv6 and configure your browser to use a SOCKS5 proxy on localhost:1080 and send DNS queries over the proxy.
-
debdrup
s/server with IPv6/dual-stacked server/
-
grahamperrin
-
VimDiesel
Title: pciconf(8)
-
grahamperrin
> … The first column gives the driver name, …
-
meena
grahamperrin: i found devinfo to give me the answer easier tho
-
grahamperrin
The page was a wall of words until V_PauAmma_V helped me to understand the significance
-
meena
grahamperrin: devinfo -p vtnet0 ⇒ vtnet0 virtio_pci0 pci0 pcib0 acpi0 nexus0
-
» meena needs sleep, and laptop needs power
-
grahamperrin
I stumbled across the same thing a day or so ago, maybe we were in the same place. Sleep!
-
V_PauAmma_V
grahamperrin, I did? You meanlive-IRCing my fumblings helped someone else instead of getting me help? :-)
-
V_PauAmma_V
s/mean/mean /
-
parv
V_PauAmma_V works in mysterious ways
-
V_PauAmma_V
Mysterious to myself as well, looks like. :-)
-
parv
;-]
-
grahamperrin
V_PauAmma_V: it's the type of thinking aloud that (often) helps me