-
FUZxxl
meena: just a suggestion, don't stress yourself
-
al1r4d
Is it enough to host OpenVPN and DNS servers like Adguard and Pihole with 1 CPU, 0.5GB of RAM, and 10 GB of SSD on FreeBSD?
-
Grell
raspberry pi 4 is back in stock
-
Nixkernal
docs.pi-hole.net/main/prerequisites -> Min. 2GB free space, 4GB recommended, 512MB RAM
-
VimDiesel
Title: Prerequisites - Pi-hole documentation
-
parv
Could 13.2 read, write 14-CURRENT ZFS datasets created c late 2021?
-
parv
(It shooould, & obligatory: There Is Only One Way To Find Out.)
-
al1r4d
Thank you, Nixkernal
-
Soni
how hard would it be to remove the ipv4 stack?
-
Soni
we know freebsd has a CLAT so maybe there's some dependency between the v6 and v4 stacks...
-
meena
Soni: WITHOUT_INET
-
meena
-
VimDiesel
Title: src.conf(5)
-
Soni
we see
-
markmcb
I've got a first gen framework laptop that mostly collects dusts, so i tried installing 14 beta 2 on it. i can complete the installer no problem, but after reboot it's unusable. if i drop to a shell in the installer i can see 3 partitions, but fdisk can interpret and i can't say "mount_msdosfs /dev/nda0p1 /tmp/boot"
-
markmcb
the laptop works fine. installed arch just to confirm it's not a hardware issue
-
markmcb
*fdisk can't
-
markmcb
did the install with geli and uefi
-
markmcb
(and zfs)
-
markmcb
i know that's limited troubleshooting, but i thought i'd mention it. i tried dd'ing the drive with zeroes too just in case, but that didn't help.
-
dch
markmcb: I'm about to disappear, but I would make sure you've picked the combined UEFI+BIOS install flavour, and re-try the installer
-
dch
I *guess* they're UEFI only but I don't know for sure.
-
dch
does it work without geli in the way?
-
dch
worth doing a `gpart show -l` and pasting that in the channel, along with whatever ended up in /etc/fstab
-
markmcb
dch: i'll try that. was definitely doing UEFI only.
-
dch
also when you say its unusable after reboot, be a bit more specific,
-
dch
e.g. does it get as far as the loader prompt, does it get stuck trying to find the root partition, etc.
-
dch
bbl
-
markmcb
dch: unusable as in nothing happens. bios error message appears stating no bootable devices
-
markmcb
i have to boot from usb to do anything
-
markmcb
and once i've booted from usb, if i drop to a shell i can't mount the efi partition created by the installer
-
psionic
Well Idk folks new FreeBSD14 mirror just keep dieing with some signature error after 10 minutes
-
psionic
I try to install the xfce with pkg
-
psionic
what kind of cdn is this :/
-
rtprio
don't paste it or anything, everyone here is telepathic
-
meena
I am so telepathic that i can tell — without consulting any documentation or searching the Web — that rtprio is being sarcastic
-
concrete_houses
I just cant get the volume up
-
concrete_houses
sysctl hw.snd.vpc_0db=1 did this and trying firefox
-
concrete_houses
hmmm
-
jauntyd
are you using OSS?
-
RhodiumToad
concrete_houses: why are you ignoring what I've pointed out several times
-
KingShark
Hi. Could i somehow start the ssh-agent and load my ssh private keys automatically? I got a pair for github, i need to run 'ssh-agent -s' and 'ssh-add <path-to-key>' every time before doing git pull / push
-
RhodiumToad
running ssh-agent automatically is the intended method; the way to do it depends on how exactly you're logging in
-
RhodiumToad
obviously running ssh-add requires interaction to specify a passphrase if the key is encrypted
-
meena
KingShark:
freshports.org/security/keychain helps with that, depending on… what RhodiumToad said
-
VimDiesel
Title: FreshPorts -- security/keychain: User-friendly front-end to ssh-agent(1)
-
meena
I source it in my shell startup.
-
rtprio
i wrote something little in my .profile
-
meena
-
VimDiesel
Title: dotfiles/keychain.fish at main - dotfiles - Codeberg.org
-
rtprio
-
VimDiesel
Title: dotfiles/.ssh_agent at master - dotfiles - projects.17es.net
-
» rtprio compares
-
meena
I really need a new profile picture. that i one is older than my daughter
-
Freaky
-
VimDiesel
Title: cpu_features/src/impl_x86_freebsd.c at main · google/cpu_features · GitHub
-
Freaky
who needs any of that tricky CPUID instruction assembly stuff when you can just.. parse /var/run/dmesg.boot
-
meena
that is the second worst code I've seen all day (that wasn't written by myself)
-
Freaky
sigh, __attribute__((target="")) only works in C++ mode in gcc
-
Freaky
"And the C programmers likely prefer an explicit way using `__attribute__((ifunc(...)))` so nobody really wanted to spend time implementing this for C."
-
Freaky
no, I'd like it to work as it does in clang, thanks
-
Freaky
I love having order of magnitude performance improvements that never get used because someone might be using a 15 year old CPU
-
meena
Freaky: is there any way to make this code less worse
-
Freaky
meena: I'm sure that's as pretty as CPU feature detection gets
-
Freaky
meena: the kernel probably works it out by parsing the same file from the previous boot tbh
-
meena
Freaky: i… i want to doubt that
-
meena
but i would think it's present in a sysctl
-
RhodiumToad
the kernel certainly does not do that :-)
-
RhodiumToad
afaik it's not in any sysctl.
-
RhodiumToad
I think apps that care about cpu features are expected to do CPUID themselves
-
Freaky
-
VimDiesel
Title: fast-bytecount/bytecount.c at addcc5468cf664d68f9a9ece3add5987f298a93f · Freaky/fast-bytecount · GitHub
-
meena
RhodiumToad: well, it's in kern.msgbuf which gives you the same thing :D
-
RhodiumToad
it might not be in kern.msgbuf since that's of limited size
-
dch
using lldb on a program I compiled with `-g O0`, but it seems not to be aware of the C sources it was built from
-
dch
i.e. can't set a breakpoint to a given line, doesn't display C source of file
-
RhodiumToad
what exact commands were used to compile and link?
-
RhodiumToad
does `file` say that the executable is not stripped?
-
dch
file says its not stripped, image <name> says it has a section (not entirely sure what that means)
-
dch
-
VimDiesel
Title: Snippet | IRCCloud
-
RhodiumToad
and you're running it in the same dir you compiled in? what clang and lldb version?
-
dch
yup, all in the same dir, default clang/lldb from CURRENT a few days ago
-
RhodiumToad
also there generally won't be source info for libs that come from ports
-
dch
this isnt a port, just local hacking
-
dch
it's like cflags isn't being used here
-
dch
let me do this by hand
-
RhodiumToad
so e.g. a command like 'list main' in lldb isn't working?
-
dch
adding `-v` to CFLAGS should show more stuff, but its still silent
-
dch
so maybe its not even being picked up
-
dch
oh I see why
-
dch
stupid me
-
RhodiumToad
ah
-
RhodiumToad
your second CFLAGS= is clobbering the first
-
dch
ffs thats been there since day 1 of this project
-
dch
ok, now lets see if we has the sources... nope
-
dch
can't set any breakpoints either
-
RhodiumToad
does 'list main' in lldb work
-
dch
RhodiumToad: ok, that does
-
RhodiumToad
so what did you try that didn't work
-
dch
so I start `lldb -- ./zen ... args`
-
dch
source list -> nothing
-
dch
but `list main` does
-
RhodiumToad
before you actually run the program there's no current location to list
-
dch
sure, but I get that result even after starting the prog
-
RhodiumToad
starting it how?
-
dch
-
VimDiesel
Title: Snippet | IRCCloud
-
dch
ok so this is unexpected
-
dch
the first `source list` is blank
-
RhodiumToad
you're still in the startup code
-
dch
but if I do it again, we're suddenly showing L524
-
dch
so I guess there's some libc init stuff that I *don't* see beforehand?
-
dch
so I should breakpoint main, run it
-
dch
then try to set more breakpoints
-
RhodiumToad
yes
-
dch
TIL all the things
-
RhodiumToad
with shared libs there's a _lot_ of work done before main
-
RhodiumToad
since it's the rtld that's responsible for finding all the shared libs and linking them into the program
-
dch
huh
-
dch
there is a "gui" command in lldb
-
dch
this is pretty nice
-
dch
so in the end, 1 error, CFLAGS being clobbered, and 1 unexpected behaviour, need to get to main before source works
-
dch
RhodiumToad: thanks for the rtld(1) info, I'll look at that later
-
RhodiumToad
if you have the base system -dbg files installed, you should be able to see the ld-elf.so sources
-
meena
Freaky: that looks suspiciously like compile time, and not run-time.
-
dch
-
VimDiesel
Title: LLDB support for fork(2) and vfork(2) | Moritz Systems
-
kevans
> posix_spawn(3) triggers events depending on the implementation. On NetBSD, it is reported as a single event. On the two other platforms, it is reported as the underlying vfork(2) and exec(3) calls.
-
kevans
that's interesting
-
dch
I just used it, feeling very proud of my new skillz
-
kevans
ah, ok, I see the table now
-
Freaky
meena: the #if's are compile-time, the __builtin_cpu_supports() are run-time
-
meena
Freaky: aye
-
Freaky
meena: as evidenced by the same binary working on this Zen 3 and an old K8 I have lying about
-
meena
Freaky: consequence of me reading commits every morning:
reviews.freebsd.org/D41920
-
VimDiesel
Title: ⚙ D41920 local-unbound: remove stray config.h.in backup
-
meena
basically, this is your fault.
-
Freaky
meena: I like how 3 people were asked to review it
-
Freaky
you know, just in case someone liked it
-
meena
Freaky: i asked all the people who have touched that code in the last two years lol