-
Erhard
-
VimDiesel
Title: UserBenchmark: Samsung XP941 PCIe M.2 512GB MZHPU512HCGL
-
Erhard
Nothing by modern standards, but not bad.
-
Erhard
It's the stupid card. Maybe I should get a modern one of those cards. THere are chepies for like $12.
-
Erhard
But I do wonder how well it will work in this old i7 920 mobo
-
Erhard
It's old spare parts junk. But it does seem to serve out the 5Gigabit over the wire. So I am happy.
-
Erhard
With an old Sun Intel x520 card (ix driver)
-
johnm
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
-
johnm
that use. Any experience would help.
-
johnm
-
VimDiesel
Title: HW probe of Dell Inspiron 5555 #e54be582a7
-
tehpeh_
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
-
llua
its pretty simple
-
tehpeh_
It's taken me over 2 years
-
tehpeh_
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
-
tehpeh_
Then send each dataset with send -v -I @$START_DATE zroot@$END_DATE | zfs receive -F zroot-backup
-
tehpeh_
Using -F on the recv side fixes previous errors I had when the pool was mounted r/w
-
tehpeh_
Send each snapshot, rather
-
tehpeh_
I can't find zpool import -o ro documented anywhere though
-
llua
shockingly, in the man pages
-
tehpeh_
I've found -o readonly=on in man, but not the shorthand -o ro. Do you have a link handy?
-
llua
man zpool-import
-
llua
look at -o
-
tehpeh_
Yeh, it doesn't mention any props, specifically ro
-
llua
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.
-
llua
See zfs(8) for a description of dataset properties and mount options.
-
llua
and mount options.
-
tehpeh_
Not in that man page either
-
llua
ro is a mount option for filesystems, not specific to zfs
-
tehpeh_
this is in zfsprop man page: "The values on and off are equivalent to the ro and rw mount
-
tehpeh_
options."
-
tehpeh_
Still not obvious to me that you can use filesystem mount options with zpool import
-
parv
tehpeh_, With you. "-ro" could be an option for "mount"; zpoolprops does not list that
-
hlz
kitty terminal emulator feels kind of slow at startup in freebsd for some reason :(
-
tehpeh_
All good, I'm just happy it seems to have fixed the issues I used to have :)
-
parv
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
-
parv
tehpeh_, Aye👍
-
tehpeh_
Yeh, that's how I understand it now. So I could also use "readonly=on".
-
tehpeh_
I also couldn't find a way to _not_ mount the filesystem during import *shrugs*
-
grahamperrin
tehpeh_: canmount noauto
-
tehpeh_
ah, thanks grahamperrin!
-
grahamperrin
-
VimDiesel
Title: zfsprops.7 — OpenZFS documentation
-
tehpeh_
actually that's a good point, I could have set that permamently on the whole pool
-
tehpeh_
because it's just an external backup disk. No need to mount it if I'm only sending snapshots over
-
grahamperrin
tehpeh_: you can also encrypt the file system, if you like.
-
tehpeh_
grahamperrin: currently using geli for that, but will check out native encryption soon :)
-
angry_vincent
geli oes not encrypt filesystem, it does block on your disk
-
angry_vincent
filesystem lives on top of that
-
llua
tehpeh_: PAGER='less "+/Temporary Mount Point Properties"' man 7 zfsprops
-
tehpeh_
angry_vincent: same result for me
-
tehpeh_
thanks llua!
-
angry_vincent
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 )
-
tehpeh_
Not sure I'm following
-
angry_vincent
ok :)
-
grahamperrin
<grahamperrin> "Subsequent successful runs..." <- Follow-up to that part of chat on Saturday: I sent an e-mail to pkgmgr@ with a different example,
-
grahamperrin
emulators/virtualbox-ose-kmod packaged for FreeBSD:13:amd64 but not listed at e.g. recent <
beefy14.nyi.freebsd.org/build.html?…1amd64-quarterly&build=a1f9d8a68e23>
-
eoli3n
does anyone own a contabo VPS over freebsd ?
-
eoli3n
it says that freebsd is available, but i can't choose it in the interface
-
Remilia
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
-
L3Fr0g
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.
-
parv
Are you looking to install software other than the base system?
-
grahamperrin
L3Fr0g: sysutils/poudriere-devel is probably a good starting point
-
grahamperrin
On second thoughts, maybe overkill
-
L3Fr0g
not all hosts will have the same software/middleware installed, would like to include those packages in this mirror as well
-
eoli3n
not possible to just rsync /var/cache/pkg ?
-
eoli3n
ah
-
L3Fr0g
some of them will be hosting database, while others web apps and so far and so on..
-
L3Fr0g
i would like to use 1 repo server which will probably also server as a jump host
-
eoli3n
L3Fr0g: pkg fetch $packages on the internet host, then rsync /var/cache/pkg
-
michelem
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".
-
eoli3n
then on other hosts : pkg install $packages ?
-
eoli3n
not sure it would work
-
eoli3n
just wondering
-
eoli3n
i guess you will have dep problems
-
michelem
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?
-
eoli3n
-
VimDiesel
Title: Mirroring FreeBSD | FreeBSD Documentation Portal
-
eoli3n
-
VimDiesel
Title: Mirroring FreeBSD | FreeBSD Documentation Portal
-
eoli3n
it seems to be the way to go
-
eoli3n
-
VimDiesel
Title: Caching FreeBSD packages with a proxy server - Allan Espinosa
-
eoli3n
you will still need to pkg fetch from the internet host
-
eoli3n
but i would then be available directly from the cache to other hosts
-
eoli3n
s/i/it
-
L3Fr0g
nice
-
L3Fr0g
thank you very much !
-
L3Fr0g
this is what i was looking for !
-
eoli3n
problem is that hosts without internet will get packages from cache which will get packages on internet
-
eoli3n
not a problem for you ?
-
L3Fr0g
i know, this is not a problem
-
eoli3n
ok
-
L3Fr0g
also, just for my information, what kind of homeserver do you guys use for backing up your mobile phone devices ?
-
eoli3n
what do you want to backup, only data ?
-
L3Fr0g
data, contacts, os, etc..
-
eoli3n
for data : syncthing
-
parv
.oO( I wonder if there is a way to kick off fetching dependencies on the remote host if local host is missing those ... )
-
eoli3n
for contacts : davx5 with your mail host
-
eoli3n
for os: i use calyxos on a google pixel, it embeed a way to backup the apps settings and all
-
eoli3n
locally, then i use syncthing to export it
-
parv
.oO( ... I think "pkg" "should" ... )
-
L3Fr0g
isn't there any app who can cover all ? :-(
-
eoli3n
-
VimDiesel
Title: CalyxOS Features
-
eoli3n
L3Fr0g: if there is one, i don't know about it
-
eoli3n
if you're not a syncthing user, you should take a look
-
L3Fr0g
What about Nextcloud ? i've read something about this, anyone using it ?
-
eoli3n
it allows you to sync datas between phones and desktops
-
eoli3n
nextcloud is centralized
-
eoli3n
centralizing is not a good solution
-
L3Fr0g
well, i just use it for my personal devices, lol
-
eoli3n
what does it change ? if your server is down, you don't get access to your data
-
L3Fr0g
i don't want to backup data in google or any other cloud, would like to keep personal data locally
-
eoli3n
with syncthing, data is replicated locally
-
L3Fr0g
nice, thanks !
-
eoli3n
-
VimDiesel
Title: Degoogling | eoli3n
-
eoli3n
Syncthing use server discovering, you don't even need to open tcp ports or something
-
eoli3n
just install it on android, on freebsd, linux or whatever and connect hosts with qrcodes
-
eoli3n
(with syncthing over zfs, you can auto snapshot to avoir to replicate an accidental deletion)
-
eoli3n
avoid*
-
L3Fr0g
very nice, thanks a lot !
-
L3Fr0g
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 ?
-
L3Fr0g
Although i'm aware that webUIs are not the way when working on something like this, it's just for my own curiosity
-
L3Fr0g
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
-
L3Fr0g
at least the physical infrastructure i would like to set up on freeBSD, VMs can stay linux, don't really care about that
-
L3Fr0g
Also, any puppet or ansible like tools would be very much appreciated, not sure what you guys are using for your environments
-
eoli3n
ansible works with freebsd without any problem
-
eoli3n
i use bhyve with virt-manager, which supports bhyve nativly
-
eoli3n
-
VimDiesel
Title: community.general.pkgng module – Package manager for FreeBSD >= 9.0 — Ansible Documentation
-
eoli3n
-
VimDiesel
Title: community.general.sysrc module – Manage FreeBSD using sysrc — Ansible Documentation
-
eoli3n
and about virt-manager :
virt-manager.org
-
VimDiesel
Title: Virtual Machine Manager Home
-
eoli3n
it works through ssh, i you have access to your bhyve server, you don't need anything more to configure
-
L3Fr0g
wow, thaught that vmm is only linux-ready, lol
-
debdrup
hardware accelerated virtualization is based on CPUs (specifically, VMENTER and VMEXIT)
-
paulf
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
-
debdrup
How new of a -CURRENT would it be in?
-
debdrup
Mine's about a month old and doesn't have that OID or any descendents of it.
-
paulf
-
VimDiesel
Title: rG7a38cb1e4e1b
-
Boohumbug
'
-
debdrup
Welp.
-
thumbs
Boohumbug: you have a stray quote
-
vkarlsen
', there, now the channel is unbroken
-
thumbs
phew.
-
grahamperrin
maxfx: command swapinfo -h
-
grahamperrin
What's reported?
-
grahamperrin
Remilia: interesting, the Discord CDN stuff. It seems that my everyday Firefox profile is somehow extended to play, instead of download, media.
-
grahamperrin
Are you a Firefox user?
-
grahamperrin
-
VimDiesel
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.
-
grahamperrin
V_PauAmma_V: <
bugs.freebsd.org/bugzilla/show_bug.cgi?id=248562#c2> 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).
-
VimDiesel
Title: 248562 – intro man pages need a review
-
V_PauAmma_V
Oh, right. I was wondering. Thanks.
-
adonis
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?
-
adonis
plan is to pass the raw disks to fbsd os and hardware does support vt-d
-
adonis
quit
-
debdrup
Might help if they stick around a bit longer when waiting for an answer.
-
rwp
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.
-
adonis
still here..
-
adonis
rwp: didn't catch your prev mesg but yea I would expect some reduced performance but would that be significant given its passthrough disks?
-
rwp
I think the only way to know is to "suck it and see" as they say.
-
adonis
yea :)
-
rwp
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.
-
rwp
Then moving to a server with a fast multi-channel SAS/SATA 6 Gbps controller might be faster.
-
rwp
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.
-
adonis
hardware wise it’s the same server, whats different may be the resources I allocate to the vm
-
rwp
I look forward to your feedback on how it worked out for you. :-)
-
adonis
lol, we shall see.
-
adonis
I'm expecting it to be fine but again yea, I'm updating my backups before anything..
-
rwp
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?
-
rwp
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.
-
rwp
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!
-
rwp
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.
-
rwp
I say this because when I hear about virtualizing a zfs server then it makes me think NAS system.
-
adonis
Good points yea. As of now there aren't circular deps of that kind no.
-
adonis
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.
-
debdrup
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.
-
rwp
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.
-
debdrup
It's not so much a question of performance, as it is of the atomic transactional nature of ZFS requiring that level of control.
-
adonis
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.
-
debdrup
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.
-
adonis
So I shouldn't trust it saying its doing passthrough necessarily?
-
debdrup
Depending on your location, availability of proper SAS HBAs that can be/are flashed to initiator target mode should be fairly decent.
-
debdrup
I wouldn't, even if I knew the hypervisor well (and I don't know it at all).
-
adonis
Ok. As far as my hba yea it's flashed to IT mode.
-
debdrup
Which one is it?
-
debdrup
Just curious :)
-
adonis
that’s the way its setup in my current bare-metal setup.
-
adonis
hmm one sec
-
adonis
debdrup: It's a LSI SAS 2008
-
adonis
as for the exact model I'll have to open up the chassis for that :)
-
daemon
dmidecode maybe?
-
daemon
or ther other one is it pciconf -lv ?
-
adonis
pciconf -lv is what gave me the above
-
adonis
SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon]
-
adonis
is the exact output
-
debdrup
You can use mprutil, mpsutil, mptutil, or mfiutil depending on the actual hardware model.
-
debdrup
Check which driver that device is attached to, that should tell you which -util to use
-
adonis
how do I check the driver it's attached to?
-
daemon
grep -u sas2007 /var/run/dmesg.boot
-
daemon
see what Device:
-
daemon
it got
-
daemon
err 2008
-
daemon
and grep -i
-
daemon
:)
-
adonis
mps0
-
daemon
mps – LSI Fusion-MPT 2 IT/IR 6Gb/s Serial Attached SCSI/SATA driver
-
daemon
'man mps'
-
daemon
so mptutil
-
daemon
just based on the naming
-
adonis
SAS9211-8i
-
adonis
:)
-
daemon
:-)
-
adonis
mpsutil show adapter shows this
-
adonis
0-7 SAS Initiator
-
adonis
that’s IT mode right?
-
adonis
0-7 being the PhyNum
-
daemon
no idea :D
-
daemon
I would assume 0-7 are the 8 ports on the card
-
daemon
or well yes phy's
-
adonis
that's what they are yea
-
ccx
What is the syntax for jail.conf.d/* files? Same as jail.conf?
-
debdrup
What else would it be?
-
ccx
Just the inside of the jail block possibly?
-
ccx
Do I need to do anything else so the files are detected? Just doing `jail -c foobar` says it's not found.
-
ccx
Is the .d specifically for rc.d?
-
Erhard
mps - LSI Fusion-MPT 2 IT/IR
-
Erhard
Says IT in it
-
Erhard
;-)
-
debdrup
Erhard: it also says IR, so that's not much to go on.
-
debdrup
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.
-
debdrup
You still need to follow the format of the configuration file inside them.
-
debdrup
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.
-
adonis
Erhard: daemon printed that out from the man page, that doesn't necessarily specify what mode my card is technically in
-
debdrup
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.
-
Erhard
Oh, I see
-
debdrup
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.
-
Erhard
Does it list the firmware in dmesg|grep mps
-
debdrup
mpsutil(8) might show it.
-
Erhard
The version or anything?
-
debdrup
dmesg definitely doesn't.
-
adonis
I saw it somewhere yea
-
Erhard
MIne shows firmware version in dmesg
-
Erhard
But does not specicifally mention IT
-
adonis
mpsutil show adapter shows it
-
adonis
20.00.07.00
-
ccx
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.
-
Erhard
Yeah, that is the version I have in IT
-
Erhard
mps0: Firmware: 20.00.07.00, Driver: 21.02.00.00-fbsd
-
Erhard
from dmesg
-
debdrup
I don't remember if there's an IR mode for that firmware version, though - so at best, it's inference.
-
Erhard
That is the standard IT firmware version. Could also be an IR version perhaps.. But unlikely
-
debdrup
I'll grant that it's unlikely, but epistemologically we're no closer to an answer :P
-
adonis
:)
-
Erhard
Are we ever?
-
debdrup
Erhard: for certain values of sometiems.
-
adonis
Erhard: weird for me is that dmesg | grep mps doesn't show firmware or driver..
-
debdrup
If it printed IT mode somewhere, we'd be as certain as we can be - with is epistemologically more certain than we are know.
-
Erhard
That is weird.
-
Erhard
Mine is on TrueNAS.. maybe they added that
-
adonis
oh ok
-
debdrup
I doubt it.
-
debdrup
I won't claim iX upstream everything, but they've been pretty good about it.
-
Erhard
This box has a different card, though: mps0: <Avago Technologies (LSI) SAS2008> port 0xe000-0xe0ff mem 0xfbec0000-0xfbec3fff,0xfbe80000-0xfbebffff irq 40 at device 0.0 on pci3
-
adonis
debdrup: so mpsutil show adapter saying SAS INITIATOR for all physical interfaces is not enough?
-
adonis
just wondering if that implies IT mode or not.
-
debdrup
adonis: I think that's SAS Initiator port.
-
adonis
ok
-
debdrup
SAS probably inherited that nomenclature from SCSI, which is also where the notion of initiator targets come from.
-
adonis
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 :)
-
Erhard
Ah, so much fun. Get your centronic termintor right...
-
debdrup
mpsutil can be used to reflash.
-
Erhard
Do: sas2flash -list
-
Erhard
Then look for Firmware Product ID : 0x2213 (IT)
-
Erhard
Thought aparently that is only positively affirming, as some card won't show the (IT) even when they are ;-(
-
Erhard
adonis:
-
daemon
just out of curiosity ... you did just try dmidecode (for if it could determine the precise model) right :)
-
adonis
Erhard: what port installs sas2flash?
-
Erhard
No clue. It seems to come with TrueNAS
-
adonis
lol I'm not running a nas
-
daemon
you can steal the images from truenas/opnsense without much issue
-
daemon
being based on freebsd and all anyway
-
adonis
couldn't find a port that installs that actually
-
adonis
daemon: working on install dmidecode
-
daemon
maybe its base, slap it in a vm maybe can just cp it over
-
adonis
for some odd reason doing pkg install anything is taking a long long time
-
adonis
ok I know why. I added ipv6 and for some reason that’s not working too well.
-
Erhard
Maybe DNS
-
Erhard
I am not sure where sas2flash comes from ;-)
-
Erhard
It may be from Broadcom
-
adonis
ipv6 works on my network, my config for my bsd machine probably needs to be tweaked a bit
-
daemon
-
daemon
yeah its a broadcom tool
-
daemon
as an aside there is apparently a thread on an 'easier alternative'
truenas.com/community/threads/sas2flash-easier-alternative.30789
-
VimDiesel
Title: SOLVED - SAS2FLASH Easier Alternative | TrueNAS Community
-
daemon
might be helpful
-
Erhard
His real goal is to determine if he has IT mode firmware on the HBA
-
daemon
reading the thread it seems they come default in 'ir' mode
-
Erhard
Yes.
-
Erhard
Though he has the firmware most usually associated with IT
-
Erhard
However, that versions also has an IR mode (~5% slower from what I find)
-
daemon
is there any safe quick test
-
Erhard
Do: sas2flash -list
-
adonis
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.
-
Erhard
Seems at least affirm IT if it says IT
-
daemon
from the thread it also seems the best way to play about with the sas2flash tool is in msdos
-
Erhard
Oh, fun!
-
daemon
:-)
-
adonis
lol yea.. I remember using that tool for the flash itself
-
adonis
booted up in FreeDOS
-
daemon
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
-
daemon
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
-
daemon
maybe you still have the usb key handy? :D
-
adonis
nope lol
-
adonis
that’s optimistic thinking haha
-
daemon
:)
-
Erhard
I can send you the binary, but you would be crazy to run something from IRC ;-)
-
daemon
name it something you would trust from irc like 'medical notes.exe' ;D
-
Erhard
lol
-
adonis
that's ok. thanks. I can grab the flash tool bootable usb again.
-
adonis
so I think my issue is the ipv6_defaultrouter
-
daemon
there is a sysctl somewhere to control what ip version is tried by default
-
adonis
does /etc/rc.d/routing restart put into effect a change on that command?
-
adonis
on that arg sorry.
-
adonis
brb
-
debdrup
It's not _really_ a Broadcom tool, it's just on their site because they got bought by Avago who also bought up LSI.
-
debdrup
sas2flash, that is
-
daemon
yummy yummy conglomerate munchies
-
Erhard
Well, yeah
-
Erhard
Copyright (c) 2008-2013 LSI Corporation. All rights reserved
-
» Remilia misses buslogic HBAs
-
Erhard
ATTO SCSI initiators, lol
-
CrtxReavr
As in fibre channel HBAs?
-
Remilia
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
-
Remilia
never had much luck with LSI Logic and Adaptec
-
CrtxReavr
I always had great luck with Adaptec.
-
CrtxReavr
'Course. . . I was also good about firmware updates and being really anal about how things were cabled & terminated.
-
zpiro
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.
-
jbo
what is the appropriate way of retriving the size of memory currently used by a specific process?
-
daemon
root@gateway:/usr/ports/sysutils/sas2ircu # top -b | grep dnsmasq | perl -e 'while(<STDIN>) { my @cols=split(/\s+/); print "$cols[7]\n" }'
-
daemon
4052K
-
daemon
:-)
-
jbo
:D
-
jbo
wouldn't that be $cols[6] tho?
-
daemon
1024 nobody 1 20 0 16M 4052K select 2 4:11 0.00% dnsmasq
-
daemon
ah its split on space
-
daemon
\s+
-
daemon
so nope 7
-
daemon
beacuse of the space at the start
-
jbo
but surely there is some other base supplied utility to retrieve this number from a PID, no?
-
jbo
I mean you're literally using perl
-
jbo
(nothing against perl)
-
daemon
I mean hack it with sed/awk from base
-
jbo
alright, so that is the way to do it properly?
-
jbo
there is no memof or similar?
-
daemon
I think its the only way to do it that I am aware of
-
daemon
not even sure procfs can do it if mounted
-
daemon
that being said I mean you could look at the code for top
-
daemon
there must be some native C code to actually determine it
-
jbo
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)
-
daemon
its so little overhead on todays ott hardware ~ well yeah I mean that is likely what happened
-
daemon
top -b exists for interaction with shell scripts etc
-
jbo
didn't know about -b so that's good, thanks :)
-
daemon
and its so little processing no one cared enough to make 'howmuchres' as a binary
-
daemon
np
-
jbo
no point in building such a binary then I guess
-
daemon
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
-
ccx
jbo: ps -p 34 -o rss
-
ccx
substitute 34 with desired PID
-
ccx
and rss with desired memory statistic, there's a few
-
zpiro
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.
-
ccx
If you have /proc mounted you should be able to use that from scripts, but that's no longer the default I believe.
-
ccx
-o rss= # to omit printing the header
-
zpiro
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.
-
nacelle
heh, i have a customer sample board that was at sandia national labs before my workplace ended up buying it
-
nacelle
(the board, not the labs)
-
parv
lol
-
nacelle
I still have it and the engineering sample chips it came with
-
nacelle
(e5-2680 chips in the end, but they didnt have that designation at that point)
-
zpiro
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.
-
lattera
zpiro: I have a sneaky suspicion that you're a bot...
-
zpiro
-
VimDiesel
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
-
lattera
what's the policy on annoying random irc bots in this channel?
-
rennj
you dont like VimDiesel ?
-
rennj
-
VimDiesel
Title: IRC/Bots - FreeBSD Wiki
-
lattera
I'm not a fan of being tagged in random bot spam
-
zpiro
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.
-
thumbs
zpiro: your comments seemingly came out of nowhere and had little to do with FreeBSD
-
nacelle
-sigh- markov bot?
-
nacelle
or just really tired college professor?
-
nacelle
HARD TO TELL!
-
ccx
ISTR there were spam bots that replayed old channel logs, moslty aimed at defeating content-based spam detection.
-
zpiro
thumbs: the previous ones were, and are true.
-
zpiro
thumbs: on topic that is.
-
zpiro
thumbs: and generally, lives necessities and coincidence have their issues.
-
nacelle
how is it directly freebsd related?
-
nacelle
it should probably go in #freebsd-social
-
nacelle
(if what you're saying is legit)
-
CrtxReavr
z_pir0 seems pretty spammy.
-
nacelle
zpiro: what is freebsd?
-
CrtxReavr
Seems he was turned off.
-
CrtxReavr
Besides, everyone knows it's "a kind of linux."
-
nacelle
I hear its better for running ftp sites with ;-)
-
CrtxReavr
I know, it's part of the base OS: /usr/libexec/ftpd
-
CrtxReavr
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.
-
nacelle
ISC is deprecating bind anyways
-
nacelle
(or rather, has)
-
zpiro
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.
-
daemon
CrtxReavr, if it makes you feel better I think perl should still be in base :P
-
daemon
you know what we should do make a 'prebsd-pack' pkg that has bind, sendmail, perl etc... in it
-
V_PauAmma_V
"Alex, what is Dissociated Press?"
-
daemon
a one shot installer to put in the missing gpl stuff most of us know
-
nacelle
zpiro: what is a bsd kernel?
-
CrtxReavr
daemon, I gotta disagree there, especially since replacing perl in the build system with awk was such a boss move.
-
CrtxReavr
I mean. . . awk was always there, but replacing perl's role in the build system, was a master class change.
-
zpiro
nacelle: curious question, assuming the question of a kernel is not involved, it involves a respect of unix philospophy and clearly controlled sub systems.
-
daemon
crinstall anything, apache nginx postfix exim or any DE and what gets dragged in
-
daemon
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
-
V_PauAmma_V
daemon, be sure to tell me which hosts you install it on so I can sic the Morris worm on them. :-)
-
daemon
:-)
-
nacelle
zpiro: why do you speak like no one else I've ever spoken with does?
-
CrtxReavr
zprio is the AI that got that guy at Google fired.
-
zpiro
nacelle: say no to .no is a slogan i still struggle with, almost like its racist.
-
zpiro
the troll comes from here, apprantly.
-
debdrup
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.
-
zpiro
debdrup: you are welcome to that.
-
CrtxReavr
o_O
-
zpiro
you know what
-
zpiro
Am i know? Oh well.
-
zpiro
nacelle: am I a markov bot?
-
nacelle
probably?
-
nacelle
thank you
-
nacelle
CrtxReavr: have you had a chance to play with kea?
-
adonis
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.
-
adonis
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.
-
V_PauAmma_V
Which FreeBSD version?
-
adonis
13.1-p2
-
adonis
I have rtsold_enable="YES"
-
adonis
and ifconfig_ix0_ipv6="inet6 accept_rtadv"
-
V_PauAmma_V
Do you have a firewall on that computer? ipfw2, pf, ipf, or whatever?
-
adonis
the fbsd box has no firewall but the router I specified in ipv6_defaultrouter does
-
adonis
they are both on the same subnet though and firewall rules allow comms between both boxes
-
V_PauAmma_V
OK. Try traceroute6. That should tell you something about who drops the packets.
-
adonis
packets do make it to the router as per traceroute6
-
V_PauAmma_V
And not beyond that?
-
adonis
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
-
adonis
so 1 *
-
CrtxReavr
nacelle, I have not. . . though I have written copious shell scripts to do automation with dhcpd.
-
CrtxReavr
adonis, can you pastebin the output of ifconfig & netstat -rn
-
adonis
ok
-
CrtxReavr
Um. . now would be preferable.
-
adonis
-
VimDiesel
Title: bruce-ifconfig - Pastebin.com
-
adonis
-
VimDiesel
Title: bruce-netstat - Pastebin.com
-
CrtxReavr
ix0 is your egress interface?
-
adonis
on the fbsd box yea. its pretty much connected to my switch which connects to my router
-
adonis
so ipv4 works for example
-
CrtxReavr
Why do you have v6 IPs from two different prefixes?
-
adonis
good question lol
-
CrtxReavr
On ix0?
-
CrtxReavr
I can actually ping 2600:4040:a689:8301:ec4:7aff:fe1f:7724
-
adonis
not sure tbh, let me restart the machine. It may have to do with some config changes I made and routing restarts..
-
CrtxReavr
So the routing is working.
-
CrtxReavr
by it might be defaulting to the other IP as your source IP.
-
adonis
fbsd restart in progress :), let's see if I still get two prefixes, if so maybe a bad config on my router..
-
CrtxReavr
What happens when you: ping6 ff02::2%ix0
-
adonis
going to have to give me a few minutes there while I wait for that box to restart, it's slow to restart.
-
debdrup
Why restart it?
-
adonis
because I had made some ipv6_defaultrouter changes + service routing restart's prior and maybe that's why I have the two prefixes?
-
adonis
just want to get back to state 0
-
adonis
ok yup i see only 1 prefix on it now
-
adonis
and there you go ping google.com goes out via ipv6 and works
-
adonis
hmmm.. now wondering why the two prefixes and why two prefixes causes an issue with routing..
-
debdrup
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.
-
debdrup
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
-
debdrup
..since the last recent change.
-
Erhard
And clearing out all your nuetrino bit flips... ;-)
-
adonis
debdrup: yea I understand that. service routing restart wasn't enough though, most likely because I need to restart the iface itself..
-
debdrup
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?
-
debdrup
Reboot is a CPU reset, but it doesn't affect hardware state beyond that.
-
adonis
still felt a restart was faster then trying to guess if that iface restart + routing restart was going to be enough.
-
Erhard
A reboot fixes bit flips because it assumes nothing about eh state of RAM when it boots.
-
debdrup
adonis: there's also the netif service that can use a restart
-
Erhard
I htink I had to both netif and routing restart, and there is a specific order I don't recall.
-
Erhard
I found it easier to reboot since I was dealing with VMs at the time
-
Erhard
But if you are running enterprise gear that takes five mins to reboot that is a pain
-
debdrup
A few minutes? I'd love that.
-
Erhard
Initiating Lifecycler Controller...
-
debdrup
My bigiron is approximately 10 minutes to a boot.
-
Erhard
Yeah, close to that for the Dell junk
-
debdrup
Well, "bigiron" compared with every other box I own.
-
debdrup
Anywho, bedtime.
-
Erhard
Have a good one.
-
adonis
Erhard: 5+min restarts are definitely cool :)
-
adonis
definitely not*
-
jgh
ask a 1970's IBM tech about IPL time
-
Erhard
I like manually setting bits with physcial switches to load code for booting.
-
grahamperrin
Speed reading …
-
grahamperrin
adonis: did you restart the OS to work around a networking issue?