-
thermos
futune: for some reason 'zfs send -R zroot/bastille | zfs recv -u -d zbkp' fails, but if i do a single dataset without the '-R' it works fine. Any idea why?
-
thermos
nevermind futune, I'm rolling now, thank you
-
s2r
regarding the emby-server issue I fixed it downgrading the jail to version 14.3 and all the packages.
-
angryhat
hello apologies if anyone answered my question about configuring the kernel before, I got disconected and don't use a bouncer
-
angryhat
could anyone help point me to any good resources?
-
dkeav
-
kerneldove
i figured out why i was getting memory errors in pfctl -si. seems that when physical mem runs out and the system starts using swap, pf state table mem requests get denied
-
kerneldove
chock that up as another reason to avoid swapping!
-
kerneldove
chalk?
-
AmyMalik
chalk.
-
AmyMalik
chocking is what you do to cars and airplanes to stop them from moving under gravity or wind
-
AmyMalik
they sound identical in caught/cot merger dialects
-
AmyMalik
chalk has the (long in my dialect) caught vowel and sometimes a restored etymological L, and chock has the cot vowel.
-
kerneldove
ty
-
kerneldove
anyone seen much of the kernel db tech demo'd at the bsd conf last year?
-
rwp
kerneldove, Re: "i was getting memory errors in pfctl -si...pf state table mem requests get denied ...as another reason to avoid swapping". But it would only be worse if you had no swap configured. I must note that being out of virtual memory is not a reason to avoid having swap available.
-
kerneldove
ya true
-
kerneldove
my takeaway was to use less mem so that swap isn't used, not to skip having swap
-
kerneldove
i've tried a few variations, going from no swap to huge swap and now i'm having a small 16GB swap as default and tuning workloads so they don't use swap at all, hence only in worst case scenario would it get used
-
kerneldove
like that?
-
rwp
I am not sure how to interpret the ? there but the configuration sounds good to me. I recall your systems having a lot of RAM but even then I think having at least a small amount of swap is a good thing as it allows the kernel to offload blocks that are never accessed making that memory available for actual use.
-
kerneldove
ya
-
AmyMalik
... what would I be doing wrong if state_open: can't open `/var/db/blocklistd.db' (Inappropriate file type or format)?
-
AmyMalik
.. oh.
-
AmyMalik
i need to install a PTF.
-
AmyMalik
... update: illegal instruction ????
-
nimaje
hm, why would blacklistd need something additional installed to read its database?
-
ivy
what is a "PTF"?
-
AmyMalik
inapplicable jargon, ignore it.
-
AmyMalik
but there was a version of blocklistd (it's spelled with an o) which couldn't possibly work, and there was a patch in the bugtracker. which i tried applying to /usr/src, which only got me as far as an illegal instruction
-
lostpacket
# file /var/db/blacklistd.db
-
lostpacket
/var/db/blacklistd.db: Berkeley DB 1.85 (Hash, version 2, native byte-order)
-
lostpacket
dump it? blacklistctl dump | sort -k3 -n
-
AmyMalik
lostpacket, yeah for me it was just a zero byte file
-
lostpacket
I was testing that this week with postfix, shame dovecot doesn't support it
-
AmyMalik
you could make it support it
-
lostpacket
ended up writing something in rust to handle Dovecot brute force stuff
-
nxjoseph
thermos, hi, what's up
-
Demosthenex
arg, anyone have a shortcut to send a tone or beep to audio output (not bell, not pc speaker). i want my script which is changing audio devices to play a sound to confirm it ran
-
scottpedia
Demosthenex: if you are on mac you can use the say command to use the builtin tts engine
-
AmyMalik
scottpedia, this is #freebsd, your comment is not useful.
-
nimaje
(but why would the question be here when it is about mac? I assume it is about freebsd)
-
AmyMalik
Demosthenex, in the most minimal case you could conceivably cat a short u8 8000hz mono PCM file to /dev/dsp
-
AmyMalik
but i don't know if that would Actually Work™.
-
ivy
Demosthenex: beep(1)
-
Demosthenex
ivy: that's for pc speaker or local bell isn't it?
-
Demosthenex
i was thinking sox | play maybe
-
Demosthenex
i didn't want to save an external file, just the shell script
-
ivy
Demosthenex: no, it's for your audio device
-
ivy
DESCRIPTION
-
ivy
The beep utility is used to play a beep on the sound card.
-
AmyMalik
local bell is /dev/speaker, apparently going away in 16
-
Demosthenex
yeah! i can specify the dsp, that'll work
-
Demosthenex
i use virtual_oss to multiplex my audio, local speaker, headphones, and a usb mic port
-
Demosthenex
i have devd autoswap on device detection, and it resets the mixer
-
Demosthenex
just... lacking a way to indicate that hte script ran
-
Demosthenex
ty! works great. now when i change audio devices, i get 3 beeps across 3 seconds. perfect
-
dvl
A large number of class C address spaces were blocked from FreshPorts today. If you can’t get to the website, please let me know.
-
scottpedia
AmyMalik: okay man
-
AmyMalik
1. how have i not managed to block highlights from you 2. in what country is someone named «Amy» more likely than not to be a man?
-
scottpedia
I apologize for my misuse of language AmyMalik
-
AmyMalik
you don't even get that right. eat an ignore.
-
scottpedia
I apologize even more
-
AmyMalik
pax.
-
phryk
i just had a freebsd-update -r … upgrade fail because the partition ran full. the partition is just 4.4G and most of that is taken up by /var/db/freebsd-update/files – can i just clear out /var/db/freebsd-update and restart the process?
-
phryk
freebsd-update far as i can tell from the man page has no command to clear cache/metadata or whatever this is.
-
phryk
alrighty, found
forums.freebsd.org/threads/is-it-sa…n-var-db-freebsd-update-files.45204 seems to be safe. i'll just clear it out and nullfs mount a location from a bigger filesystem. :)
-
vkarlsen
I have deleted everything in there many times, never had any issues
-
raja
Hello, I installed FreeBSD 15.0, unable to get sound working, can someone please help ?
-
rtprio
what have you tried/ how have you diagnosed?
-
raja
Hello @rtprio , Thank you for responding.
-
AmyMalik
raja, Please describe your computer. Make and model may be enough, but for best effect put the output of `pciconf -lv` into
paste.debian.net or another pastebin of your choice.
-
AmyMalik
The content of /dev/sndstat is also of interest to us.
-
CrtxReavr
AmyMalik, WTF would you suggest a debian paste site in a FreeBSD channel?
-
AmyMalik
CrtxReavr, it's simply the one in my brain's cutbuffer right now.
-
AmyMalik
a pastebin is a pastebin, it's sorta fungible.
-
raja
here is the pastebin link:
pastebin.com/UyNdRRAc
-
CrtxReavr
bpaste.net is add/tracking free, run a LiberaChat user, who also develops the software it runs on (pinnwand).
-
rtprio
then get it in the topic
-
raja
I have installed pulseaudio, and via mixer I can see all the sinks and while playing something I can see the default sink mixer animation that its receiving audio, but I cant hear anything
-
CrtxReavr
I'm not following a URL with ads and trackware.
-
AmyMalik
CrtxReavr, Then kindly leave the discussion.
-
AmyMalik
The needed information has been rendered, you can choose to access it, access it in a browser with adblock, or not access it.
-
raja
let me move the content to suggested pastebin if it improves the readability.
-
AmyMalik
raja, What is the output of the command `mixer`?
-
raja
bpa.st/6VJA -- previous output
-
raja
@AmyMalik, ```test```
-
raja
@AmyMalik, 1 sec
-
raja
-
AmyMalik
ats aren't required to highlight peopl, and most IRC clients don't support markdown
-
raja
noted. Thank you.
-
AmyMalik
this is gonna sound a bit facile, but: are your speakers plugged in?
-
raja
Yes, it was working earlier. I had to reinstall as I messed up my setup on dualboot. The speakers were working earlier.
-
AmyMalik
are you doing anything special with your audio setup in your PC case?
-
raja
I forgot to take notes on how I resolved that issue earlier and now blocked.
-
raja
No. just installed pulseaudio, made sure its started.
-
CrtxReavr
irssi supports *BOLD* - though a single set of *s in markdown is actually for itallics.
-
AmyMalik
Do you need pulseaudio?
-
AmyMalik
Does some application you use not work without it, even on FreeBSD?
-
raja
No not like that, by default it didnt worked, so I googled and installed pulseaudio.
-
raja
shall I remove pulseaudio and give a try with plane vanilla mode ?
-
AmyMalik
yes
-
raja
Ok.
-
AmyMalik
or more correctly you should shut down pulseaudio
-
AmyMalik
it doesn't need to be uninstalled
-
AmyMalik
if the audio subsystem is working `beep -F 900 -D 250 -g 90` should play an unpleasantly loud, high pitched beep. the `beep` command only works directly with OSS.
-
AmyMalik
is it possible you were setting some obscure sysctls under `dev.hdaa` in the previous installation?
-
AmyMalik
I had to do that to make my audio work, although I have a somewhat special setup. I didn't have to do any of that on my laptop.
-
mzar
pulseaudio, portaudio, alsa, pipewire - all of them can coexist in FreeBSD system, but you guys probably need virtua_oss
-
mzar
virual_oss*
-
rwp
Demosthenex, I know you have the problem solved now but I would have suggested the "beep" command as it is in FreeBSD base.
-
mzar
IHMO the best duo for FreeBSD desktop is virtual_oss + pulseaudio
-
AmyMalik
that's all well and good
-
AmyMalik
but right now it's not a matter of having the slickest setup, but a matter of getting things working at all in the first place
-
rwp
We used to have a dedicated FreeBSD pastebin mentioned in the /topic but it suffered bitrot and isn't available anymore. Which leaves us scrambling for any pastebin that will work in a storm.
-
mzar
:O
-
AmyMalik
Hence the debian pastebin reco.
-
rwp
Agreed. It's one of the better ad-free freedom supporting ones. Because pastebin.com is covered in advertisements (which one might not see if using ublock origin). So most of us avoid pastebin.com and use other pastebins.
-
CrtxReavr
IT used to be the simplest way to test audio functionality in FreeBSD was to grab a .au file and cat it to. . . I think it was /dev/dsp
-
AmyMalik
Yes, dev/dsp. It's OSS.
-
CrtxReavr
I don't see a /dev/dsp though. .
-
CrtxReavr
I see hdac0@pci0:0:27:0 which should identify the bound driver.
-
CrtxReavr
hdac0: <Intel Cougar Point HDA Controller> mem 0xf7920000-0xf7923fff irq 22 at device 27.0 on pci0
-
AmyMalik
I have a /dev/dsp on my desktop, which is currently playing musicpd via pulseaudio, which is talking to JACK, which is ultimately talking to /dev/dsp5.
-
AmyMalik
It's... convoluted. Trust me, I know what I'm doing.
-
CrtxReavr
Why don't I have a /dev/dsp though?
-
AmyMalik
Does `ls /dev/dsp` say anything?
-
CrtxReavr
Okay that's weird. . .
-
CrtxReavr
There's no /dev/dsp, but if I type 'ls /dev/dsp' it lists /dev/dsp0.2
-
CrtxReavr
They're clearly changed how the kernel addresses /dev/ for certain devices.
-
AmyMalik
i.. whut?
-
rtprio
`ls /dev/dsp*`
-
CrtxReavr
Anyways the old 'fetch
kernel.org/pub/linux/kernel/SillySounds/english.au && cat hello.au > /dev/dsp' test still works.
-
AmyMalik
I should issue my own set of test sounds, maybe.
-
rtprio
CrtxReavr: typo there
-
Demosthenex
what about /dev/sndstat?
-
AmyMalik
Demosthenex, We already tried that; it established that the audio hardware is detected
-
CrtxReavr
rtprio, typo where?
-
rtprio
i have a hardware mute which is completely transparent to freebsd (on my x1 carbon)
-
AmyMalik
CrtxReavr, english.au != hello.au
-
rtprio
CrtxReavr: you fetch english but then pipe hello
-
AmyMalik
radhitya, if you have a hardware mute button or an Fn-combination that mutes, try pressing that
-
CrtxReavr
Oh - yes. . . I'm remembering the original hello.au file that was at the root of
ftp://ftp.kernel.org/pub
-
CrtxReavr
It was just an easy to grab .au file - not so easy anymore.
-
mzar
virtual_oss_enable="YES"
-
mzar
virtual_oss_dsp="-S -i 8 -C 12 -c 6 -r 48000 -b 32 -s 512 -O /dev/dsp2 -R /dev/dsp4 -c 2 -d dsp -c 12 -d vdsp -t vdsp.ctl"
-
mzar
there was excellent wiki page by late H.P. Selasky - but it's gone
-
mzar
virtual_oss is part of FreeBSD 15 and later, for earlier version there is a port
-
AmyMalik
-
mzar
there is also hw.snd.default_unit sysctl knob, but let me recommend this virtual_oss, it nice piece of software, the project was started by hselasky@ , now christos@ is working on this
-
AmyMalik
default_unit is already set correctly for raja, who since left
-
CrtxReavr
He ragequit and is installing kubuntu.
-
AmyMalik
oops
-
mzar
hhe..
-
AmyMalik
well that was bad... i sent guitar.au to /dev/dsp and it just squealed
-
CrtxReavr
Maybe that's what it's supposed to sound like?
-
CrtxReavr
-
AmyMalik
it is not. it's supposed to be a reasonably anodyne guitar riff (three notes)
-
AmyMalik
let me try..
-
AmyMalik
CrtxReavr, yeah that just produces static
-
CrtxReavr
english.au: Sun/NeXT audio data: 8-bit ISDN mu-law, mono, 8000 Hz
-
AmyMalik
... i probably need to invent a player or something
-
CrtxReavr
It works here.
-
mzar
I remember that I was looking for a solution that would allow me to use one device for recording and a different one for playback. This was during the COVID period and I posted such a question on the mailing list. Hans responded recommending virtual_oss. It’s indispensable when you have multiple input devices and multiple output devices
-
phryk
freebsd-update install took forever… like half an hour per call. and i had to update 3 base systems. :F
-
wavefunction
phryk: Are they on 15 now?
-
phryk
14.3
-
wavefunction
ah. If you go 15, you can do pkg based installs :-D
-
phryk
pkgbase is becoming the default?
-
DaliborFox
but only after you're on 15; upgrading from 14.3 to 15 with pkgbase is currently broken
-
wavefunction
No, but it's available, and fast, once you're on 15 - what DaliborFox said
-
phryk
aye, i'll keep that in mind for the next upgrade.
-
» wavefunction is currently running 15 with pkgbase.
-
wavefunction
Hopefully everything stays working! <crossed fingers>
-
phryk
best of luck with that^^
-
DaliborFox
One thing that required manual migration for me was kerberos, 15 switched from Heimdal to MIT, so that's something to be aware of. There thankfully are instructions for the migration, but you might end up needing to pull up a 14.3-CURRENT chroot for it
-
DaliborFox
or was it -STABLE?
-
phryk
I don't think I use kerberos.^^
-
DaliborFox
One less thing to worry about then! I use it for encrypted NFS, as I use my FreeBSD system as a NAS
-
rtprio
anyone with config management? do you manage your /etc/pkg/freebsd.conf or /usr/local/etc/pkg ?
-
mzar
rtprio: /usr/local/etc/pkg/repos/*.conf
-
rtprio
yes, do you manage them?
-
rtprio
mzar: for reference, config management is one of: puppet, chef, ansible, salt, etc
-
format_c
Hi, I've installed FreeBSD with lib32 selected. Now I face issues with compiling/linking software.
-
format_c
ld: error: /usr/lib32/libform.so is incompatible with /usr/lib/crti.o
-
format_c
I strongly assume this is because of the 32/64 bit clash.
-
format_c
Is there a way to get rid of the 32-bit libs w/o completely reinstalling FreeBSD?
-
rtprio
are you linking existing 32bit libraries?
-
format_c
its a software I compile using clang
-
format_c
The software uses ncurses and the pre-installed libraries are 32-bit and cannot be linked against the software which has been compiled in 64-bit mode
-
format_c
ld: error: /usr/lib32/libform.so is incompatible with /usr/lib/crti.o
-
rtprio
you should have a 64bit one in /usr/lib/libform.so
-
format_c
% find /usr/lib /usr/local/lib /usr/lib32 -name libform.so
-
format_c
you're right.
-
rtprio
do you have a bogus `-L /usr/lib32` in your makefile or some such
-
format_c
OK I've to try to recognize the library in /usr/lib during configuration.
-
format_c
Thanks for the hint.
-
format_c
Seem to be a detection issue when configuring using cmake.
-
hodapp
wooo successfully running a Docker container on Podman on FreeBSD \o/
-
format_c
rtprio, but back to my initial question. Is it possible to remove the 32-bit libraries properly w/o re-installing?
-
rtprio
if you used pkgbase, you can just remove those packges
-
rtprio
otherwise, i don't see why you couldn't just rm -rf your lib32 directory
-
format_c
Thanks rtprio
-
ant-x
format_c, is this about FreeBSD 15?
-
format_c
ant-x, I've upgraded to 14.3 for now. Not yet 15.0
-
ant-x
format_c, so have I. 15.0 has no 32-bit, (unfortuntaly for me), so I asked in the hope you somehow got 32-bit libs on v. 15.
-
format_c
I've noticed the drop of i386 architecture on 15.0 as I'm right now installing and building custom kernel on a Intel Atom equipped Netbook