-
polarian
I can't seem to get firefox working with sndio... I set sndio in about:config as media.cubeb.backend=sndio and restarted firefox, and about:support says the backend is sndio
-
polarian
but yet there is no audio output when I try to play video
-
polarian
chromium which uses sndio by default, works just fine
-
polarian
any ideas?
-
saper
hm, I use pulseaudio atm
-
polarian
I dont want to handle both sndio and pulseaudio
-
polarian
it seems most things use sndio (plus its more minimalist)
-
rennj
apulse perhaps...i use it on linux..
-
rennj
im still old alsa/asound..use apulse for pulseaudio stupid
-
rennj
course probably linux specific
-
rennj
PulseAudio emulation for ALSA. yeah...figures
-
polarian
maybe sndiod is needed for firefox to work...
-
polarian
hmm
-
polarian
what I am reading is that firefox is compiled with pulseaudio support and the only way to reliable change it is to recompile the port yourself using the sndio flag
-
rennj
-
VimDiesel
Title: Sound - FreeBSD Wiki
-
rennj
oss in the end i think..
-
polarian
ah I will try oss
-
rennj
Open Sound System used long time ago on solaris also
-
polarian
the problem is I dont want multiple sound systems to worry about
-
polarian
if I set the volume of one
-
polarian
I dont want a different volume for another
-
polarian
plus if I mute one, I dont want another to still be unmuted
-
polarian
imagine being in a lecture using firefox and forgetting to mute pulseaudio because you normally use sndio for everything else...
-
saper
oss is the "real" interface (/dev/dsp* devices), check /dev/sndstat text file for info on devices, but sndio/pulseaudio use OSS
-
rennj
set it and forget it! --Ron Popeil
-
saper
polarian: is pulseaudio process running when you start to play audio on firefox?
-
polarian
saper: yes
-
polarian
but I changed the backend from rust-pulse to sndio
-
polarian
oh interesting
-
polarian
setting pulseaudio volume doesn't affect sndio
-
polarian
butttt... setting sndio volume using mixer(5) does affect pulseaudio
-
saper
I didn't get sndio to run with chrome and firefox so pulseaudio it is now
-
polarian
chromium depends on sndio too
-
polarian
so I have to pull both audio frameworks in order to use firefox and chromium
-
rennj
why i do everything in vmware-vmx, and host os is just for running vm's
-
rennj
freebsd bhyve got nice benchmark results
-
polarian
you virtualise your desktop?
-
polarian
that must be painful
-
polarian
the latency :/
-
rennj
i game in win10 vm's
-
rennj
this is vm
-
rennj
those pics of amiga where vmware-vmx one of them anyway
-
polarian
how do you game in vms
-
polarian
the latency is so noticable
-
rennj
-
VimDiesel
Title: Proxmox vs FreeBSD: Which Virtualization Host Performs Better? - IT Notes
-
rennj
no its not
-
polarian
adults actually play video games
-
polarian
thought that was just under 18s
-
saper
polarian: I got chromium and firefox both to work with pulseaudio, without recompiling
-
rennj
imgur.com/L0NdwRO old gaming vm win10 consoles
-
polarian
Rue: those are some olddd games
-
rennj
and thats my old amd 4core/4thread laptop, this 8core/16thread smokes it
-
polarian
saper: what if I want to use sndio not pulseaudio :)
-
rennj
portal 1 and 2 ?
-
rennj
risk of rain1
-
rennj
Guns, Gore & Cannoli is not old
-
rennj
imgur.com/1psrhvL 67days 4vm's 2022
-
rennj
and once again old craptop 4core/4thread amd
-
rennj
new laptop 8core/16threads
-
saper
polarian: feel free to troubleshoot yourself
-
rennj
freebsd bhyve probably could build nice setup..
-
polarian
saper: the whole reason I was asking about it is that when I set the backend to sndio firefox produces no sound
-
saper
for pulseaudio, I could give you some working commands to check
-
polarian
it works fine under pulseaudio backend
-
rennj
host os and guest vm's..seperation of things...
-
rennj
jails light weight or go full blown heavy os vm's
-
rennj
baremetal os, juggle jails/vm's. compartmentalize.
-
rennj
compartmentalize - To separate into distinct parts, categories, or compartments.
-
rennj
i have decade old vm's ..my freebsd 5.4 vm is ancient..
-
rennj
ran on baremetal 333mhz/384MB celeron m @ 1 time
-
rennj
dump/restore into vmware..from baremetal to vmware..back in the day.
-
polarian
I got lost like...
-
polarian
ages ago lol
-
rennj
a future project for you
-
saper
rennj: SmartOS is a bit like that, designed to run from a read-only USB stick, creating VMs and zones (jails) on ZFS
-
rennj
yes, joyent smartos they got bought
-
rennj
solaris foo
-
rennj
oxide computer
-
rennj
oxide.computer same people same foo
-
VimDiesel
Title: Oxide Computer Company
-
rennj
-
VimDiesel
Title: SmartOS - Wikipedia
-
rennj
pkgsrc!
-
rennj
-
VimDiesel
Title: SmartOS in 2021
-
rennj
but they where bought i know that..wikipedia doesnt have info
-
rennj
On April 11, 2022, Joyent announced that MNX Solutions would be taking over the Triton DataCenter technology suite.[39]
-
rennj
-
VimDiesel
Title: Joyent - Wikipedia
-
rennj
-
VimDiesel
Title: A New Chapter Begins for Triton and SmartOS | Triton DataCenter
-
rennj
meh, freebsd has same tech
-
rennj
jails, bhyve, zfs
-
rennj
vs linux/kvm/qemu or proxmox distro
-
rennj
promox is just lxc and kvm/qemu...
-
saper
any idea why pool/ROOT/default boot environment mounts itself over / although pool/ROOT/13.3 is selected (and mounted as / first)?
-
saper
(13.3 is marked as R with bectl list)
-
saper
I found smartos very interesting, it is solaris but quite unlike one. all readonly, very small root, not much space to install anything, just launch vms to do _anything_
-
saper
(and vm/jail management tools are written in nodejs which is part of the base)
-
rennj
yeah i build usb keychain, load os into ram, remove keychain...i have just enough os to bring up gui/x11/vmware-vmx
-
rennj
current os is 597MB.iso..on keychain
-
saper
rennj: exactly that's the way
-
rennj
my last os was 350MB.iso
-
rennj
yeah but i was doing it before them
-
rennj
heh
-
rennj
they got fancy foo...virtual switch, san foo
-
rennj
like vmware does
-
saper
wasn't first vmware esx on a diskette :)
-
rennj
vswitch, vsan
-
rennj
no vmware was vmware on linux,windows,and freebsd
-
rennj
in fact vmware 1,2,3 in ports
-
rennj
and that was before intel/amd added ring -1 vm foo
-
rennj
vt-x and amd svm
-
rennj
let alone iommu/vt-d
-
rennj
like the cpu's didnt have the tech
-
rennj
vmware use to eat the whole cpu..back in the old days
-
saper
I think even xen needs ept these days
-
rennj
Bo Burnham - Welcome To The Internet
-
rennj
Could I interest you in everything all of the time? A little bit of everything all of the time?
-
rennj
-
VimDiesel
Title: Second Level Address Translation - Wikipedia
-
rennj
Extended Page Tables (EPT) is an Intel second-generation x86 virtualization technology for the memory management unit (MMU).
-
rennj
Unix, Linux, OS/2, Windows NT are considered modern OS's as they switch the CPU into protected mode at startup, never return to real mode and provide all of the benefits of protected mode all of the time. 64-bit operating systems use real mode only at startup stage, and the OS kernel will switch the CPU into long mode.
-
rennj
48-bit physical addresses and so can address up to 256 TB of RAM.
-
rennj
-
VimDiesel
Title: Long mode - Wikipedia
-
rennj
i know intel did the 5 level tlb lookup
-
rennj
-
VimDiesel
Title: Translation lookaside buffer - Wikipedia
-
rennj
-
VimDiesel
Title: Intel 5-level paging - Wikipedia
-
rennj
from 48 bits to 57 bits by adding an additional level to x86-64's multilevel page tables, increasing the addressable virtual memory from 256 TB to 128 PB. The extension was first implemented in the Ice Lake processors
-
polyex
i thought the toor account was removed in 14.x? i see it in pw user show -a
-
polyex
14.1
-
kevans
polyex: no toor is still there in main
-
polyex
really sure i read it was going
-
kevans
-
VimDiesel
Title: ⚙ D40565 Remove toor backup account
-
lw
you can make your own reality by forking freebsd and removing toor
-
kevans
I think at this point if ed wants to rip it out he's going to need to get so@ to declare it a security vulnerability in itself
-
lw
do not be bound by what you imagine to exist
-
kevans
which there is some precedent for
-
polyex15
so /etc/jail.conf glob includes whatever's in /etc/jail.conf.d/*.conf, and those conf files can include big wads of common config between jails! even config using vars and stuff works omg!
-
polyex15
before 14.x only /etc/jail.conf would include. the jail.conf.d/*.conf files wouldn't include
-
polyex
the depend directive works in jail configs now too wooooo
-
sopparus
hello
-
sopparus
anyone had any issues with unifi controller since last update? i cant connect to it and it doesnt log to /var/log/messages
-
sopparus
running in a jail
-
sopparus
it COULD be something with 14.1 which i just installed but I think its the port upgrade
-
rafe
sopparus, it's likely the upgrade to MongoDB60
-
sopparus
ok, do you know where i can see any logs?
-
sopparus
ive checked all of /var/log
-
rafe
279029 – net-mgmt/unifi8: switch MongoDB dependency from 5.0 to 6.0
-
sopparus
yeah i noticed that too
-
rafe
whops
-
rafe
meant to paste this
-
rafe
-
VimDiesel
Title: 279029 – net-mgmt/unifi8: switch MongoDB dependency from 5.0 to 6.0
-
rafe
I don't think it's running properly, because it can't access the db
-
rafe
I rolled back to the earlier version, changed the feature version compat of the db, per that bug report, and then upgraded again
-
rafe
that fixed it for me
-
sopparus
ok, so i cant do it on 6.0 directly?
-
sopparus
hm i dont have the "mongo" command
-
rafe
unfortunately, I don't know how, but I'm no MongoDB expert
-
sopparus
is it part of mongodb-tools perhaps
-
sopparus
no..
-
rafe
also, mongo does not log to /var/log, it logs to /var/db/mongodb/mongod.log
-
sopparus
thanks
-
sopparus
may I ask what client did you use?
-
rafe
sorry?
-
sopparus
for mongodb
-
rafe
I rolled back to mongodb50
-
sopparus
but how did you change the feature version compat then?
-
rafe
Okay, so I upgraded unifi, which bumped it from 5.0 to 6.0
-
rafe
realized that it couldn't read the db
-
rafe
removed 6.0 and reinstalled 5.0
-
rafe
The db ran fine under 5.0
-
rafe
so I could bump the feature compat of the db when running 5.0
-
rafe
after that, I could upgrade both unifi and mongodb
-
sopparus
got it thanks, but to bump the feature compat one needs to connect to mongo db with a client right?
-
sopparus
from that bugs page, mongo --port 27117
-
rafe
yeah, that command ran fine under mongodb50
-
sopparus
ah, I see. thanks
-
rafe
👍
-
sopparus
yeah I got the command mongo available now, but it looks angry
dumpinen.com/fXigLWiWCCL :)
-
rafe
So I started up unifi under the old version
-
sopparus
yep, ive done that and it works
-
sopparus
but cant access mongodb with "mongo"
-
rafe
as root?
-
sopparus
yep (in jail)
-
sopparus
the client seems to segfault
-
rafe
it states there's a memory lock issue
-
rafe
-
VimDiesel
Title: UNIX ulimit Settings - MongoDB Manual v7.0
-
sopparus
hm found somethng
-
sopparus
yes now it works, allow.mlock; in jail config solved it
-
sopparus
yeah all is good now, thanks alot rafe
-
rafe
happy to help
-
LeFrog
Hello guys, i need some help, is there anyone here who is really good with pf and wireguard?
-
polyex
think i maybe found a bug in 14.1 jails
-
polyex
i have 4 jails. 1 depends on 2. 2 depends on 3. and 4 depends on 3. they all start and run fine if i remove the depend directive, but having it in, jail 2 fails to start because jail 3 is already running
-
polyex
can't depend handle multiple dependents of the same jail?
-
polyex
only way i can let a user in a jail run tcpdump is in /etc/rc.local i chgrp /dev/bpf* and chmod g+r g+w it. problem is daemon running tcpdump is started before rc.local is run. how can i do it better?
-
lw
didn't i give you the devfs thing for this or was that someone else
-
lw
-
polyex
lw ya i tried it but remember the /etc/devfs.conf part doesn't persist changes?
-
polyex
in a jail
-
polyex
only solution to even get it working at all was putting it in /etc/rc.local
-
lw
idk jails are dark magic
-
dch
sopparus: the unifi8 mongo upgrade was seamless for me, sorry
-
dch
polyex: I guess you can try running tcpdump from the host, the interface should be visible there, no?
-
polyex
dch no i need the jail to be isolated from host and not blend the 2
-
dch
polyex: aah its a vnet one?
-
polyex
ya
-
dch
and /etc/devfs.conf should be persistent, I use it here all the time.
-
polyex
in the jail?
-
dch
hmm thats out of my paygrade
-
dch
so devfs is one of those synthetic filesystem things
-
polyex
i tried it and it didn't work
-
dch
I would set the permissions on the host /etc/devfs.conf instead
-
dch
and see what is in the jail on reboot
-
dch
eg `own bgf* root:network` is a good example
-
polyex
but then it needs to know the user/group info of the jail to set it to
-
dch
polyex: you can experiment with groups that are always in both, like root, wheel, operator, etc.
-
dch
but it will probably work with numeric uid/gid anyway
-
polyex
i want more independence of jail from host
-
dch
at some point a vm is more independent
-
polyex
ya this and 1 other limitation are all ive found in jails/vnet
-
polyex
mac_portacl support in vnet would be great, that's the other limitation
-
mzar
polyex: vnet support firewalling and you can limit user network access this way
-
polyex
i have pf running in the jail. that's why i want the jail user to be able to run tcpdump
-
polyex
oh you were talking mac_portacl
-
polyex
nah that sucks mac_portacl support in vnet would be better imo
-
mzar
hhe.. you have to prepare patch then, to make MAC framework VNET aware
-
polyex
there any way to make a daemon not start until after rc.local has been run?
-
mzar
polyex: sure, take a look at rcorder(8)
-
polyex
what in there talks about it? is there a way to make /etc/rc.local be a REQUIRE condition or smth?
-
polyex
oh it's "local"!
-
polyex
i have 4 jails. A depends on B. B depends on C. and D depends on C. they all start and run fine if i remove the depend directive, but having it in, jail B fails to start because "jail: C already exists". can't depend handle multiple dependants of the same jail?
-
makr
what's the difference between "sysctl hw.machine_arch" and "sysctl hw.machine"
-
saper
/usr/src/Makefile says # TARGET="machine" to crossbuild world for a different machine type # TARGET_ARCH= may be required when a TARGET supports multiple endians
-
saper
KNOWN_ARCHES in /usr/src/Makefile.inc1 lists some values
-
makr
hmm interesting
-
makr
saper: although it doesn't fully explain machine=arm64 vs machine_arch=aarch64 i think
-
saper
aaarch64 could have been named armv8, but AArch64 sees to be the name of the execution mode, so be it
-
saper
in the Sun days, you'd have sun4c. sun4u, sun4v "machines" and then sparcv7 sparcv8 sparcv9 "cpu architectures"
-
makr
saper: ah okay. i wonder if this might cause problems when armv9 is out
-
saper
I wonder who NetBSD does it, I think they simplified to just one name per "port". but this means they have multple "*arm" ones in addition to aarch64
-
saper
makr: it's out there already and it is AArch64, too :)
-
saper
--s,who,how,
-
makr
saper: ah okay :D
-
saper
makr:if you look at the kernel sources, FreeBSD also introduced "x86" directory name for the code that is common between i386 and amd64. In addition to that, you'll find /sys/amd64/amd64 as well as /sys/amd64/ia32
-
makr
saper: o_O well that's tricky
-
saper
it all makes sense, but probably you don't need to worry about it
-
makr
saper: for sure, interesting stuff though
-
makr
thanks
-
Grabunhold
I'm trying to understand whether I need the `-A` (generate ACPI tables inside the guest) option for my linux bhyve guest VMs. churchers-vm doesn't seem to use it, but it seems like a good idea?
-
Grabunhold
oh, churchers/vm-bhyve DOES use it it seems!
-
scoobybejesus
to spell out the unifi issue, you need to check that the database compatibility has been set to 5.0 before upgrading to 8.2.93 from 8.1.113. with 8.1.113 running with mongodb50, you run `mongo --port 27117` to get the mongo shell. then `db.adminCommand( { getParameter: 1, featureCompatibilityVersion: 1 } )` tells you the current ver compat, then `db.adminCommand( { setFeatureCompatibilityVersion: "5.0" } )` updates you
-
scoobybejesus
then you can upgrade to 8.2.93
-
scoobybejesus
i had to change my repo from latest to quarterly to revert back to 8.1.113, then go and do the mongo compat work, and then went back to the latest repo and everything was then fine
-
agni
hi folks
-
agni
I'm just starting with FreeBSD and I'm happily supprised
-
agni
the operational flow is like a breath of fresh air
-
agni
are the real freebsd developers here?
-
sfox
do you think I could use a loaded unbalanced antenna with an extremely high Q in place of a cavity filter?
-
sfox
the cliff of the standing wave ratio should prevent other energies from flowing
-
agni
sfox: this sounds spiritual
-
sfox
it's physics
-
agni
close enough
-
nicholaus04
Howdy, folks!
-
kenrap
nicholaus04: sup
-
polyex
i have 4 jails. A depends on B. B depends on C. and D depends on C. they all start and run fine if i remove the depend directive, but having it in, jail B fails to start because "jail: C already exists". can't depend handle multiple dependants of the same jail?
-
nicholaus04
kenrap: Nothing much.
-
kenrap
nicholaus04: cool, enjoy your stay
-
hamurabi
part
-
polyex
anyone know?
-
scoobybejesus
sounds like it will handle only the first case. you could always make D depend on A
-
polyex
nah that's garbage i just figured it out. i only had to remove jail_list from my rc.conf and NOW IT WORKS LETS GOOOO
-
scoobybejesus
often the best way to get an answer on the internet is to say the wrong thing and let people correct you
-
polyex
man jail config has been so upgraded in 14.x tyvm freebsd team!
-
polyex
now we just need jails to support /etc/devfs.conf and mac_portacl in vnet and they're perfect
-
polyex
there any way to start a jail and make it ignore its depend directive? i wanna be able to have dep info for rc startup, but still be able to somehow start a jail independently, check stuff, then shut it back down
-
polyex
?
-
polyex
i just wanna start a jail and have its depend directive ignored
-
polyex
there a flag or smth for it?
-
sfox
onestart?
-
polyex
still enforces depend
-
nsoci
1
-
polyex
?