-
meena
dautor: probably not without two or three handstands. the easiest way to associate an interface with a jail is to put it into the description
-
unixwitch
Xlib sure does come with a lot of default compose sequences‽
-
[0x1eef_]
Does anyone know if the keycodes given by xev, and those used in the vt keymap files (/usr/share/vt/keymaps/) would be the same, or different ?
-
rwp
Compare the codes in /usr/share/vt/keymaps/us.unix.kbd (or your favorite keymap) to what xev produces. I think they are different.
-
unixwitch
i think the keycodes should be the same, aren't those the raw numbers send by the keyboard?
-
[0x1eef_]
Thanks. I'm trying to map the keyboard of a brazilian thinkpad. Not sure how I can obtain the correct 'scan code' for key that's not working.
-
unixwitch
is there a decent Mp3tag-like app in ports? for mass tag-editing of music library
-
kenrap
Uh, is it just me or is reddit being weird for everyone with locked posts?
-
V_PauAmma_V
"id3mtag-0.81 Mass tagging utility for audio files" courtesy of "pkg search id3".
-
V_PauAmma_V
(no idea about "decent")
-
kenrap
nevermind, after a refresh
-
kenrap
(That was freaking weird)
-
unixwitch
V_PauAmma_V: no id3v2.4 support :-/
-
unixwitch
but i was also looking for something like a spreadsheet-style UI... apparently musicbrainz picard is what most people use
-
» V_PauAmma_V nods.
-
unixwitch
i wonder if the windows version of mp3tag would run under wine, it's good enough that might actually be worth the hassle
-
BinGOs
I've been using easytag for that kind of thing. doesn't just do mp3s, but mp4 and what not. And it is in in ports, audio/easytag
-
unixwitch
also found "puddletag" which looks interesting
docs.puddletag.net/screenshots.html
-
BinGOs
doesn't *just* do, I meant to say :/
-
VimDiesel
Title: Screenshots — puddletag
-
unixwitch
BinGOs: this looks good too, thanks
-
unixwitch
(my library is mostly FLAC, not MP3s... "Mp3tag" is kind of a legacy name, it can tag almost anything)
-
_xor
picard or beats
-
unixwitch
i tried picard before mp3tag and really didn't get along with it, but maybe i'll give that another try too
-
_xor
For editing id3 tags. There are a few other CLI tools that I've used before, and one of them worked well, but can't remember the name of it now.
-
_xor
Gah, I really need to setup my knowledge base + search engine. Too many notes/snippets/references/etc that are scattered all over the place.
-
unixwitch
i really wish we had proper manpages for shell builtins like trap
-
unixwitch
i just want to know how the builtin works in every shell people actually use, i do not care about a comparison with csh
-
unixwitch
so i went with shotman for Wayland screenhots but it's actually not very good. is there a screenshot tool that can either save the screenshot, or pipe it to an external program?
-
mason
I've been using scrot happily for years, but I've got no clue if it supports Wayland.
-
unixwitch
mason: this seems like a dead project so i guess not...
-
mason
heh
-
mason
Wildly popular dead project, but I guess no Wayland then.
-
unixwitch
it's apparently poplar enough that it's been forked by a project called "resurrecting dead open source projects" or something
-
unixwitch
s/poplar/popular
-
unixwitch
what the fuck. errors: No known data errors
-
unixwitch
this pool has had a phantom "error" for the last 2 weeks and now when i did a zfs send | zfs recv it's just vanished
-
unixwitch
there is something seriously broken with zfs in 14.0, i am sure of it. maybe only affecting encrypted pools
-
unixwitch
might update my fileserver to main for shits + giggles. can't really be any more broken than releng/14.0
-
rwp
Well... You did upgrade to a .0 release so you knew what you were getting into.
-
unixwitch
rwp: feh nonsense
-
unixwitch
rwp: if a .0 release is not supported to be suitable for production systems then it should say so on freebsd.org. which it doesn't.
-
unixwitch
s/supported/supposed/
-
unixwitch
otherwise we'd all turn into those people who are still on 11.x because "it's old so it's stable"
-
VVD
11.x… don't want 7.x/8.x/9.x? :-D
-
unixwitch
i'm on the verge of reinstalling with NetBSD and using RAIDframe because i really don't trust zfs anymore
-
unixwitch
that ossl(4) bug really turned me off it
-
unixwitch
like, i love the idea of zfs, but in practice it's so practice there's so many things that can go wrong
-
rwp
A lot of people play it safe and wait for the .1 release and that's when they upgrade.
-
unixwitch
used the wrong kernel encryption implementation? whoops, your entire pool is corrupted, sorry, better restore from backup
-
unixwitch
i will probably not do that though because i'd like to actually find the bug here...
-
VVD
I have 12 barematal servers with ~40 pools. Some of them created on 8.x. I had issue on one old test server only with broken RAM module.
-
VVD
I don't use the encription.
-
unixwitch
i do but i'm kind of wishing i didn't, i suspect my current issue might be related to that
-
llfw
i have obtained a much more serious nickname, now you must take me seriously when i complain about zfs
-
tercaL
lol
-
dautor
meena: that's a good idea, thank you
-
rtprio
i've ran zfs since it was introduced and haven't had any problems
-
rtprio
i lost a pool when th chassis lost power but there's no avoiding that
-
lw
rtprio: that shouldn't happen... with any filesystems, really, not just zfs
-
lw
losing data on power failure is basically unheard of nowadays
-
AumShivaya
what cool things can I get FreeBSD to do that I cannot on Linux as a desktop?
-
rtprio
lw: shouldn't. but it was an esata external chassis
-
rtprio
AumShivaya: /usr/sbin/spkrtest
-
ferz
Nixkernal: is right
paste.scsys.co.uk/19448 to update bootloader?
-
VimDiesel
Title: magnet_web paste from "ferz" at 217.168.150.38...
-
skered
Outside of du/df can you find the memory usage of tmpfs?
-
dch
after bumping ports this morning, I get this weird dbus error
-
dch
ld-elf.so.1: /usr/local/lib/libdbus-1.so.3: version LIBDBUS_1_3 required by /usr/local/lib/libck-connector.so.0 not defined
-
elirco
skered: wrong with df?
-
dch
and no desktop. zfs rollback "fixed" the problem
-
elirco
s/wrong/whats wrong/
-
skered
elirco: I assumed there was a better way
-
skered
Or some way to cram it in to top or vmstat
-
elirco
df -h /var/run | tail -1 | awk '{print $2}'
-
elirco
prints the size human readable (-h option can be left out if this is not required)
-
elirco
maybe that helps
-
skered
df -t tmpfs would be better
-
elirco
true, my fault
-
skered
But I don't need to know how to find it via df... I just thought there was a better way
-
skered
Less roll your own
-
elirco
true... I darkly recall some memtop utility, but cannot find it atm
-
Demosthenex
arg, so my poweredge with 2x broadcom BCM5720 keeps dying, major packet loss, i've bounced the network switch 4 times this weekend. i've disabled lagg0 failover, i've removed every extended feature on ifconfig (no hw accel, etc), and it's still happening
-
Demosthenex
basically early on, it'd run for a week or two then start losing 50% packets
-
Demosthenex
now it's every few days
-
Demosthenex
bouncing the switch or ifconfig down then up seem to temporarily fix it
-
f451
cgit.freebsd.org seems to be down for port 443
-
dch
f451: indeed it is. h/w problem, it will reappear in due course
-
dch
f451: you can use the github.com/freebsd mirror, or
codeberg.org/freebsd in eu
-
VimDiesel
Title: The FreeBSD Project - Codeberg.org
-
dch
both src and ports as required
-
dch
or wait for h/w stuff to happen
-
f451
:D thanks
-
rockyh
Hello! I have an old host with FreeBSD 14.0-RELEASE amd64, Pentium(R) Dual-Core E5300 @ 2.60GHz and nVIDIA `C73 [GeForce 7100 / nForce 630i]' as graphic card. I followed the instructions here
docs.freebsd.org/en/books/handbook/x11/#x-graphic-card-drivers . However, when booting, the display keeps having a very low resolution (probably 640x480) till the user login prompt. kldstat(8) shows
-
VimDiesel
Title: Chapter 5. The X Window System | FreeBSD Documentation Portal
-
rockyh
that the `nvidia' module is correctly loaded. What else may be wrong?
-
rockyh
(the installed driver is x11/nvidia-driver-304)
-
ascreen
kevans: don't you think it's just a use-after-free or so?
-
ascreen
kevans: but tty_rel_free also removes it from the tty_list, where it's still in
-
elirco
rockyh: do not know about that specific Nvidia driver version, but latest driver requires also the kernel module nvidia-modeset. maybe worth a try.
-
rockyh
elirco: reading the Handbook, it seems that x11/nvidia-driver-304 requires the kernel module nvidia instead of nvidia-modeset.
-
rockyh
-
VimDiesel
Title: Chapter 5. The X Window System | FreeBSD Documentation Portal
-
rockyh
I guess (at least) it's intended this way
-
elirco
rockyh: ic... and later driver does not support your graphics card I assume...
-
rockyh
elirco: uhm no, my card model is not in the list of the supported devices
-
meena
do we have an `eject` equivalent? in base?
canonical/cloud-init #4732
-
VimDiesel
Title: [enhancement]: List `eject` as a suggested/recommended dependency for the deb · Issue #4732 · canonical/cloud-init · GitHub
-
VimDiesel
4732 – ac command works incorrect with old wtmp files
bugs.freebsd.org/bugzilla/show_bug.cgi?id=4732
-
meena
what's the patch, Steve??
-
yuripv
meena: camcontrol eject may be?
-
meena
yuripv: will that work on CD drives?
-
yuripv
that's exactly for cd drives
-
elirco
rockyh: how do you start xorg? startx or a display manager?
-
meena
-
VimDiesel
Title: camcontrol(8) - FreeBSD Manual Pages (Dev)
-
meena
yuripv: i assumed it would eject a drive from a SCSI chassis. because that makes sense…
-
yuripv
:D
-
meena
as you can clearly see, i don't often touch hardware, but when i do, it explodes
-
rockyh
elirco: I still did non install a wm. I would like to start it with startx, though. But I would like to have the driver active and a higher resolution in the text console before starting Xorg
-
kevans
ascreen: it's hard to say without malloc debugging options enabled
-
kevans
ascreen: could be use-after-free too, but without UMA trashing the distinction isn't necessarily easy to make
-
kevans
(thus we'd also be more likely to catch UAF back on development branches)
-
vigumnov
cgit.freebsd.org down?
-
elirco
yep
-
elirco
-
VimDiesel
Title: cgit.freebsd.org not reachable? | The FreeBSD Forums
-
tankf33der
-
VimDiesel
Title: The FreeBSD Project - Codeberg.org
-
tankf33der
Mirror
-
Soni
can you statically link libc?
-
rtprio
statically link libc or link to libc?
-
gh00p
Hi. I'm trying to get VLC to work in GNOME with my USB headphones. It seems that VLC doesn't respect the audio output preferences from GNOME. Is this a known thing? Is there an easy fix I just haven't found yet?
-
elirco
gh00p: what says 'cat /dev/sndstat'? Maybe you need to switch your default audio, since vlc directly uses OSS afaik.
-
Soni
can you compile libc statically into a freebsd program?
-
gh00p
elirco, this:
bsd.to/ybDE VLC plays on the Realtek device, firefox plays on USB Audio, which I want. But FF is not a dlna client. :)
-
VimDiesel
Title: dpaste/ybDE (Plain Text)
-
gh00p
VLC allows me to select "pcm4:play" and "pcm4:virtual" as output devices, but the headphones are silent.
-
gh00p
elirco, this:
bsd.to/ybDE VLC plays on the Realtek device, firefox plays on USB Audio, which I want. But FF is not a dlna client. :)
-
VimDiesel
Title: dpaste/ybDE (Plain Text)
-
gh00p
and wb. :)
-
elirco
gh00p: sry my irc connection seems unstable atm
-
elirco
gh00p: run 'sysctl hw.snd.default_unit=4' as root and restart VLC. That should do the job.
-
meandrain
if I want to install freebsd with zfs on root on a ssd, and I want the swap partition to be outside of zfs, where should I create that swap partition? Is it ok to create it at the end of ssd drive ?
-
meandrain
so I would have: 1. boot partition, 2. zfs on root partition. 3. swap partition
-
antranigv
meandrain the default installer does that!
-
futune
swap on zfs used to be discouraged
-
meandrain
(I will not use the default installer)
-
futune
not sure if it is still so
-
antranigv
meandrain what will you be using?
-
rwp
Soni, I haven't done this myself but look at how the program /rescue/sh or any of the 148 hard-linked programs there are built. Those are statically linked.
-
meandrain
desktop work with firefox and lots of opened tabs
-
mason
-
VimDiesel
Title: MasonLoringBliss/ZFSandGELIbyHAND - FreeBSD Wiki
-
meandrain
mason: & guys, thank you!
-
Soni
oh
-
Soni
oh btw, uh, does freebsd have anything like LVM?
-
mason
Soni: ZFS encompasses what LVM does. Outside of ZFS, I'm not aware of equivalent tooling.
-
meandrain
mason: Is it important to make swap second partition instead of last ?
-
mason
meandrain: Not at all, no.
-
rwp
Soni, ZFS is like LVM+mdadm+dmintegrity+more all together. ZFS FTW!
-
rwp
meandrain, On an SSD there should be no actual first versus last since all data blocks are mapped and in motion internally. Not like a spinning drive where one end is actually faster than the other end.
-
meandrain
rwp: noted, thank you!
-
rwp
mason, (meandrain) I might suggest adding swap encryption to those instructions. (nudge, nudge) Since that is easy and only very slightly different. :-)
-
meandrain
if swap will be used alot will that eat a specific portion of the ssd ?
-
mason
rwp: Ah, good call. Thank you. I will. I should rework a few of my wiki things.
-
nimaje
futune: yes, but afaik that applies to all file systems, why would you put the swap inside a filesystem if you could put it in an extra partition besides the filesystem?
-
rwp
mason, It's cool how loading a driver and adding .eli to the swap name and everything Just Works. That's so nice.
-
mason
rwp: Wait, Isn't this happening already?
-
rwp
meandrain, "eat"? Whatever you allocate for swap is allocated and not usable by other partitions. Or do you mean damage? I have really beat hard on SSDs and have never had a Samsung or an Intel SSD die yet. Have a big stack of lower tier SSDs like OCZ that are just not good and failed almost immediately.
-
mason
I thought referriing to swap.eli was already doing throwaway encryption.
-
meandrain
consume/wear
-
meandrain
yes, damage
-
rwp
mason, For encrypted swap don't you need the swap name to have a .eli to trigger things? I did not see .eli in your instructions. My /etc/fstab includes this line "/dev/mirror/swap.eli none swap sw 0 0" for example.
-
mason
meandrain: Remember also that physical sectors are kind of abstract on an SSD.
-
meandrain
mason: I see
-
mason
rwp: check out the post-install instructions where we set up fstab
-
mason
If I'm missing something I'd love to know.
-
futune
nimaje, I would rather just give all my drives to zpools and use zfs to divide it up (if this setup was safe the swap zvol could share free space with the datasets)
-
rwp
meandrain, If you are actively thrashing then you will find the system very slowed down and will either need more RAM or smaller processes or fewer processes running. But having some swap that the kernel can offload unused blocks can free up that RAM to be used by useful other things on the system.
-
meandrain
on a laptop with 16G of ram is it ok to use a swap in size of 4G ?
-
rwp
meandrain, Honestly I don't know how hibernate works on FreeBSD and for that purpose I cannot answer. Perhaps someone else can comment about use on a laptop. But for other purposes yes that should be okay.
-
meandrain
well thank you guys, I'll start installing freebsd ;)
-
rwp
meandrain, On your laptop you will subsequently want to "pkg install powerdxx" and enable it "sysrc powerdxx_enable=YES" and start it "service powerdxx start". That will frequency scale your cpu and save a lot of power and battery.
-
antranigv
meandrain we don't have hibernate, so don't worry about the size of swap.
-
rwp
After you install.
-
nimaje
pretty sure you would need to give the zvol for swap a fixed size and couldn't have a sparse zvol, so no sharing of free space
-
rwp
-
VimDiesel
Title: philipp schmid - FreeBSD 10: does SWAP work on a ZVOL?
-
meandrain
nimaje: I won't use swap on zfs
-
meandrain
I used on a hdd drive and when RAM was full swap was going crazy, If I did not free memory it would slow down the system so hard I could not use it
-
nimaje
meandrain: that was meant regarding futunes comment
-
meandrain
my problem with swap on root was with freebsd 12.x
-
antranigv
meandrain really? I never had issues, even when using bsdinstall's non-interactive methods
-
rwp
mason, Apologies! I did a Control-F looking for .eli in that page and did not see it. But I now see it in there ("/dev/mirror/swap.eli none swap sw 0 0") and don't know why I did not before. My bad.
-
rwp
mason, I read through and I see "load aesni if we're on FreeBSD < 13" and I had a question that the other day in another channel. The "man aesni" still says to do that. I don't see a module loaded. Is that built into the kernel now, is that why it is no longer needed?
-
nimaje
rwp: maybe that "ZFS Volumes as Swap" paragraph in zfs-create(8) should be expanded a bit
-
mason
rwp: I'm going to have to struggle with bad memory there. Hopefully I left a comment when I made that change.
-
mason
rwp: So, that came from here I believe. Let me dig through logs.
-
rwp
I don't know why I didn't find it with control-f ".eli" when I looked either. I am failing all of the time at simple things it seems.
-
mason
Yeah: 03:55 < angry_vincent> aesni is now compiled in into kernel, not module ( since
-
mason
13.0 )
-
mason
in 2021
-
mason
Credited in the commit comment. (Yay, commit comment!)
-
rwp
A user in #freebsd-irc who can't enter this channel was having a question about the aesni module the other day. And other than the man page information I didn't know anything. And on 13 after install I couldn't deduce any performance reason to enable it.
-
rwp
Ah! That explains things. Compiled in now. So no longer required to load as a module. Here is a newbie question. Is there a list of modules compiled into the kernel available in /boot/?
-
mason
There isn't so far as I know any equivalent of a Linux /boot/config-foo
-
mason
That said, if you look at the kernel naming, that should show you which kernel to config to look at in the source. GENERIC by default.
-
mason
-
rwp
I need to start compiling a kernel locally just so I can understand the process. It's a big hole in my knowledge base.
-
VimDiesel
Title: freebsd-src/sys/amd64/conf/GENERIC at main · freebsd/freebsd-src · GitHub
-
Soni
oh good our freebsd HDD boots in a VM, last touched in october 25, 2019
-
Soni
how do we uh,
-
rwp
That appears to be just the device node though. Does that automatically compile in the module?
-
Soni
recover this
-
rwp
Soni, Recover? It boots? If it boots does it need recovery?
-
mason
rwp: I don't think it's a device node. Pretty sure it's a device driver.
-
Soni
rwp: it boots in qemu
-
Soni
it does not boot on real hardware
-
rwp
mason, The comment above says "Pseudo devices." Makes me go, hmm... Ambiguous information as I read it. But perhaps the author thought it was clear by their thinking.
-
mason
rwp: I had precisely the same doubt and confusion as you, but looking at the file overall, everything's either an option or a device.
-
mason
-
VimDiesel
Title: freebsd-src/sys/conf/NOTES at main · freebsd/freebsd-src · GitHub
-
rwp
Thanks for that NOTES reference. I am scrolling through it now.
-
mason
I used to build my NetBSD kernels by hand as a rule but honestly since VNET's been included by default in FreeBSD, I've had no need to build those.
-
rwp
Soni, Hmm... Boots in a VM. Does not boot on actual hardware. Could that be a mismatch of Legacy BIOS versus UEFI?
-
Soni
rwp: nope, had to set up UEFI in the VM so it's definitely UEFI
-
rwp
mason, I have been blissfully using the precompiled binary everything and it's been simply wonderful. Makes me lazy.
-
mason
I'm right there with you.
-
rwp
Though it means I am getting the same experience day by day and not learning new stuff. I am starting to push myself out of the comfort zone so that I can expand and learn new things.
-
rwp
Soni, Hmm... I don't know. I would boot the hardware using rescue media like the bsd installer iso image and then, if I knew how, I would refresh the boot loader, "gpart bootcode -b /boot/pmbr -p /boot/gptboot -I 1 ada0" type of thing. Is that for UEFI or for Legacy BIOS? I forget! Refer to the handbook for sure. And then see if that allows it to boot.
-
rwp
Wups! That -i to -I is my automacro expansion because I am lazy and never type shift-I anymore. Should be lower case option.
-
mason
rwp: You copy in UEFI bootloaders by hand. gpart bootcode is for legacy
-
rwp
Looking at the Fine Mason docs I see it is cp /boot/loader.efi /boot/efi0/efi/boot/bootx64.efi
-
rwp
A new RTFM for me is Read The Fine Mason docs. :-)
-
mason
hah
-
mason
They need to be updated.
-
mason
For instance, there's old cruft that's no longer needed in my jail docs.
-
kevans
efi/freebsd/loader.efi is the one we'll primarily use these days, but if we're the only OS then you should update that one as well
-
rwp
The steady state of disks is full and documentation in slight need of update.
-
Soni
rwp: the bootloader is fine
-
mason
rwp: hah, yes
-
Soni
it gets stuck when loading the graphics drivers or something
-
Soni
also this disk is from 2019 and we got a new GPU since, so that's something to consider too
-
mason
Soni: Again, my memory is shoddy here, but some graphics drivers can't load during kld_list and need to be in /boot/loader.conf directly, and can do what you're describing.
-
mason
kld_list
-
mason
kevans: With the one caveat that you need a boot variable for the vendor directory version.
-
kevans
we create that by default
-
mason
but not for the fallback
-
mason
Well. Yes. Still. Just saying, it'd be an issue if you, for instance, move your disk to a new system.
-
kevans
yes
-
kevans
this is why i said they should both be updated
-
rwp
Soni, Maybe reduce /boot/loader.conf and /etc/rc.conf to minimum things needed?
-
kevans
you can also loose boot vars on, e.g., firmware updates
-
mason
Yeah.
-
kevans
lose, even
-
mason
Cry havoc, and let loose the boot variables.
-
kevans
so it's good to keep the default one around, but the vendor one is what we're using on a day-to-day basis so it's better to not be lured into a false sense of security with just updating one
-
kevans
around + updated
-
mason
Only then I remember it's "let slip" and the joke falls down.
-
Soni
rwp: so basically take out kld_list and jackd?
-
rwp
Maybe. For me I am loading kld_list="radeonkms" for example. If I were to swap out cards then maybe remove that and let it boot and reconfigure later with the appropriate thing then.
-
rwp
As you can tell I don't know the answer and am simply trying to work through the problem with you in order to help. You said it starts to boot and then appears to get stuck loading the graphics driver. So that seems like a good place to start.
-
Soni
(this is so old, too... is there a way to upgrade freebsd?)
-
mason
Soni: What version have you got?
-
Soni
mason: whatever was -RELEASE by september 11 of 2019
-
Soni
allegedly 12.0-RELEASE?
-
Soni
oh we downloaded that on july 29, 2019 apparently
-
ZedHedTed
the good ol days
-
rwp
Soni, "freebsd-version -kru" is three useful tidbits. Expecting -k kernel installed and -r kernel running to be the same. The -u userland base might have a different patch level from kernel.
-
rwp
After an upgrade and before rebooting the -k kernel installed and -r kernel running might be different due to the recent install.
-
Soni
rwp: that would require booting into it and now we're doing something else
-
rwp
It's just information. Which can be useful at the time it is useful.
-
rwp
If you do boot it and decide to upgrade I would upgrade it to 13 and follow the release notes for it before upgrading further if you decide to do that. Binary upgrade: "freebsd-update -r 13.2-RELEASE upgrade"
-
rwp
-
VimDiesel
Title: FreeBSD 13.2-RELEASE Release Notes | The FreeBSD Project