05:34:39 lw: virtio-9p is working great, thanks again. i saw someone mention that with virtio-blk you can pass any /dev storage device to a bhyve guest. haven't tried it yet, but will throw an old drive in tomorrow and see if it works. (https://github.com/churchers/vm-bhyve/wiki/Virtual-Disks) 05:34:40 Title: Create new page · churchers/vm-bhyve Wiki · GitHub 06:31:40 markmcb: you can add any file or block device as a disk in the VM, but that's not 'passthrough' in the VM sense, i.e. it won't attach the actual device 06:32:17 passthrough is what you can do with NVMe disks for example where the PCI device is connected to the VM so it can access the hardware directly, which is faster 06:43:30 sr-iov 06:45:35 yeah, although i've never managed to get SR-IOV to actually work on FreeBSD, at least with Intel network cards 11:40:56 Asked on Discord yesterday but didn't get anywhere..trying here: fusefs mounts (exfat) as regular user; I get Operation not permitted despite having /dev/fuse and /dev/da* r/w for my user/group. Module is loaded; mounting as root works. I own the mountpoint. I can mount other filesystems (msdosfs, whatnot), just not fusefs. Any idea? 11:41:34 Ltning: what's the exact error? 11:42:09 Just that - "Operation not permitted". 11:43:08 I just realised I was trussing it without -f, which might explain why it didn't give me anything useful. I'll have to try that again. 11:47:08 dmesg say anything? 11:47:45 Nothing in dmesg 11:48:48 https://forums.freebsd.org/threads/mounting-exfat-usb-with-freebsd.84671/ 11:48:49 Title: Solved - mounting exFAT usb with freebsd | The FreeBSD Forums 11:48:53 that help maybe? 11:49:59 Not really, as mounting as root is no problem 11:50:20 That's all I got buddy, I hope you figure it out. 11:50:29 25892: nmount(0x41726ee3d000,18,0x0) ERR#1 'Operation not permitted' 11:51:57 The mount.exfat (fuse daemon) remains running though 11:53:11 what groups is the user id you are trying to do it in? 11:53:14 operator? 11:53:32 yea, and devfs.rules have /dev/fuse* mode 666 11:53:40 Confirmed by checking the actual entires in /dev 11:54:08 Could it be that I'm unable to create new device nodes? Won't "hidden" nodes (fuse0..9) be created? 11:54:30 I don't know a lot about that... 11:54:33 :( 11:54:47 Nope, that wasn't it 11:58:06 is it a thumb drive? 11:58:55 Yeah 11:59:09 And yes, I have r/w access to /dev/da* 11:59:39 I know at random thumb drives misbehave for me 11:59:52 usually means they are failing 12:00:48 I had a kingston one that I used for windows installer, beat the tar out of it, and one day it just quit. 14:27:57 hi I am trying to get my wacom to work with freebsd, I can see it in usbconfig, and I followed the wiki guide and most recent forum troubleshooting post, but no dice. If I manually try to webcamd -d ugenx.y it, I get webcamd: Cannot find USB device 14:28:26 this is an old wacom and I am pretty sure I got it working in older versions of fbsd 14:29:17 xinput does not list the device 14:29:58 ugen0.2: at usbus0 as per dmesg 14:31:29 and webcamd -l shows: webcamd [-d ugen0.2] -N Wacom-Co--Ltd--Intuos-BT-M -S 8HH00U2001266 -M 0 14:36:20 does xorg-drivers need to be recompiled with WACOM=on? 14:53:15 noticed after going from 13.2 to 13.3 that box is using WAY more ram. looks like it's zfs but not sure. what changed? 15:17:16 I think my issue is that xorg server does not list the wacom 15:54:30 ok whipped out my backup wacom and instantly recognized 15:54:47 i guess the other one is not supported for reasons I do not understand 17:50:43 noticed after going from 13.2 to 13.3 that box is using WAY more ram. looks like it's zfs but not sure. what changed? 17:53:41 alepzi, No idea. But can you pastebin some data for it? I am interested in what it is doing. 17:53:55 sure, what? 17:54:04 top? 17:54:38 I don't know. You were the one saying it was using more ram. I was interested to know what symptoms were you observing. 17:54:58 I would do a comparison with my systems. 17:55:14 well i have 64gb and with my current workload (few vms open etc) id normally have half of that free. now i have like 4mb 17:55:46 Free RAM is wasted RAM 17:55:52 How are you measuring "free" ram? 17:57:41 I actually have 3% used swap on my laptop, but that's not really a problem. There's lots of laundry and inactive ram (10G total), so it's not really starved 17:58:17 https://termbin.com/aojt 17:58:18 Of course, firefox is eating up the vast majority. about 5-7G, if I were to guess quickly. 17:58:29 i don't use any swap so i can impress the girls in comp class 17:59:00 Hahaha.. That's ... about as smart as not doing backups, though. ;) 17:59:22 That's a solid amount of ARC. Probably because of the I/O related to the VMs, if I were to guess. 17:59:27 alepzi, Example from here: https://termbin.com/ejqu 17:59:36 It'll shrink quickly once you fire up something that needs physical memory. 17:59:58 My example is running on 13.2-RELEASE. 18:00:19 ya it's just a very noticable diff from 13.2 18:00:24 same exact config and workload 18:00:31 normally i'd have >32gb free 18:01:09 I am totally agreeing with Ltning that free RAM is wasted RAM. It should be put to work in cache. 18:01:19 https://termbin.com/p3ay 18:01:47 ZFS got a nice bump 13.2->13.3, unless I'm mistaken. Smarter ARC might be among the changes. 18:01:51 If you look at my 16GB RAM desktop I am only seeing 352M Free but that's a good and happy state here. There is actually a lot of available ram if I fire up something that uses it. 18:01:58 ahhhhh 18:02:38 i bet money regressions are found. i've noticed some disk ops not being as quick 18:02:55 nothing i can repro to file a report on 18:03:01 just a feeling 18:03:22 It might be that you're running without swap so it spends more time doing re-shuffling in memory rather than just nibbling a bit and then carrying on in the background 18:03:27 maybe it was that zfs bug from an optimization that's now turned off? 18:03:34 didn't run swap before 18:03:47 alepzi: No, that was just in very special use cases 18:03:54 ah 18:03:57 Well if you had 32gb free routinely, then it wouldn't make a difference 18:04:14 But now that it's *using* your ram rather than wasting it, having room for some spillover is a good idea 18:04:27 Also if you want to help out, having swap so you can get dumps is also nice :) 18:04:32 ya when 14.1 drops i'm gonna reinstall and set up swap 18:04:35 I might suggest running "top -b -o size" just for giggles. 18:05:16 wtf Xorg size 24G, res 75m 18:05:26 pigdaddy feeding 18:05:47 signal-desktop - size 1116G, res 144M 18:05:51 Got you beaten :D 18:05:57 lmao 18:06:04 thing's obviously coded in visual basic 18:06:06 Bit miffed it didn't switch to T there 18:06:17 Javascript - the VB of the '20's 18:06:23 top also has -o res for resident set size sorting too. 18:06:25 true 18:06:55 Ltning, Numbers starting with 1 need 4 digits of precision. 18:06:56 top -o -s 1 -SHz -- I can type that while asleep 18:07:05 rwp: I feel cheated. 18:08:16 Think of 1 out of 999 or 1 out of 1001 the same significance but we need 4 digits for the second case. 18:10:14 Yea I know. I still would've taken some satisfaction in seeing a T in there. 18:10:32 Just absolutely batshit that even virtual address spaces grow so large. 18:10:39 Ah... yes, well... (shrug) 18:11:07 In my !work life I obsess over 16 and 32-bit PCs. 18:11:18 (Even @work, but don't tell anyone) 18:11:27 I need to spend some time to study the FreeBSD kernel's memory management. I assume it is doing overcommit these days. I want to learn how to manage it. 18:12:31 Some of us thought it lunacy when we got OS/2 programs that needed more than 512MB virtual address space, and IBM came out with a kernel patch 5 years after OS/2 was supposed to have died that gave us 3.5GB. 18:13:17 That expansion takes things to the general max for 32-bit on intel arch. 18:13:39 But in return we finally got Chromium on OS/2. Which is .. I can't even count the layers of abstraction. 18:13:49 I am sure IBM was getting many requests from customers to make it so they had more address space available. 18:14:42 The main driver, as I understand it, was the need to run VirtualPC and emulate machines with 1+GB RAM to run Windows somethingorother :D 18:14:52 I spent a lot of time doing chip design on HP-UX systems and by default we had 2GB available but if we gave a link option to combine data and stack then we could get to 3GB and so we always did that. 18:15:34 * Ltning puts on the rose-tinted glasses while thinking of CDE .. 18:16:14 And then I spent a lot of time fixing 32-bit C code to run on 64-bit systems. Which was mostly fixing type bugs. Every new system found bugs for us allowing us to fix them and improve the code base. 18:17:17 But for some reason Java programs I have looked at, mainly hadoop, request a HUGE preallocation of memory right at the start. I mean like needing a gig of memory just to start. 18:17:51 It doesn't use the memory. But it requires it to be available. Of course the kernel usually doesn't actually do anything, yet, but later if the memory is actually used then it might. 18:18:11 But that's an example of where ps/top will show a huge memory size for a process but the resident size is not anywhere near as large. 18:19:31 And that is also a reason that having some swap space available for the kernel to use to figure into the memory calculations is good. The program might ask for a huge allocation right up front, which might not ever be used. Perhaps likely won't ever be used. 18:21:39 In other questions, does anyone know the reason bsd.to has been offline the past few days? 18:22:51 It's been down long enough that it probably justifies changing the /topic to suggest a different one. 19:41:55 wow you designed chips? 19:49:43 i ate a bagful at lunch, thats kinda the same right 19:50:53 alepzi, I did. I worked on our implementation of the JTAG port but mostly worked on cache ram. But then converted over to supporting out CAD/EDA software. 19:51:12 * Ltning bows 19:51:45 What are you doing walking among us software plebs? ;) 19:51:57 * rwp laughs 19:52:26 This is PA-RISC stuff, right? 19:53:07 Yes. PA-RISC. But then IA64 Itanium later. Then supporting our distributed system of compute farm mostly for doing simulations. 19:53:44 At one time I had root on 3856 systems in our compute farm. Which I know exactly because I wrote an infrastructure to maintain it. 19:53:54 How would you compare PA-RISC and IA64 from a hardware design perspective? Is it even possible? 19:54:05 With that many systems you don't do it one system at a time. You do it as the entire collective of systems. 19:54:25 Oh I know, i managed 9000 OS/2 workstations for a while. Alone. 19:54:43 PA-RISC is a much more simpler classic RISC type of architecture. IA64 is rather of a huge behemoth due to all of the legacy architecture support needed. 19:55:10 Uh, wat? Legacy architecture? Wasn't the point precisely to break with legacy stuff? 19:55:24 I mean, just for starters, the import a 486 macro cell to be the boot up processor to get the rest of it going! (That was many years ago and I am sure became different after I left.) 19:56:16 No. IA64 for at least the first 7 years I worked on the team there was sold to us internally as being x86 compatible. Which it wasn't. Which created some argument in meetings. But that was the marketing of it. 19:57:05 When I started uni, I sat down in front of a HP-UX machine, the first UNIX I ever met. I felt like a fish on land, but fell in love by the end of the first week. Right next to it was a couple of DEC Alpha/Ultrix machines, and down the hall a bunch of Sun machines. 19:57:24 I mean, compatible means I can buy a PCI-e NIC and plug it in and it will work, right? :-) Well that was not going to be true so it wasn't really compatible. 19:58:16 * Ltning sighs *those were the days* 19:58:30 I typed on a DEC Microvax in university initially and did not appreciate what I was doing at the time. Because it was all new. 19:59:33 Then at HP I worked using the HP Pascal Workstation. Which was an unusual machine. But quickly wiggled my way to get access to our series 500 running HP-UX using an HP 2600 series serial terminal. That was a really run time for me working on that system. 19:59:42 I had the control terminal for a Data General Eclipse as my first "computer" at home. I, like you, did not appreciate what I had been handed; it was older than I was and obsolete already so it felt like trash but it taught me *sooooo* much.. 20:00:04 The HP series 500 was the worlds first 32-bit microprocessor. So it was rather of a big deal at the time. 20:00:32 Yea I remember reading about it in some magazine. It was the "adult literature" of choice for me. :D 20:00:41 Then lots and lots of HP-UX for years. Then Debian GNU/Linux for a huge amount of it. And how I am here. 20:02:09 Since I am talking about old things that are fun I spent almost all of my university computer science classes working on paper printing terminals. 20:02:15 DEC Spinwriters. Hazeltines. And so forth. I wrote thousands of lines of code using qed which is a similar sibling to ed. 20:02:39 That's the best way to learn vi by the way. Work with ed for a while. On a paper terminal. Then advance to a CRT with screen addressing. 20:02:58 And of course I am typing this in here with Emacs. Emacs FTW! 20:03:34 But emacs itself is suffering through the thrash that all new stuff goes through. "I love you. You are perfect. Now let's rewrite it all and change everything about you." 20:04:24 And I must run off as real life is calling. Fun trip down memory lane. Chat with you more about it later. TTFN! 20:57:03 so i'm making a scripted bsdinstall for a machine with a jail in it already configured and ready to go. the system distribution dir has my machine's files in it, including the thick jail's base.txz files in /usr/local/jails/containers/testjail/. that "works" and after running the install i can run service jail start testjail. but what's weird is if my installerconfig contains: zfs create -o mountpoint=/usr/local/jails zroot/jails; 20:57:05 zfs create zroot/jails/containers like the handbook says, /usr/local/jails/containers/testjail/ is EMPTY?? 21:00:19 so i commented out the zfs stuff from installerconfig, reinstalled and started machine, manually ran the zfs commands, files are still in /usr/local/jails/containers/testjail/, tried service jail start testjail, it fails with mount.devfs: /usr/local/jails/containers/testjail/dev: no such file or dir 21:16:44 ok ya, when the zfs commands are run, the files in /usr/local/jails/containers/* disappear 21:16:53 wtf 21:21:07 jailed property? 21:21:31 sorry what? 21:23:48 "After a dataset is attached to a jail and the jailed property is set, a jailed file system cannot be mounted outside the jail, since the jail administrator might have set the mount point to an unacceptable value." zfs-jail(8) 21:28:50 i guess what i gotta do is let the installerconfig run the zfs commands, and THEN move the files into the path from a tmp dir 21:59:33 weird. so in the installerconfig i run the zfs commands. then AFTER that i mv /tmp/testjail /usr/local/jails/containers/ but when i reboot, there's nothing in that dir 22:35:39 zfs create -o mountpoint=/usr/local/jails zroot/jails; zfs create zroot/jails/containers; that doesn't create the /usr/local/jails and /usr/local/jails/containers dirs? 23:05:03 ok when i run those zfs commands after installation manually, it creates the dirs. but when the commands are in installerconfig, the dirs don't get created. is that a bug or? 23:19:45 if you're in an installation environment, it could be that the parent directories are on a readonly filesystem 23:20:15 how can i check that? 23:21:51 interactively you can check the output of `mount` 23:21:55 alepzi: the "mount" command 23:22:06 damn, I'm too slow 23:22:55 k sec 23:23:31 i've never done installation automation, so i don't know how to reason about your overall setup, but the default installer involves readonly mount of / 23:25:40 (at least, as far as i remember) 23:34:22 k got it. what should be looking for in the mount output 23:36:48 ro or rw -- for read only and read write 23:52:29 ok got theinfo... 23:53:03 there's a bunch, which line? 23:53:14 btw zroot get altroot says /mnt local 23:58:51 alepzi, If you are wondering what zfs zpool commands were actually getting run then run "zpool history" and look to see what the bsdinstaller did when it did it. 23:59:53 My first thought after reading your description is that you unpacked the files into a directory and then created a dataset on top of the directory of unpacked files. That will mount the dataset /on top of/ the directory hiding any contents.