00:19:41 sup all 00:21:21 rwp: crw------- 1 hjf tty 0x149 Oct 9 21:19 /dev/tty 00:21:56 rwp: tty outputs /dev/cuaU3 00:23:30 with su i can become root 00:23:37 but as root i can't sudo, hah 00:24:10 though, su - gives an error: r999l999H6neresizewin: timeout reading from terminal 00:25:12 I still think it is related to the sharing of the tty and therefore the tty is not owned by root at that time. 00:26:28 From an hjf login can you "sudo -i" to become root? That should work, assuming you have sudo configured for hjf. 00:29:18 nope that doesn't work 01:02:04 off-topic, but fbsd: https://github.com/KlaraSystems/sync-be 01:54:54 i add second disk in freebsd, i can't operate that disk such as create file etc because no permission, how to grant common user to operate that disk, https://paste.centos.org/view/0d8a895c 01:57:14 as root , it can operate second disk 02:12:45 xxy: well, by default it will have no permissions. do you want any user to be able to write? 02:12:46 bleh, so I finally made the switch to drm-61-kmod on 14-STABLE, and it's evidently not usable on my ThinkPad T495 with its AMD APU 02:12:52 screen just goes blank during boot 02:13:28 tm512: did you add anything to kld_list in /etc/rc.conf or /boot/loader.conf? 02:14:12 would I have to? I'm switching over to it from a working drm-510-kmod setup 02:14:38 no, just asking if you have 02:14:39 I never had to modify those files when swapping between 510 and 515 while I was troubleshooting issues 02:15:20 hjf: right , if no permission , why it can't operate with common user (non-root-user), 02:15:26 unfortunately, at least as of 6mo ago, 515 was busted, randomly kernel panicked within like 2-3 hours of booting the system 02:15:52 it sounded like 510 is being dropped from 14-STABLE though 02:19:07 I see a flash of messages being printed out regarding amdgpu but it's too quick for me to read anything. I'll see if I can't ssh in and get a dmesg 02:20:13 fbd0: not attached to vt(4) console; another device has precedence (err=17) 02:20:30 that might be why I'm not getting any video 02:30:16 dch: https://paste.centos.org/view/83327cba 02:32:33 dch: do you notice my first paste page , https://paste.centos.org/view/0d8a895c, the first disk is zfs , second is ufs 02:41:10 dch: i have another issue , i installed OS (freebsd +ubunut) several times in two disk separately, then in BIOS boot options, there have many boot options , like UEFI OS /UEFI 0S (hardName name), i can't modify boot order or disable invalid boot option from start bios, how to fix it 02:56:32 xxy: where is the disk mounted? you can always chmod 777 /mount/point if that's what you really want... otherwise you can create directories as root and assign them to users (chown username /mount/point) 02:57:14 hjf: it mount in /newdisk 04:18:39 jauntyd, Regarding Klara's sync-be... Wouldn't it be nice if when people wrote programs that they included a one line description of what it did at the top? Followed by a very short paragraph describing what it did in a little more detail? I see it is a shell script and the license takes up until line 27. But there is little clue as to the *intention* of the script. Meh. 06:55:34 rwp: i agree, but from what i've seen in the last, oh....10 years, people don't put headers on programs like they used to. or comment for that matter 06:56:23 i used to learn a lot from the programmer's comments which in turn helped me learn how to code. i guess people just search stack_____ now :/ 07:01:36 can i also mention apps are much heavier now? :( 07:03:03 jauntyd: which is the natural way of things 07:03:38 the searching? 07:05:08 No, the software-getting-heavier. Try looking at 1970s s/370 code. Back then, every instruction counted. Still does, in a way, since you're paying per CP cycle. :°) 07:05:48 ah, you know better than me i'd say 07:12:35 https://www.courier-mta.org/cone/bk01-toc.html this default color scheme is fabulous 07:13:19 in the app not the docs 08:13:43 how to install kernel sources after freebsd OS installing completely 08:18:32 xxy1: I just download and extract the tar, not sure if that is the proper way 08:23:15 vedranm: is it "https://github.com/freebsd/freebsd-src"?, and where should the src be placed? are there specific requirement? 08:24:49 I just extracted the tar when I had to do that 08:25:38 iirc I looked at the install script and figured out where it got the tarball from 08:30:35 vedranm: where did you download tar ? 09:46:43 the src.txz for your release from https://download.freebsd.org/ftp/releases/ 09:46:43 rwp: nimaje: I resolved my yesterday's troubles with no automounting of ZFS datasets. Turns out I lacked zfs_enable="YES" in /etc/rc.conf - it's written in various places in docs, but not in https://wiki.freebsd.org/RootOnZFS/GPTZFSBoot 10:14:40 rwp: that is on me, I have some notes somewhere but I need to de-customer-ify them first 10:22:14 xxy: too early for me, otherwise LGTM. We should see something of note in Xorg.0.log next up. 10:24:20 xxy1: yes you can download your missing tarballs from https://download.freebsd.org/releases/amd64/14.1-RELEASE/ and `tar xzpf src.txz -C /` this is all the installer does anyway 11:57:09 is there a list of device drivers that need to be worked on? 12:02:03 any ideas why my login manager is booting to a black screen? 12:05:30 slim gives me a login then black screen 12:05:41 lightdm goes directly to black screen 12:05:56 startx starts normally 12:40:11 jayway: is there anything of importance in /var/log/messages? 12:41:42 i needed to enable dbus in rc.conf 12:41:56 good then 12:42:25 i am installing openbox and is not covered in handbook so missed that step 12:42:36 yes...everything seems working normally now 12:42:51 good to hear, enjoy 12:42:53 ty :) 13:03:53 when updating a 13.4-RELEASE to a 14.1-RELEASE using freebsd-update on a system running UFS, does the bootloader get updated automagically? 14:33:14 hello all, is it OK to ask here about file systems support on freebsd? 14:33:41 I would hope so, yes 14:34:43 I'm going to set up a freebsd server for research, home file system, etc, and would like to have an external HDD with the big data (movies, etc) 14:34:51 which file system would be the most appropiate? 14:35:15 I have btfrs at the moment, but as far as I can tell it's not very well supported on freebsd 14:36:26 I would default to zfs 14:36:28 i've considered exfat, but it seems to require FUSE, which I'd rather not use because performance reasons 14:36:51 i agree with nimaje. ZFS is very well supported on FreeBSD 14:37:07 hehe like my opinion matters :) 14:37:12 the idea is to be able to plug it to another computer if necessary 14:37:57 is ZFS remotely usable on windows? 14:38:08 Krusher: openzfs is supported on freebsd, linux, macos and (i think) windows. considering it's btrfs now, which is linux only, i assume you don't have any boxes other than linux, and linux + openzfs work well together (i have 40TB of stuff on it) 14:38:27 oh I though Linux didn't work very well with ZFS 14:38:43 at the moment I've got windows, linux and mac boxes at home 14:38:58 but it isn't a problem if macos can't read that particular drive 14:40:13 Krusher: there are some nits with OpenZFS on Linux that come about as a result of it being a third-party kernel module, and it also runs up against some of the weirdness of Linux' virtual memory subsystem (which causes ARC to be limited to 50% of total system memory by default). 14:40:41 main issue with linux and zfs is if you're trying to do root on zfs, but since it's an external drive that won't really be a problem 14:40:45 apart from that it works fine 14:40:56 I see, thank you very much for the insight 14:41:10 well, assuming you don't run the latest kernel. if you do, it has all the issues of an external kmod as debdrup said 14:41:17 And OpenZFS using the internal KPI in Linux means they're subject to the same amount of fluctuation that FreeBSD has to deal with, when importing things from Linux. 14:41:52 Linus says to never break userspace, but internal KPI can change as much as it needs to, and fuck any downstream consumers, I guess? 14:42:10 apart from ZFS, what other file systems are possible on freebsd without FUSE? 14:42:23 I mean, I get that they can't keep the KPI completely stable, but some of the changes seem like change for the sake of change. 14:42:24 I see EXT# is a possibility, albeit without journaling 14:42:59 Krusher: msdosfs (for EFI), EXT2-4 (journaling can be provided by gjournal(8), iirc), and UFS. 14:43:19 Oh, and perhaps more importantly, NFS. 14:43:45 And not just NFS; NFSv4.2 (including NFS over TLS, which nothing else can do as of last I checked). 14:44:08 And that ties back into ZFS, because OpenZFS on Linux can't do NFSv4 ACLs, _at all_. 14:44:20 I'm considering EXT4 because I feel a bit overwhelmt by ZFS 14:44:49 So you're not going to be sharing permissions between Samba and NFS if you run a multi-OS environment. 14:45:00 Krusher: why? UFS is better. 14:45:17 never considered UFS, I'll have to read about it 14:45:36 UFS (and FFS) has been in development since the 80s. 14:48:11 https://github.com/csrg/original-bsd/commit/d4b8d8d237bc9 here's the very first commit to UFS 14:50:04 https://cgit.freebsd.org/src/commit/sys/ufs/ufs?id=2ed053cde5 and here's the newest commit, showing it's still being actively maintained 14:50:18 I have to admit i'm a bit scared of all this 14:50:55 UFS seems problematic under windows, though 14:51:18 I have to assess how much problematic compared to ext or others 14:52:07 Krusher: it's no different to when you moved to linux. every kernel has its own filesystems. linux has ext2-4, btrfs, bcachefs, xfs, ... freebsd has ufs and zfs as the two primary in-tree filesystems. they can't possibly have the exact same code for the filesystems because they are different kernels, just like windows and mac don't have those filesystems and instead use their own. ultimately, from a user 14:52:08 and here's a real fun thing: https://cgit.freebsd.org/src/commit/sys/ufs/ufs?id=35a301555b is a commit from Kirk McKusick, who started working on UFS back in 1982: https://github.com/csrg/original-bsd/commit/f33622a83f9 14:52:13 perspective using something like zfs won't even be noticable. you can just ignore all of its features and just use it as you would ext4. of course, the features are there if you want them 14:53:11 that's over 40 years of actively working on the same part of an opensource project - which i don't think a whole lot of people can claim 14:53:17 about ZFS, if I decide use it on the external HDD, will be able to unmount and detach it? 14:53:52 because it seems all the disks in the system are part of a pool or something like that 14:53:58 sorry, I'm not still very savvy of it 14:54:16 Krusher: there isn't really ANY filesystem that can be used across a wide swath of OS - and OpenZFS comes closest to being the one that does it natively (since things like EXT need Windows-specific ports not maintained by the folks who handle EXT in Linux) 14:55:06 OpenZFS hasn't yet merged support for the Windows port either, and I don't truly know the state of it. 14:55:23 If you want to transfer data between systems, NFS or Samba is really the only way. 14:55:32 I understand 14:55:34 It's been that way forever, and it's likely going to stay that way. 14:55:47 well there's a lot to think of 14:55:57 but I really appreciate your input and your kindness 14:56:32 If OpenZFS accepts the Windows port, assuming it ever gets finished, that could potentially solve the issue - but that's going to be a LONG while, because there's a lot of work to finish the Windows port, and there's only one person working on it. 14:56:43 exfat on usb 14:57:03 exfat is encumbered, though 14:57:09 ahh 14:57:42 I'd rather not to use FUSE because the performance, though 14:58:11 Krusher: how do you do these things today? since your external HDD is on btrfs which as far as i'm aware is only supported on linux 14:58:21 If you're transferring onto spinning rust, FUSE isn't going to slow you down noticably on a modern computer. 14:58:36 there's some support on windows: https://github.com/maharmstone/btrfs 14:58:43 although, to be honest, I haven't tested it yet 14:58:56 .oO(spinning rust, because angular momentum is more secure) 14:58:57 so far I've transfered files via SSH and samba 14:59:07 Also, I haven't read the backlog, so maybe it's explained there.. But asking BTRFS questions on #freebsd ? Seems... misguided :P 14:59:22 spinning rust means a mechanical hard disk drive? :D 14:59:47 debdrup sorry if it wasn't the best place, I'm a bit clueless 15:00:04 Krusher: personally i wouldn't really trust this to be compatible with the linux implementation, especially with this kind of disclaimer: You use this software at your own risk. I take no responsibility for any damage it may do to your filesystem. It ought to be suitable for day-to-day use, but make sure you take backups anyway. 15:00:05 ober: tell that to gyroscopic precession when you pull out a rack of 90 running spinning rust devices arranged in the wrong configuration... 15:00:15 don't they have ext2 drivers in windows now with wsl et al? 15:00:24 WSL is weird. 15:00:25 Krusher: ssh/rsync/samba/nfs are your best bets today with btrfs, and it likely won't change with ZFS (but you'll have compatibility with linux and mac at least) 15:00:36 ober: wsl2 runs under hyperv 15:00:40 it runs a full linux kernel 15:00:41 I see 15:00:56 I think I'll try with ZFS 15:00:58 WSL1 is a syscall translation layer (ala that found in FreeBSD, which is where Microsoft got the idea), WSL2 is a hypervisor (as dstolfa says), but it uses 9pfs, to my knowledge. 15:01:30 It does use 9pfs, yes 15:01:31 Krusher: yes, "spinning rust" refers to harddisks. 15:01:41 good one :D 15:02:06 For my macOS clients I use Netatalk (sometimes slow), but the main tool to keep everything in sync is NextCloud 15:02:20 netatalk is being dropped in macOS, too 15:02:26 it's samba or nfs all the way 15:03:19 Samba seems to be a kludge . NFS is an option. 15:03:35 I use samba for convenience, and ssh when I need some performance 15:03:46 I have to confess I'm biased towards NFS too. 15:03:57 Yes, rsync via ssh is a great option. 15:04:06 sshfs can be pretty fast in some cases. except where the single cpu comes into play. 15:04:16 Being able to expose it on the web (nullmounted into a jail), on a single TCP port using AES-GCM encryption? That's pretty fucking cool. 15:04:41 nullmounted read-only* 15:05:07 NFS over WAN is a real possibility nowadays. 15:06:08 rclone.exe might have some ways through fuse to mount a remote system 15:08:05 Windows has NFS support (though shamefully, not NFSv4 on the non-Enterprise versions). 15:08:50 https://rclone.org/commands/rclone_mount/ 15:10:24 unsure if that's any better than nfs/smb though tbh 15:12:46 Userspace mounting via rclone always seemed dubious to me. 15:13:24 yeah layers on layers 15:16:09 fusefs, for as much as I don't like it, is at least a better option since it's standardized 15:26:47 ouch I just realised PLEX has dropped support for hardware transcoding on intel :( 15:46:37 debdrup: isnt the whole KTLS thing meant to securely facilitate nfs over wan? 15:48:17 f451: you can do nfs over tls without ktls, ktls is for hardware tls offload to network cards that support that (i believe written by netflix for their http vod servers) 15:48:57 at least that was my understanding, i thought nfs tls only depends on crypto(4) 15:49:08 aha i didnt know that 15:49:31 guess ill have a read of 'man ktls' if its there ;) 15:52:31 it is but the history section only says when, not why (initially) 15:53:10 ivy: just read the man page :D 15:53:31 it doesn't have to be used in ifconfig mode though 15:53:50 presumably oter nics can use it in other modes 15:55:35 'is for' doesn't mean you can't use it in another way, but if the kernel still has to do the crypto in software you don't gain as much as when that is offloaded to your network card 15:55:43 TCP_TLS_MODE_SW 15:57:30 oh interesting, apparently rpc.tlsclntd(8) does use ktls 15:58:12 think it's in generic too 15:58:18 i wonder if that means you get nic tls offload for free, that would be nice 15:58:19 (ktls) 15:59:40 i cant pretent i have more than a very basic grasp of it. was thinking about using it 16:01:32 * f451 thinking about setting up a basic system and running speed tests 18:18:03 can one expect X11 to work for freebsd under bhyve? 18:49:37 i'd give it 50/50. you might have better luck with xrdp 18:56:50 using bvcp 18:57:58 vncserver it is 19:11:46 i was never able to run anything in bhyve 19:12:14 linux ran for a while until 12.0 i think? then it broke 19:13:36 ober: the vnc built in bhyve is ... better suited to temporary access 19:20:30 k. no luck outside of bvcp to get graphics working. e.g. netbsd 19:31:04 user error no doubt 20:42:53 rtprio: or in practice, 'Windows'. since i think everything else support serial console. (except possibly the RHEL installer, but that has its own VNC implementation) 20:43:26 ivy: actually windows server also supports serial console 20:43:45 but the vnc feels kinda laggy when i use it 20:43:54 EMS yeah, but does it for installing? maybe on netinstall, not sure if that enter the GUI part of setup 20:44:27 don't recall; only had one windows box on bhyve and then my license expired and haven't used it in forever 20:44:52 we have about 10 windows server vms here in hyper-v that i really want to move to bhyve but i fear it's going to be a headache 20:45:25 convert the disks and try them; i did that with one of the hyperv images that microsoft provides and it booted fine 20:46:13 guess i should enable the EMS first :-) 20:47:18 rtprio: did you use virtio disks or the hardware emulation? 20:47:43 my (limited) experience in moving windows between systems is that it's the system disk device driver that tends to be a pain as it won't boot at all without it 20:51:36 virtio 20:51:55 and you didn't need to install the virtio drivers first? that's interesting 20:52:20 the image i used may have already had them 20:52:31 yeah, i wonder if they include that in the OS now 21:51:05 so i had quite a few issues with a serial port. and they went away after i rebooted my server, lol 21:52:27 Hi!, in an Hyper-V VM, I'm getting: WARNING: R/W mount denied. Filesystem is not clean - run fsck. 21:52:39 mount: /dev/da1s1: Operation not permitted. 21:52:56 fsck -f /dev/da1s1 ? 21:53:42 fsck: fsck_ext2fs for /dev/da1s1 21:54:23 try fsck_ext2fs then? 21:54:41 are you sure it's a linux disk? 21:54:57 no!, this should be an root zfs disk! 21:55:42 Something is misconfigured then. 21:56:40 yes, this is the only customer who uses HyperV and I get support requests every week. I hate it. 21:58:00 So, I don't know, but here is what I think I might know. Windows system, running Hyper-V, is misconfigured to boot a ZFS image but is instead trying to boot it as a Linux ext4 disk, and so fails and prints that message. But it should be booting the FreeBSD loader instead. Not. So something wrong there. 21:59:24 Because ZFS does not have an external fsck and nothing in the system would say that a ZFS file system is dirty and needs an fsck. Ergo I conclude it is not booting the FreeBSD loader. 22:00:04 where is it getting the non-zfs root from then? 22:00:37 hrm, you've got... msdos partitions (da1s1) not gparts (da1p1) 22:00:51 i can't say i've ever had a root zfs with the former 22:02:31 or perhaps the da0 isn't completely zfs ? can you paste some zpool status and other relevant bits 22:03:19 I cannot login to the hyperv now... 22:47:50 this is a fun terminal to use but man i wish i can have a hard status line 22:48:09 limits of the tech of the day 22:48:14 i remember the wyse i used back then had one 22:48:54 rwp: you know what else doesn't work? ctrl-a x in gnu screen. should lock the screen and ask for a password, but it just hangs 22:54:33 All of those things all all ioctl() calls on /dev/tty and/or `tty` and so make sense that all of them work when they all work and all fail when they all fail. 23:22:41 rwp: yeah i really have no idea. other than chmod 777 /dev/tty i have no clue what it could be 23:28:14 I use the IPMI SOL serial console quite frequently. I use the VM serial console quite frequently. I haven't seen the problem you describe outside of the "su" issue I noted. 23:29:11 I have not actually had a hardware serial port connected to my FreeBSD systems. Though I routinely have a serial console on my Devuan Banana Pi WiFi and on other Linux kernel systems. 23:29:42 Meaning that you are doing something I have not done and may be hitting a problem specifically with that hardware serial driver. 23:32:04 i also tried reverting /etc/ttys back to a more generic state. std.19200, vt100 23:32:20 but still, nothing 23:33:02 i also tried logging in as a different user 23:35:50 The problem is that I am supposed to be doing other real work right now and you are causing me to want to find a DB-9 to DB-25 serial cable and to connect up one of my terminals to a FreeBSD machine here so I can try reproducing. It's been a while since these were powered on and it would be good to check out this "modern" Wyse terminal. 23:39:12 i'm not saying you should 23:39:42 but you know, kids today won't get to experience sitting in front of the glow of a CRT if we don't keep them running for posterity 23:40:19 I've used the serial port on APU2 and APU3. 23:40:28 also, i just tried a different serial port. the ch340 based one, and it has the same problem 23:42:42 I beat my head on the wall a ton before I realised I need the null connector. 23:50:22 Yes. DTE to DTE needs a null modem cable. Cables are DTE-DCE by default.