01:08:52 So...I'm trying to run some Linux applications and I have a Ubuntu system setup in Linuxulator but I'm still having issues where I get this error: 01:08:55 ELF interpreter /lib64/ld-linux-x86-64.so.2 not found, error 2 01:09:53 I ran "brandelf -t Linux *linux-bin*" but I still get the same error. I have this in my Linux path on sysctl: compat.linux.emul_path: /compat/ubuntu so I have no clue why I have to get into my chroot on my Linuxulator to even execute Linux binaries. 01:15:33 * _xor gets annoyed 01:15:48 <_xor> Stupid PoE switch I bought a couple of months ago looks like it just went to the big LAN in the sky 01:16:37 BillyJoeBob: and presumably /compat/ubuntu/lib64/ld-linux-x86-64.so.2 exists? 01:19:11 It does. ls -lah shows root:wheel 42B /compat/ubuntu/lib64/ld-linux-x86-64.so.2 -> /lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 01:19:34 And I can run everything just fine if I'm chrooted in the Linuxulator. 01:23:04 /usr/local/etc/rc.d/ncidd: Permission denied. 01:23:21 i'm runnin g this as root. how can one investigate this? 01:24:07 you're not supposed to run rc.d scripts directly 01:24:30 oh, that's right 01:24:41 how can i add it as a service? 01:24:46 that said, are the permissions on it correct? 01:25:06 just the presence of the file makes it a service 01:25:14 i'm not sure. this is part of the ncid package 01:25:37 ls -l /usr/local/etc/rc.d/ncidd 01:27:18 -rw-r--r-- 1 root wheel 01:28:13 RhodiumToad: maybe, but they (nearly always) work when run directly 01:28:19 service ncidd start does not start it, but it looks like it's not executable 01:28:55 CCFL_Man: did you set ncidd_enable=yes in rc.conf or 'service ncidd enable' ? 01:29:31 oh 01:30:21 now it starts 01:30:27 well, /usr/local/etc/rc.d/ncidd: WARNING: failed to start ncidd 01:30:46 how can i see why it did not start? 01:32:10 does ncidd have a log? 01:33:46 it seems to exit without writing any logs 01:36:39 have you properly set a config file? 01:41:47 i think that might be it 01:46:57 i'll have to refer to ncid support. the program just exist and prints nothing 01:48:26 rc.d scripts should be executable. Look at the other scripts for example: ls -l /etc/rc.d/ 01:48:32 does it have any debug option? 01:50:31 rwp: it might be the package 01:50:52 RhodiumToad: good thinking. it's the config file 01:52:43 Just for the sake of discussion... What is ncidd? 01:55:17 rwp: it's a network caller id server that passed caller id information from a modem over a network socket to clients 01:56:40 yeah, i see it here in comms/ncid... but what uses it? 01:56:54 will ... xbmc/kodi use it and show who's calling? 02:01:05 How was it installed? pkg binary package or source port compile install? 02:03:47 It bothers me that /usr/local/etc/rc.d/ncidd after install was mode -rw-r--r-- which implies to me that something is broken from the start. 02:04:33 rwp: the port doesn't have a maintainer, maybe you should step up and fix that :P 02:05:20 rtprio: i primarily wanted to use to to log caller id data to a file 02:05:43 yes, pkg install ncid 02:06:08 For one I had never heard of this before a few minutes ago. For another I had previously written my own caller id thingie using perl-expect and voiced with festival. And finally, who has a house phone that would make use of this anymore? I mean besides me. But even I have the ring bell taped off. It's just a honeypot now. 02:06:36 ok, it required /dev/ttyU1 as the device, but it won't print caller id information 02:07:16 i have a house phone. i just had one installed, actually 02:07:43 My house phone is now VOIP through my ISP but I did keep the number. Version ncid-1.11_1 from packages? 02:07:56 yep 02:09:05 I am playing with jails tonight. I'm going to eat something first but then I will set up a jail and install this and poke at it with a stick. 02:11:39 do you have a pstn modem you can use with your provider voip? 02:12:10 the modem i have does not return caller id 02:12:42 i don't know if it's the wrong init string or not 02:12:51 RhodiumToad: thank you again for the help! 02:17:04 i should look at the windows driver ini files for the init strings 02:17:51 the product page for this modem has someone asking why the default init string does not activate caller id 02:21:53 i haven't had a pstn modem in a long time 02:23:40 HKR, EnableCallerID,1,,"at+vcid=1" 02:23:51 that's in the winders driver 02:26:44 yep, that's in all the winders drivers 02:29:48 I installed it. Poked at it with a stick. And I think it definitely needs some work. For one it comes with 16 startup scripts! 02:29:53 Obviously not all of them are needed. None of them are installed executable. 02:30:47 The /usr/local/share/doc/ncid/INSTALL-FreeBSD.md and /usr/local/share/doc/ncid/README-FreeBSD files have some information about installing it manually. 02:31:01 Seems like the port does not quite finish all of the needed bits. 02:31:07 rwp: there is no maintainer 02:31:34 I think you are doing more work on it now than has been done in a while. Just say'in... 02:34:21 so for this modem, i might have to set the country code first 02:34:46 another user used a different baud rate to get caller id working 02:43:59 Can you talk to the modem yourself? Does it respond normally? 02:44:19 For my modem I would get its attention with sleep 1; +++; sleep 1; then send an ATZ and wait for the OK, then send it AT#CID=1\r to enable caller id. 02:45:01 That's all historical. I don't have a caller id modem on my phone line since it is now VOIP. 02:45:07 I don't know if the modem would work or not. Probably the modem has died in the years since it was last powered up. 02:49:12 i can talk to the modem's tty and send it commands manually 02:50:18 it does respond and returns ok when i send it the caller id string 02:51:17 Call your modem while talking to it. It should send you the caller id string. 02:57:09 it doesn't return anything 02:57:21 well, no caller ID, but it sees the ring 03:02:38 so it sees the ring, but no caller id information 03:03:43 but right, it creates lots of startup scripts that are not executable 03:03:52 broken package 03:07:01 So two problems. The modem is not (as of yet) emitting the caller id information. The package is not working. 03:07:07 But nothing can work unless the modem will produce the data so that's the place to start. 03:13:15 ncidd -Dv3 -C /usr/local/etc/ncid/ncidd.conf allows you to start in debug mode. you can see it exchanging with the modem and also print status output 03:13:58 the application runs fine, but this specific model is not emitting caller id data 03:14:24 i have ncid running on my tivo using the tivo 03:14:38 i have ncid running on my tivo using the tivo's dial up modem and it works quite well 03:17:12 Modem Identifier: CX93001-EIS_V0.2013-V92 03:17:31 You have a TiVo with a dial-up modem? That's pretty cool. I don't think either of my old beloved TiVo models had a phone modem on them. 03:20:45 the Tivo HD does. i hacked it and installed ncid on it and the built in dial up modem works great with caller id 03:21:39 CCFL_Man, Respect! 05:38:37 why doesn't tzsetup work? 05:39:04 Select local or UTC (Greenwhich Mean Time) clock 05:39:14 I tried both Yes and No 05:40:02 Does the abbreviation `EEST` look reasonable? I press Yes here! 05:40:12 # date 05:40:12 Mon Oct 16 05:40:07 EEST 2023 05:40:30 but why on planet it is not 08:40:07? how it would be in EEST here 06:07:41 m 06:19:20 bapt: ? 06:51:27 TIL about "m" https://www.urbandictionary.com/define.php?term=m 06:51:28 Title: Urban Dictionary: m 07:13:59 V-T60, The timezone names are ambiguous in some cases. It is better to always use an unambiguous format such as "date -R" provides. 07:14:14 V-T60, Also my previous question. Is "date -uR" correct for UTC time? 08:00:03 release candidates are based off the releng branch, correct? i.e. i can update to -RC1 via freebsd-update? 08:02:07 rwp: thanks for the quip about dpms tho. added 'xset -dpms' to my .xinitrc, that should fix things for now. gonna investigate and see about where to report this. far as i can tell asus probably is the culprit here, but there still is the memory leak in the amdgpu driver, so I'm not yet ruling out that having something to do with it. 08:05:27 going on with a completely different topic: sector sizes / alignment – can somebody give me a summary? i vaguely remember that 4k was recommended under… some conditions? 08:06:30 but i don't recall what the specifics where, i think either ssds or zfs, but it's been a long time. 08:07:47 background is i currently have my system on mechanical drives, but recently added 2 nvme drives to my desktop. i've noticed that my performance on these mechanical drives is quite awful (using defaults, so i assume an alignment of 512) and am wondering what to look out for to get the most performance out of both platter disks and ssds. 08:08:45 other pertinent info: running on ufs, planning to reinstall on the nvme drives with gmirror for full system redundancy. 08:11:09 yup, beta & rc are based on releng branches, and you can download them using freebsd-update 08:27:13 babz: great. then i'm gonna update to RC1 as soon as i moved to the nvme drives. 08:30:16 mhh, testing with unencrypted ufs, it seems default, 512 and 4k alignments don't make much if any difference on the nvme drives… 08:47:20 tho the performance is only about 20% of what's advertised (~530MB/s vs 2.6GB/s) – is that expected? 08:51:35 is the disk trimmed ? 08:51:46 do you have enough pcie lanes to support 2 nvme drives? 08:56:20 babz: i don't even know what that means. bradd i think so, i mean it has to m.2 slots. second one is slower from what i've read, but haven't tested that one yet. 08:57:11 pre-erase the blocks 08:57:12 come to think of it, maybe /dev/urandom might've been the bottleneck in my test… i don't think it's often used to pull 10 gigabytes from?^^ 08:57:40 babz: what does that mean? dd if=/dev/zero of=/dev/nda0? 08:57:51 erasing a block is much lower than writing a page (what manufacturer advertises as "write thoughtput") 08:58:07 s/lower/slower/ 08:58:34 ah, so i do that dd of /dev/zero and see if the speed there aligns more with what's advertised? 09:03:54 also, i read that nvme has some weird hybrid sata mode. when I'm using nda, does that already imply i'm *not* using the sata mode? 09:18:07 mhh, yeah, seems like urandom was actually the bottleneck. not used to that.^^ 09:18:47 bradd: thanks for pointing out trim, not sure if it matters for performance but sounds like it's important for ssd longevity. :) 09:19:16 tho i'm not sure if/how this will translate to things once geli is in play… 09:20:02 last time I checked, it didn't pass throughout the geli layer 09:20:22 so using geli will by default result in more wear for the ssd? 09:26:17 I don't think it will impact wear that much 09:26:36 (Unless the ssd's firmware is plain stupid) 09:26:55 good^^ 09:26:57 But you'll have faster writes with trim 09:27:02 anyhow, creating my 10G file in /tmp first and then cp'ing that to the test partitions has it finish in ~2.4s, independent of alignment used. that would be way above the advertised speed… 09:30:37 mhh yeah, with sync after it, it's closer to 5s, tho i had to measure that externally because i can't figure out time(1) ^^ 09:59:06 will geli authentication make use of hardware acceleration if it is available? is hw accel for sha even a thing freebsd supports? 10:15:04 phryk > aesni module enable 10:15:27 if you support cpu hw support aesni is working ... 10:15:29 IRRC 10:16:10 vxwarlock: but… isn't that specific to… actually AESNI? not the SSE/AVX acceleration for SHA? 10:16:44 https://man.freebsd.org/cgi/man.cgi?aesni 10:16:46 Title: aesni 10:17:07 ah, nice. 10:22:33 and this time, i'm putting geli on the mirrors instead of creating mirrors of multiple .eli devices. hoping this will be more performant. :) 10:39:49 I am a bit confused about the -j, -J and -U flags for newfs. They all kind of sound like they do the same thing, especially -j and -U… 10:43:02 soft updates and journaling are different things 10:43:24 I personally have had only bad experience with journaling 10:43:54 the man page literally calls it "soft updates journaling" tho… 10:44:13 Yeah, but the important part is the "journaling" part 10:44:53 so I should only use -U and that already gives me the faster fsck? 10:44:55 And since it's built on soft updates mechanism it's called "soft updates journaning" 10:46:18 mhh, no that seems wrong… 10:47:06 Not exacly, it just enables fsck to run in background, it still takes it's time though 10:47:11 i *think* i understand now. fsck only works faster with journaling, and -j and -J are two different implementations for journaling, with -j building on top of (and possibly implying) -U? 10:47:32 ah, okay background fsck is another nice thing. 10:49:48 so -U alone will already have me boot faster because of background fsck in case of a previous crash, but with -j *xor* -J the fsck (whether in foreground or background) will finish faster, too. 10:50:19 so I *definitely* want -U, possibly -j but should probably ignore -J, does that sound about right? 15:40:49 is it expected that using HMAC/SHA-256 authentication with geli literally halves the capacity? 15:42:18 nvm, it's a sector size thing. 15:45:31 (i.e. the fix is supplying "-s 4096" to geli init) 17:00:40 OpenZFS Developer Summit 2023 is starting now, broadcasting live at: https://youtu.be/bvTVPwofvLg 17:00:42 Title: OpenZFS Developer Summit 2023 - YouTube 18:31:39 fairly obscure question, but does FreeBSD have support for NVMe Reservations? (I know that SCSI-3 Persistent Reservations support exists for iSCSI as an example here, but wanted to know about the 'updated' version that goes over NVMe) 18:32:37 use case being SAN-style storage failover for certain high availability workloads like databases 18:45:25 oh gosh, how silly, It's been implemented there with no issue 18:47:20 (since 12.1) 19:13:22 I'm trying out gelis -g ("geliboot") feature, but am having trouble getting it to boot. 19:18:35 I have a gmirror that's encrypted passphrase-only (i.e. no keyfile), has the geliboot flag set and contains /boot. I have an efi partition, copied loader.efi to EFI/BOOT/BOOTX64.EFI on that and I registered that loader with the uefi or whatever it is `efibootmgr -a -c -l ` does. the efi loader itself starts fine, but gives an error that it can't find any bootable partitions. 19:19:32 phyber: need -b as well, iirc 19:20:22 kevans: i'm somewhat sure i already tried that 15 minutes ago, but no harm in trying that again to be extra sure, i guess.^^ 19:28:46 is the encryption inside or outside the mirror? 19:29:22 i.e. is it a mirror of encrypted providers, or did you create the mirror first and then use that as provider for geli? 19:29:29 (because that second one won't work) 19:29:32 RhodiumToad: inside. right, that's also a difference to how my homeserver does this. 19:29:36 damn 19:29:40 why not? 19:29:48 (it will work when the kernel's up, but not for booting) 19:29:52 i thought i was halving computation for the encryption here :< 19:30:18 it won't work because loader doesn't do mirrors and so it won't find the geli metadata in the expected place 19:31:11 it looks at the last sector of the partition for geli metadata, but the mirror metadata will be there, with the geli metadata before it 19:34:34 (yes, encrypting the unmirrored partitions doubles the crypto work needed for writes (but not reads), but if the mirror is just /boot then you do not care about that) 19:35:20 yeah, just wanted to say, if it works as soon as the kernel is loaded, then my root fs can remain geli'd inside the mirror. :) 19:36:27 btw, does efibootmgr do some black magic to store settings from loader.conf somewhere? because it seems to honor the beastie_disabled i only have on the encrypted mirror… 19:37:30 don't think so... but if it can't find /boot it can't load any of the fancy scripts 19:37:45 ah, that makes sense. 19:38:17 all of the menu and fancy stuff is not in the loader binary itself but in lua scripts 19:38:39 ah right, i did see an error that it couldn't read some lua file from /boot 19:40:23 RhodiumToad: do i interpret it correctly, that what you said implies that single mirror providers are still normally mountable filesystems without gmirror running? 19:41:09 err, "consumers" rather, i think. 19:41:24 providers 19:41:38 they kind of are, but there are risks 19:42:15 so this even working at all on my server is already lucky? good to know. :'D 19:42:16 in the normal case if you need to handle the mirrors independently you should make gmirror instances with one provider 19:42:42 but for purposes of booting, the individual provider can be read as if it were a plain filesystem 19:43:14 are the dangers only providers going async or something else? 19:43:43 (writing to it is more of an issue, since that makes it inconsistent, which is why mirroring the ESP itself is tricky since the firmware or other OSes can write to that) 19:44:52 there's no real danger as long as you're just reading it 19:45:25 (putting the metadata at the end was explicitly done to allow this sort of thing) 19:54:19 mhh, sounds like fixing this wouldn't be too involved. might open an issue for that. 19:54:58 fixing what exactly? 19:55:15 geli-inside-mirror boot 19:55:34 eh 19:55:50 how? 19:56:42 i'm not sure i follow. how what?^^ 19:56:56 you need actual mirror support in loader since we do actually try to write in some parts that aren't critical until you need them, not as simple as just understanding there's mirror metadata to blow past 19:58:10 ah, alright. i thought you could just bastardize whatever code gmirror has to recognize its metadata and condense it for loader. 19:58:52 you probably could if you kill nextboot in that configuration, but we only recently were able to declare support for nextboot pretty much anywhere and it'd be nice to not break that already 19:59:00 s/any/every/ 19:59:18 ahh the lovely freebsd folks :) 20:01:24 hm, nextboot is hoping it can write to /boot/nextboot.conf ? 20:01:34 ah, the uefi setting for which entry is booted the next time the system starts. already thought uefi was already being deprecated. 20:01:38 (or some other configured file) 20:03:05 that one for ufs, the padded area of the pool for zfs 20:03:28 padding 20:03:45 i don't recall the technical name for it; iirc it was called pad1 in stand/libsa/zfs 20:14:02 okay, got my boot mirror redone, retrying boot now. :) 20:30:23 mhhh, now it asks for the passphrase, but still says it can't find a boot partition. 20:33:25 "cp -a /boot /my/mirror/mount" should be sufficient to prepare /boot on the new disk, shouldn't it? 21:28:46 grmpf. i'm not finding anything wrong with the way i set things up, but loader vehemently refuses to recognize the boot partition… 21:29:26 i even tried mounting one of the bare .eli providers for the boot mirror as plain ufs and that works without a problem. 21:29:56 is anything besides /boot required on a geliboot partition? 21:36:04 https://paste.xinu.at/igMX """screenshot""" of the error 21:37:19 ls / or ls /boot show anything? 21:37:53 didn't try. i just did a plain "ls" and that showed the contents of the efi partition. 21:49:54 ls disk0p2: perhaps? 21:58:31 giving up for today, just gonna do this unencrypted and look into it next weekend or whatever. 22:43:16 henlo from ssd. i guess i at least know that the problem is specific to gelis -g feature. 22:44:16 also a nice thing i noticed: if you geli a mirror instead of creating a mirrof of multiple .eli devices, it only asks for the passphrase for the mirror/foo device, not all the constituent .elis. :) 22:45:46 now to finally get that rc1 going… 23:10:18 rwp: always be sure that your phone line even has caller id enabled, as well 23:10:54 my line does not have caller id. i tried my ATA and caller id comes up with no issues 23:11:40 the phone company charges $13.95 for caller ID service is you have a low use line 23:12:11 but nccid works pretty well 23:12:21 and so does the modem 23:40:05 i should reallly set up up a test vm or two with root encryption 23:49:49 * phryk goes dark kermit and whispers into rtprio's ear: set up mirroring, you won't need backups anymore. 23:50:41 really, it's amazing. i've done open-heart surgery of degrading mirrors and just setting up the whole OS again, switch over, kill the old mirror, add the old device to the new mirror and it never failed me. 23:50:49 gmirror is a superpower. 23:52:05 * RhodiumToad has been doing that kind of thing for years 23:52:17 these days, though, zfs is encroaching on that space 23:52:33 heh, i first did that with zfs and only recently migrated away from it. 23:52:47 case in point, my online server still is zfs. only migrated my homeserver yet. 23:56:25 somehow, i always had problems with zfs… performance that was mysteriously degraded to complete shit, impossible to triage (even after days with help from people here). i never quite got rid of weird problems with automatic mounting either and it was just an almost universally miserable experience for me. tho i have to say i never lost data with it. tho i did come close once – but hey, what do 23:56:27 you expect when you just rip out running drives? ¯\_(ツ)_/¯ 23:58:38 people always going "fragmentation is not an issue" while my pools had like 30% fragmentation and performance was degraded to like 800KB/s. :F 23:58:54 and no, it wasn't dedup. i mean, it was once, but i learned from that and gave it a huge berth afterwards. :P