00:49:49 @rtprio the ARM single core 6Gb? 00:49:58 part of the free plan? 00:51:05 no, in my datacenter there were no ARMs available 00:51:30 oh! I just created the ARM one, as part of the free plan 00:51:34 I'll start testing tomorrow 00:56:51 but i have two of the tiny amd64 ones 00:57:00 which are free 04:01:58 has anyone here written any embedded networking software? 04:47:19 How do I get Elan touchpad drivers working 04:59:21 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" 04:59:40 s/y =/y=/ 05:00:39 If anyone is on 12.x or 13.0, would you please note if you see "y=1" in output? 05:00:43 are you sure it was a change in 13.1? 05:01:10 it would seem its opening a subshell within a captured stdout shell 05:01:12 which seems normal 05:01:32 its also why $(( )) is old hat now that $[ ] is around (in bash, etc. at least) 05:02:59 nacelle, Well not quite. On existing 13.0 the arithmetic expression does use no space on between; was misremembering. Thanks for the nudge 05:03:21 nacelle, Does FreeBSD /bin/sh support "$[]"? 05:05:52 Do not see "\$\[" in "sh(1)" manual page 05:13:23 parv, In 12.4-RELEASE I see "sh: 5: not found" due to the "$( (" space present there and ") )". Same for bash. 05:13:54 rwp, Thanks. Must have been my own error 05:17:21 nacelle, $[...] is a deprecated construct in bash. It wasn't around long before being replaced by $((...)) 05:17:53 I don't recall sh ever having supported it and recall it being a bash specific feature from before $((...)) 09:28:15 can i set SRC somewhere else ( not /usr/src ) in make.conf ? 10:17:55 Yes you can 10:18:51 i wasn't able to find how, in man pages or looked in wrong ones 10:19:01 Set "SRC_BASE" to wherever; see "src.conf(5)" manual page 10:19:47 Nope, not there 10:21:57 ( WTH! Where did I pick "SRC_BASE" ... ) 10:25:06 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 10:25:07 parv, "sys/conf/kern.post.mk:# SRC_BASE is how the ports tree refers to the location of the base source files" 10:25:46 V_PauAmma_V, Oohh! Thank you! I will note that. 10:36:40 parv: i guess SRCDIR not the one as well, use by build system to locate it's files. 10:37:19 Hmmm.. (create the symbolic link?) 10:38:19 it could work, but i wonder whether such possibility to have defined location of /usr/src exists at all 10:42:58 how do I upgrade from 12.3 to 12.4 ? 10:43:53 Binary upgrade? 10:46:37 yeah the freebsd-upgrade command 10:46:46 If a binary upgrade, see -r in the freebsd-update manual page. 10:54:42 thanks 12:33:19 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 13:25:51 debdrup: i see. i thought, there could be some variable that user can set to control the location and that's it 13:26:26 angry_vincent: I mean, there is - where you build it is where it's being built 14:30:54 Does FreeBSD also use there mnt_vnodecovered field as root node for this mountpoint? Or do they just not see it as "root node" 15:06:04 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 15:39:07 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". 15:39:33 Ahh, alright, I understand. Thank youuu 16:48:25 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? 17:01:50 maerwald: cp /usr/share/zoneinfo/Etc/UTC /etc/localtime && adjkern -a ? 17:03:36 tzsetup Etc/UTC # should also do it 17:05:17 add -s just to be on the safe side, even if you're setting it to UTC 17:35:37 is it possible to use qemu to run amd64 binaries on aarch64? 17:39:19 wcarson: given that we're raising Aarch64 to be a Tier 1 platform, then, yes, you should 17:39:33 if not, it's a bug 17:40:03 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 17:41:14 wcarson: it should be the same thing, just using a different qemu binary 17:41:21 hmm ok 17:43:23 hmm yes i see emulators/qemu-user-static provides bin/qemu-x86_64-static 17:44:21 https://github.com/freebsd/freebsd-ports/blob/main/emulators/qemu-user-static-devel/Makefile#L15 hrmmm.. 17:44:22 Title: freebsd-ports/Makefile at main · freebsd/freebsd-ports · GitHub 17:45:40 welp 17:45:45 so much for that :D 17:48:12 and no bugs, https://github.com/qemu-bsd-user/qemu-bsd-user/issues?q=aarch64++OR+arm64+OR+arm8+ 17:48:13 Title: Issues · qemu-bsd-user/qemu-bsd-user · GitHub 17:48:41 wcarson: maybe open a bug, and lead with the Tier 1 Platform thing 17:53:35 is there a way to find out when a new version of a port will be built and put on pkg.freebsd.org? 17:53:53 edited the Makefile to include aarch64, we'll see what happens heh 17:53:57 (wondering about audio/ardour 7.2) 17:54:32 has anyone ever ran into packets being seen by tcpdump, but not actually going out an interface? 17:55:02 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. 17:56:24 wcarson: yes, when doing some things with tagged vlans 17:57:26 hmm interesting. as far as i know i'm not doing anything with vlans 17:59:16 wcarson: so tcpdump on the other side of the switch shows nothing? 17:59:27 is this your qemu thing that's missing packets 17:59:57 1) correct, 2) sort of, it's a linux binary i'm running just using freebsd's linux emulation 18:00:08 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 18:00:31 ok, thanks meena 18:02:08 can freebsd's linuxulator handle /dev/video* / v4l / v4lv2 ? 18:02:17 seems not 18:04:11 That used to work. The API has deliberately been kept identical. 18:04:21 meena: no dice, compilation failed. trying to see if qemu upstream even supports t 18:11:36 wcarson: aye 18:13:33 pertho, how are you testing? A Linux web browser? 18:14:05 cracauer: installed Ubuntu 20.04 for the linuxulator and instaled Signal Messenger.. text chat works but audio/video calls do not 18:14:36 just wondered if I was missing a package on the Linux side or whether it was something else 18:15:39 You can probably make audio work by running pulseaudio. Video I dunno, maybe I have some time later to check. 18:16:48 what happens if pulseaudio running both on linux side and freebsd side? 18:19:34 You should only need one. The connections to it should work from both envs. 18:19:48 Which instructions did you follow for your ubuntu? 18:21:08 I used this guide: https://www.micski.dk/2021/12/21/install-ubuntu-base-system-into-freebsds-linux-binary-compatibility/ 18:21:09 Title: Install Ubuntu base system into FreeBSD's Linux Binary Compatibility 18:21:38 and: https://www.micski.dk/2021/12/22/install-and-run-signal-desktop-application-on-freebsd/ 18:21:40 Title: How to install and run Signal desktop application on FreeBSD 18:23:39 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) 18:24:31 pulseaudio is installed on the linux side 18:28:50 Does anything make sound in pulseaudio? 18:29:52 FreeBSD binaries using pa should work, too. 18:32:12 on FreeBSD pulseaudio works and sound works.. on linux.. if I try to run pavucontrol on Linux it segfaults.. 18:32:43 This is a FreeBSD or Linux pa demon? 18:33:06 freebsd runs pulseaudio server 18:33:31 the linux daemon for pulseaudio shows lots of errors when I run it 18:36:02 is Ubuntu supposed to be running any daemons or services? Or does running the binary just directly translate to the FreeBSD side? 18:37:43 For pulseaudio I strongly feel that it should run on the FreeBSD side. 18:38:12 Same for jackd. 18:40:35 * 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. 18:42:05 yeah video works audio doesn't.. in signal.. microphone and speakers both say "No devices available" 18:43:52 the unsupported socket(AF_NETLINK, 3, NETLINK_ROUTE) must be some network connection it's trying to make but is failing 18:44:46 I think it is trying to reconfigure something about the network. 18:46:06 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 18:46:24 s/destination/receiver/ 18:49:56 https://bugs.freebsd.org/bugzilla//show_bug.cgi?id=258975 <- looks like this bug 18:49:58 Title: 258975 – unsupported socket(AF_NETLINK, 3, NETLINK_ROUTE) 18:50:39 Maybe it'll work on 14 18:50:51 which should be due out soon? 18:51:23 unless the netlink work for 14 gets backported? Not sure what gets done in this case. 18:52:49 pertho: you don't have to wait for 14 to be out to run it 18:57:52 not keen on the idea of upgrading my wife's laptop to bleeding edge :D 19:01:17 pertho: i ran into the same thing actually, and upgraded to 14-current which fixed at least part of that bug 19:02:56 wcarson: did it fix the network side but the audio side is still broken? 19:03:12 i wasn't testing any audio, just network stuff 19:11:13 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 19:11:19 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252596 19:11:21 Title: 252596 – ping to 255.255.255.255 does not set broadcast MAC 19:22:04 yesssss 19:22:07 it works 19:23:08 you'd think that's straightforward enough to just commit 19:23:27 these are computers, nothing is straightforward 19:24:38 rtprio: if we threw them out a high up window, would they actually fall and hit the ground 19:26:22 pertho: in my experience, current does not bleed that often. 19:26:54 just that one time where they removed my raid adapter from the tree without warning, other than that, no problems 19:28:54 wow, this is so great. i'm so happy 19:50:48 if I install docker on freeBSD, can I run regular linux containers in that? 19:51:35 seems like it on the wiki 19:53:21 yourfate: docker or podman? 19:53:40 my very limited testing with podman was mixed, at best 19:54:04 yourfate: from what i remember, docker support isn't great. podman is currently getting a lot of attention tho 19:54:21 ok, thy 19:54:36 rtprio: running FreeBSD or Linux? 19:54:42 not having much experience with docker, it sounds like I should not start to learn it on BSD :p 19:55:05 running a couple of random linux ones 19:55:23 podman is a compatible replacement for docker from what I know, right? 19:56:15 right 19:56:45 i don't know if i have the patience to build freebsd images, at least until i can get it into a CI system 19:57:04 yes, but unlike docker, it's receiving attention from FreeBSD developers 20:01:10 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. 20:11:43 Any idea why I would get a billion lines from sockstat -l for bsddisks ? "seqpac (not connected)" it seems to be counting up fds 20:13:44 bsdisks even. 20:18:37 Appears to be something from a jail 20:20:03 * skered shrugs. The ol' age solution turn off/on.. restarting the jail and it's all good. 20:28:00 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 20:28:01 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 20:45:21 hmm..I thought microsoft open-sourced .net? 20:51:56 .net core maybe 20:56:43 yep, dotnet core is opensource but doesn't support freebsd currently 21:48:06 pertho: I have my webcam running is Linux-chrome (where netflix also works). No sound for now. 21:56:18 s/is/in/ 22:19:21 cracauer: sound is overrated 22:30:17 cracauer: yeah video works in Linux-Signal.. just no sound and netlink errors when it tries to make/receive calls 22:33:58 anyone have some experience with npm? why would a port package the npm cache rather than just having npm fetch it at build time? 22:34:08 or is that just how ports do it? 22:39:11 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 22:39:50 i'm trying to fix multimedia/navidrome and i see why it's failing but not how to fix it 23:47:45 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