-
rogersm
@rtprio the ARM single core 6Gb?
-
rogersm
part of the free plan?
-
rtprio
no, in my datacenter there were no ARMs available
-
rogersm
oh! I just created the ARM one, as part of the free plan
-
rogersm
I'll start testing tomorrow
-
rtprio
but i have two of the tiny amd64 ones
-
rtprio
which are free
-
trafficjam
has anyone here written any embedded networking software?
-
Endermen1094
How do I get Elan touchpad drivers working
-
parv
sh change in 13.1 in how space in arithmetic expression brackets is parsed: set -x ; x=$(( 2 - 3 )) ; y =$( ( 5 - 4 ) ) ; set +x -- last one causes error "command not found: 5"
-
parv
s/y =/y=/
-
parv
If anyone is on 12.x or 13.0, would you please note if you see "y=1" in output?
-
nacelle
are you sure it was a change in 13.1?
-
nacelle
it would seem its opening a subshell within a captured stdout shell
-
nacelle
which seems normal
-
nacelle
its also why $(( )) is old hat now that $[ ] is around (in bash, etc. at least)
-
parv
nacelle, Well not quite. On existing 13.0 the arithmetic expression does use no space on between; was misremembering. Thanks for the nudge
-
parv
nacelle, Does FreeBSD /bin/sh support "$[]"?
-
parv
Do not see "\$\[" in "sh(1)" manual page
-
rwp
parv, In 12.4-RELEASE I see "sh: 5: not found" due to the "$( (" space present there and ") )". Same for bash.
-
parv
rwp, Thanks. Must have been my own error
-
rwp
nacelle, $[...] is a deprecated construct in bash. It wasn't around long before being replaced by $((...))
-
rwp
I don't recall sh ever having supported it and recall it being a bash specific feature from before $((...))
-
angry_vincent
can i set SRC somewhere else ( not /usr/src ) in make.conf ?
-
parv
Yes you can
-
angry_vincent
i wasn't able to find how, in man pages or looked in wrong ones
-
parv
Set "SRC_BASE" to wherever; see "src.conf(5)" manual page
-
parv
Nope, not there
-
parv
( WTH! Where did I pick "SRC_BASE" ... )
-
parv
angry_vincent, From Makefile.inc1 seems like the variable is SRCDIR; but a better reference (even a comment about in a Makefile) would be more appreciated
-
V_PauAmma_V
parv, "sys/conf/kern.post.mk:# SRC_BASE is how the ports tree refers to the location of the base source files"
-
parv
V_PauAmma_V, Oohh! Thank you! I will note that.
-
angry_vincent
parv: i guess SRCDIR not the one as well, use by build system to locate it's files.
-
parv
Hmmm.. (create the symbolic link?)
-
angry_vincent
it could work, but i wonder whether such possibility to have defined location of /usr/src exists at all
-
Plasmoduck
how do I upgrade from 12.3 to 12.4 ?
-
V_PauAmma_V
Binary upgrade?
-
Plasmoduck
yeah the freebsd-upgrade command
-
V_PauAmma_V
If a binary upgrade, see -r in the freebsd-update manual page.
-
Plasmoduck
thanks
-
debdrup
angry_vincent: /usr/src/ is "just" the location where FreeBSD expects it to be, but nothing's stopping you from putting it in /path/to/directory iirc, so long as you don't have things like ports that need the SRC_BASE environment variable
-
angry_vincent
debdrup: i see. i thought, there could be some variable that user can set to control the location and that's it
-
debdrup
angry_vincent: I mean, there is - where you build it is where it's being built
-
lockna
Does FreeBSD also use there mnt_vnodecovered field as root node for this mountpoint? Or do they just not see it as "root node"
-
angry_vincent
debdrup: i see. it can be anywhere you want, one just need to be aware for ports or 3-rd party modules that require src path
-
OlCe
lockna: Each mounted filesystem has a "root vnode". "mnt_vnodecovered" points to the vnode (representing the directory) where the filesystem is mounted on. This vnode belongs to the mounted-on filesystem, and is thus different than the "root vnode" of the mounted filesystem. The root filesystem has NULL in "mnt_vnodecovered".
-
lockna
Ahh, alright, I understand. Thank youuu
-
maerwald
some cirrus CI freebsd builders seem to set localtime to PST timezone or something, which breaks some amazon S3 interfacing code. What's the most robust way to set timezone to GMT?
-
meena
maerwald: cp /usr/share/zoneinfo/Etc/UTC /etc/localtime && adjkern -a ?
-
meena
tzsetup Etc/UTC # should also do it
-
meena
add -s just to be on the safe side, even if you're setting it to UTC
-
wcarson
is it possible to use qemu to run amd64 binaries on aarch64?
-
meena
wcarson: given that we're raising Aarch64 to be a Tier 1 platform, then, yes, you should
-
meena
if not, it's a bug
-
wcarson
oh really? that would be very useful for me. i have been unlucky so far finding any guidance on how to do it. everything seems to be the other way around
-
meena
wcarson: it should be the same thing, just using a different qemu binary
-
wcarson
hmm ok
-
wcarson
hmm yes i see emulators/qemu-user-static provides bin/qemu-x86_64-static
-
meena
-
VimDiesel
Title: freebsd-ports/Makefile at main · freebsd/freebsd-ports · GitHub
-
wcarson
welp
-
wcarson
so much for that :D
-
meena
-
VimDiesel
Title: Issues · qemu-bsd-user/qemu-bsd-user · GitHub
-
meena
wcarson: maybe open a bug, and lead with the Tier 1 Platform thing
-
phryk
is there a way to find out when a new version of a port will be built and put on pkg.freebsd.org?
-
wcarson
edited the Makefile to include aarch64, we'll see what happens heh
-
phryk
(wondering about audio/ardour 7.2)
-
wcarson
has anyone ever ran into packets being seen by tcpdump, but not actually going out an interface?
-
nacelle
rwp: heh, I had to read the release notes to see that. they never actually deprecated $[] beyond verbal jousting. someone vile that I used to work with convinced me that 4.0 had $[] as a change for $(())... silly me for believing that jackass over documentation.
-
rtprio
wcarson: yes, when doing some things with tagged vlans
-
wcarson
hmm interesting. as far as i know i'm not doing anything with vlans
-
rtprio
wcarson: so tcpdump on the other side of the switch shows nothing?
-
rtprio
is this your qemu thing that's missing packets
-
wcarson
1) correct, 2) sort of, it's a linux binary i'm running just using freebsd's linux emulation
-
meena
wcarson: if it builds and produces something useful, you'll have to open a ports bug, and if it doesn't, you'll have to open an issue with the project
-
wcarson
ok, thanks meena
-
pertho
can freebsd's linuxulator handle /dev/video* / v4l / v4lv2 ?
-
pertho
seems not
-
cracauer
That used to work. The API has deliberately been kept identical.
-
wcarson
meena: no dice, compilation failed. trying to see if qemu upstream even supports t
-
meena
wcarson: aye
-
cracauer
pertho, how are you testing? A Linux web browser?
-
pertho
cracauer: installed Ubuntu 20.04 for the linuxulator and instaled Signal Messenger.. text chat works but audio/video calls do not
-
pertho
just wondered if I was missing a package on the Linux side or whether it was something else
-
cracauer
You can probably make audio work by running pulseaudio. Video I dunno, maybe I have some time later to check.
-
pertho
what happens if pulseaudio running both on linux side and freebsd side?
-
cracauer
You should only need one. The connections to it should work from both envs.
-
cracauer
Which instructions did you follow for your ubuntu?
-
pertho
-
VimDiesel
Title: Install Ubuntu base system into FreeBSD's Linux Binary Compatibility
-
pertho
-
VimDiesel
Title: How to install and run Signal desktop application on FreeBSD
-
pertho
linux: jid 0 pid 44276 (ThreadPoolSingl): linux_ioctl_fallback fd=21, cmd=0xc0205648 ('V',72) is not implemented and a lot of: linux: jid 0 pid 47746 (Chrome_ChildIOT): possibly incorrect MADV_DONTNEED and linux: jid 0 pid 48366 (ThreadPoolForeg): unsupported socket(AF_NETLINK, 3, NETLINK_ROUTE)
-
pertho
pulseaudio is installed on the linux side
-
cracauer
Does anything make sound in pulseaudio?
-
cracauer
FreeBSD binaries using pa should work, too.
-
pertho
on FreeBSD pulseaudio works and sound works.. on linux.. if I try to run pavucontrol on Linux it segfaults..
-
cracauer
This is a FreeBSD or Linux pa demon?
-
pertho
freebsd runs pulseaudio server
-
pertho
the linux daemon for pulseaudio shows lots of errors when I run it
-
pertho
is Ubuntu supposed to be running any daemons or services? Or does running the binary just directly translate to the FreeBSD side?
-
cracauer
For pulseaudio I strongly feel that it should run on the FreeBSD side.
-
cracauer
Same for jackd.
-
» zykotick9 was never able to get audio working when he attempted installing linux's chrome for NetFlix support, the video worked. Hopefully, more knowledable people will have more success.
-
pertho
yeah video works audio doesn't.. in signal.. microphone and speakers both say "No devices available"
-
pertho
the unsupported socket(AF_NETLINK, 3, NETLINK_ROUTE) must be some network connection it's trying to make but is failing
-
cracauer
I think it is trying to reconfigure something about the network.
-
pertho
making calls results in the destination seeing a message about a missed call but nothing rings.. so something with the network is broken with it
-
pertho
s/destination/receiver/
-
pertho
-
VimDiesel
Title: 258975 – unsupported socket(AF_NETLINK, 3, NETLINK_ROUTE)
-
pertho
Maybe it'll work on 14
-
pertho
which should be due out soon?
-
pertho
unless the netlink work for 14 gets backported? Not sure what gets done in this case.
-
rtprio
pertho: you don't have to wait for 14 to be out to run it
-
pertho
not keen on the idea of upgrading my wife's laptop to bleeding edge :D
-
wcarson
pertho: i ran into the same thing actually, and upgraded to 14-current which fixed at least part of that bug
-
pertho
wcarson: did it fix the network side but the audio side is still broken?
-
wcarson
i wasn't testing any audio, just network stuff
-
wcarson
ah i figured out the broadcast thing - or at least figured out why it isn't working. it isn't settings the broadcast mac address
-
wcarson
-
VimDiesel
Title: 252596 – ping to 255.255.255.255 does not set broadcast MAC
-
wcarson
yesssss
-
wcarson
it works
-
meena
you'd think that's straightforward enough to just commit
-
rtprio
these are computers, nothing is straightforward
-
meena
rtprio: if we threw them out a high up window, would they actually fall and hit the ground
-
rtprio
pertho: in my experience, current does not bleed that often.
-
rtprio
just that one time where they removed my raid adapter from the tree without warning, other than that, no problems
-
wcarson
wow, this is so great. i'm so happy
-
yourfate
if I install docker on freeBSD, can I run regular linux containers in that?
-
yourfate
seems like it on the wiki
-
rtprio
yourfate: docker or podman?
-
rtprio
my very limited testing with podman was mixed, at best
-
meena
yourfate: from what i remember, docker support isn't great. podman is currently getting a lot of attention tho
-
yourfate
ok, thy
-
meena
rtprio: running FreeBSD or Linux?
-
yourfate
not having much experience with docker, it sounds like I should not start to learn it on BSD :p
-
rtprio
running a couple of random linux ones
-
yourfate
podman is a compatible replacement for docker from what I know, right?
-
rtprio
right
-
rtprio
i don't know if i have the patience to build freebsd images, at least until i can get it into a CI system
-
meena
yes, but unlike docker, it's receiving attention from FreeBSD developers
-
pertho
does anyone know the status of WINE in FreeBSD these days? A while back I was told the dotnet## is no longer needed and we should just use wine-mono and the 64bit and 32bit stuff was being merged into one. I think it was one of the WINE developers who hangs out on here.
-
skered
Any idea why I would get a billion lines from sockstat -l for bsddisks ? "seqpac (not connected)" it seems to be counting up fds
-
skered
bsdisks even.
-
skered
Appears to be something from a jail
-
» skered shrugs. The ol' age solution turn off/on.. restarting the jail and it's all good.
-
nimaje
pertho: the 64bit and 32bit stuff isn't merged, to workaround the problem that they conflict, instead on a 64bit system you install wine from the i386 repo into a user directory and the wine from the normal repo can then use that, but the version has to match and if you have your own package repo you have to remember to build i368 too (at least one llvm in the dependency chain), no idea about mono
-
nimaje
and dotnet except that mono isn't fully compatible, but the linux-dotnet port is old or even ancient, so could be that mono can replace that
-
pertho
hmm..I thought microsoft open-sourced .net?
-
dkeav
.net core maybe
-
nimaje
yep, dotnet core is opensource but doesn't support freebsd currently
-
cracauer
pertho: I have my webcam running is Linux-chrome (where netflix also works). No sound for now.
-
cracauer
s/is/in/
-
rtprio
cracauer: sound is overrated
-
pertho
cracauer: yeah video works in Linux-Signal.. just no sound and netlink errors when it tries to make/receive calls
-
rtprio
anyone have some experience with npm? why would a port package the npm cache rather than just having npm fetch it at build time?
-
rtprio
or is that just how ports do it?
-
nimaje
it would have to fetch at fetch time and npm is annoying so in most (all?) cases ports fallback on the workaround of putting that stuff in some archive and fetch that
-
rtprio
i'm trying to fix multimedia/navidrome and i see why it's failing but not how to fix it
-
tsundoku-
are there any obscure caveats with configuring zvol-backed iSCSI targets for Windows clients? I prepared one for a Windows user a while ago and they say they're seeing occasional file corruption, but the zvol and ctld setup are pretty basic and I don't see what the problem could be from my end