-
experemental
10$
-
jbo
lw, your mediaelch PR is now the next in the queue
-
lw
exciting!
-
lw
i hope it's actually fixed this time
-
jbo
I hope so too because each run eats up like 2 to 3 hours of my build machine time :p
-
lw
i wouldn't mind giving you a shell here to test it, except since this is the last one (other than sublime which is fairly quick) it's probably not worth it...
-
jbo
that's nice - thanks. but all good
-
jbo
it's just part of the job, nothing wrong with that :)
-
lw
do we not have nv(9) in userland?
-
lw
that library was so useful on solaris
-
lw
meena: i have created a git repository for dladm (except it's called dlctl now). let's see what happens!
-
V_PauAmma_V
lw, unless the Solaris library is something different, that's a work in progress in Phabricator, IIRC.
-
lw
V_PauAmma_V: yeah, it's the solaris library that (iirc) was imported for zfs
-
lw
what is the connection between netlink(4), genetlink(4) and rtnetlink(4)? it looks like rtnetlink can configure interfaces, so if that's all i want to do, i should just use that? the manpages are a bit vague
-
V_PauAmma_V
I think rtnetlink is for routing?
-
lw
you'd think that given the name, but the manual page says it's for "interfaces, interface addresses, routes, nexthops and arp/ndp neighbors" and it deals with creating/destroying entire interfaces
-
lw
what i'm trying to do is get a kqueue event whenever an interface/address/route/whatever is modified, it's not really clear to me if rtnetlink even does this
-
lw
i know this functionality exists though because things like BIRD use it
-
V_PauAmma_V
That's beyond my ken. My window into available APIs is constrained by (what I understand and remember of) the docs and manual page reviews I see pass.
-
lw
ah, seems like you can use NETLINK_ADD_MEMBERSHIP with the various RTNL_GRP_* constants for this
-
lw
what's this doing here /usr/include/netlink/route/common.h:RTNLGRP_DECnet_IFADDR,
-
lw
did freebsd *ever* support decnet?
-
lw
i know we had XNS at one point...
-
voy4g3r2
lw: wow just wow with this checkout and branch
-
voy4g3r2
screw up something, just go back to the main branch.. get rid of branch that is bad.. make a new one.. start again.. what has taken me so long to find just beauty
-
parv
CVS? Subversion?
-
lw
parv: i believe we're talking about git
-
lw
voy4g3r2: wait until you find out about interactive rebase. messed up a commit? just make a new commit, then squash it into the commit you want to fix
-
parv
lw: I was replying to rhetorical question of "what has taken me so long to find just beauty"
-
lw
voy4g3r2: git's philosophy is very much about mutable history, so you can commit stuff, then edit your commits, or rearrange them, or whatever, so the final set of commits you submit to be merged is exactly what you want
-
voy4g3r2
lw: my horror started with cvs and that hell.. then i got "smart" and wrote our requirements and other "stuff" and gave it to someon with more patience than me
-
lw
yeah, CVS was... fine for its fine. but i'd never go back to that from git
-
voy4g3r2
there was some microsoft product i use to use in like 2005ish time frame.. which just sealed the hell of source code repositories
-
lw
Microsoft Team Foundation Server?
-
voy4g3r2
-
VimDiesel
Title: Microsoft Visual SourceSafe - Wikipedia
-
voy4g3r2
this!
-
voy4g3r2
horrible just horrible
-
lw
ah yeah, i never used that but i've only ever heard bad things about it
-
voy4g3r2
that is when is tarted the journey.. before i made a major change, i would just "backup" the tree.. to another directory and pray i did not break it too much
-
lw
freebsd used perforce for a while as a replacement for git... i think a lot of video game developers still use that because it handles binaries better than git
-
lw
s/replacement for git/replacement for cvs/
-
voy4g3r2
sourcesafe HATED excel documents, i remember that
-
voy4g3r2
yes, make fun of me now, i did a lot of vba coding and data analysis with access+excel
-
lw
so route(8) called snl_read_message_dbg() which... doesn't exist? what am i missing here
-
lw
voy4g3r2: when i was in high school i wrote a nethack-like RPG in Excelt VBScript :-d
-
lw
oh, it's an inline function in netlink_snl.h
-
voy4g3r2
interesting.. a lot of this manual page stuff references.. mac os x uses blah.. i found something that is the other way around xlocale.. appeared in Drawin 8 and was incorporated into freebsd 9.1
-
voy4g3r2
interesting..
-
voy4g3r2
btowc_l has no man page but btowc does.. and the different is the data type it works with..
-
voy4g3r2
put good ole #include <wchar.h>
-
voy4g3r2
a category 4 man page referencing a category 8 man page..
-
» V_PauAmma_V used Mercurial for a while.
-
voy4g3r2
tslog(4) -> boottrace(4) which is actually boottrace(8)
-
voy4g3r2
seems valid.. change going in
-
voy4g3r2
hrm.. dialog4ports(1) is only available through ports but a base package references it..
-
lw
whoo! i can execute 'ifconfig wg1 create; ifconfig wg1 1.1.1.1/32; ifconfig wg1 1.1.1.1/32 -alias; ifconfig wg1 destroy' and my program sees all of these events via netlink
-
lw
this interface is actually quite easy to use, it's just really badly documented
-
voy4g3r2
wireguard?
-
voy4g3r2
isn't 1.1.1.1 cloudflare dns?
-
lw
yes, but i only added it for 5 seconds to test
-
lw
the important point is i can detect interfaces and addresses being added and removed
-
V_PauAmma_V
lw, patches/pull requests/suggestions for improvement of the manual page(s) welcome.
-
lw
i don't even understand the api yet so i don't think i'm the one who should be writing the manpages :-d
-
lw
still waiting for my sctp(4) manpage updates to be merged anyway...
-
V_PauAmma_V
You're the one having trouble using them. I can't think of anyone better suited. :-)
-
voy4g3r2
haha
-
lw
maybe if i finish this app i'll consider it
-
V_PauAmma_V
Fair enough.
-
lw
i appreciate the impetus behind "you should fix this thing you're complaining about" but i have like ten thousand projects on the go at once + my actual work i get paid for
-
lw
i do try to submit PRs for things that can be fixed relatively quickly
-
V_PauAmma_V
Fair enough. *eyes his own to-do list and grimaces*
-
lw
... the reason i mention this stuff is because i try to fix things when other people mention this here. like i submitted my sctp(4) PR because someone here was (rightly) complaining that sctp(4) is missing a bunch of docs
-
lw
so maybe someone will see my messages and do the same
-
lw
i guess this can come across as complaining but the way i mean it is more like "hey, it would be cool if someone could fix this if they felt like this"
-
V_PauAmma_V
Ping me in a few days? I'll be happy to turn your pain points into better manual pages.
-
alepzi
when i install freebsd zfs on root with bsdinstall, boot up disk select shows my 2 nvme drives but also a FreeBSD i can select. any 3 will boot freebsd. but doing an unattended bsdinstall only the 2 drives show in the boot device menu. where's the "FreeBSD" line?
-
lw
alepzi: what does efibootmgr say? usually freebsd installs two copies of the boot loader, \EFI\BOOT\BOOTX64.EFI and another one called something like \EFI\FREEBSD\LOADER.EFI, possibly your firmware is picking up both
-
lw
(i don't really understand why it does this)
-
alepzi
sudo efibootmgr says boot to fw: false, bootcurrent 0002, bootorder 0002 0003 0001, boot002 uefi os, boot003 uefi os, boot001 windows boot mgr
-
lw
alepzi: you can check the contents of the ESP to verify this, it's usually mounted on /boot/efi by default iirc
-
lw
e.g. `find /boot/efi` ... if it has two copies of freebsd loader, delete one of them and reboot, and see if the mysterious third boot option goes away
-
lw
although as to why unattended would work differently here, i have no idea
-
alepzi
got /boot/efi/efi/freebsd/loader.efi and /boot/efi/efi/boot/bootx86.efi
-
lw
bootx86.efi? are you on 32-bit x86?
-
alepzi
no
-
alepzi
amd 64
-
lw
hmm
-
lw
alepzi: please show the output of `file /boot/efi/efi/freebsd/loader.efi /boot/efi/efi/boot/bootx86.efi`
-
alepzi
-
lw
you said you had bootx86.efi, but your paste shows bootx64.efi
-
lw
(x86 != x64)
-
alepzi
lol i'm sorry it's 64
-
lw
ah ok
-
alepzi
so it's normal i guess?
-
lw
alepzi: delete /boot/efi/efi/freebsd/loader.efi and reboot. that will probably make the freebsd option disappear from the menu. or, if you prefer, leave /freebsd/loader.efi and delete /boot/bootx64.efi
-
alepzi
it doesn't show up already. i was asking why it didn't
-
lw
hm, you said "boot up disk select shows my 2 nvme drives but also a FreeBSD i can select" - i thought that meant it was showing a third option you didn't expect, which might be .../freebsd/loader.efi
-
alepzi
ya when i...
-
lw
when you...?
-
alepzi
nvm
-
lw
well in any case i suggest deleting loader.efi because there's no reason for this to exist
-
alepzi
why is it there then?
-
lw
who knows?
-
alepzi
shouldn't the freebsd devs remove it?
-
lw
probably. feel free to file a PR and/or ask the mailing list
-
lw
i always delete loader.efi when i do a new install
-
lw
i do a new install about once every 10 years though so it never bothered me enough to do something about it
-
alepzi
i do a new install for every point release like 13.1 to 13.2
-
alepzi
then just freebsd-update patch levels
-
lw
well, file a PR, someone will probably look at it. i do think this behaviour is wrong
-
lw
i'm so mad that we can't write K&R func definitions anymore
-
lw
they're so much more readable than this ANSI crap
-
kevans
uh, no, removing loader.efi is a terrible idea in general
-
lw
kevans: why? the EFI firmware will load \EFI\BOOT\BOOTX64.EFI. there is absolutely no reason for \EFI\FREEBSD\LOADER.EFI to exist, it's just a redundant copy of BOOTX64.EFI
-
kevans
we don't want to claim bootx64.efi
-
lw
but you *do* claim that
-
kevans
we don't if it already exists
-
lw
bsdinstall puts both files onto the ESP
-
kevans
and we want to prefer the vendored copy, that's the entire point of the efibootmgr entry
-
kevans
removing it isn't going to remove the boot entry, it's just going to break it for no apparent reason
-
lw
ok, for the 0.01% of users who have multiple EFI loaders on their ESP, this might make a difference
-
lw
for the vast majority of users, this just creates two copies of loader.efi for no apparent reason
-
kevans
ideally we move away from bootx64.efi in general, but there's a lot of crap firmware out there
-
lw
i stand by my advice that most users should simply delete \EFI\FREEBSD\LOADER.EFI as it serves no purpose if the disk only has freebsd on it
-
kevans
ok, but that doesn't make it good advice
-
lw
ok, but installing two identical files isn't good practice either. your move...
-
kevans
lol
-
lw
fwiw, this confused me a lot when i came to replace the loader after zpool upgrade
-
lw
i discovered there are two copies of the loader. so what do i do? replace them both? but why are there two copies?
-
kevans
ideally you follow the steps in the release notes for this exact scenario
-
kevans
it gives precise steps to follow to determine what's in use
-
lw
the release notes just say to update the current EFI loader as described in efibootmgr -v, but this is wrong. this will teach the user to replace bootx64.efi (if that's what the firmware loader) but ignore loader.efi
-
lw
which will create issues if, for example, the disk is moved to another system that loads \EFI\FREEBSD\LOADER.EFI before BOOTX64.EFI
-
lw
having two copies of the loader where one might be out of date cannot possibly be the correct behaviour
-
kevans
why would your new system magically use the vendored path? swapping out freebsd installs under a different firmware is kind of weird
-
kevans
ideally we'd have a tool to deal with all of this
-
lw
kevans: i don't know why it would "magically" do that, but as we just discovered in this channel, some firmwares will notice the FreeBSD loader and display it as an additional boot menu entry
-
kevans
they do not notice it, no, we explicitly add the entry at install
-
lw
so imagine you switch from a system that doesn't do that, to one that does, and your \EFI\BOOT\BOOTX64.EFI is up to date, and your \EFI\FREEBSD\LOADER.EFI isn't
-
kevans
rEFInd might notice it, yes, but all firmware I'm aware of will not
-
lw
now when you select 'freebsd' at the boot menu, the system won't boot
-
lw
i don't really care to argue about this anymore, but installing two identical copies of a file, and requiring the sysadmin to update both copies, and then not telling them that they have to update both copies, is bad practice
-
lw
how do you determine what event happened on an fd from kevent()? does the kernel set ev.filter?
-
kevans
yes, the kernel fills in the good bits to describe the event
-
michelem
Hi folks! I am confused by this filesystem behavior. I mount_nullfs one folder onto another, and I get different outputs from "ls" for the same folder when accessing it from the concrete and the nullfs-mounted entrypoints to it:
dpaste.org/vCom8
-
VimDiesel
Title: dpaste/vCom8 (Markdown)
-
michelem
oh rubber duck debugging :)
-
Bheam
is it just me or is freebsd terminal a lot faster than linux? when i run commands, even from a remote ssh, the output is like really fast?
-
Bheam
or is it zfs?
-
_xor
heh
-
» _xor uses rEFInd
-
_xor
I was somewhat surprised to see it pick up all loaders on my ESP.
-
lw
jbo: how did mediaelch go?
-
lw
ok, so i maintain a port. i want to submit a patch. how do i do that? i don't see anything in the porter's handbook about this
-
norrland
lw: been ages since I did that procedure. But in short,
bugs.freebsd.org/bugzilla/enter_bug…&component=Individual%20Port%28s%29. Summary: "<category/portname>: Update to v1.2.3", Add some description, attach the patch/diff from your local ports-tree.
-
VimDiesel
Title: Log in to FreeBSD Bugzilla
-
norrland
-
lw
that's basically what i did
bugs.freebsd.org/bugzilla/show_bug.cgi?id=276347 but i wasn't sure if i should set maintainer-feedback or not... the wiki TriageTemplates is a bit vague on that
-
VimDiesel
Title: 276347 – net-im/toot: mark as BROKEN since devel/py-urwid is broken
-
norrland
this was basically, bump the version number in the Makefile, 'make makesum' (?) to get the new packages ( port tracked github releases of the matterircd service )
-
lw
i'm going to regret this lexi⊙lo | + 1 Jan 15 freebsd-python+help⊙Fo ( 17) Welcome to freebsd-python⊙Fo
-
lw
soon my entire life will consist of nothing but reading mailing lists
-
lw
meena: how do i get this committed
freebsd/freebsd-src #1057 should i just add bsdimp as a reviewer?
-
VimDiesel
Title: service(8): direct user to rc(8) for a list of valid commands by llfw · Pull Request #1057 · freebsd/freebsd-src · GitHub
-
meena
lw: that's mostly documentation, so I would bug someone who's does docs.
-
lw
meena: this sounds like good advice. please give me @usernames of people who does docs :-)
-
meena
lw: I just posted it in #bsdocs (EFnet) and #documentation (discord)
-
lw
meena: #bsdocs on efnet does not seem to exist?
-
lw
ah #bsddocs
-
lw
meena: how do i get a src commit bit?
-
meena
lw: yeah, I wonder too
-
lw
heh
-
lw
i had a weird conversation with j.bo about this the other day
-
lw
the answer seems to be "commit bits are magic and not understandable"
-
meena
Yeah, and, honestly, I don't like it.
-
lw
although j.bo claimed, from what i remember, there are ~4,000 src committers and ~192 ports committers
-
lw
which, by itself, is kind of hilarious
-
meena
it makes sense when you think about the structure of the Org, but, yeah
-
_xor
I thought there was voting process after you've been a proven contributor for a while.
-
lw
(this is not a criticism of j.bo, who i'm sure has nothing to do with who gets a commit bit)
-
meena
I highly doubt that all 4000 of those are active…
-
meena
_xor: who knows. Is it documented anywhere? If it isn't, everything we think we know is hearsay.
-
lw
meena: i also find this unlikely
-
lw
although, perhaps Netflix has 4,000 people working on freebsd. who knows
-
lw
probably not though
-
meena
netflix has at least two people working on FreeBSD.
-
lw
-
VimDiesel
Title: 276347 – net-im/toot: mark as BROKEN since devel/py-urwid is broken
-
_xor
-
VimDiesel
Title: Committer's Guide | FreeBSD Documentation Portal
-
meena
_xor: that's not how to become a committer
-
_xor
I think it's delegated by people in those specific areas, and those people are probably appointed/elected by the core members. I'm pretty sure I've seen the details documented somewhere.
-
lw
i feel like my various manpage updates are trivial and should just be committed. it annoys me that they aren't
-
_xor
-
VimDiesel
Title: BecomingACommitter - FreeBSD Wiki
-
lw
it's not like i'm comitting a replacement pmap or something
-
meena
-
VimDiesel
Title: 273122 – lang/python311: backport netlink support
-
lw
"As more and more companies leverage FreeBSD for projects" ah got it, i need to add Sponsored by: in my commits
-
meena
lw: i documented a pmap!
-
_xor
-
VimDiesel
Title: FreeBSD Project Members | The FreeBSD Project
-
_xor
Those two links should give a starting point answer.
-
lw
wait there's a #freebsd-python?
-
meena
yes
-
meena
maybe I should subscribe to the ML…
-
lw
meena: why did you link me PR #273122, idgi
-
VimDiesel
273122 – lang/python311: backport netlink support
bugs.freebsd.org/bugzilla/show_bug.cgi?id=273122
-
lw
i mean i'm doing netlink stuff, but in C, not python
-
meena
lw: just, take a read across the PR when you have some time, and nerves to spare
-
lw
is this going to make me angry
-
meena
probably
-
V-T60
Hello. I can't access my micrphone in ungoogled-chromium
-
V-T60
Could anyone kindly help with that?
-
V-T60
microphone*
-
V-T60
Installed devices:
-
V-T60
pcm0: <Conexant CX20561 (Hermosa) (Analog 2.0+HP/2.0)> (play/rec) default
-
V-T60
pcm1: <Conexant CX20561 (Hermosa) (Internal Analog Mic)> (rec)
-
lw
meena: i can't comment on this because the other person is on this channel, i guess
-
V-T60
which one is active?
-
V-T60
this one is definitely not working
-
V-T60
at least in ungoogled-chromium
-
V-T60
how do i switch microphone in freebsd?
-
V-T60
i have only one rec devices
-
la_mettrie
i switched recording device to "dsp0" in audacity. i also tuned fossmixer a bit, though not sure if it was needed.
-
V-T60
in me@x200:~ % sudo mixer =rec
-
V-T60
mixer: no recording device specified
-
hernan
-
VimDiesel
Title: FreeBSD Desktop – Part 29 – Configuration – Audio Improvements | 𝚟𝚎𝚛𝚖𝚊𝚍𝚎𝚗
-
lw
-
VimDiesel
Title: Re: devel/py-urwid and devel/py-setuptools_scm (PR# 274411)
-
lw
but the chance this will actually fix the problem is like, zero, right
-
lw
i don't really understand how a port can be broken for months and literally no one cares enough to do anything to fix it
-
lw
why even have ports then
-
V-T60
i don't understand how that might help
-
V-T60
% pactl list sinks | grep 'Name: '
-
V-T60
W: [(null)] caps.c: Normally all extra capabilities would be dropped now, but that's impossible because PulseAudio was built without capabilities support. Name: oss_output.dsp0
-
Bheam
so i'm trying gpu passthru to win on bhyve but not having any luck. gfx card is detected in guest, but can't start
-
dch
crest:
reviews.freebsd.org/D41318 would be a nice thing to have IMO
-
VimDiesel
Title: ⚙ D41318 Add the "missing" WireGuard rc.d script
-
dch
maybe you can move it along a bit at some point
-
dch
Bheam: there's a bhyve specific channel for this, you should post your bhyve command invocation there, and a bit more info (what h/w device, what guest OS, how its detected etc)
-
meena
dch: the easiest way to move it along would be to have more reviews / tests / patches to it
-
lw
more reviews but only magical know about phab
-
lw
so you have to find magical people who like your commit
-
lw
looks like this diff will never be committed because of bikeshedding, sorry, bye
-
occ
Smartctl open device: /dev/nda0 failed: INQUIRY failed , how to get the total writen bytes of device /dev/nda0 ?
-
occ
smartctl /dev/nda0
-
adilix
hi all
-
norrland
occ: do you have any '/dev/nvme*' devices?
-
occ
norrland: yes,there is one
-
norrland
try querying the '/dev/nvme0' device instead.
-
occ
use /dev/nvme ?
-
norrland
-
VimDiesel
Title: dpaste/PHhtb (Bash)
-
occ
yes , smartctl -a /dev/nvme0 gives information.
-
occ
but smartctl -a /dev/nvd0 gives "Smartctl open device: /dev/nvd0 failed: INQUIRY failed"
-
norrland
Yeah, could be that it's not providing that interface on non '/dev/nvme*' paths.
-
otis
smartctl -d nvme -a /dev/nvme0
-
Demosthenex
arg, i really didn't want to recompile llvm and rust in a manually installed port
-
norrland
Has something changed with poudriere, "Inspecting ports tree for modifications to git checkout..." now takes ~1h for some reason.
-
norrland
poudriere-3.4.0
-
skered
openzfs rpm for EPEL9 (I'd suspect all supported distro binary packages) has arcstat and arc_summary. I see them in the contrib src repo. Does FreeBSD not include them? locate can't seem to find anything if they were not in a binish dir.
-
skered
I'd guess maybe the kmod port might include them?
-
skered
oh it's all python. So I guess that would explain it... disabled by default in the port too.
-
thorre
Quarterly patches successfully installed (to the best of my knowledge).
-
kevans
lw: meena: the number of active src committers is exactly names still listed in
cgit.freebsd.org/src/tree/access?h=internal/admin, which is... under 200
-
kevans
ports number is pretty close, and they have a tighter reaper policy:
cgit.freebsd.org/ports/tree/access?h=internal/admin
-
VimDiesel
Title: access - ports - FreeBSD ports tree
-
kevans
(doc and src requires one commit per 18 months to avoid reaping, ports requires one commit per 12 months)
-
apteryx
hello! where can I see the package description of dmd?
-
apteryx
ah, apologies, I think the question is for OpenBSD, not FreeBSD (doesn't seem to have a dmd package:
freshports.org/search.php?query=dmd…t=1&casesensitivity=caseinsensitive)
-
meena
kevans: i had to hand in my ASF membership formally, i wonder if i can still commit, if i can remember my password
-
dmr104
what desktop files are neeeded to make the gdm greeter work? By default as on `pkg install gdm` there are none in the configdir
-
dlfke
why there is 4.7G used and 7.7G free on a 14G volume?
-
mason
dlfke: compression?
-
dmr104
i am trying to start greeter on freebsd whose pkg manager puts no files at all in the gdm config directory, consequently greeter GUI does not start when i boot but GDM is running
-
dmr104
what files are neeeded to make the gdm greeter work? By default as on `pkg install gdm` there are none in the configdir
-
dlfke
no compression. it's 1.5 GB missing
-
mason
Oh, right. Wrong way. dlfke: Snapshots maybe, then.
-
dlfke
can I remove /usr/freebsd-dist?
-
dlfke
using freebsd as a desktop system is not easy due to a crazy amount of junk that is installed by the package system
-
babz
-
babz
hu hum... I see now...
-
dh
That looks fun, what are those relations exacly?
-
babz
the dependencies between /etc/rc.d/* scripts, as they are parsed by rcorder(8)
-
babz
-
CrtxReavr
dlfke, space reserved for root?
-
CrtxReavr
Look at tunefs(8).
-
meena
tsoome: this looks good to my eye, but you might wanna take a look, too
freebsd/freebsd-src #1063
-
VimDiesel
Title: vt.4: explain console fonts by concussious · Pull Request #1063 · freebsd/freebsd-src · GitHub
-
tsoome
seems good, but its 01:21am here, so I'm rather sleepy.... :D
-
ZedHedTed
back to bed, mister!
-
meena
tsoome: it's 23:28 here, and I just put my daughter to sleep