00:14:57 Hello. I downloaded 13.1-RELEASE and blitted it onto a USB stick, then I used the stick to install FreeBSD on a desktop PC with a SSD with a SATA interface. After finishing the installation and booting for the first time with the usb stick removed, I was greeted with a message from GRUB: error: unknown filesystem; grub rescue> 00:15:34 Is this grub likely leftover from the GNU/Linux system that used to be installed on that drive? 00:18:50 sebboh: how many disks does that system have? 00:19:58 One now, though it had five when I first did the installation :) 00:21:21 rtprio: I knew which disk was which during the installation because this one is a different size that the other four which are all alike. 00:21:49 is it possible you installed the bootloader onto a drive that wasn't the one with grub? 00:43:58 rtprio: I don't think so, because I used thed "guided UFS" option. And only one of my drives was ~60GB. I am just reinstalling, since the initial installation was a while ago and maybe I don't remember some clue. 00:45:05 Note: my intent was to wipe out any leftover grub from the linux install. This will be a single-OS machine when I am done. (Is GRUB used by FreeBSD-13.1-RELEASE?) 00:45:31 grub is not used at all 00:45:41 you would chainload the FreeBSD loader if anything 00:46:27 ah, I'd like to install a stage0 using this installer USB stick, and overwrite any stage0-like thing from any previous OS. 00:54:37 refer to gpart(8) 00:54:56 especially if your partition layout is MBR 00:55:17 UEFI is just a matter of copying a file from /boot... 00:58:21 Good evening, FreeBSD with desktop environment can be tested on kvm/qemu virtualized machine? 01:01:45 frogmo, Im running FreeBSD desktop environment within Virtual box on a Windows Host 01:03:29 kvm/qemu is much better than virtualbox 01:04:53 Thank you for you opinion. 01:14:43 I just went through the installer and it didn't ask me about a bootloader. Maybe I missed that back on the "guided UFS" screen? It is asking me if I would like to open a shell to make any final manual modifications. 01:16:36 because loader is part of the base system 01:16:47 I am using MBR. gpart show lists ada0 as MBR... Does this mean I should be good to go? 01:16:55 vishwin: ok. 01:17:06 try it out, see what happens 01:17:23 wait, MBR is .. the name of the disklabel type, but also "master boot record" so uh... :) 01:17:29 if you don't see the loader, it's easy to fix without using the installer 01:17:30 ya, if it fails to boot, you can always use your install media for maintenance. 01:18:07 many options. :) 01:18:31 oh, it didn't go into grub this time. I think the problem is solved. Yep, booting freebsd.. 01:20:05 I'm ssh'd in. Thanks all :) 01:20:25 now to power it off an plug in those other hard drives. :) 01:54:15 After plugging in new harddrives, ada0 became ada2. I was able to boot by following the directions on screen, but on next reboot, it will put me back in that little boot failed prompt. Can I tell the bootloader to use a UUID or something instead of the ada number, in case it changes again in the future? 01:57:00 I think "boot2" is the one I need to reconfigure? (even if I just have to tell it to use ada2.) 01:58:35 oh.. or "the loader"? Stage 3? I'll try that. It has straight up conf files :) 02:47:09 "mountroot: waiting for device /dev/ada0s1a..." Failed, error 19. Ok, so, that 0 needs to be 2. ... I don't see any file in /boot that sets vfs.root.mountfrom. BUT.. I do see that /etc/fstab is wrong. I fixed it. Do I need to run some command, or just reboot? 02:55:07 hey that worked, this machine can now reboot on its own. That's enough for today. bye! 06:32:23 Interesting: llvm/lld: damage control threading, https://reviews.freebsd.org/D39389 06:32:24 Title: ⚙ D39389 llvm/lld: damage control threading 08:49:11 r0ni: no idea why it says rust depends on the openssl port for you, as the default should be to depend on the base system one, but that message seems to me like your ports tree is to new for the remote pkg repo and the remote doesn't have curl-7.88.1, so poudriere would rebuild rust anyway, then why download it in the first place? 09:29:54 I've written a little mount wrapper for handling removable devices more conveniently. Now I'd like to put it under the FreeBSD license. 09:30:36 So, I guess I'll just copy what's on https://www.freebsd.org/copyright/freebsd-license/, with an adjusted copyright notice and leaving out the last paragraph. 09:30:46 Anything wrong with that? 09:41:20 msiism: https://docs.freebsd.org/en/articles/committers-guide/#pref-license 09:41:21 Title: Committer's Guide | FreeBSD Documentation Portal 09:43:57 * msiism reads. 09:47:30 So, when I want to use that license in a shell script, do I have to keep the `-` in the first line? 09:53:57 no, first line is shebang? 09:56:35 Well, yeah, I normally have "shebang \n\n name \n\n description \n\n version \n\n\n" above the copyright notice and license. 09:57:19 I was just wondering why the first line in the license text says '/*-'. 09:57:48 More precisely: I was wondering why there's a hyphen there. 09:59:04 s/text/template/ 10:06:41 from style(9): "An automatic script collects license information from the tree for all comments that start in the first column with “/*-”." 10:17:46 msiism: this is for C. If your code isn't C, your comments will look different 10:26:41 Sure, I was just wondering about the hyphen. 10:28:38 Oh, there was some kind of graphics glitch here. Now seeing what yuripv posted from style(9). Thanks. 10:45:00 i love how 90% of the time I ask if somebody has reported a bug upstream, the answer is usually: no. https://bugs.freebsd.org/270649 10:45:02 Title: 270649 – hostapd and wpa_supplicant use uninitialized ptr if interface disappears 10:48:06 (this is the rare occasion where it's happening in base, and upstream is a vendor. which can be guessed from the fact that the code is in contrib. Usually it's happening for ports. where people report bugs to us that we can't do much about) 11:37:26 wacome stylus either does not shows up as stylus and eraser (just wacom co) and it does not respects the pad's grid. Acts like a mouse. I have the libwacom. Dont think I need legacy driver. 11:37:29 Any solutions? 12:47:32 wacom* 13:15:24 hi all 13:58:56 * meena wonders if Val Packett is working on stylus things 13:59:53 they've done a great deal of work on desktop and laptop things 14:09:24 i'm still hearing stuttering in audio on occasion, any suggestions on debugging where the over/underrun is? 14:09:34 usb audio, virtual_oss 14:12:31 Demosthenex: rtprio seems to be the way to go 14:15:29 https://man.freebsd.org/rtprio(1) 14:15:30 Title: rtprio(1) 14:20:02 there doesn't seem to be an rc.subr facility for rtprio: https://man.freebsd.org/rc.subr(8) 14:20:03 Title: rc.subr(8) 14:21:26 actually, it's ubuntu w/ pulseaudio in virtualbox using OSS, to virtual_oss, to usb audio. i think it only stutters in that, not everywhere 14:21:37 i'm trying to make sure the sample rates and sizes match end to end 14:26:14 Anything on wacom? Tried a lot 14:28:46 Beladona: yeah, thing is a mouse is a mouse to x11. so wacom behaviors are special and likely only in certain apps 14:29:18 Demosthenex in linux, it snapped to grid at least. e.g the tablet corner was the screen corner 14:29:33 how can i achieve that. I think its the os and driver issue. Not the app 14:30:35 you might check what was handling inputs in linux, there are Xorg event handlers which may be related. 14:30:46 if you have any logs from then 14:31:25 no logs as of now. Does it works for you? 14:32:32 Demosthenex do I need xf86-input-wacom-0.39.0_3 X.Org legacy Wacom tablet driver ? 14:33:20 or xf86-input-evdev 14:34:14 and configure via devd or HAL 14:37:27 xsetwacom --list  shows nothing 14:38:31 i guess you need libinput rather ( newer driver ) 14:38:53 have a feeling it is already asked some days back 14:40:11 Beladona: you may have to try these to see 14:40:14 it's a real edge case ;] 14:40:38 tried, non worked 14:42:31 did you confirm in your xorg log that the other drivers took effect and were used? 14:42:40 it'd be handy to have an xorg log from a working linux instance 14:42:43 to compare 14:49:36 Demosthenex solved by runing `webcamd -d ugen0.2` :) 14:54:43 though I know netflix and amazon prime won't ever work on freebsd. So not even trying 14:59:04 took me a minute to mentally insert video into that 14:59:10 "what's wrong with amazon prime? I order useless crap all the time" 14:59:54 kevans you run netflix/amazon prime etc on freebsd? you don't get browser/driver etc issue? 15:02:21 I mean, half of that. my commentary was that I was confused because amazon prime is a shopping service, amazon prime video is what you're talking about 15:02:38 so i do use amazon prime, but naturally no browser/driver issues with shopping 15:02:46 Lack of widevine, pain getting audio out of Chrome are the two issues, as I understand it. 15:06:16 yes 15:06:24 kevans mason yes 15:06:31 and no solution. correct mason ? 15:09:14 Beladona: Anecdotally folks have gotten Chrome audio out of the Linuxulator, but I've not tried to reproduce it and the process might stand more documentation. 15:17:21 how hard is it to get it right? 15:42:22 Beladona: Unsure. Documentation would narrow that question significantly. 16:58:13 mason link? 17:01:57 Beladona: Mm, I think I only noticed things on the Forums or somesuch, via web search since I don't frequent forums. 17:02:04 ok 17:02:09 I think there was a mention on BSD Now recently as well. 17:03:03 Not seeing anything recent. 18:15:00 Beladona: for the tablet? 18:15:05 Beladona: webcamd? nice. 18:20:34 anybody have experience setting up ipsec strongswan related stuff? 18:20:50 gzar: yes 18:21:01 i need some tutorial or something to establish a vpn connection to my work vpn 18:21:19 im overwhelmed by the amount of configuration 18:21:22 strongswan works almost identically on freebsd and linux 18:21:36 except i never used it so i dont know where to start 18:21:53 this is collection of example configurations: https://wiki.strongswan.org/projects/strongswan/wiki/ConfigurationExamples/29 18:21:55 Title: Configuration Examples - strongSwan 18:22:20 are you in charge of both ends of the vpn? 18:22:31 or do you have to connect to an existing vpn service? 18:22:55 existing vpn service, i am not in charge of the server 18:23:05 what do i replace this line with in swanctl.conf: updown = /usr/local/libexec/ipsec/_updown iptables 18:23:33 its an ikev2 cert-based authentication 18:23:33 you probably don't need it at all 18:23:49 its the example conf from the link 18:23:56 the updown script is spawned on state changes by the strongswan daemon 18:24:27 it *can* be used to dynamically update firewall rules, but unless you have a very complex and dynamic setup you don't have to do this 18:25:52 on a vpn client with a single address and given that pf and ipfw can deal with dynamic ips on interfaces you don't have to update the firewall rules (unless you exceed what can be abstracted over in your firewall filter language) 18:26:34 gzar: does this resemble your situation? https://www.strongswan.org/testing/testresults/ikev2/net2net-start/ 18:26:35 Title: Test ikev2/net2net-start 18:27:39 i guess, there is a vpn gateway to access private resources and i am the client in this case 18:28:24 I'm in love with wireguard, So incredibly easy to set up. 18:29:13 gh00p: that's not useful if the other site insists on their existing ipsec service *sigh* 18:29:26 how do i start it, assuming i've got the configuration done 18:31:45 also i was given separate CA cert, client cert and key files 18:32:37 gzar: sounds suspicious. Like they are planning to be MITM. 18:33:27 what would they gain out of it? its their services 18:33:39 gh00p: I have a BGP session running over wireguard. Much easier than openvpn, though I don't have as much session stats. 18:34:30 also, they are incompetent, i think its important to mention 18:36:53 Perhaps somebody told them they'd save bandwidth if they forced everybody's http traffic through a caching proxy. 18:42:47 seems like using charon-cmd is the way to go? i managed to at least authenticate 18:42:56 but it fails at some step 18:46:35 nvm, just had to remove the configuration and run charon-cmd with their certs and keys... 19:00:12 seems like its working, can wrong configuration cause the server to respond with 'sendto: host is down' when trying to ping it? 19:00:36 or do i trust ping in this case and assume host really is down 19:02:09 I vaguely remember that "host is down" (as opposed to timeouts or such) is a sign of ARP failing. 19:03:54 well, i let them know about my issue, they should probably tell me more about their setup so that i can configure it properly 21:57:51 do we support https://www.kernel.org/doc/html/latest/x86/boot.html ? 21:57:52 Title: 1. The Linux/x86 Boot Protocol — The Linux Kernel documentation 22:07:31 meena: I think that's through one of the grub ports, if so. 22:07:47 Although I guess there's better support for the bootloader on its way. 22:08:09 hmmmmm? 22:10:26 Let me see if I can find a reference. 22:11:43 meena: https://wiki.freebsd.org/Kload which I was under the impression would include Linux, but I could be confused. 22:11:44 Title: Kload - FreeBSD Wiki 22:12:38 why do I need to be root to run pw on a password file owned by me? (I'm creating disk images and I'm later going to use an mtree METALOG file to change the permissions of the password file in my image. 22:12:47 I'm using PIKVM (paired with a 4-port KVM) to put an eye on my homelab. HDMI and USB come out of my homelab boxes, go into the 4-port KVM, and a single USB and HDMI exit the KVM and go into the PIKVM. Then PIKVM in a web interface lets me switch among the 4 sources to view/control my four devices as though they are not headless. Neat. With FreeBSD, OPNSense, and PFSense, every time I switch to them, the terminal outputs the 22:12:48 connection and disconnection of devices. It is quite noisy and is basically a scrollback destroyer. Any idea how to divert this type of output to a file only, so I can view it later as needed, and so it doesn't fill the terminal and ultimately hide other possibly useful terminal output? 22:12:56 crb_: That's a requirement of the tool, not the file. 22:13:56 mason: yes but why? I mean I can understand if the password file is owned by root, but what if I want to use it on a password format file that I own 22:14:54 crb_: I think the best answer is "hysterical raisins". 22:15:42 crb_: There are lots of things that could be done but aren't for various reasons. Replicating the functionality in another tool might be the best answer here. 22:16:18 Otherwise this tool has to add a bunch of new functionality for checking whether the non-root user is doing something tricky/malicious. 22:17:41 crb_: i reckon that pw might be putting file attributes in place in case they are missing 22:18:34 meena I suppose. I mean it already has switches that allow you to set an alternate root so that it's clearly not changing the live password file 22:19:49 crb_: run it under dtruss to see where it fails, or, if it's just giving you a straight up error that says you need to be root, just checkout the source 22:20:06 meena, yes that's my next step to look at the source 22:21:13 crb_, I'd guess because pw(8) is not suid root, and it's its intended to be run by root. 22:22:15 CrtxReavr: yes I suppose that was the conception when it was created 22:22:25 CrtxReavr: the point is, even if something is meant to be run as root, it doesn't always need all power of root 22:24:31 A succinct version of my question is, if I don't want to see output in the terminal when I plug in or unplug USB or HDMI devices, can someone please point me towards a way to hide/divert that output? 22:26:06 crb_, look at line 280 of src/usr.sbin/pw/pw_user.c 22:33:38 meena, I trust you with sudo rights. >=] 22:34:30 scoobybejesus, by "terminal," you mean console? 22:34:45 indeed 22:34:48 Or are you seeing this in any old terminal program on your desktop? 22:35:10 Why wouldn't you want to see it on your console? 22:35:15 it's as though i have a monitor hooked up, and i am seeing the HDMI output on a monitor 22:35:47 in nearly all cases, i will SSH in. sometimes an update goes sideways, so it's nice to have a monitor 22:36:13 I get that. . . 22:36:38 I generally think of the console for getting the thing on the network with ssh enabled (or getting Xorg up and running). 22:36:58 But, if you're in that repair/setup mode. . . same question. . . why wouldn't you want to see those messages? 22:38:12 CrtxReavr: sure you trust me with sudo rights, but what about a build automation? do you trust Jenkins with sudo rights? 22:38:17 Ah, you're asking why wouldn't I want the plug/unplug messages. Right. Yeah, presumably i would want access to them, but in a file ideally. Sometimes it's nice to check that the KVM is behaving, and i'd prefer to not have the scrollback eaten by those messages. I understand your point though 22:38:19 Despite your answer, however, google reveals: https://lists.freebsd.org/pipermail/freebsd-questions/2012-May/240928.html 22:38:20 Title: disable console messages 22:39:06 meena, in a jail, sure. >=] 22:39:16 This is great, thank you. Perhaps i will be able to dig deeper on my own to target USB/HDMI only 22:39:49 I dunno how difficult it is to build images in a jail