-
phryk
how the hell is it that mixer has to be invoked to set recording device again?
-
phryk
man says "=rec <recording device>" but doesn't say what a recording device looks like.
-
phryk
tried just using mic, but the output of that is even more confusing…
-
phryk
mixer: unknown recording device: mic
-
phryk
devices: vol, pcm, mic
-
phryk
like, "I don't know what mic is, but maybe you want to choose mic" :F
-
xtile
Interesting. Does 'mic' show up when you try 'mixer' and 'mixer -?'
-
phryk
also, "mixer recsrc" gives me nothing at all – and this is a soundcard that's essentially just 2 big XLR ports for mics and a few knobs… recording is literally what it's intended and designed for…
-
xtile
Oh, that makes me think you're set to use a different audio device. What does 'cat /dev/sndstat' show?
-
phryk
yes, tho "mixer -" isn't a valid command?
-
xtile
I said 'mixer -?' with question mark included :3
-
phryk
i did the sysctl thing to set it to the right one. i can play back on headphone out of the card.
-
xtile
aha
-
phryk
mixer: No match.
-
xtile
Oh, you're probably using csh, my example wasn't very good
-
xtile
sorry, lemme think
-
phryk
i also have fish, bash and the preinstalled ones like tcsh on this system. but all of those don't seem to handle this -? thing right
-
xtile
The point is to get mixer's error message, which does include a list of rec devices as the last line
-
phryk
yeah, including the one it didn't recognize.
-
phryk
devices: vol, pcm, mic <- pretty sure you're talking about this.
-
phryk
these are also the things a blank call of "mixer" shows.
-
» xtile nods
-
phryk
this kinda looks like there's two different ways mixer queries for what it calls "devices" tbh…
-
xtile
I guess I have no idea how to solve it. You should probably paste the output of the six commands I've pasted here for my machine
dpaste.com/7F3R8P8U3.txt
-
xtile
Maybe someone else can help, then :D
-
phryk
paste.xinu.at/scr <- uname, sndstat, snd.default_unit, mixer
-
VimDiesel
Title: stdin
-
xtile
interesting, it doesn't see mic as a recording device
-
phryk
yeah, but i already tried "mixer +rec mic", too and get the same confusion from mixer… "i don't know mic, i just know vol, pcm and mic" ^^
-
phryk
oh, maybe important context: this worked before. but i yanked the volume with mixer up to 100 for pcm and vol and got extremely jarring distortion. unplugged the card while some process was still using it and couldn't get it recognized (because mixer10, possibly others weren't removed when i unplugged the card) and tried "kldunload snd_uaudio" at which point my machine spontaneously rebooted.
-
phryk
after reboot, the distortion is gone, but no signal for recording. i can still hear the mic in on the headphone out of the card itself tho – that's done without roundtrip through the pc, apparently
-
phryk
adjacent question: how do i remove a usb soundcard "safely"?
-
CyberCr33p
hello
-
CyberCr33p
MAKE_JOBS_NUMBER=1 and DISABLE_MAKE_JOBS="yes" on /etc/make.conf have the same result, right?
-
meena
CyberCr33p: test it. set DISABLE_MAKE_JOBS="yes" and see if it results in make -j1
-
CyberCr33p
meena yes it's the same
-
meena
CyberCr33p: cool!
-
Kalten
phryk: removing safely more or less means, calling sync (which is only for file systems to tell them, to write from cache to the medium) and switching power off. The latter is not really needed, as the electric mass on USB is longer, and all should work fine. Hence: a USB sound card should not be damaged in any way by just unplugging it. And
-
Kalten
FreeBSD should be able to handle this without being warned too.
-
debdrup
phryk: you need to ensure that no application has /dev/dsp* open before removing a soundcard
-
Kalten
Interesting point. Such an applikation would likely crash :-)
-
mason
Trying to run debootstrap to install Debian bullseye in a jail dataset, it dies with: mkfifo: cannot set permissions of '/run/initctl': Bad file descriptor
-
mason
Are there known issues with fifos and Linuxulator?
-
meka
mason: if it's inside jail, maybe jail config is to restrictive?
-
mason
meka: Wasn't in a jail yet - I ran it as root from the base system. This was just initial prep.
-
meka
ah, I get it. My bad
-
mason
No worries.
-
mason
brb, errand, but I'd love to explore more ideas if they bubble up
-
meka
I do have ubuntu chroot, though
-
meka
-
VimDiesel
Title: meka - Goran Mekic - hacker and a musician
-
ktw
morning town!
-
ktw
oh crap wrong channel. morning anyway, all of youse
-
mason
meka: Useful blog, thanks.
-
meka
mason: you're more than welcome and thank you!
-
pertho
meka: does sound work yet in Linuxulator? Seems broken in 13.1.. guessing it will be fixed in 14.0?
-
pertho
video does work
-
ghoti
pertho: his blog post above mentions that it does.
-
pertho
well, pavucontrol picks up on the mic.. and sound playback works.. but signal messenger doesn't even after selecting the internal mic
-
pertho
but I think the biggest issue is the calls (sending/receiving) don't work. some sort of NETLINK system call issue
-
meka
pertho: that's my experience, too. For example slack, I can hear notifications, but calls don't work
-
gustik
so, I just came by interesting observation, I have 2 FreeBSD instances running dovecot and they run in multimaster mode, so they replicate their stuff, I create a file on one and it gets replicated to another, in this example it's sieve. Now the interesting observation is that it not only replicates from A to B but it also sets the birth and ctime accordingly, even worse, the replica is sooner than the
-
gustik
original, so is there a way to tell the OS to create a file using specific dates for creation and birth ( actually falsifying them ) ?
-
otis
nazdar gusto. man utimensat?
-
gustik
dockaj
-
otis
you can set ctime/mtime/atime (even with touch)
-
gustik
For
-
gustik
file systems that support file birth (creation) times (such as UFS2), the
-
gustik
birth time will be set to the value of the second element if the second
-
gustik
element is older than the currently set birth time.
-
gustik
vyzera to byt ono
-
gustik
setting ctime with touch?
-
gustik
I know about atime and mtime, ( man ) but to my knowledge not ctime
-
otis
(ok, no ctime with touch, but mtime yes)
-
gustik
seee
-
mason
gustik: Have you verified time on the boxes?
-
gustik
yes
-
gustik
both boxes are synced with NTP
-
gustik
that was my first idea
-
gustik
but now it becomes clear with this utimensat he can modify all times, and it looks like the replica is taking over the original time and when it's done, the original overwrites his time with a later time (usually one or several seconds off) ... maybe to mark that sync was successful
-
Kalten
mtime…modifie time, atime…access time, ctime…?
-
gustik
creation time
-
gustik
or change time
-
gustik
creation is birth
-
gustik
on linux both same
-
meena
gustik: sounds like a dovecot question. it you check the source
-
meena
it's create, or, as we say in Unix: creat(2)
-
gustik
yes, no one is home there, however, it's more unix related since the question was more about if an app is even allowed to do that
-
Kalten
are you sure? stat(2) states st_atim access, st_mtim modified, but st_ctim status change
-
meena
gustik: sure. look at the awful crimes rsync does. even curl will set the create time of a download to when the Webserver says it was created
-
meena
(if it does that)
-
gustik
yes, as long as nothing prevents them from doing so
-
Kalten
no: stat(2) states st_birthtim Time when the inode was created.
-
gustik
I see that it's even with utime(), ppl ask with stat() and then just copy that value by "=" to utime(path).modtime (or creation time)
-
cracauer
One but only one of my -current machines refuses to ssh auth for localhost with the agent. `ssh localhost ls` asks for a password although the agent is there and the right keys inside. Any ideas?
-
meena
cracauer: anything in the logs? any libs wonky or missing?
-
cracauer
Logging into this machine not from localhost works fine with the same keys.
-
cracauer
Let me check logs and then run sshd in debug mode.
-
cracauer
Nothing new. Just says that it rejected all 4 keys in the agent. /shrug
-
pedahzur
Howdy! I'd like to acquire some FreeBSD stickers for my laptop. Of course Googling `freebsd stickers` gives me lots of options. Is there an "official" location whereby I might support the project with my purchase?
-
meena
pedahzur: is there anything linked from freebsd.org or freebsdfoundation.org ?
-
meena
(if not, then the answer is: no)
-
pedahzur
meena: I see marketing stuff and artwork, but no "buy stickers here" kind of link. :)
-
meena
then, I'm afraid, you have your answer
-
meena
(but I'll happily take several hundred per year in (virtual) Hardware to support
alpha.pkgbase.live )
-
VimDiesel
Title: Unofficial FreeBSD pkgbase repository
-
pedahzur
Bummer.
-
meena
if i add devil's horns to that package logo, i can drop the Un in Unofficial. Right? Right?
-
gustik
well, looks like utime indeed can only updated atime and mtime (and that in turn updates ctime), but it can not go back in time and falsify ctime, that's where utimensat comes in place
-
gustik
from what I understand, utime only can see a struct/tuple of atime and mtime (and that's how it can overwrite them) but those new nanosecond utilities seem to directly write into the filesystem struct, so that's how it can falsify any timestamp
-
gustik
eh, again wrong
-
V_PauAmma_V
-
VimDiesel
Title: Product Details
-
pedahzur
V_PauAmma_V: Thanks!
-
V_PauAmma_V
There's also a bumper sticker, if you own a car.
-
gustik
because the nanosecond functions are also a tuple of 2 objects, he only fakes the birth time when mtime is older than birth (exactly like stated in the man page)
-
hjf_
hi. i run pkg upgrade on a jail that had Zoneminder installed. it upgraded php 8.0 to php 8.1, but the version of zoneminder available is only compatible with 8.0. how can i force it to install php 8 instead?
-
gustik
meena: so your rsync example would not be rsync but the OS itself, since rsync sets the mtime (correctly) to a date that is older than its birth and then he goes according to specified behaviour and fakes birth according to mtime
-
gustik
so I think we have solved it
-
Kalten
gustik meena: stat(1) shows all versions well: `stat -f "%Sa | %Sm | %Sc | %SB | %N" somefile` (or without `S` for Unix time stamps).
-
gustik
stat only shows it, we were talking about modifying them. Of course I am using `stat -x` in order to check the results
-
V_PauAmma_V
hjf_, see pkg-lock(8). (You may have to choose between PHP 8.0 and 8.1 though.)
-
Kalten
Mainly I ment, we can check the meanings well using stat(1) (including that c is changing e.g. the file flags, not the creation time, but b…birth ist the creation time). `stat -x somefile` is good, but does not show birth-time (%SB)
-
gustik
do `stat -x | tail -n 1`
-
AReal486
How is APFS support in Linux? I'm trying to grab some files from a Mac Mini that refuses to boot.
-
AReal486
I think it may be corrupted as plugging it into another Mac doesn't work - the Mac doesn't like it.
-
AReal486
Specifically for Ubuntu 22.04 LTS
-
AReal486
opps, thought i was in #linux
-
rtyler
I am struggling to get two vnet jails talking to one another, they're both on the same machine, but attached to two different if_bridge(4) interfaces. I'm hoping I've just got some stupid pf rule missing that somebody might be able to help with
-
hjf_
V_PauAmma_V: i did pkg lock php 8 but it insists in installing php 8.1?
-
meena
hjf_: in parallel? or to replace the other?
-
meena
rtyler: what's your config look like?
-
rtyler
-
VimDiesel
Title: jail.conf · GitHub
-
rtyler
meena: on an old build of this system, I had this structure more or less working, but I cannot find a copy of my old pf.conf, which is where I am _pretty sure_ I was allowing the interconnect