00:50:01 so I'm back to trying to troubleshoot this issue with vt not displaying on amdgpu with drm-61-kmod 00:50:08 in dmesg, I am seeing: fbd0: not attached to vt(4) console; another device has precedence (err=17) 00:50:30 does anyone have any idea what is causing this? there's only one GPU in this laptop 00:54:58 it sounds like support for drm-510-kmod on the FreeBSD 14 series is going to go away sooner or later, even though that's the only driver that has properly worked so far :/ 00:58:23 guess I could retry 515 at this point, see if these kernel panics were addressed in the last 7mo. I had meant to send in an issue regarding it, but since everything was working on 510 I just never got around to it (515 was causing page faults in the rcu subsystem, iirc) 01:11:41 For me 510 was causing frequent freezes. So far it has been 48 hours with 61 and I haven't noticed a freeze so looking good so far! 01:13:14 515 has been solid for me on 14.1 01:15:14 this particular laptop has like a raven 2 or picasso iGPU in it. I think like Vega 8 or something? 01:15:39 it seems like the "another device has precedence" error message I'm getting is from drm-kmod itself 01:16:49 Sorry. I said 510 but I think it was actually 515 that I had the problem with. In any case it seems it was this problem: https://github.com/freebsd/drm-kmod/issues/302 02:22:59 rwp: hrm, with 515 I wasn't noticing performance issues, just after a couple of hours of web browsing (usually with a youtube vid playing), the system would randomly panic. it'd be locked up for like 5-10 seconds with the last chunk of the audio buffer playing repeatedly, I guess the delay was for writing out a core dump or something 02:23:08 but after that the system would automatically reboot 02:24:01 I'm wondering if it's this issue this person is having: https://github.com/freebsd/drm-kmod/issues/287 02:24:44 they never came back with a crash log or backtrace 02:30:17 I will be happy then that I only had freezes/pauses because that's a lot better than having a crash. I never had a crash out of it. 02:32:11 if I want global shell aliases (all shells) & functions (for shells that can) is it best put them in something such as /usr/local/etc/profile.d/aliases.sh ? 02:32:23 (functions would be separate file) 02:35:00 Personally I think that if possible that instead I would install an external program in /usr/local/bin/ as more universal. As long as it isn't a chdir or similar. 02:36:30 If you examine /etc/profile which I assume you have then you know all that you need to know to do this. A file there seems sufficient for all shells that read /etc/profile 02:44:55 one PC said "'pkg: No SRV record found for the repo 'FreeBSD'. pkg: An error occured while fetching package. Unable to update repository FreeBSD. Error updating repositories!'". The other upgraded. They're on same local area network (LAN) 03:18:43 rwp: yeah, 'all shells' makes that a bit more complex 03:24:18 Yes. All shells... sh, ksh, mksh, pdksh, zsh, fish, bash, csh, tcsh, and I am sure I have offended someone for leaving out their favorite shell. 03:24:55 Also when that's done to me I feel it is too invasive. I then add stuff to my .profile to remove and undo what has been forced upon me. 03:25:55 darwin, Seems like a DNS lookup glitch of some sort. Since one worked and the other did not work. Which of course makes me suspect that your DNS server an MS-Server nameserver? 03:26:31 i don't have a DNS server and don't use MS 03:27:00 i use my ISP's settings in router and identical /etc/resolv.conf 03:28:24 In any case you can look up the DNS record yourself to verify the DNS operation. pkg.FreeBSD.org 03:29:00 Everyone has a favorite way to do a DNS lookup. Mine is "host pkg.FreeBSD.org". 03:29:24 It will use the first nameserver declared in the /etc/resolv.conf file. 03:30:48 yeah, it didn't find it on the particular one that couldn't upgrade 03:33:38 It would probably work if tried again I am guessing. Probably a transient glitch failure. Gremlins! 03:52:02 i tried many times. I'll reboot 04:04:10 this time worked 04:43:34 does qemu on freebsd support vmm for acceleration? it just lists tsc for accel 04:52:12 does that not answer the question? 04:53:43 yeah, it does not 04:54:51 a colleague was working on it in his spare time, but I don't know exactly how far he got / if he has any interest in continuing that 04:57:34 cccccchchlkghrbjhcknfkvuvgibehtfbhhhneifhhul 04:58:30 * ober moves yubikey to other side of laptop 06:09:51 hello, is pam_gnome_keyring.so working as expected for you ? 06:10:45 it looks to me like we have regression with pam_gnome_keyring.so and virtual_oss 06:10:58 *regressions 08:24:26 rwp, jaunty, https://github.com/KlaraSystems/sync-be enjoy :-) 08:24:40 jauntyd: ^ 08:44:08 dch: read about that tool a while ago, looks very interesting. Have you tested it? 08:53:12 drobban: yup, I wrote the docs for it & use it too. 09:26:13 how to set specific fonts with command, i have known "fc-list" 10:29:42 dch: nice! I have been curious to test it out. Now when I know you have been involved in the documentation I might find the courage to test it then :P 10:50:20 Yesterday I tried encrypted zfs root with raidz2 in a VM (14.1 disc1 install on libvirt with uefi and virtio discs). All went fine, but after a `freebsd-update fetch install` upgrade, it failed to boot. It seemingly could decrypt all disks. 10:50:22 Looking around, I came across issue 263171[*], and am now wondering, if I should dig into the issue I encountered any further, or if encrypted root is just not fully recommended atm. (the handbook doesn't seem to go into detail, just mentions the feature in the installer). 10:50:26 [*](https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263171) 10:50:38 Is there consensus on wether encrypted zfs root should work(tm), or is it even considered experimental? 10:52:35 doesnt the official installer provide that option? 10:56:16 luciusf: that totally should work, people use that since many years on their laptops. 10:57:10 armin: ok, thanks for the info! - I just wanted to have that question out of the way, before I invest too much time 10:57:30 cedb: indeed it does, quite conveniently tbh. 10:58:15 i mean isnt encryption at rest mostly for if someone gains physical access? 10:58:26 luciusf: Yeah I mean it usually does just the right thing, what's not working for your? 10:59:17 armin: I am already retrying the setup, to get more data and will try to reproduce the issue 10:59:21 luciusf: legitimate question btw, as in not rethorical 11:00:41 cedb: that is correct. and the fact that freebsd offers this so conveniently, was the fact to consider it for a server in a remote location where I couldn't fully control who would have physical access. 11:01:38 cedb: I just started with an experimental setup with VMs, when I encountered this issue 11:02:21 But thank you all for the quick response and pointer - that was already quite helpful! 11:06:55 keep in mind that disk encryption doesn't really protect the data while the system is running (I think that is pretty much impossible) 11:09:46 after installing zh-CJKUnifonts fonts, how to make it effect, 11:11:35 depends on your setup; vt? xorg? some wayland compositor? hm, I think qt and gtk do their own stuff too 11:20:05 nimaje: yes, data in use .. but my thread model is rather harmless. The disk encryption just serves as a precaution. The remote location is a family place. But remote nevertheless :) 13:19:33 my pf.rules stopped loading automatically when i've upgraded to 14.1 from 14.0 today 13:19:39 i need to load them with pfctl 13:28:19 I had this issue once, in my case it was due to an openvpn tunnel taking forever to come up 13:28:57 so pf_start (/etc/rc.d/pf) was called before openssl's tun0 interface was created 13:29:27 not sure if that can help, but probably worth checking 13:30:00 (and of course I had rules on tun0 in /etc/pf.conf) 13:45:35 I've picked up two VPS recently that use fe80::1 as the Ipv6 gateway address...anyone share ideas on getting FBSD to work? 14:00:12 GreenShield: something like "route -6 add fe80::1%em1 -interface em1" then "route -6 add default fe80::1%em1" ? Have auto_linklocal on interface and should work as is, at least it does on -CURRENT after some commit (was MFC'ed to 14 too I guess?) 14:01:07 ei: Thanks...let me try that variation. 14:15:34 oprs, does fe80::1 work as a default router? Can you 'ping6 trioptimum.com'? 14:19:30 CrtxReavr: Not currently, pings and other outbound traffic don't even appear in TCPdump...odd 14:19:54 I've passed the No Route error, so we're making progress 14:20:10 Can you pastebin your 'ifconfig' and 'netstat -rn' output? 14:23:09 armin: I tracked it down to the disks not being marked as boot discs in libvirt. If less than two discs aren't marked as boot disc, the system won't start 14:24:25 armin: Oddly, if I remove the first disc (in a four disc raidz2 setup) everything brakes. My expectation would have been, that the whole encrypted system is still resilient enough to survive two disc failures, no matter which discs those were 14:24:51 CrtxReavr: ei: I've gotten it to work, removed the rc.conf settings and set everything manually...seems to ping now. 14:25:00 Thanks for the assist 14:25:42 has anyone managed to get SMART disk temperatures from freebsd into prometheus, and if so, how did you do it? 14:26:57 GreenShield: enjoy ur modern end-to-end Internet <3 14:28:51 ei: HA...thanks for the tip...u'r settings worked. Now to figure out how to get them back into rc.conf 14:29:17 ipv6_static_routes in rc.conf(5) iirc 14:29:56 and for ipv6 is "ipv6_defaultrouter" for default route 14:31:45 Great...let me see what I can break. :) 15:09:10 oprs: i run openvpn, this might be it 15:23:18 luciusf: Oh wow, that sounds intense 15:25:50 armin: the weird thing is, that with bios legacy it seems to be the opposite. Whenever disc1 is one of the two marked boot discs, the decrypt and subsequent boot would fail 15:28:56 luciusf: Well yes THAT is something I do remember, that I had to switch between BIOS and UEFI boot somewhere in order to make it work. Quite frankly, I did *not* fully understand the root cause either. 15:30:49 armin: this behaviour might also be because of libvirt, but so far, encrypted zfs root doesn't seem to be as straightforward, as I expected it to be 15:31:11 I just fell in love with this little piece of software here: https://fastestcode.org/emwm.html 15:31:16 armin: but I gladly admit, that I always had problems understanding the boot process in it's entirety 15:31:28 A completely oldschool window manager that looks absolutely terrible and does not have much functionality. 15:31:32 Exactly what I wanted. 15:31:54 That thing is fantastic. 15:34:24 <|cos|> speaking of libvirt. do people actually run it? with virtbhyved? 15:35:05 <|cos|> i'm asking because it seems to not pick up the configuration changes i make, and installed documentation appears to be linux specific. 16:40:44 any awk/sed pros around that like to teach a newbie? 16:42:24 dch, Uh, okay, but I see no change in this file that I was commenting upon: https://github.com/KlaraSystems/sync-be/blob/main/sync-be 16:42:26 There's #awk & #sed specific channels. 16:42:32 ah neat - thanks! 16:42:57 Also it's always better that if you have a question you just ask the question. Then if someone knows something they might answer it. 16:43:32 Q: How do I print the 3rd column from a file? A: awk '{print$3}' And that type of thing. 16:47:21 Q: how do i implement Tower of Hanoi in sed? please keep you answer to a single line 16:49:38 rwp, cut(1) might be the better tool for that. 16:49:48 Though it depends on the file, really. 16:50:39 ivy, perl can do that in what looks like a few bytes of line noise. 16:51:05 CrtxReavr: okay, please include the complete C source code for perl in your answer 16:52:47 CrtxReavr, This is one of those things where there is overlap of functionality but awk is almost always the better tool than cut. 16:53:05 the only time i'd use cut is if i want to split at specific characters 16:53:11 for fielding splitting, awk is nearly always easier 16:53:18 It's a philosophy of design that makes them be different directions of thought though. 16:53:19 s/fielding/field 16:53:25 rwp, not when the field delimiters are set, vs. a mix of ambiguous whitespace. 16:54:13 We can just disagree here. But awk is designed for random whitespace. The cut, paste, join commands are designed for TAB delimited files, something rarely seen today. 16:54:30 rwp: don't forget col 16:54:42 Um. .. the -d option lets you specify the delimter. 16:55:03 And also col too. I had forgotten about it. 16:55:24 But using awk I didn't need to specify a delimiter. 16:56:13 wait i mean column not col. i always get those two confused 16:56:27 yes but column is nice to put at the end of your pipe to make it readable 16:56:58 There is also pr which can emit nice columns of data for human reading too. 16:58:10 (e.g.: column -ts: /etc/passwd) 16:58:30 I like perl but awk is both posix standard and also included in base whereas perl is in ports. So while I love perl for something like that I would choose awk for the portability and always available nature of it. 16:58:57 i try to avoid installing perl nowadays but so many things still depend on it... 17:00:44 awk is a crazy powerful tool. . . but its synatx looks like ass, soI avoid it when it's unnecessary. 17:01:55 Compared to sed's Turing complete language awk is very readable. :-) 17:02:13 awk is quite readable as long as you use newlines properly 17:02:22 more than perl, imo, although perl is certainly more powerful 17:03:08 Well, that's always been perl's biggest weakness, is that it's just too free-form. 17:03:24 I had to look up the pr options but try this for fun "echo * | tr ' ' '\n' | pr -2 -t -l1" Ha! Who needs ls? :-) 17:03:30 Reading other peoples' perl is just excruciating. 17:04:11 "Reading other peoples' /code/ is just excruciating." There! FTFY! :-) 17:05:06 Case in point: https://bpa.st/X67Q 17:06:00 Clearly that is intentionally designed to be the way that it is formatted. That hardly counts. 17:07:32 In this case, yes. . . but I've inherited perl that I was expected to make modificaitons too. . . 17:07:46 And it "worked," but I couldn't make heads or tails of it. 17:07:58 That's one thing I really like about Python. . . 17:08:29 YOu can use shitty variable and class names. .. but it has a minimum level of enforced syntax. 17:09:49 * rwp avoids ranting about awful python, must resist... 17:10:26 You clearly ascribe to a lot of religous dogma. 17:11:25 Sigh. Okay. My impression of almost all python programs is a long two page backtrace when there is a slight breeze that has blown it over. MOST python PROGRAMMERS write terrible python code. 17:11:58 rwp: the readme's updated https://github.com/KlaraSystems/sync-be if you're missing something specific from the (very short) script then add an issue 17:13:11 So. . . when I "code," I do bourne shell and Python. . . but I woudln't call myself a "software developer" or programmer. . . I'm a sysadmin & netadmin that automates stuff with scripts. . . and I'm good at it. 17:13:36 Python is one of those things that brought "programming" to the masses. 17:13:57 dch, I see now that you updated the project README file but of course I went directly to the script and in the script there is no comment giving any clue about what its intentions. I can read the script itself and then try to deduce its purpose but at that point I lose interest in it pretty quickly. 17:14:05 IT allows people to write "bad" code, where maybe no code at all would have been written. 17:15:05 dch, Also in order to submit a Github issue I would need to create a Github account. I have resisted doing that for so many years that I ask myself if this is the one item that would push me over the edge to do it? Not yet. Sorry. 17:15:39 well, I spent about 3h writing docs based on an adhoc comment in an irc repo 17:15:50 nice how mgmt/smartctl_exporter doesn't come with a configuration file or any pointers on how to use it 17:15:55 s/mgmt/net-mgmt 17:16:07 I always wanted to write some notes for it, just never got quite enough .. momentum 17:16:16 dch, I do appreciate the updated README file. That's significantly nicer than it was before. 17:16:57 sigh.. irc repo... I am too tired to computer 17:17:56 It's nearing the end of your day. It's the beginning of mine. However my days are always upside down. I wake up tire and go to bed wide awake. 17:19:53 Gah! *I wake up tired and go to bed wide awake. My brain is still not awake yet! Time to go make some caffeine. 17:21:32 rwp, BTW. . . I once tried chase down a perl linter or auto-formatter tha would help me decipher that script I pasted earlier. . . I didn't get far. Seems perl developers either don't care that other peoples' perl looks like ass or have just become used to the abuse. 17:21:36 hmm also it doesn't work, only picks up ada0 and ada1, none of my da* devices 17:22:39 oh, smartctl_exporter_devices 17:24:53 CrtxReavr, Well, I am one of "those emacs people" and so I just have emacs reformat code for me and that's the main tool I would use for reformatting things. (shrug) 17:25:12 no, that's not it. what's going on here 17:25:58 rwp, reformat that script for me then, please. 17:26:04 But obfuscated code is intentionally using obscure features in order to attain a visual effect. 17:26:47 I really don't want to spend more time on it. It's a clever rendering. I looked at it enough to see it. And to see that it is an obscured program. That's as much time as I want to spend on it. 17:27:07 oh this would explain it: root 85379 0.0 0.1 1268016 17108 - I 18:24 0:00.06 /usr/local/libexec/smartctl_exporter --web.listen-address=:9633 --smartctl.device=/dev/ada0 --smartctl.device=/dev/ada1 --smartctl.device=/dev/ --smartctl.device=/dev/ --smartctl.device=/dev/ --smartctl.device=/dev/ --smartctl.device=/dev/ --smartctl.device=/dev/ --smartctl.device=/dev/ --smartctl.device=/dev/ --smartctl.device=/dev/ 17:27:45 hahahah 17:27:54 the rc script is broken because it uses 'cut', it should use 'awk' instead. yay awk 17:27:58 how timely 17:28:18 rwp, I thought you said emacs could remformat it in a canonical way? 17:28:45 That script does work, it's just slow AF: https://bpa.st/X26Q 17:29:26 I said I use emacs to reformat code, code that the programmer intended not to be obscured. Reformatting code that is intended to be obscured will not make the intent of the code clear. 17:30:09 That's a huge dodge. 17:30:48 Sure. I am dodging. Why shouldn't I? What's in it for me? 17:31:36 mystery solved!!! 17:31:49 hjf, What was the solution? 17:31:49 https://forums.freebsd.org/threads/some-programs-hang-when-running-on-a-serial-tty.95294 17:32:05 i was using /dev/cuaUn instead of /dev/ttyUn 17:32:12 I just thought you could do me the favor of auto-reformatting it for them. . . then I could actaully begin to parse the code, pieck apart its elements, give it better variable names, etc. 17:32:16 i could swear there was no /dev/ttyUn device 17:32:24 but i'm sure i'm just stupid 17:33:13 Some things come and go as various devices are attached, detacted, various drivers loaded, etc. 17:33:16 So it was a /etc/ttys selection problem? 17:34:37 The serial port selected wasn't listed as a secure terminal line? And switching to one that is marked as secure solved it? 17:35:00 I would have expected that if it was not marked as secure that there would have been an error printed to that effect rather than it simply hanging though. 17:35:40 rwp: wasn't the issue using a cua device instead of a tty device? 17:36:02 cua is for outbound connections, tty is for inbound 17:36:58 ivy, I thought the issue was that sh and sudo and several other commands all hung until Control-C when attempted. 17:37:12 right, but user just said: [#freebsd] i was using /dev/cuaUn instead of /dev/ttyUn 17:37:39 so device name mismatch rather than secure/insecure issue 17:38:08 (as in, putting /dev/cuaX in /etc/ttys is probably going to cause issues like that) 17:38:29 rwp: no, it was secure too at some point during my tests 17:38:48 i suppose freebsd treats cua different from tty 17:41:10 https://i.imgur.com/44XTiBB.jpg 17:41:14 you know what time it is? 17:42:02 Fri Oct 11 13:42:01 EDT 2024 17:42:13 https://www.le-fay.org/tmp/30d/temps.png whoo it works 17:42:23 hjf, What are you using to clean those keycaps? A retrobright type solution I presume? 17:42:56 christ that drive was hot 17:43:09 rtprio: the blue line is the CPU 17:43:24 bah 17:43:40 although technically, i think the datasheet on these disks says they're fine up to 60C :-P 17:43:50 not that i'd want to run them that hot 17:44:22 Are the ada0 side of the drives pre-heating the air for the da4 and da3 drives which are much warmer? :-) 17:44:43 The color scale is hard to match to individual drives so that was my best color matching guess there. 17:45:31 rwp: those are SSDs, i guess they generate less heat 17:45:32 rwp: yes "retrobright", just pool-grade peroxide 17:45:55 they actually have no cooling at all, the da* disks have two 140mm fans blowing directly onto them... 17:47:57 i think da3 (the hot one) is sitting at the very bottom of the case and is not quite aligned with the fans, i should probably fix that 17:49:06 It's still within reasonable limits okay. But cooler is always better. 17:49:28 yeah, i'm happy with <= 40C but finding this sort of issue is why i set up the monitoring 17:49:44 welp, that CH340 based serial port adapter i bought seems to have died 17:49:45 i mean even if it's within limits, more heat probably = lower mtbf 17:50:14 the UPS refused to connect to it. terminal works. i think the ups uses signaling on pins other than TX/RX 17:50:26 so some of the other RS232 pins may have died 17:50:30 on the subject of graphs i also found a nice way to graph load average: https://www.le-fay.org/tmp/30d/load.png - the red line is 15 minute average, the shaded area is 1 minute load average 17:50:48 (yes, the legends are unhelpful) 17:52:20 hjf, I doubt "RS232 pins may have died" but expect that there is a handshake protocol error from the UPS. The UPS may be expecting a 3-wire no handshake at all. Or the reverse. 17:52:32 Time for lunch here. 20:00:40 rwp: this retrobright turned amazing 21:31:27 hello I need some help for some vnet networking 21:31:45 should i go to ask here or networking 21:33:09 you can ask here 21:36:31 I have three IPs: Two for fib0(by aliasing 2nd IP), and the last IP to the fib1. I have so two nics and this second nic of the last IP to be used for my vnet jails. 21:40:08 For fib 1, I bridged with the external interface and a couple of epair, membered. 21:42:24 I see my vnet jails can pinging each other but it cannot get any internet access. I left them plain. no pf*. I believe it is due to my lack of knowledge in either such a configuration or in general networking(or both). 21:45:05 I enjoyed jail, enough. I need to get back to my development. It is time to get some help. 21:50:08 it is a vm(ec2) by the way 21:51:25 You don't have any pf rules for forwarding installed? 21:52:10 not enabled 21:52:34 Then no packets will be forwarded. You will need to add a forwarding rule. Most typically at NAT rule. 21:52:45 Example of one: nat on $ext_if inet from $int_if:network to any -> ($ext_if:0) 21:53:08 You will want more in the file too but I wanted to point you to where you needed to look at adding specifically. 21:53:18 this kind? https://www.boucek.me/blog/freebsd-jails-with-vnet-and-nat/ 21:53:54 Without looking at it longer than just that amount of time, yes. 21:57:37 Here is the actual file I am using at this moment. https://paste.debian.net/plain/1332033 21:57:53 And with that I am afk again for another bit. Good luck! 21:58:16 thx 22:25:45 I'm tray to track down file activity. `gstat -ac` shows me the IO per device, but I want to know which files or paths are seeing the most IO. Is this possible? 22:48:06 * ober needs to get new pics of the fbsd servers. maybe koobs@ can help. http://linbsd.org/fbsd/2010-06-26%2014.27.46.jpg 23:04:20 nice. i use poweredge too! :D 23:04:39 i wonder exactly how many they have hmm 23:11:14 My old poweredge 1850 with some mods runs FreeBSD: http://www.unibia.com/unibianet/freebsd/extend-usability-your-dell-poweredge-1850-part-1 23:41:09 what should I see in a pflog if a nat configuration works fine 23:44:43 goonmorning: nothing, unless you specifically added 'log' to some rules 23:44:52 i did 23:45:35 well, then the answer depends on what you added 'log' to 23:45:50 ... and you can find the answer by running 'tcpdump -nei pflog0' 23:45:50 for nat 23:46:17 that's the question