00:06:55 This is the M.2 in question: https://ssd.userbenchmark.com/SpeedTest/4874/SAMSUNG-MZHPU512HCGL-00000 00:06:56 Title: UserBenchmark: Samsung XP941 PCIe M.2 512GB MZHPU512HCGL 00:07:08 Nothing by modern standards, but not bad. 00:07:25 It's the stupid card. Maybe I should get a modern one of those cards. THere are chepies for like $12. 00:07:36 But I do wonder how well it will work in this old i7 920 mobo 00:08:51 It's old spare parts junk. But it does seem to serve out the 5Gigabit over the wire. So I am happy. 00:09:15 With an old Sun Intel x520 card (ix driver) 00:09:31 my Dell laptop's screen flickers quite a bit with FreeBSD installed, and it becomes quite unusable; I've checked quite a few forum posts and sites with similar problems but there seem to be no real solutions. Tweaking the xorg.conf helps but only to a point. I must be missing a setting in the kernel that allows the AMD APU to effectively use the GPU cores and memory, or a driver that is needed for 00:09:33 that use. Any experience would help. 00:12:45 https://bsd-hardware.info/?probe=e54be582a7 <-- hw probe of the laptop 00:12:47 Title: HW probe of Dell Inspiron 5555 #e54be582a7 03:09:58 Holy craps, I think I just figured out how to replicate my root-on-zfs pool to an external disk reliably :o I'm a slow learner 03:10:44 its pretty simple 03:11:14 It's taken me over 2 years 03:12:16 The trick was to mount the pool with zpool import -o ro -R /mnt/altroot so the OS doesn't write to the disk making incremental snapshots sending break 03:13:00 Then send each dataset with send -v -I @$START_DATE zroot@$END_DATE | zfs receive -F zroot-backup 03:13:51 Using -F on the recv side fixes previous errors I had when the pool was mounted r/w 03:14:39 Send each snapshot, rather 03:16:27 I can't find zpool import -o ro documented anywhere though 03:16:53 shockingly, in the man pages 03:17:22 I've found -o readonly=on in man, but not the shorthand -o ro. Do you have a link handy? 03:19:05 man zpool-import 03:19:23 look at -o 03:19:44 Yeh, it doesn't mention any props, specifically ro 03:19:53 Comma-separated list of mount options to use when mounting datasets within the pool. See zfs(8) for a description of dataset properties and mount options. 03:20:05 See zfs(8) for a description of dataset properties and mount options. 03:20:11 and mount options. 03:20:12 Not in that man page either 03:20:31 ro is a mount option for filesystems, not specific to zfs 03:21:16 this is in zfsprop man page: "The values on and off are equivalent to the ro and rw mount 03:21:16 options." 03:22:40 Still not obvious to me that you can use filesystem mount options with zpool import 04:03:04 tehpeh_, With you. "-ro" could be an option for "mount"; zpoolprops does not list that 04:03:44 kitty terminal emulator feels kind of slow at startup in freebsd for some reason :( 04:05:06 All good, I'm just happy it seems to have fixed the issues I used to have :) 04:06:12 tehpeh_, Wait; there a mention in "zfsprops" for "readonly" property: "The values on and off are equivalent to the ro and rw mount options". So that would be why "zfs mount -o ro ..." work 04:06:38 tehpeh_, Aye👍 04:07:46 Yeh, that's how I understand it now. So I could also use "readonly=on". 04:08:41 I also couldn't find a way to _not_ mount the filesystem during import *shrugs* 04:09:59 tehpeh_: canmount noauto 04:10:40 ah, thanks grahamperrin! 04:11:19 more accurately, canmount=noauto but you get the idea :-) 04:11:20 Title: zfsprops.7 — OpenZFS documentation 04:12:10 actually that's a good point, I could have set that permamently on the whole pool 04:14:17 because it's just an external backup disk. No need to mount it if I'm only sending snapshots over 04:29:01 tehpeh_: you can also encrypt the file system, if you like. 04:57:32 grahamperrin: currently using geli for that, but will check out native encryption soon :) 05:03:30 geli oes not encrypt filesystem, it does block on your disk 05:04:03 filesystem lives on top of that 05:05:07 tehpeh_: PAGER='less "+/Temporary Mount Point Properties"' man 7 zfsprops 05:14:09 angry_vincent: same result for me 05:14:48 thanks llua! 05:15:59 right, it is just not technically correct to use filesystem encryption of zfs encryption or pool encryption ( while there is native one since OpenZFS 2.0 ) 05:17:01 Not sure I'm following 05:17:19 ok :) 05:39:42 "Subsequent successful runs..." <- Follow-up to that part of chat on Saturday: I sent an e-mail to pkgmgr@ with a different example, 05:41:09 emulators/virtualbox-ose-kmod packaged for FreeBSD:13:amd64 but not listed at e.g. recent 07:15:06 does anyone own a contabo VPS over freebsd ? 07:15:30 it says that freebsd is available, but i can't choose it in the interface 07:17:48 tehpeh_: I import the backup pool before running back-up and instead of not mounting stuff I use the altroot argument to zpool import, which also means the pool will not be automatically imported after a reboot, plus I can manually check the results via the altroot mountpoint 08:07:31 hi guys, would like to create a small freebsd infrastructure, and have only 1 node with access to internet, how can I patch the other FreeBSD machines who can only reach the machine which has internet access. Is there any tool/syntax which could help me create a repo clone locally ? I know that linux has reposync and createrepo, can't really find anything for freebsd or am probably looking in the wrong place. Any info on this would be greatly appreciated. 08:13:14 Are you looking to install software other than the base system? 08:13:29 L3Fr0g: sysutils/poudriere-devel is probably a good starting point 08:13:57 On second thoughts, maybe overkill 08:15:18 not all hosts will have the same software/middleware installed, would like to include those packages in this mirror as well 08:15:20 not possible to just rsync /var/cache/pkg ? 08:15:34 ah 08:15:44 some of them will be hosting database, while others web apps and so far and so on.. 08:15:59 i would like to use 1 repo server which will probably also server as a jump host 08:16:57 L3Fr0g: pkg fetch $packages on the internet host, then rsync /var/cache/pkg 08:17:01 Hello folks! I need help troubleshooting an issue. About 1 hour after boot, my Zabbix Server host stops accepting any connection. Kernel only says "kernel: [zone: udp_inpcb] kern.ipc.maxsockets limit reached". 08:17:09 then on other hosts : pkg install $packages ? 08:17:15 not sure it would work 08:17:20 just wondering 08:18:23 i guess you will have dep problems 08:18:26 However, kern.ipc.maxsockets = 62671, "netstat -a" only shows ~500 rows, and "sockstat -n" some 350 rows. How can I hunt down the source of this problem? 08:19:20 L3Fr0g: https://docs.freebsd.org/en/articles/hubs/ ? 08:19:21 Title: Mirroring FreeBSD | FreeBSD Documentation Portal 08:20:20 specially https://docs.freebsd.org/en/articles/hubs/#mirror-pkgs 08:20:21 Title: Mirroring FreeBSD | FreeBSD Documentation Portal 08:20:53 it seems to be the way to go 08:22:19 L3Fr0g: another way ? https://espinosa.io/blog/2015-02-21-proxy-cache-for-freebsd-pkg.html 08:22:20 Title: Caching FreeBSD packages with a proxy server - Allan Espinosa 08:23:00 you will still need to pkg fetch from the internet host 08:23:11 but i would then be available directly from the cache to other hosts 08:23:14 s/i/it 08:23:27 nice 08:23:34 thank you very much ! 08:23:38 this is what i was looking for ! 08:24:08 problem is that hosts without internet will get packages from cache which will get packages on internet 08:24:13 not a problem for you ? 08:24:18 i know, this is not a problem 08:24:23 ok 08:24:50 also, just for my information, what kind of homeserver do you guys use for backing up your mobile phone devices ? 08:25:10 what do you want to backup, only data ? 08:25:24 data, contacts, os, etc.. 08:25:31 for data : syncthing 08:25:47 .oO( I wonder if there is a way to kick off fetching dependencies on the remote host if local host is missing those ... ) 08:25:48 for contacts : davx5 with your mail host 08:26:20 for os: i use calyxos on a google pixel, it embeed a way to backup the apps settings and all 08:26:32 locally, then i use syncthing to export it 08:26:36 .oO( ... I think "pkg" "should" ... ) 08:26:59 isn't there any app who can cover all ? :-( 08:27:06 https://calyxos.org/features/ 08:27:07 Title: CalyxOS Features 08:27:33 L3Fr0g: if there is one, i don't know about it 08:27:44 if you're not a syncthing user, you should take a look 08:27:52 What about Nextcloud ? i've read something about this, anyone using it ? 08:27:59 it allows you to sync datas between phones and desktops 08:28:04 nextcloud is centralized 08:28:20 centralizing is not a good solution 08:28:37 well, i just use it for my personal devices, lol 08:29:02 what does it change ? if your server is down, you don't get access to your data 08:29:09 i don't want to backup data in google or any other cloud, would like to keep personal data locally 08:29:10 with syncthing, data is replicated locally 08:29:24 nice, thanks ! 08:29:32 L3Fr0g: check this https://eoli3n.github.io/2021/12/21/degoogling-android.html 08:29:33 Title: Degoogling | eoli3n 08:30:42 Syncthing use server discovering, you don't even need to open tcp ports or something 08:31:02 just install it on android, on freebsd, linux or whatever and connect hosts with qrcodes 08:35:30 (with syncthing over zfs, you can auto snapshot to avoir to replicate an accidental deletion) 08:35:39 avoid* 08:48:44 very nice, thanks a lot ! 09:03:41 What hypervisor type do you recommend for a productive infrastructure ( bhyve/xen ) with HAST ? Also, are there any cool webUI's or tools available which would help managing the VMs better ? 09:04:23 Although i'm aware that webUIs are not the way when working on something like this, it's just for my own curiosity 09:05:09 I've living the last 20years without freeBSD in my life and now i want to come back to unix, have had enough linux, lol 09:05:31 at least the physical infrastructure i would like to set up on freeBSD, VMs can stay linux, don't really care about that 09:06:15 Also, any puppet or ansible like tools would be very much appreciated, not sure what you guys are using for your environments 09:08:28 ansible works with freebsd without any problem 09:09:07 i use bhyve with virt-manager, which supports bhyve nativly 09:10:14 for ansible, there are useful modules in community.general : https://docs.ansible.com/ansible/latest/collections/community/general/pkgng_module.html 09:10:15 Title: community.general.pkgng module – Package manager for FreeBSD >= 9.0 — Ansible Documentation 09:10:30 https://docs.ansible.com/ansible/latest/collections/community/general/sysrc_module.html 09:10:31 Title: community.general.sysrc module – Manage FreeBSD using sysrc — Ansible Documentation 09:11:34 and about virt-manager : https://virt-manager.org/ 09:11:39 Title: Virtual Machine Manager Home 09:11:59 it works through ssh, i you have access to your bhyve server, you don't need anything more to configure 09:22:33 wow, thaught that vmm is only linux-ready, lol 10:07:36 hardware accelerated virtualization is based on CPUs (specifically, VMENTER and VMEXIT) 10:11:16 what is the MIB for kern.stacktop on 14.0-CURRENT? I've seen 1.40 on phabricator, but that's something else in the user headers 10:12:12 How new of a -CURRENT would it be in? 10:12:54 Mine's about a month old and doesn't have that OID or any descendents of it. 10:18:03 my mistake, looks like the changhes were reverted https://reviews.freebsd.org/rG7a38cb1e4e1bb7edba0ef3c5c93f2aef75242ee3 10:18:04 Title: rG7a38cb1e4e1b 10:46:57 ' 11:14:03 Welp. 11:15:05 Boohumbug: you have a stray quote 12:57:11 ', there, now the channel is unbroken 12:57:29 phew. 13:58:51 maxfx: command swapinfo -h 13:58:56 What's reported? 14:01:22 Remilia: interesting, the Discord CDN stuff. It seems that my everyday Firefox profile is somehow extended to play, instead of download, media. 14:01:26 Are you a Firefox user? 14:05:43 Found: 14:05:44 Title: GitHub - Rob--W/open-in-browser: A browser extension that offers the ability to open files directly in the browser instead of downloading them. 14:31:19 V_PauAmma_V: indeed. Sorry, I have been intentionally avoiding references to lists.freebsd.org URLs until one or two bugs are fixed (I can't predict whether fixes will be retroactive). 14:31:21 Title: 248562 – intro man pages need a review 14:43:07 Oh, right. I was wondering. Thanks. 15:57:28 I have a dedicated fbsd zfs machine that I am thinking of virtualizing with xcp-ng. Will zfs work ok if I do this, any pitfalls? 16:02:08 plan is to pass the raw disks to fbsd os and hardware does support vt-d 16:48:53 quit 17:25:15 Might help if they stick around a bit longer when waiting for an answer. 17:31:51 I only had commentary anyway. Moving from bare metal to a VM is likely to have reduced performance. And perhaps more limited RAM as a VM. 17:34:29 still here.. 17:35:29 rwp: didn't catch your prev mesg but yea I would expect some reduced performance but would that be significant given its passthrough disks? 17:36:01 I think the only way to know is to "suck it and see" as they say. 17:36:08 yea :) 17:37:06 A lot will depend upon the difference in hardware of the two systems. Say the old one was a standard deskside with 3 Gbps SATA. 17:37:12 Then moving to a server with a fast multi-channel SAS/SATA 6 Gbps controller might be faster. 17:37:40 Or it might be the reverse that the bare metal has better I/O performance and more RAM than the shared hosting which must compete with other VMs. 17:37:41 hardware wise it’s the same server, whats different may be the resources I allocate to the vm 17:38:43 I look forward to your feedback on how it worked out for you. :-) 17:39:55 lol, we shall see. 17:40:23 I'm expecting it to be fine but again yea, I'm updating my backups before anything.. 17:42:31 I'll just ask a generic rhetorical question as a just in case... This move does not create any circular dependencies among the entire set of everything? 17:43:10 Make sure that from a cold power off start and power on boot that everything can boot without becoming stuck waiting for something that is waiting for something. 17:43:54 I am sure this isn't the case but I have seen people decide to have the host system hard NFS mount and wait for an NFS server. And then have that NFS server be running as a VM on the host would not be a good thing! 17:45:13 I also have a personal rule that an NFS server should never also be an NFS client. Those two things should never overlap! Avoids a lot of problems. 17:46:08 I say this because when I hear about virtualizing a zfs server then it makes me think NAS system. 17:46:27 Good points yea. As of now there aren't circular deps of that kind no. 17:48:34 One of the main reasons for doing this actually is to run my router virtualized on the same server which does have the negative drawback of if server goes down, router, backups and everything go down.. But I am trying to save some power and that server has too much resources to just let them sit idle. 17:52:05 adonis: you want a disk controller/HBA that can be passed through to the guest, so that ZFS maintains complete control over the cache, otherwise you can get into a situation where ZFS thinks data has been flushed to disk but it hasn't. 17:52:08 I am currently using a classic Banana Pi as a house router. It's good for 750MB/s through it. It's currently running Devuan. 2 watts. Independent. Stable. 17:52:37 It's not so much a question of performance, as it is of the atomic transactional nature of ZFS requiring that level of control. 17:53:28 debdrup: yup I read up a bit on that. Supposedly xcp-ng allows full passthrough of an hba which I have 4 disks connected to as well individual disks as well. 17:54:32 My point is that you shouldn't trust the hypervisor with it, as hypervisors have made the claim of flushing data when they didn't. 17:54:49 So I shouldn't trust it saying its doing passthrough necessarily? 17:54:49 Depending on your location, availability of proper SAS HBAs that can be/are flashed to initiator target mode should be fairly decent. 17:55:11 I wouldn't, even if I knew the hypervisor well (and I don't know it at all). 17:55:34 Ok. As far as my hba yea it's flashed to IT mode. 17:55:47 Which one is it? 17:55:51 Just curious :) 17:55:53 that’s the way its setup in my current bare-metal setup. 17:56:13 hmm one sec 18:01:26 debdrup: It's a LSI SAS 2008 18:01:51 as for the exact model I'll have to open up the chassis for that :) 18:02:13 dmidecode maybe? 18:02:38 or ther other one is it pciconf -lv ? 18:03:07 pciconf -lv is what gave me the above 18:03:19 SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon] 18:03:31 is the exact output 18:03:40 You can use mprutil, mpsutil, mptutil, or mfiutil depending on the actual hardware model. 18:04:01 Check which driver that device is attached to, that should tell you which -util to use 18:04:54 how do I check the driver it's attached to? 18:06:27 grep -u sas2007 /var/run/dmesg.boot 18:06:31 see what Device: 18:06:33 it got 18:06:38 err 2008 18:06:43 and grep -i 18:06:43 :) 18:07:17 mps0 18:07:30 mps – LSI Fusion-MPT 2 IT/IR 6Gb/s Serial Attached SCSI/SATA driver 18:07:34 'man mps' 18:07:50 so mptutil 18:07:54 just based on the naming 18:08:21 SAS9211-8i 18:08:28 :) 18:08:58 :-) 18:09:28 mpsutil show adapter shows this 18:09:41 0-7 SAS Initiator 18:09:50 that’s IT mode right? 18:10:57 0-7 being the PhyNum 18:14:43 no idea :D 18:15:00 I would assume 0-7 are the 8 ports on the card 18:15:06 or well yes phy's 18:17:00 that's what they are yea 18:21:19 What is the syntax for jail.conf.d/* files? Same as jail.conf? 18:22:58 What else would it be? 18:31:51 Just the inside of the jail block possibly? 18:31:53 Do I need to do anything else so the files are detected? Just doing `jail -c foobar` says it's not found. 18:32:42 Is the .d specifically for rc.d? 18:33:55 mps - LSI Fusion-MPT 2 IT/IR 18:34:00 Says IT in it 18:34:02 ;-) 18:34:15 Erhard: it also says IR, so that's not much to go on. 18:34:34 ccx: Well, I don't know exactly where it's from (I think Xorg?), but the .d is a convention used to indicate that a directory contains configuration files of a certain type. 18:34:42 You still need to follow the format of the configuration file inside them. 18:35:28 It's just there so that if you're managing a lot of jails but still want to use the in-base tools, you can now put one per directory with jail.conf being used to define defaults. 18:36:24 Erhard: daemon printed that out from the man page, that doesn't necessarily specify what mode my card is technically in 18:36:26 There's a way to use jail.conf to define basically every default, so that jail.conf.d/ only contains a couple of lines with the jail block and its IP. 18:36:33 Oh, I see 18:37:28 adonis: I don't have a system booted with that SAS controller and it'd take minutes to start up (server POST times...), but I'm pretty sure there's no real way of knowing short of having flashed it. 18:37:31 Does it list the firmware in dmesg|grep mps 18:37:48 mpsutil(8) might show it. 18:37:50 The version or anything? 18:37:57 dmesg definitely doesn't. 18:38:00 I saw it somewhere yea 18:38:09 MIne shows firmware version in dmesg 18:38:16 But does not specicifally mention IT 18:38:17 mpsutil show adapter shows it 18:38:19 20.00.07.00 18:38:30 debdrup: I don't think that's the case actually. It seems to be specifically for /etc/rc.d/jail which tries to guess proper config file for jail command and only one is used. 18:38:31 Yeah, that is the version I have in IT 18:38:44 mps0: Firmware: 20.00.07.00, Driver: 21.02.00.00-fbsd 18:38:50 from dmesg 18:39:21 I don't remember if there's an IR mode for that firmware version, though - so at best, it's inference. 18:39:51 That is the standard IT firmware version. Could also be an IR version perhaps.. But unlikely 18:39:57 I'll grant that it's unlikely, but epistemologically we're no closer to an answer :P 18:40:03 :) 18:40:06 Are we ever? 18:40:14 Erhard: for certain values of sometiems. 18:40:34 Erhard: weird for me is that dmesg | grep mps doesn't show firmware or driver.. 18:40:42 If it printed IT mode somewhere, we'd be as certain as we can be - with is epistemologically more certain than we are know. 18:40:44 That is weird. 18:40:54 Mine is on TrueNAS.. maybe they added that 18:41:04 oh ok 18:41:06 I doubt it. 18:41:27 I won't claim iX upstream everything, but they've been pretty good about it. 18:41:28 This box has a different card, though: mps0: port 0xe000-0xe0ff mem 0xfbec0000-0xfbec3fff,0xfbe80000-0xfbebffff irq 40 at device 0.0 on pci3 18:41:32 debdrup: so mpsutil show adapter saying SAS INITIATOR for all physical interfaces is not enough? 18:41:56 just wondering if that implies IT mode or not. 18:42:29 adonis: I think that's SAS Initiator port. 18:42:36 ok 18:43:52 SAS probably inherited that nomenclature from SCSI, which is also where the notion of initiator targets come from. 18:44:18 I won't guarantee that this card is in IT mode but I'm sure (within margins of human error lol) that I put the card in IT mode specifically so it can be used as an hba for zfs :) 18:44:28 Ah, so much fun. Get your centronic termintor right... 18:44:33 mpsutil can be used to reflash. 18:47:50 Do: sas2flash -list 18:48:05 Then look for Firmware Product ID : 0x2213 (IT) 18:49:25 Thought aparently that is only positively affirming, as some card won't show the (IT) even when they are ;-( 18:49:42 adonis: 18:50:46 just out of curiosity ... you did just try dmidecode (for if it could determine the precise model) right :) 18:51:40 Erhard: what port installs sas2flash? 18:52:02 No clue. It seems to come with TrueNAS 18:52:12 lol I'm not running a nas 18:52:43 you can steal the images from truenas/opnsense without much issue 18:52:55 being based on freebsd and all anyway 18:52:57 couldn't find a port that installs that actually 18:53:13 daemon: working on install dmidecode 18:53:13 maybe its base, slap it in a vm maybe can just cp it over 18:53:34 for some odd reason doing pkg install anything is taking a long long time 18:54:39 ok I know why. I added ipv6 and for some reason that’s not working too well. 18:54:52 Maybe DNS 18:55:03 I am not sure where sas2flash comes from ;-) 18:55:12 It may be from Broadcom 18:55:23 ipv6 works on my network, my config for my bsd machine probably needs to be tweaked a bit 18:56:01 https://docs.broadcom.com/doc/12353205 18:56:11 yeah its a broadcom tool 18:56:32 as an aside there is apparently a thread on an 'easier alternative' https://www.truenas.com/community/threads/sas2flash-easier-alternative.30789/ 18:56:33 Title: SOLVED - SAS2FLASH Easier Alternative | TrueNAS Community 18:56:38 might be helpful 18:56:55 His real goal is to determine if he has IT mode firmware on the HBA 18:58:10 reading the thread it seems they come default in 'ir' mode 18:58:23 Yes. 18:58:35 Though he has the firmware most usually associated with IT 18:58:46 However, that versions also has an IR mode (~5% slower from what I find) 18:58:50 is there any safe quick test 18:58:59 Do: sas2flash -list 18:59:05 I will need a bit for this as I think I will need to restart my bsd box for networking changes but it's in the middle of a zfs send and I need to let that finish first. 18:59:13 Seems at least affirm IT if it says IT 19:00:15 from the thread it also seems the best way to play about with the sas2flash tool is in msdos 19:00:29 Oh, fun! 19:00:44 :-) 19:00:48 lol yea.. I remember using that tool for the flash itself 19:01:10 booted up in FreeDOS 19:01:30 if I understand what is going on truenas/freenas has a sas2flash tool natively, ported from an older version that can do read accesses fine it simply cannot write 19:01:46 so ... using that logic if you are going to boot to another os to piss about with tool may as well just make a freedos boot 19:02:16 maybe you still have the usb key handy? :D 19:02:42 nope lol 19:03:02 that’s optimistic thinking haha 19:03:20 :) 19:05:00 I can send you the binary, but you would be crazy to run something from IRC ;-) 19:05:29 name it something you would trust from irc like 'medical notes.exe' ;D 19:05:35 lol 19:05:41 that's ok. thanks. I can grab the flash tool bootable usb again. 19:05:57 so I think my issue is the ipv6_defaultrouter 19:06:27 there is a sysctl somewhere to control what ip version is tried by default 19:06:30 does /etc/rc.d/routing restart put into effect a change on that command? 19:06:40 on that arg sorry. 19:07:12 brb 19:11:30 It's not _really_ a Broadcom tool, it's just on their site because they got bought by Avago who also bought up LSI. 19:11:41 sas2flash, that is 19:13:27 yummy yummy conglomerate munchies 19:16:58 Well, yeah 19:17:36 Copyright (c) 2008-2013 LSI Corporation. All rights reserved 19:19:46 * Remilia misses buslogic HBAs 19:20:09 ATTO SCSI initiators, lol 19:20:20 As in fibre channel HBAs? 19:22:51 I got two in 1998 I think and they just worked forever until PCI died out and then I lost them during some move or whatnot 19:23:52 never had much luck with LSI Logic and Adaptec 19:24:23 I always had great luck with Adaptec. 19:24:53 'Course. . . I was also good about firmware updates and being really anal about how things were cabled & terminated. 19:34:28 I will explain a thing I have explained a few times before, as I have been involved. The difference between AVX and AVX2 is looping over an array, such that the compiler gets a list of addresses of valid data. Then you accelerate the logic in the pipeline for what is called gather-scatter. 19:42:42 what is the appropriate way of retriving the size of memory currently used by a specific process? 19:44:44 root@gateway:/usr/ports/sysutils/sas2ircu # top -b | grep dnsmasq | perl -e 'while() { my @cols=split(/\s+/); print "$cols[7]\n" }' 19:44:44 4052K 19:44:49 :-) 19:44:55 :D 19:45:36 wouldn't that be $cols[6] tho? 19:45:48 1024 nobody 1 20 0 16M 4052K select 2 4:11 0.00% dnsmasq 19:46:01 ah its split on space 19:46:05 \s+ 19:46:09 so nope 7 19:46:12 beacuse of the space at the start 19:46:34 but surely there is some other base supplied utility to retrieve this number from a PID, no? 19:46:39 I mean you're literally using perl 19:46:43 (nothing against perl) 19:46:44 I mean hack it with sed/awk from base 19:46:52 alright, so that is the way to do it properly? 19:46:59 there is no memof or similar? 19:47:01 I think its the only way to do it that I am aware of 19:47:17 not even sure procfs can do it if mounted 19:47:48 that being said I mean you could look at the code for top 19:47:55 there must be some native C code to actually determine it 19:48:37 certainly. I was looking for a shell-only solution so far. I did do the awk thing but felt like there this might be not the most efficient way (from shell-only perspective) 19:49:06 its so little overhead on todays ott hardware ~ well yeah I mean that is likely what happened 19:49:12 top -b exists for interaction with shell scripts etc 19:49:25 didn't know about -b so that's good, thanks :) 19:49:25 and its so little processing no one cared enough to make 'howmuchres' as a binary 19:49:30 np 19:50:08 no point in building such a binary then I guess 19:50:39 you could but I kind of doubt anyone would ever use it other than yourself, the internet is glued together in perl and all ;p 19:53:29 jbo: ps -p 34 -o rss 19:53:43 substitute 34 with desired PID 19:53:57 and rss with desired memory statistic, there's a few 19:54:49 Between 2012-2013 I was at CERN OpenLab for GEANT(5), also referred to as Intel Lab with access to engineering samples, with weekly meeting engineering debug meetings where I met several Intel research lab staff asking me weird questions. For all intents and purposes given diplomatic attache status, the work is open and free. 19:55:31 If you have /proc mounted you should be able to use that from scripts, but that's no longer the default I believe. 19:58:04 -o rss= # to omit printing the header 19:58:25 What gather-scatter actually involved, was discussing software and physics theory with legends as the code was awful. Involving tracing particles in suimulated through a detector where polygons are not used, where a screw or a plate is an accurate geomatreic object with different math, and how to distribute and parallize this in a way compatbile with AVX. 19:59:35 heh, i have a customer sample board that was at sandia national labs before my workplace ended up buying it 19:59:44 (the board, not the labs) 19:59:50 lol 20:08:28 I still have it and the engineering sample chips it came with 20:08:52 (e5-2680 chips in the end, but they didnt have that designation at that point) 20:15:19 And for what it matters lattera, why didnt i publish? I was mentall exhausted, and Sverre Jarp was retiring, and my advisor too busy complaining about float precision from MPI results - needing more time than the average person. 20:30:49 zpiro: I have a sneaky suspicion that you're a bot... 20:34:23 lattera: maybe not, https://twitter.com/BalderOddson/status/1582086301007826944 20:34:24 Title: Olav Smorholm on Twitter: "For who's whom in Eastern Asia, trust in China would involve orientation of whom everyone is from ancient times? Who's landlocked? Now or usually, and never by necessity. Fixing North and South, no matter how attractive it is to look elsewhere." / Twitter 20:34:53 what's the policy on annoying random irc bots in this channel? 20:35:44 you dont like VimDiesel ? 20:37:55 https://wiki.freebsd.org/IRC/Bots#VimDiesel 20:37:56 Title: IRC/Bots - FreeBSD Wiki 20:39:47 I'm not a fan of being tagged in random bot spam 20:45:19 lattera: I could ask you to ask Ben Segal, or the fortran guy behind original GEANT that knows the danish guy behind c++ and adviced Berners Lee, but wouldn't be NexGen. 20:50:18 zpiro: your comments seemingly came out of nowhere and had little to do with FreeBSD 20:55:02 -sigh- markov bot? 20:55:16 or just really tired college professor? 20:55:18 HARD TO TELL! 20:59:51 ISTR there were spam bots that replayed old channel logs, moslty aimed at defeating content-based spam detection. 21:01:41 thumbs: the previous ones were, and are true. 21:02:50 thumbs: on topic that is. 21:04:07 thumbs: and generally, lives necessities and coincidence have their issues. 21:10:50 how is it directly freebsd related? 21:11:03 it should probably go in #freebsd-social 21:11:21 (if what you're saying is legit) 21:12:33 z_pir0 seems pretty spammy. 21:14:22 zpiro: what is freebsd? 21:15:14 Seems he was turned off. 21:15:35 Besides, everyone knows it's "a kind of linux." 21:17:02 I hear its better for running ftp sites with ;-) 21:18:03 I know, it's part of the base OS: /usr/libexec/ftpd 21:18:53 I'm sure I'll receive much hate for the sentiment, but I miss having bind in the base OS, since I've used FreeBSD for so many DNS servers. 21:19:48 ISC is deprecating bind anyways 21:19:53 (or rather, has) 21:19:56 nacelle: it is an evolution of the bsd kernel, that respect the intent of orgiginal purposes and function of the sub function of this classical unix offering, and want it to be free, as in truly free for praid, non-paid, gratis and all eyes around. 21:20:00 CrtxReavr, if it makes you feel better I think perl should still be in base :P 21:20:45 you know what we should do make a 'prebsd-pack' pkg that has bind, sendmail, perl etc... in it 21:20:47 "Alex, what is Dissociated Press?" 21:20:58 a one shot installer to put in the missing gpl stuff most of us know 21:21:04 zpiro: what is a bsd kernel? 21:21:44 daemon, I gotta disagree there, especially since replacing perl in the build system with awk was such a boss move. 21:22:10 I mean. . . awk was always there, but replacing perl's role in the build system, was a master class change. 21:22:16 nacelle: curious question, assuming the question of a kernel is not involved, it involves a respect of unix philospophy and clearly controlled sub systems. 21:22:30 crinstall anything, apache nginx postfix exim or any DE and what gets dragged in 21:22:57 its not that I have a big problem with things like bind or perl not being there, but the moment you install almost anything they get sucked in anyway 21:23:18 daemon, be sure to tell me which hosts you install it on so I can sic the Morris worm on them. :-) 21:23:25 :-) 21:24:20 zpiro: why do you speak like no one else I've ever spoken with does? 21:25:10 zprio is the AI that got that guy at Google fired. 21:25:14 nacelle: say no to .no is a slogan i still struggle with, almost like its racist. 21:25:32 the troll comes from here, apprantly. 21:26:19 zpiro: since you can't demonstrate to several channel regulars that you aren't some variant of a Markov bot, I'm going to quiet you if you don't stop this right now. 21:35:39 debdrup: you are welcome to that. 21:36:18 o_O 21:37:24 you know what 21:40:36 Am i know? Oh well. 21:46:37 nacelle: am I a markov bot? 21:46:51 probably? 21:48:41 thank you 21:49:13 CrtxReavr: have you had a chance to play with kea? 21:52:10 ok so I'm having some issues with ipv6 on my fbsd box. I have the ipv6_defaultrouter set and I can ping it. But doing ping google.com for example doesn't go through. 21:52:47 my interface ix0 has a public ipv6 and link local one. ping google.com I can see trying to ping the resolved ipv6 address for that domain name but just doesn't go through. 21:53:05 Which FreeBSD version? 21:53:30 13.1-p2 21:54:16 I have rtsold_enable="YES" 21:54:27 and ifconfig_ix0_ipv6="inet6 accept_rtadv" 21:54:41 Do you have a firewall on that computer? ipfw2, pf, ipf, or whatever? 21:55:01 the fbsd box has no firewall but the router I specified in ipv6_defaultrouter does 21:56:23 they are both on the same subnet though and firewall rules allow comms between both boxes 21:56:35 OK. Try traceroute6. That should tell you something about who drops the packets. 21:57:29 packets do make it to the router as per traceroute6 21:57:46 And not beyond that? 21:59:09 ok.. well I did traceroute6 directly to the router, not that helpful I guess. Doing traceroute6 to google.com for example shows the first hop not going through 21:59:17 so 1 * 22:00:00 nacelle, I have not. . . though I have written copious shell scripts to do automation with dhcpd. 22:01:21 adonis, can you pastebin the output of ifconfig & netstat -rn 22:01:35 ok 22:03:22 Um. . now would be preferable. 22:03:47 ifconfig https://pastebin.com/uPbadFyS 22:03:48 Title: bruce-ifconfig - Pastebin.com 22:04:33 netstat: https://pastebin.com/M1b8Vh6s 22:04:35 Title: bruce-netstat - Pastebin.com 22:05:37 ix0 is your egress interface? 22:05:58 on the fbsd box yea. its pretty much connected to my switch which connects to my router 22:06:51 so ipv4 works for example 22:06:54 Why do you have v6 IPs from two different prefixes? 22:07:25 good question lol 22:07:32 On ix0? 22:08:32 I can actually ping 2600:4040:a689:8301:ec4:7aff:fe1f:7724 22:08:34 not sure tbh, let me restart the machine. It may have to do with some config changes I made and routing restarts.. 22:08:36 So the routing is working. 22:08:51 by it might be defaulting to the other IP as your source IP. 22:09:56 fbsd restart in progress :), let's see if I still get two prefixes, if so maybe a bad config on my router.. 22:10:19 What happens when you: ping6 ff02::2%ix0 22:11:17 going to have to give me a few minutes there while I wait for that box to restart, it's slow to restart. 22:11:34 Why restart it? 22:12:32 because I had made some ipv6_defaultrouter changes + service routing restart's prior and maybe that's why I have the two prefixes? 22:12:53 just want to get back to state 0 22:14:26 ok yup i see only 1 prefix on it now 22:14:48 and there you go ping google.com goes out via ipv6 and works 22:16:07 hmmm.. now wondering why the two prefixes and why two prefixes causes an issue with routing.. 22:17:17 adonis: I understand the instinct to restart if you're used to other platforms, but with FreeBSD the only useful thing you can do with a reboot that can't be accomplished any other way is to update the kernel. 22:18:02 So far as I remember, nothing in the base system has in-memory state that can be different from what's on-disk, unless it's not been SIGHUP'd 22:18:14 ..since the last recent change. 22:18:31 And clearing out all your nuetrino bit flips... ;-) 22:19:35 debdrup: yea I understand that. service routing restart wasn't enough though, most likely because I need to restart the iface itself.. 22:19:47 Not sure a reboot accomplishes that, maybe a cold start if you pull the plug from the machine and hold down the power button to discharge all the capasitors? 22:20:09 Reboot is a CPU reset, but it doesn't affect hardware state beyond that. 22:20:12 still felt a restart was faster then trying to guess if that iface restart + routing restart was going to be enough. 22:20:21 A reboot fixes bit flips because it assumes nothing about eh state of RAM when it boots. 22:20:33 adonis: there's also the netif service that can use a restart 22:20:56 I htink I had to both netif and routing restart, and there is a specific order I don't recall. 22:21:08 I found it easier to reboot since I was dealing with VMs at the time 22:21:25 But if you are running enterprise gear that takes five mins to reboot that is a pain 22:21:38 A few minutes? I'd love that. 22:21:47 Initiating Lifecycler Controller... 22:21:56 My bigiron is approximately 10 minutes to a boot. 22:22:08 Yeah, close to that for the Dell junk 22:22:08 Well, "bigiron" compared with every other box I own. 22:22:31 Anywho, bedtime. 22:22:41 Have a good one. 22:23:12 Erhard: 5+min restarts are definitely cool :) 22:23:46 definitely not* 22:24:36 ask a 1970's IBM tech about IPL time 22:35:34 I like manually setting bits with physcial switches to load code for booting. 23:38:43 Speed reading … 23:39:06 adonis: did you restart the OS to work around a networking issue?