-
satanist
wouldn't a better abrouch be try to invert the O_CLOEXEC logic in kernel?
-
RhodiumToad
no
-
RhodiumToad
I'm not touching the kernel
-
RhodiumToad
I also can't assume that fdescfs is mounted
-
RhodiumToad
there is a way to get the process's whole fd table via sysctl, but that's way more overhead than I want
-
satanist
the problem I see is that you might close an fd which expected to not be closed on exec but ovesee by the user because it's created inside a lib
-
RhodiumToad
well that's kind of the point - the child program in this case must not inherit fds that are not explicitly specified by the parent
-
RhodiumToad
no library has any business passing down fds that aren't exposed to the main program anyway
-
RhodiumToad
the answer in general has been "use the CLOEXEC flag everywhere" but that's messy and error-prone
-
satanist
thats why I proposed to invert the CLOEXEC logic in libc/kernel
-
RhodiumToad
that's a non-starter because of contravening all the existing standards
-
satanist
but using your wrapper will do the same
-
RhodiumToad
no it won't, because my code will only affect programs that actually use it
-
RhodiumToad
(my lower-level improvements to posix_spawn could be implemented as posix_*_np functions in libc, but the higher-level interface is wholly new)
-
RhodiumToad
(and also is not in C)
-
RhodiumToad
yeah, looking at the call to get the whole fd table, it's pretty costly, though only O(numfds) rather than O(maxfd)
-
RhodiumToad
it returns a huge struct for each open fd
-
RhodiumToad
it's annoying because the kernel has a perfectly good fdlastfile(fdp) function that's not exposed via any reasonable interface
-
RhodiumToad
my alternative plan is just to say "don't do that" and enforce the constraint that the parent can not specify that any files remain open above the child's soft fd limit
-
skered
.vim
-
puddinghead
I finally compiled xfce, installed it by first making pkg install from the stuff built by poudriere as opposed to the online binary repos and I ended up installing… all 395 packages thwt were built alongside xfce
-
puddinghead
I tried to use pkg autoremove but none of them go away
-
puddinghead
How do I get rid of the packages i dont need?
-
RhodiumToad
what command did you use to install them?
-
RhodiumToad
it wouldn't surprise me if xfce had that many dependencies, either
-
puddinghead
I first modified the freebsd,conf to disable freebsd and install from my poudriere folder instead, then pkg install
-
puddinghead
I remember xfce from pkg pulling less than 395
-
puddinghead
packages including dependencies though
-
RhodiumToad
pkg install with what options?
-
puddinghead
Just pkg install
-
RhodiumToad
not specifying a package name?
-
puddinghead
Pkg install xfce
-
RhodiumToad
ah ok
-
puddinghead
I should have used like, xfce4-desktop instead
-
RhodiumToad
how many packages are listed by pkg query -e '%a==1' '%n-%v' ?
-
puddinghead
That didn’t trigger anything other than usage help
-
puddinghead
Like nothing
-
puddinghead
absolutely nothing useful other than muh help
-
puddinghead
Oh wait
-
puddinghead
I did a typo
-
puddinghead
And now I typed it properly
-
puddinghead
As for how many packages are listed, I cannot even count
-
RhodiumToad
pkg query -e '%a==1' '%n-%v' | wc -l
-
RhodiumToad
you have a computer to count for you
-
puddinghead
Ikr
-
RhodiumToad
(that's a lowercase L after the -, not a 1)
-
puddinghead
Kek I thought it was an |
-
puddinghead
And I got a 0 from that command
-
puddinghead
Got disconnected for whatever reason, sorry
-
RhodiumToad
you must have had some other typo
-
puddinghead
What was it again
-
puddinghead
I can’t see the comma dnd because kiwi irc refreshes afain
-
RhodiumToad
pkg query -e '%a==1' '%n-%v' | wc -l
-
puddinghead
Nope, nothing
-
puddinghead
In fact I get told that - and l are “no such file or directory”
-
RhodiumToad
you mistyped something
-
BraveheartBSD
G'day all
-
puddinghead
Nope, nada
-
puddinghead
I did not mistype anythig
-
RhodiumToad
there's no space between - and l
-
puddinghead
Oh
-
puddinghead
If so then 401 packages total
-
puddinghead
I suspect a lot of these packages were already in my system
-
RhodiumToad
ok. so most likely installing xfce did install 395 dependencies
-
puddinghead
Many of these being actually just reinstalls of packages that were already on my system
-
RhodiumToad
how many packages have %a==0 ?
-
last1
I added a new mirror drive to my zfs on root setup, how can I install the bootcode on this device as well ?
-
puddinghead
nineteen
-
puddinghead
What does this nineteen to 401 ratio mean
-
RhodiumToad
last1: is it GPT partitioned, and does the partitioning match the existing drive? and is this UEFI or legacy boot?
-
puddinghead
Got disconnected again, my bad
-
RhodiumToad
puddinghead: the ratio means nothing, the 19 packages are just the ones you explicitly installed (rather than were installed as dependencies)
-
puddinghead
I see
-
last1
it's GPT partitioned, I copied the partitions 100% the same from the original drive
-
RhodiumToad
autoremove will remove packages which are both %a==1 AND not needed as a (direct or indirect) dependency of any package with %a==0
-
RhodiumToad
last1: UEFI or legacy?
-
last1
-
VimDiesel
Title: gpart show=> 40 15002931808 diskid/DISK-PHYI2423002X7P6FGN GPT (7. - Pastebin.com
-
last1
legacy
-
RhodiumToad
then you need to run gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 diskname on whichever is the new disk
-
RhodiumToad
that will populate the freebsd-boot partition (index 1) with /boot/gptzfsboot which is the legacy first-stage ZFS-capable boot program
-
RhodiumToad
(gptzfsboot then goes on to load /boot/loader from the appropriate zfs dataset)
-
last1
alright, let's see how this goes
-
last1
just of curiosity, can't I do something like dd if=/dev/ada0p1 of=/dev/ada1p1 bs=1M ?
-
puddinghead
Thanks a lot!
-
puddinghead
I have a last question though, how easy it should be to dual boot freebsd with Linux? Im considering to also keep them in the same drive since I only have one ssd
-
RhodiumToad
well, yes, you could, but that wouldn't cover the /boot/pmbr part
-
puddinghead
I mean, im planning to use grub on the Linux partition
-
RhodiumToad
puddinghead: legacy bios or UEFI?
-
puddinghead
Uefi
-
RhodiumToad
any UEFI boot manager will handle it just fine
-
puddinghead
Njce
-
puddinghead
Partitioning while on the live Linux environment should be fine rifgt
-
RhodiumToad
freebsd should have installed a copy of loader.efi on the ESP, and running that from within UEFI, whether as the default or via a boot manager will boot freebsd
-
RhodiumToad
as long as you don't try and move or overwrite any freebsd partition
-
puddinghead
Yeah all im planning to do is to resize a partition
-
RhodiumToad
currently, freebsd installs loader.efi both as /efi/boot/bootx64.efi and /efi/freebsd/loader.efi
-
RhodiumToad
resize a partition not used by freebsd?
-
puddinghead
A partition used by freebsd
-
RhodiumToad
uh
-
RhodiumToad
used for what?
-
puddinghead
Storage
-
RhodiumToad
what filesystem?
-
puddinghead
Zfs
-
puddinghead
To ext4 on linux
-
RhodiumToad
this is a zfs filesystem you're not using and are going to destroy?
-
puddinghead
no, I am using it rn
-
RhodiumToad
because reducing the size of a zfs partition WILL destroy it
-
puddinghead
I see
-
puddinghead
So im better off just making a persistent usb then
-
RhodiumToad
you may be able to resize it from within zfs, I'd have to check
-
puddinghead
Although my largest usb drive is 32gb and I plan to use this usb for ai stuff
-
last1
anyone happens to know the order in which FreeBSD starts the various nfs daemon services ?
-
last1
aka, rpcbind -> lockd -> nfsd ?
-
last1
it always works when I reboot the box but if I do it manually I must get the order wrong or something
-
RhodiumToad
look at the provide/require lines in the rc.d files
-
puddinghead
Although tbf
-
RhodiumToad
or do rcorder /etc/rc.d/* and pick out the nfs ones
-
puddinghead
I feel like im tired of configuring freebsd
-
puddinghead
I guess I’ll prob go back to Linux and testing freebsd on vms again until I feel like I have enough experience and resources (read: a better Ethernet cable since the one I have doesnt exactly work the way I want it to on my intel either net port, as well as a second ssd and gpu for pass through with bhyve) to painlessly use freebsd
-
last1
what do you mean by pick the nfs ones ?
-
last1
in any case, I think I got it
-
last1
it's: rpcbind, statd, lockd, mountd, nfsd
-
RhodiumToad
nfsv4 requires at least two more, I think
-
RhodiumToad
though they may be optional
-
last1
never really made the switch to nfsv4
-
puddinghead
Inb4 I get a spare laptop that can run freebsd
-
last1
ah, you're back
-
last1
so what makes you want to give up on Linux ?
-
puddinghead
Well, I think its just how fragmented it feels like
-
puddinghead
It feels like patchwork and how the distros just dont fit what my ideal os should be
-
puddinghead
Im actually just going to start running freebsd on a vm as opposed to bare metal though
-
BraveheartBSD
I run FreeBSD on a 10 year old Alienware, it's my Python programming pc, works well
-
puddinghead
I wonder
-
puddinghead
Althouh tbh last time I was using FreeBSD as a vm I didn’t do much stuff
-
kenrap
Heya FreeBSD people!
-
puddinghead
Hi
-
RhodiumToad
hello
-
puddinghead
I feel like changing the desktop enviroment From xfce to something else on Linux and keeping xfce for the freebsd vm in order to motivate myself to use thwt vm more
-
puddinghead
But at the same time its also quite intimidating since I like using my xfce config a lot whenever I can
-
BraveheartBSD
G'day kenrap
-
kenrap
o/
-
kenrap
I feel victorious after porting a linux application that I was struggling with for a few days
-
puddinghead
Nice
-
BraveheartBSD
What did you port over?
-
kenrap
-
VimDiesel
Title: GitHub - easymodo/qimgv: Image viewer. Fast, easy to use. Optional video support.
-
spork_css
RhodiumToad: just updating you because I know this is a riveting story - I can find no reference to the zpool that doesn't exist, not in zdb or anything, but just mounted the ufs boot drive and I did find references in /boot/zfs/zpool.cache
-
spork_css
So I could see when booting off those drives that gets looked at, but odd that booting off a cd the loader would want to look at every damn drive on the system for a zpool.cache file - seems a bit aggressive
-
RhodiumToad
aha
-
RhodiumToad
I wondered if there was a cache, but I looked around on my zfs vm and didn't find one
-
RhodiumToad
obviously didn't look hard enough
-
RhodiumToad
and I can't find whatever code reads or writes it, either
-
RhodiumToad
ah, here it is
-
spork_css
Yet after removing it... still the same issue, lol. I am so lost as to where it's finding this. The problem is I currently have time to tinker, and I'm having a hard time not trying the "If I get rid of all references to hdpool, does that solve the problem?" option.
-
kenrap
BraveheartBSD: I'm also interested learning about writing or modifying FreeBSD drivers. I'm reading an ebook about it. The C code after the first chapter is intimidating though, however this would be the best way for me to get the most out of FreeBSD.
-
RhodiumToad
spork_css: do you still get messages about hdpool, or is it just slow now?
-
spork_css
still get the message, which is what's driving me totally nuts
-
spork_css
I moved the zpool.cache out of the way, and after booting into a livecd (12.2), still had the hdpool message from the loader, so I mounted my ufs root again and zpool.cache is still gone.
-
spork_css
ran "zdb -l" on all the other drives, no mention of "hdpool"
-
BraveheartBSD
There is another zfs zpool cache in /etc, but that probably references my data pool
-
RhodiumToad
on what fbsd version?
-
BraveheartBSD
13.2
-
RhodiumToad
I don't see a cache in /etc
-
RhodiumToad
(also 13.2)
-
BraveheartBSD
I have /etc/zfs - compatabilty.d exports and zpool.cache
-
RhodiumToad
I only have compatibility.d and exports
-
RhodiumToad
this is in a pretty freshly-installed vm
-
BraveheartBSD
It could be my 20tb data pool. zfs is on my boot ssd, it has the same cache in /boot.
-
» RhodiumToad must sleep now
-
BraveheartBSD
G'night
-
kenrap
Night
-
kenrap
A 20TB pool is pretty impressive
-
BraveheartBSD
It's old ...... an old Dell T610, Perc H700 with 8 x 3gb sas drives, i saved it from going to landfill
-
BraveheartBSD
Truly a learning experience, lol
-
kenrap
Awesome!
-
last1
20Tb pool impressive ? that's like 1 HDD these days
-
BraveheartBSD
The age of the thing maybe working against me, ubunutu-server/zfs failed horribly, the pool survived, the data on it didn't
-
spork_css
All I've got is /etc/zfs/exports
-
BraveheartBSD
I think /etc/zfs/zpool.cache is created when the first zpool import <pool_name> is run
-
spork_css
I see reference to that location in the zdb manpage (-C flag is the first mention).
-
last1
doing two zfs send/receive in parallel, this box rocks: >>> Transfer 61% 503MB/s (total 690813MB, 8 minutes left) >>> Transfer 16% 583MB/s (total 2076016MB, 49 minutes left)
-
last1
almost 1.1GB/sec
-
markmcb
i'm writing from a headless weechat install in a jail connected with wireguard on geli+zfs ... not too exciting, but it's my first "on metal" freebsd install, so i'm pretty proud of myself :)
-
kenrap
markmcb: nice!
-
typicat
^C
-
typicat
--- google.com ping statistics ---
-
typicat
2 packets transmitted, 2 packets received, 0.0% packet loss
-
RhodiumToad
hm, someone was asking here recently about blocking ips for sending SYN with no follow-up?
-
zxp
Hello, do you know how can install 'pkg install misc/compat4 / pkg: No packages available to install matching 'misc/compat4' have been found in the repositories ' on '13.1-RELEASE-p6 FreeBSD 13.1-RELEASE-p6 GENERIC arm64' ?
-
RhodiumToad
compat4 ?
-
RhodiumToad
there never was a freebsd 4 on arm64, so there is no such package
-
RhodiumToad
(and the port origin names for the compat libs are misc/compat4x etc., but that won't help you)
-
RhodiumToad
other than a couple of versions that supported sparc64, the compat libs are only available for non-intel architectures from compat12x onward
-
Schamschula
Drat! broken apachectl now is preventing certbot from renewing my cert. I previously worked around
bugs.freebsd.org/bugzilla/show_bug.cgi?id=268318 by using service stop/start, but py39-certbot-apache insists on using "apachectl graceful"
-
VimDiesel
Title: 268318 – www/apache24 with www/mod_php82: opcache + ASLR turned on crashes Apache
-
Schamschula
Time to get rid of my last apache install and transition that machine to nginx as well.
-
fireglow
can I drop PORTREVISION when DISTVERSION is increased?
-
RhodiumToad
yes, and you should
-
fireglow
thank you!
-
otis
fireglow: as RhodiumToad mentioned. the only exception is when the "newew" version actually goes backwards. then you need to increase PORTEPOCH and never decrease it.
-
RhodiumToad
right. but even then you should drop PORTREVISION.
-
RhodiumToad
anyone know offhand if there exists a SIMD-optimized way to convert decimal ipv4 addresses to binary?
-
xrs
greetings everyone
-
xrs
i'm interested in helping with package maintenance
-
xrs
is this a good place to start?
-
V_PauAmma_V
-
VimDiesel
Title: Contributing to FreeBSD | FreeBSD Documentation Portal
-
Beladona
zfs list says 824G used by postresdb but `select pg_size_pretty(pg_database_size('mydb') );` in postgres says 149G. My drive got full and only 1 Gb left. What can i do here?
-
Beladona
du -h -depth=1 /mydb/* | sort -rh also says 137G
-
Beladona
why zfs says 842.
-
Beladona
and my OS gets unusable?
-
RhodiumToad
pg_database_size doesn't include WAL
-
Beladona
RhodiumToad I wonder why WAL would go that big
-
Beladona
How to remove all WAL files for now?
-
RhodiumToad
did it? how big is the pg_wal dir?
-
RhodiumToad
do not ever touch the WAL files
-
Beladona
How can I check?
-
Beladona
I see
-
RhodiumToad
du -hs pg_wal
-
Beladona
PG_15_202209061/pgsql_tmp
-
RhodiumToad
if that's not very big, the next question is, do you have any snapshots on this dataset?
-
RhodiumToad
what's that supposed to mean?
-
Beladona
137G /mydb/ PG_15_202209061/12054723
-
Beladona
512B /mydb/PG_15_202209061/pgsql_tmp
-
Beladona
no snaps
-
RhodiumToad
so this dataset has a tablespace on it, and the main data dir is somewhere else?
-
Beladona
yes
-
Beladona
but the size zfs shows is on that dataset
-
RhodiumToad
du -ks mydb says what?
-
Beladona
despite the files on that location are 140GG
-
Beladona
checking
-
Beladona
143782304
-
RhodiumToad
what exactly was the zfs list output? use a paste site
-
Beladona
ok
-
Beladona
-
VimDiesel
Title: Mozilla Community Pastebin/y861J1kS (Plain Text)
-
Beladona
-
Beladona
RhodiumToad confusing. isn't it
-
RhodiumToad
zfs compression is enabled?
-
Beladona
compression zstd-7
-
RhodiumToad
what's the total file size of the files in /mydb/PG_15_202209061/12054723 ?
-
RhodiumToad
(not as reported by du, but the sum of the sizes shown by e.g. ls -l)
-
RhodiumToad
also, how big is your zroot pool actually?
-
Beladona
-
VimDiesel
Title: Mozilla Community Pastebin/KxOLjWYA (Plain Text)
-
Beladona
zroot drive is 2tb in total having other things, os, etc as well
-
RhodiumToad
use ls -l | awk '{ t += $5 }; END { print t; }' (note, no -h or similar crap)
-
Beladona
doing, its taking time
-
RhodiumToad
it shouldn't do
-
RhodiumToad
you probably did it wrong
-
Beladona
still taking high cpu and time for that command
-
Beladona
one sec. pasting
-
Beladona
I did this: `ls -l | awk '{ t += $5 }; END { print t; }' /mydb/PG_15_202209061/12054723/`
-
RhodiumToad
no
-
RhodiumToad
kill that
-
Beladona
ok
-
RhodiumToad
ls -l /mydb/PG_15_202209061/12054723/ | awk '{ t += $5 }; END { print t; }'
-
Beladona
oops
-
Beladona
doing
-
Beladona
159679648559
-
RhodiumToad
zpool list says what?
-
Beladona
same. the size avaialble got smaller now. from 1.3T to 850M
-
Beladona
checking zpool again
-
RhodiumToad
also what's the output of zfs list -o space
-
Beladona
-
RhodiumToad
USEDSNAP is 686G for mydb
-
RhodiumToad
that's the space consumed by snapshots of mydb
-
Beladona
RhodiumToad do I nees crub?
-
Beladona
need*
-
Beladona
scrub*
-
RhodiumToad
zfs list -t all
-
Beladona
but I never made a snape since months
-
RhodiumToad
just look at zfs list -t all
-
Beladona
right. got it
-
RhodiumToad
maybe you were using some tool that created snapshots?
-
Beladona
will this be accurate commadn to destroy the snap? `zfs destroy zroot/mydb⊙z2` ?
-
Beladona
no idea.. really
-
Beladona
didn't used any tools lately
-
RhodiumToad
I believe that is correct. but my zfs experience is minimal
-
Beladona
RhodiumToad your experience solved the issue. I am getting the space back with time in `zfs list` . thanks
-
johnjaye
can i use gpart with ufs to extend the size of a virtual machine disk?
-
johnjaye
i think i tried it before and the vm wasn't bootable
-
RhodiumToad
has the underlying physical storage been extended?
-
RhodiumToad
in theory you can do it, but it depends on the current layout, where any swap partition is, etc
-
RhodiumToad
there's even a builtin script for it that usually works
-
johnjaye
i did some command with qemu-img to extend the qcow2 file and then i couldnt' boot multi-user
-
johnjaye
i guess there is a way to do it i just don't know
-
RhodiumToad
in what way did it fail?
-
johnjaye
well you got me there. if you like i can try to recreate it
-
johnjaye
but it was a boot failure
-
johnjaye
so presumably it didn't like the fact the disk drive was different now
-
RhodiumToad
that in itself shouldn't cause failure, after all that's the normal case when booting of e.g. memstick images
-
RhodiumToad
(where the image is usually much smaller than the drive)
-
johnjaye
hmm. maybe i should use a faster drive for this
-
yourfate
is there a good way to benchmark the different encryption options zfs provides? I want this external drive used by an rpi to be encrypted, but I worry about performance, as freebsd doesn't have the aes-adiantum cipher
-
RhodiumToad
what model of rpi and what cpu?
-
yourfate
rpi4
-
yourfate
4gb ram
-
johnjaye
hrm. dmesg read the new size correctly. that's odd. maybe the problem was i just didn't know how to extend the disk right
-
yourfate
cortex z72, running at 1.5G
-
yourfate
*A72
-
yourfate
on linux I used aes-adiandum with it, as its optimized on run on cpu-only, without aes hardware accelleration
-
yourfate
*t
-
yourfate
which the pi sadly lacks
-
RhodiumToad
does the cpu in fact have the armv8-a encryption instructions?
-
RhodiumToad
hm, are you sure it lacks them?
-
yourfate
i'm looking into this rn
-
RhodiumToad
freebsd-13.2 at least seems to have a module for armv8crypto, which mentions AES instructions
-
RhodiumToad
if that module loads, then you should be good
-
johnjaye
RhodiumToad: i'm not sure but i think it's frozen at devd right after bringing up the network
-
johnjaye
although cpu % is still high
-
yourfate
RhodiumToad: `armv8crypto0: CPU lacks AES instructions`
-
yourfate
in dmesg
-
RhodiumToad
oh. well that settles that then
-
yourfate
i'm on 13.2 release
-
yourfate
ye, that's why linux people recommended that google adiantum cipher, they developed that for fs encryption on phone SoCs, and its fast
-
RhodiumToad
if you want to test crypto overhead, I'd try creating an md device, putting a geli partition on it, and using dd to read and write it
-
yourfate
I'd rather just test it on the actual drive
-
parv
Does GELI provides all the encryptions schemes that ZFS does?
-
RhodiumToad
I have no idea what zfs does
-
johnjaye
RhodiumToad: actually it does boot surprisingly
-
johnjaye
so you were definitely right. now i guess would be the question how to extend ufs so it takes the entire new disk size.
-
johnjaye
gpart list reports the new size. i added +1G to it
-
RhodiumToad
service growfs enable; touch /firstboot; shutdown -r now
-
johnjaye
but the partition or slice or whatever you call it is the same
-
RhodiumToad
the growfs script will try and adjust the partitioning to use the new space, and extend the filesystem
-
RhodiumToad
it only runs once, if /firstboot is present (that's removed after one boot)
-
johnjaye
amazing
-
RhodiumToad
did it work?
-
johnjaye
df says it did.
-
johnjaye
of course i'm not going to actually try writing a huge file because i think i probably shouldn't be using an sd card for this at all.
-
johnjaye
but yes... i think it worked. you're a genius!
-
» RhodiumToad just has a good technical memory
-
johnjaye
well reality sides with you on this one. chapter 19 of the handbook does indeed mention growfs
-
johnjaye
anyway thanks again
-
RhodiumToad
yw
-
rtyler
o/ I cannot seem to catch a break with these network cards of mine. This 13.1 machine with a re0 device doesn't want to route any traffic despite having an active link, and if I switch over to em0 that seems to work fine until some NIC bug causes it to stop sending traffic (says things like sendto: no buffer space)
-
costly
so, you have the bug on both cards?
-
rtyler
costly: heh, hard to tell for sure. The machine has always felt haunted
-
rtyler
on reboot it kernel panicked with some unrecoverable EHCI error
-
costly
rtyler: hmm, sounds a bit more like an issue on the motherboard than on each card?
-
rtyler
I cannot remember for sure, but I could have sworn I swapped this motherboard out earlier this year. Waiting for some more errors before I shut it down and take a look
-
morpho
why does it seem chromium is missing from pkg repos to me? I am on latest
-
morpho
i see chromium no longer accepts BSD patches
-
RhodiumToad
chromium build often times out
-
RhodiumToad
latest for what fbsd version?
-
morpho
13.2
-
RhodiumToad
13.x release latest build seems to be running right now, chromium build is 11.5 hours in
-
morpho
so it should be available in the next few days?
-
RhodiumToad
the build is about 20% done out of 14399 ports
-
morpho
ungoogled-chromium is availavle but brings in Pulse Audio and sndio as a dependacy... firefox does not support 'sandboxing'
-
morpho
would I be ok to mix my own build of chromium with the rest of my system using precompiled pkg's
-
RhodiumToad
sure, if you have the patience
-
RhodiumToad
that said, I looked at the failed build log, and it doesn't look like a timeout
-
RhodiumToad
unfortunately it's uninformative, it just says "FAILED" for some of the compiles, and stops
-
morpho
the containerisation built around Chromium on openbsd is a great feature
-
morpho
could I run my webbrowser is a Linux bhyve or something?
-
morpho
still learning freebsd
-
RhodiumToad
without GPU passthrough you won't get any accelerated rendering
-
RhodiumToad
I have firefox open in a bhyve vm at the moment for various reasons, it works ok other than the rendering performance
-
RhodiumToad
(I wouldn't try and play video with it for example)
-
morpho
any fix for that?
-
RhodiumToad
do you have an extra GPU available? :-)
-
RhodiumToad
I don't know the status of GPU passthrough, whether it works properly yet or not
-
morpho
power intel integrated
-
morpho
on wayland too, very unchanted territory
-
SamuelMarks
hi
-
SamuelMarks
I've started porting components from FreeBSD's source tree to Windows (Cygwin, MSVC, MinGW).
-
RhodiumToad
that does not sound like a pleasant project
-
SamuelMarks
True dat
-
SamuelMarks
-
VimDiesel
Title: GitHub - SamuelMarks/freebsd-getopt-portable: FreeBSD's `getopt` and `getopt_long` ported to MSVC
-
meena
SamuelMarks: what's the motivation / goal?
-
SamuelMarks
meena - I'm porting random interesting C projects to Windows and some depend on m4 or getopt or <insert name here>; and the FreeBSD ones are nicely licensed and pretty portable
-
RhodiumToad
I may possibly be mad
-
RhodiumToad
I just wrote an optimized IP address reader
-
SamuelMarks
RhodiumToad: SIMD?
-
RhodiumToad
yes
-
SamuelMarks
nice
-
RhodiumToad
now to find out if it's actually any faster than the obvious method
-
SamuelMarks
If it is send link I'll send PR ;)
-
RhodiumToad
well, it's not slower.
-
RhodiumToad
(I tried the binary to decimal example from the intel optimization manual once. it's slower than a decent non-SIMD approach.)
-
RhodiumToad
on the other hand it's less than 10% faster.
-
SamuelMarks
mmmm that's within the margin of error I think
-
SamuelMarks
oh also why is fetch so weird in FreeBSD, I tried porting it years ago but it failed without error
-
SamuelMarks
-
VimDiesel
Title: libacquire/acquire/freebsd_libfetch at master · offscale/libacquire · GitHub
-
rtyler
hm so I've put a new NIC in this machine and configured that statically. It's not able to ping the router at all however which has me a little confused
-
rtyler
ifconfig shows that it has a link
-
rtyler
checked with and without pf, still am unable to ping the gateway
-
rtyler
netmask and broadcast domain all look correct too >_<
-
rtyler
definitely ghosts. Was doing a `service netif restart re1` and the machine panicked and rebooted, so that's no good
-
rtyler
another reboot and somehow re1 is now properly connected. GHOSTS
-
meena
rtyler: did the ghosts leave a crashdump?
-
rtyler
meena: the crash file in /var/crash just says to install a kernel debugger xD but I did get a picture of the trace
-
rtyler
I'm going to bump this host up to 13.2 while it's offline
-
rtyler
well upgrade went fine. but I get this panic on reboot xD
gist.github.com/rtyler/d64ccb5ecfcd832b08bec23f4723f838
-
VimDiesel
Title: watermelon.reboot.txt · GitHub
-
rtyler
when the machine comes back up, it doesn't have network until I `service netif restart re1` and `service routing restart`, which leads me to the ghosts conclusion again
-
rtyler
I am pretty sure I should just go buy a different less haunted box and move my disks over