-
rtprio
i'm saying it's not supposed to be a raid0
-
Letiute
oh no. thats not goign to change
-
rtprio
ok, if that's the way you want to do it, you're own your own
-
Letiute
Now I get it. You proposed raid1
-
Letiute
that would be best. I know. better raid 10 but can't have it.
-
Letiute
at least for now.
-
rtprio
now you get it, after an hour?
-
Letiute
board, nvme card, etc
-
Letiute
rtprio sorry :)
-
Letiute
its my 3rd day with freebsd
-
Letiute
and zfs
-
» Letiute will catch up
-
Letiute
thank you! appreciate.
-
Letiute
In a mirror, if one side is a slower disk(s), then the faster disk will be read/written at max of the lower disk speed? thus making no use of mirror/raid1 efficiency? thus no point in having faster disks OR in other words, "don't put slower media with fast media in mirrors"
-
» Letiute off in 2 mins
-
rtprio
i wouldn't mix slow and fast in the same mirror
-
Letiute
will the effect be same as I wrote?
-
Letiute
it will destroy the core efficiency of faster medium
-
meena
Letiute: basically.
-
meena
regardless what kind of raid you're building, you want the same kind of drives. same type, performance and size
-
Letiute
yes ideally
-
Letiute
thank you!
-
» Letiute leaves
-
meena
you can stack different parts of the system onto different types of media, but it makes no sense to build a single system out of different base components
-
debdrup
they've been bouncing between this channel and #zfs all weekend, it's been... something.-
-
meena
imagine… building a wall, with different bricks, but the bricks don't even almost match up, and I'm talking to myself
-
rtprio
meena: and the bricklayer doesn't seem to listen to you
-
» meena points at the Indus Valley, where people knew how to lay bricks 9000 years ago
-
meena
and here we have someone trying to reinvent it, poorly
-
meena
this is why kids need to play with Lego before you let them have a go at video games
-
» parv is glad there is now "History of the World, Part 2" after all, as was *strongly suggested by "History of the World, Part 1"
-
rtprio
i mean i had a frankensystem with a half dozen mismatched hard drives and did some stupid tricks
-
rtprio
but only used it for test data before going out and buying six identical drives
-
AmyMalik
debdrup: you may say that again!..
-
meena
I was always a read up on theory before touching hardware type, because hardware can explode…
-
AmyMalik
I haven't been in the zfs channel, but that one has been, as you put it, «... something»
-
debdrup
i especially love the need to always hilight someone when another thing crops up
-
debdrup
i'm fascinated that people have been willing to put up with that.
-
meena
is this the fabled support vampire?
-
AmyMalik
meena: yes.
-
debdrup
there is a risk in using labels like support vampire, in so far as how they relate to highly technical fields
-
debdrup
it'd be quite unreasonable for someone only 3 days into a technical field to be expected to give back
-
debdrup
what rubs me the wrong way is the constant asking for advice, then throwing away half of the advice because it's not the answer they were looking for, which i fear stems from a notion all too common among experts in some subject matter (which i'm also occationally guilty of myself, i might add)
-
meena
but, like, are they an expert in their field?
-
debdrup
also the bouncing between places to get half-answers
-
debdrup
i would be surprised if they aren't an expert in _a_ field
-
debdrup
i don't know them, i can't speak to what they might be experts in, but i think i've seen enough to recognize it from when i do it
-
debdrup
another thing that rubs me the wrong way is when they refer to using the handbook and manual pages; the handbook is a fine place to start, but we all know it doesn't (and can't) have all the answers - whereas the manual pages are more of a reference work that you use when you need to know the exact incantation to invoke the elder gods of awk and grep, or some such
-
debdrup
i _wish_ i'd had allan and mwls zfs and advanced zfs books when i started, i'd have _devoured_ them whole
-
debdrup
and i have no clue what do about any of it, but also don't actively wish ill upon the person in question, because they're trying and it's hard to fault that
-
debdrup
so now i'm just having a little winge in public, i guess :v
-
» AmyMalik looks at the output of sysutils/intel-pcm built to run on Linux, and run on Linux... sees the package C-state distribution...
-
AmyMalik
This isn't the smoking gun, but it is the smoke.
-
AmyMalik
On FreeBSD, for some reason or other (while I'm inclined to believe it's my fault somehow, I have also explicitly configured hw.acpi.cpu.cx_lowest=C8 so it SHOULD be letting the CPU drop unless it's some kind of quirks mode), while the cores drop to C7 just fine, the package doesn't go under C3. On Linux, pcm tells me that there are package drops as deep as C8.
-
AmyMalik
(this is still only the smoke)
-
meena
what do you mean by package drops in this context?
-
AmyMalik
It's just inaccurate language. ignore me
-
AmyMalik
I'm just mumbling into the channel
-
AmyMalik
I'll stop dumping thought process here
-
» AmyMalik downloads the Intel 64 Software Developer's Manual
-
AmyMalik
huh.
-
AmyMalik
HUH.
-
rtprio
-
moviuro
Hi all, I have a crapton of stuff in all my jails' /var/spool/clientmqueue ; how can I make sure I either a) don't ever hear or read about that ever again or b) deliver mail to an email address that actually can receive email? (postmaster⊙jfd doesn't, conenction refused). NB: sendmail_enable="NONE" in all rc.conf files of all jails
-
sozuba
I was searching for utf-8 support on the console @
lists.freebsd.org/pipermail/freebsd-current/2009-July/009351.html. Does "he kernel will use a table
-
sozuba
to remap all Unicode characters to CP437 (the default VGA font), so it's
-
sozuba
practically useless.
-
sozuba
sorry got posted before i could finish type.
-
meena
moviuro: I reckon it's stuff that cron or periodic produced
-
moviuro
meena: peeking into files, it *looks* like periodic (not cron)
-
sozuba
Does this statement " The kernel will use a table to remap all Unicode characters to CP437 (the default VGA font), so its practically useless" mean that there is no point following the work around for utf8 support on console in freebsd?
-
yuripv
that sounds very outdated, vt supports unicode
-
meena
-
VimDiesel
Title: disable sendmail on FreeBSD, completely. · GitHub
-
sozuba
yuripv: oh okay, sorry I am new to freebsd. Thanks for the info.
-
moviuro
thank you meena , I'll purge those directories and disable everything. I'll be back in a few weeks if my machines still act up
-
meena
alternatively, you could disable periodic if you don't need it
-
sozuba
yuripv: i was just installing zsh and tried powerlvl10k customization and when i set console to use zsh, the icons show as boxes. what could be the reason?
-
moviuro
periodic_enable="NO" in rc.conf(5) ?
-
yuripv
sozuba: missing glyphs in available console fonts, i'd guess
-
parv
Missing console fonts
-
sozuba
yuripv: parv got it , thanks :)
-
meena
moviuro: probably. check rc.conf(5)
-
white-wolf
anyelse can help me to debug www/redmine50 ?
-
white-wolf
-
VimDiesel
Title: PrivateBin
-
rtprio
is rubygem-bundler installed?
-
white-wolf
yes
-
parv
Does md5 (or sha256, etc) command read a chunk of a file, calculate intermediate result; read another chunk, calculate another result; at the end of reading whole file, spit out the combined result?
-
meena
parv: given the nature of the algorithm, i would say: 🤷🏻♀️
-
rtprio
i think, for sha256 anyway, that each chunk is combined
-
rtprio
until the end
-
meena
white-wolf: what's the trouble with building? what options are you setting?
-
AmyMalik
I think I'm going to slo to geep
-
white-wolf
default options
-
» rtprio shakes his fist at ruby
-
white-wolf
use passenger en nginx
-
white-wolf
in my past i link my tutorial based
-
meena
white-wolf: if you're using default options, then you might as well pkg install
-
ccx
What does `bsdinstall jail /foo/bar` actually do? Just downlads and unpacks selected tarballs?
-
meena
ccx: essentially… also some config stuff
-
ccx
I want to automate installing jails and I'm wondering if I should bother trying to automate bsdinstall or just script what it does.
-
meena
ccx: IIRC, bsdinstall can be scripted, but most jail managers I've read the source code of do it themselves
-
white-wolf
-
VimDiesel
Title: PrivateBin
-
ccx
kthnx; I don't think I care for any of the configuration it does anyway. But having something that fetches and verifies current base.txz could be handy.
-
white-wolf
with the tutorial, use posgrsql and mginx
-
white-wolf
with passanger
-
rtprio
white-wolf: i think it's mysql-server but `ls /usr/local/etc/rc.d/` and see for yourself
-
rtprio
why don't rbenv / rvm work on freebsd
-
sozuba
Is there a way i can use a nerd font (meslo nf) on vt console? I tried converting the relevant .ttf to .fnt to be used. But failed. I am trying to us powerlevel10k theme of zsh and when using zsh by default, the vt console tty shows empty squares/
-
meena
rtprio: nobody cared enough to make it work?
-
rtprio
meena: rbenv is in ports, but naturally won't install the version of ruby i need
-
rtprio
sozuba: i really doubt it
-
sozuba
rtprio: thanks for the response. any idea what could be teh reason?
-
meena
sozuba: what failed?
-
sozuba
meena seeting a nerd font (meslo nf) as default font for tty to diaply the glyphs/icons for the powerlevel10k theme of zsh
-
sozuba
setting*
-
meena
but the conversion worked?
-
sozuba
meena: yes it did, but when i set it using vidcontrol, i get "bad magic in font file"
-
tsoome
---
-
tsoome
'
-
meena
then maybe it didn't really work?
-
meena
tsoome has been summoned
-
tsoome
yes:)
-
sozuba
meena: oh okay
-
tsoome
this mini-me is doing his thing:)
-
parv
Is there a public log of this channel?
-
rtprio
not that i'm aware of
-
parv
Aye
-
rtprio
i think i have some logs
-
» parv needs something (more) stateless than IRC due to local network issues
-
» parv forgot to add: with history
-
rtprio
like a better connection, or an irc bouncer
-
white-wolf
-
VimDiesel
Title: PrivateBin
-
rtprio
oracle cloud has free freebsd vms
-
rtprio
small ones, but enough for irc
-
parv
rtprio, Thanks; will look into that
-
rtprio
white-wolf: you need to run bundle in the source directory, and you shouldn't run it is root
-
rtprio
is there a package for redmine50 ?
-
white-wolf
yes pkg
-
meena
rtprio: what, exactly, are you trying to do?
-
meena
install redmine 5.0? with what database? how? ports / pkg? (use pkg if you're doing default options)
-
rtprio
(i am trying to get my mastodon working again, after a pkg upgrade bumped ruby to 3.1 and all hell broke loose)
-
rtprio
at some point the default ruby version was bumped also
-
» meena whispers something about GoToSocial
-
parv
rtprio, (I might be following you already) What is your account (when it would be working)?
-
rtprio
@elliot⊙mn
-
rtprio
isn't there something in make.conf to keep the ruby default back
-
white-wolf
-
VimDiesel
Title: PrivateBin
-
parv
rtprio, Python & Perl do (DEFAULT_VERSIONS+= python=3.11 python3=3.11; perl has been recent enough for me ). Check ports/Mk if Ruby has similar
-
rtprio
white-wolf: you're crossing the streams here; either build it from ports or build it yourself. it's going to get very messy trying to do both
-
white-wolf
sorry can you explain ?
-
rtprio
the port is supposed to do those commands
-
rtprio
have you tried installing the package? `pkg install redmine50` ?
-
white-wolf
yes as you saying
-
white-wolf
-
VimDiesel
Title: PrivateBin
-
rtprio
have you checked our log files for details about the error?
-
white-wolf
-
VimDiesel
Title: PrivateBin
-
rtprio
meena: i think i'll switch.
-
rtprio
white-wolf: is thre a gemfile in that usr/local/www/redmine ?
-
white-wolf
yes
-
rtprio
set RAILS_ENV=production
-
rtprio
i think you want export RAILS_ENV=production
-
white-wolf
i do
-
rtprio
meena: haha, there's a gap in my timeline from 5 minutes ago to Feb 12th
-
meena
rtprio: 😬
-
white-wolf
rtprio, how restart to zero ? purge all pkg and config file and retry ?
-
rtprio
white-wolf: i don't think you need to do that
-
rtprio
just change 'set' to 'export' and try again
-
white-wolf
export: Command not found.
-
rtprio
are you using csh?
-
white-wolf
yes i think
-
rtprio
i don't know man, i hate ruby; all the cool kids are using gitea or whatever they call themselves now
-
rtprio
computers were a mistake, sand was never supposed to think
-
white-wolf
# echo $SHELL
-
white-wolf
/bin/csh
-
rtprio
csh, is an unusual choice, but ok
-
rtprio
bundle exec rake -T
-
rtprio
does it print the list of tasks?
-
white-wolf
-
VimDiesel
Title: PrivateBin
-
rtprio
... that's not what i typed at all
-
rtprio
slow down
-
white-wolf
-
VimDiesel
Title: PrivateBin
-
rtprio
you might need to db:create the database first. assuming you've alrady configured database.yml
-
meena
ccx:
man.freebsd.org/bsdinstall(8)#SCRIPTING i think this is still pretty neat no matter how limited
-
VimDiesel
Title: bsdinstall(8)
-
white-wolf
-
VimDiesel
Title: PrivateBin
-
debdrup
-
VimDiesel
Title: FreshPorts -- security/pam_rssh: Remote sudo authenticated via ssh-agent
-
meena
does that work with our OpenSSH?
-
white-wolf
rtprio, after ?? in localhost:3000 i have always the same error
-
debdrup
meena: it uses ssh-agent, so i'm not sure i understand the question
-
meena
ah, right, so, uhm
-
debdrup
yes? go on
-
debdrup
full disclosure, i've not used it at all, i just saw it mentioned on mastodon
-
meena
so when sudo wants a password, it asks pam, which in turn asks the socket and then you have to press your Yubi key, and everyone is happy?
-
debdrup
romain linked
z4yx/pam_rssh #8 there, which is how i found out about it
-
VimDiesel
Title: Ready for distribution / production ? · Issue #8 · z4yx/pam_rssh · GitHub
-
debdrup
meena: that does seem to be the i dea
-
debdrup
meena: presumably it requires an openssh new enough to support yubikey
-
meena
that's what i meant, i don't think we have that in any release right now
-
debdrup
we don't?
-
meena
and if we do, i think we stripped the fido libraries for some reason. my memory is foggy
-
debdrup
is it just FIDO or is it U2F and FIDO2 too?
-
meena
10:44 <meena> my memory is very foggy
-
debdrup
-
VimDiesel
Title: FreeBSD / src / d0f1f38202c4 - FreshBSD
-
debdrup
it looks like it's also something that's actively changing
-
debdrup
freshbsd.org/freebsd/src/commit/a613d68fff9af037 has been merged to stabe/13 this febuary, so i think it should be in 13.2-RELEASE?
-
VimDiesel
Title: FreeBSD / src / a613d68fff9af037 - FreshBSD
-
white-wolf
-
VimDiesel
Title: PrivateBin
-
meena
debdrup: ooh, i missed that! cool
-
debdrup
meena: i did too, i only just saw it now
-
meena
I did see this bit the other day tho: "devd integration is not included in this change, and is under investigation for the base system. In the interim the security/u2f-devd port can be installed to provide appropriate devd rules."
-
white-wolf
-
VimDiesel
Title: PrivateBin
-
white-wolf
rtprio, how can i restart all to zero ? i think when i do mistake need restart... may be need juste install redmine50 and servce onestart but do anything
-
wikan
someone told me here it is possible to write my own installation script for freebsd
-
wikan
i did it as sh script
-
wikan
but someone told me it is possible to script an installer itself
-
wikan
how can i do that
-
wikan
?
-
nimaje
-
VimDiesel
Title: bsdinstall(8)
-
wikan
thanks
-
nimaje
hm, seems like it doesn't fetch distribution files in scripted mode
-
wikan
well my sh script extract base and configure disk
-
wikan
i am looking for just gui probably
-
wikan
to choose some options and press install
-
wikan
to install os my way
-
debdrup
you can use poudriere to build an image that contains the software (and configuration) you want using poudriere-image, the packagelist functionality, and the overlay directory functionality
-
debdrup
it can build a zfs image which can then be updated using zfs replication streams of boot environments that're built later
-
sozuba
switching to vt console and back to wm (hyprland) from vt console, causes a series of "QQQQQQQQQQQQQQQQQQQQQ"s printed on the terminal in the dm, does this happen to anyone?
-
sozuba
oooks ike it happens only with kitty
-
sozuba
looks like*
-
Letiute
Is this correct? `zfs create zroot/pg-lg /pg-lg/`
-
meena
Letiute: correct how? for doing what
-
Letiute
want to create a dataset for /pg-lg/ path and treat it with different compression level
-
Letiute
meena ^
-
nimaje
you should directly set options you want to set while creating then, see -o
-
Letiute
ok
-
nimaje
and it is the mountpoint property, not some path you give zfs create on the command line
-
Letiute
it was zfs create -o mountpoint=/pg-lg/ zroot/pg-lg
-
Letiute
I get default compression on. with zstd-3. Is that correct?
-
Letiute
is zstd-3 good for databases? i thought to make it zstd-1
-
Letiute
oh, inherited from zroot
-
Letiute
thanks
-
nimaje
I throught you wanted to change the compression property?
-
Letiute
I did. zfs set compress...
-
Letiute
looks good now
-
Letiute
btw, I heard default compresion level is zstd-3
-
Letiute
so is that a sweetspot?
-
Letiute
is that good for databases data?
-
Letiute
or I should do zstd-1
-
Letiute
or just try and see/observ
-
nimaje
the default should be fine if you don't have a reason to use another, it is the default because it should work fine for most usecases
-
meena
also, it's only inherited at creation time, IIRC, if you change zroot's compression after creating datasets it won't cascade down
-
meena
I might be wrong, somebody correct me
-
Letiute
nimaje so zstd3 is the default?
-
Letiute
meena ok
-
meena
Letiute: if you read the man page, it might have that info
-
meena
it's hard to remember everything, and things do change over time
-
Letiute
its 3
-
Letiute
# ls -la /pg-lg/ -> drwxr-xr-x 2 postgres postgres 2 Mar 20 16:25 ./ -> postgres is the owner
-
Letiute
create tablespace pglgtablespace owner leadgen location '/pg-lg/';
-
Letiute
# alter database leadgen2 tablespace pglgtablespace; -> WARNING: could not open directory "pg_tblspc/12054613/PG_15_202209061/12054615": No such file or directory
-
Letiute
Did I missed anything?
-
meena
3.
-
meena
I don't know half of what you're doing, so i don't know what you missed.
-
meena
also, the only database I use is SQLite, because it doesn't require me to wear a ceremonial brown robe and dim the lights when using it
thedailywtf.com/articles/Behavioral-Deficiencies-
-
VimDiesel
Title: Behavioral Deficiencies - The Daily WTF
-
Letiute
ok
-
meena
that is to say: while we probably have a large overlap, this isn't #postgresql
-
debdrup
meena: but the robes and the chanting are the best part
-
debdrup
if you gotta be in a cult, at least make it one with robes and chanting
-
Letiute
I found that this is a freebsd directory permission issue. Despite owner being postgres user, it does not work. Bu it does work if chmod 777 is there. Maybe more chanting will help
-
meena
debdrup: I prefer white robes. looks a lot better with blood sacrifice once it inevitable turns that way
-
debdrup
that seems like a lot of effort to get a red robe
-
meena
Letiute: if you have to chmod 777, and it's not chmod 1777 /tmp, something is broken
-
Letiute
what does /tmp has to do with it?
-
debdrup
it's the only directory that should be world write-executable
-
Letiute
so tmp was the issue?
termbin.com/0qij
-
Letiute
`1777`?
-
Letiute
meena ^
-
» meena should drop her flowery language
-
debdrup
riddle me this, batman.
-
Letiute
maybe a new kind of permission is invented that I was not aware of
-
telgareith
what's software raid methods are their in freebsd? Googling isn't helping, or I'm not understanding. I'm trying to avoid ZFS because of CoW
-
nimaje
what is your problem with cow on zfs?
-
telgareith
don't need it, and it causes fragmentation if using iSCSI and go above 50% ish full
-
CrtxReavr
Some would argue fragmentation on a multi-user OS is a good thing, as it provides an interleave.
-
telgareith
my storage isn't made of IOPS
-
gnuself
Hopefully a simple question, but is anyone able to suggest an editor or utility for freebsd that will present output without wrapping lines? Maybe there's a setting in vi to prevent it, but I guess I'm looking for low-hanging fruit for now.
-
vkarlsen
gnuself: Here's a fairly low-hanging one: less -S
-
gnuself
oijark: Wonderful, thank you very much!
-
vkarlsen
gnuself: As for vi, you can :set nowrap
-
gnuself
vkarlsen: I tried that, but it's not an option in mine when listing "set all"
-
vkarlsen
gnuself: I see, the bundled vi doesn't have it
-
nimaje
maybe an improvement from vim and not a vi feature
-
gnuself
vkarlsen: no worries, I started there when beginning my web searches. Just trying to read rows of data on a vertical monitor... *the struggle*
-
gzar
hello folks
-
gzar
I'm trying to compile something and its telling me 'storage size of statbuf isnt known' when creating a `struct stat' structure for a `stat(...)' call. I am assuming its missing the correct structure definitions so i'd like to ask where its normally located under FreeBSD-13.1-p7
-
gzar
The version is also a RELEASE version
-
Letiute
I think /pg-lg/ is a dataset itself. That is why this error is coming?
imgur.com/NnA6Lli.png
-
nimaje
hm, the man page tells me sys/stat.h, but how do you get stat(…) without that?
-
paulf
gzar: which function are you using> look at the manpage for that an inclide the headers
-
gzar
seems like the code missed a sys/stat.h include directive in a specific file
-
gzar
it works now, thanks for the help
-
nimaje
Letiute: did you configure your database in /etc/rc.conf and then did a service postgresql initdb <your-db> && service postgresql start <your-db>?
-
Letiute
nimaje do I have to do that everytime for every new db?
-
meena
Letiute: does PostgreSQL know that it should be using /pg-lg/ to store its data?
-
Letiute
meena tablespace should tell
-
Letiute
nimaje I have a db already running right now. this was a new db though
-
Letiute
nimaje postgresql_enable="yes" is in rc.conf
-
Letiute
I already have 2 databses runing in pg
-
Letiute
nimaje do I have to initdb everytime for every new db?
-
Letiute
nimaje do I have to initdb everytime for every new db?
-
Letiute
sorry for repeat
-
meena
have you tried #postgresql ? they might know
-
meena
or else, their documentation. I hear PostgreSQL has really excellent documentation and a really friendly community
-
nimaje
no idea, the error message read like it is missing some files and it seemed like you wanted some new seperated db, that's why I suggested setting it up in rc.conf and using initdb
-
Letiute
pg people blame fs maybe but I am trying. looks like it just worked.. I restarted pg..
-
gzar
is it possible to run a program in 32bit mode ?
-
meena
gzar: if the programme is 32 bit, and you have the 32 bit libraries installed (default for most supported platforms) then, yes, it's possible
-
gzar
where can i get a 32bit JVM ?
-
meena
I think they stopped making those about 12 years ago
-
meena
-
VimDiesel
Title: FreshPorts -- java/openjdk11: Java Development Kit 11
-
meena
too much sun / oracle propaganda about 64 bit is better
-
meena
that is available for i386
-
gzar
im asking because some companies still use 32bit jvm and i need to use their software
-
debdrup
lib32 should make it possible
-
nimaje
so java programs, shouldn't they just don't care if the jvm is 32bit or 64bit? (except for the cases they need more memory than a 32bit jvm can handle)
-
ElectricJozin
Hi I have problems with my probook 650 wireless card: 802.11 broadcom (couldnt find anything more specific). I have loaded the if_bwn.ko kernel module yet sysctl net.wlan.devices doesnt show anything. Is this just a unspported wireless card?
-
gzar
for some reason this application complains about not being able to use 32bit libraries on a 64bit jvm when it tries to load the SWT library
-
debdrup
-
VimDiesel
Title: Landon Fuller: FreeBSD Broadcom Wi-Fi Improvements
-
nimaje
ah, yes bundled dependencies
-
gzar
its hitachi pdi (pentaho-data-integration) just for the record
-
nimaje
maybe you can install swt and get it to use the system one, instead of their bundled one, but if it doesn't work by just installing swt, then it is probably easier to install a 32bit jvm
-
ElectricJozin
debdrup, nope its a BCM943228HMB
-
ElectricJozin
just opened up the laptop and doubled checked it and it is the one
-
debdrup
ElectricJozin: better hope it can be replaced with one that is supported, then
-
debdrup
otherwise, you'll likely need a wifi dongle
-
ElectricJozin
debdrup, what chance is there that I can replace it with a wireless card from another laptop
-
ElectricJozin
I have another elitebook
-
debdrup
ElectricJozin: no idea, it depends on the interface (mini-pcie or m.2?), and whether the firmware accepts arbitrary devices (not all firmware does).
-
ElectricJozin
debdrup, its minipcie and about the firmware - just try it out is the way to figure it out?
-
debdrup
ElectricJozin: typically, yes
-
debdrup
typically firmware locks hardware access by pci device ids, so it's also possible to modify the firmware (this is what's often done for thinkpads)
-
josephholsten
dch: howdy!
-
ElectricJozin
debdrup, and for something like this: Intel® Centrino® Advanced-N 6200, Dual Band
-
ElectricJozin
where should I look for driver support
-
debdrup
ElectricJozin: iwn(4) should support that
-
ElectricJozin
I dissasambled two laptops and this is the second I found (the first had another broadcom)
-
ElectricJozin
debdrup, a guess?
-
debdrup
ElectricJozin: it's listed in the manual page
-
debdrup
-
VimDiesel
Title: dev/iwn(4) - FreeBSD Wiki
-
josephholsten
hrm, my connection seems terrible. I’m going to drop, set up a bouncer for myself, then I’d love to talk 13.2 on ampere.
-
ElectricJozin
debdrup, I see ok btw since I am kind of new to freebsd (10minutes new). Do kernel modules load automatically or do they all have to be loaded manually?
-
debdrup
ElectricJozin: that depends, /etc/rc.d/devmatch is a script that matches every device against device identifiers and loads the module if one is found - but if you want to load something that isn't loaded according to kldstat -vv, then there's a few ways of loading it (which option you use depends on what you want to load).
-
debdrup
the devmatch script gets run automatically as part of the system startup
-
ElectricJozin
debdrup, just replaced it and it works! thanks
-
Letiute
rtprio I think #2 (changed) will not have boot records so it won't boot despite being a mirror to #1?
jamboard.google.com/d/18hni1wEORDsO…f8y7Mjur4in1ecJMuM/viewer?pli=1&f=0
-
VimDiesel
Title: Storage topology - Google Jamboard
-
ElectricJozin
debdrup, one last weird question: for you personally if windows is the top of the iceberg and next is linux freebsd etc whats deeper than that. Whats more performant, more bare bones than freebsd. Whats the gentoo of the bsd world?
-
debdrup
ElectricJozin: i switched away from windows in march of 2000, because windows sucked. used linux for about a week, then decided it sucked because of lack of documentation. i've been using freebsd ever since.
-
debdrup
i'm not the right person to ask that question, nor do i think it's a question that belong in #freebsd
-
ElectricJozin
debdrup, right thanks anyway
-
debdrup
as for your specific example, the only thing i know about gentoo is that it took its best ideas from freebsd, so if that means something then freebsd is probably the answer to your question.
-
debdrup
i'm also really suspect of the iceberg analogy, since it mostly comes up in connection with conspiracy theories, and that's a whole can of worms that i'd rather not engage with.
-
rtprio
Letiute: stop using raid0
-
Letiute
yes sir!
-
rtprio
how many times do i need to tell you
-
Letiute
0
-
» Letiute waves
-
Letiute
raid0 or not raid 0, my point is that if OS disk is mirrored, the bootlaoder won't be mirrored. If primary drive fails, The mirror won't boot. Correct?
-
ElectricJozin
debdrup, I keep getting wlan0: no link ... giving up
-
ElectricJozin
is there any other kernel module I am suppose to load
-
debdrup
did you read the manual page?
-
ElectricJozin
I did
-
debdrup
did you read the part about needing to load the firmware too?
-
ElectricJozin
yes I have if_iwn_load="YES"
-
ElectricJozin
in loader.conf
-
debdrup
that's the driver, not the firmware.
-
ElectricJozin
the word firmware literally isnt mentioned in the whole handbook
-
debdrup
yes it is.
-
debdrup
wait, why are you talking about the handbook suddenly?
-
ElectricJozin
....where else should I look :|
-
ElectricJozin
hopsies
-
debdrup
in the iwn(4) manual page, like i told you
-
debdrup
it instructs you to load not just the driver, but also a set of things that include the letters "fw"
-
ElectricJozin
debdrup, so I included all of them now I get: iwn0: iwn_read_firmware ucode=xxxxx
-
ElectricJozin
still the same issue though
-
debdrup
try running `dhclient wlan0` as root
-
ElectricJozin
debdrup, same
-
debdrup
so the dhcpd on the other end is too slow to respond?
-
debdrup
i assume you can use dhcp on other machines?
-
ElectricJozin
I do
-
ElectricJozin
I never noticed the wifi was that slow
-
debdrup
ElectricJozin: can you try configuring the interface with static addressing?
-
ElectricJozin
you know, my wifi button is blinking kind of weird
-
ElectricJozin
:>
-
ElectricJozin
debdrup, the router surely doesnt allow that
-
debdrup
i'm not sure what that means
-
debdrup
the router doesn't get to decide that, i'm pretty sure
-
ElectricJozin
but it does get to decide if you can talk to any devices right>
-
ElectricJozin
?
-
debdrup
no, not really
-
ElectricJozin
debdrup, so 2.4GHz works
-
ElectricJozin
the card is called "dual band" but hey
-
ElectricJozin
its atleast something
-
debdrup
it might be dual-band in the sense that it's 802.11a that uses 5GHz
-
ElectricJozin
it seems the firwamre got automatically loaded btw
-
ElectricJozin
debdrup, what does that mean
-
debdrup
802.11a is the first wireless standard, and used the 5GHz ISM band
-
Letiute
neovim uninstalls obs-studio and vice versa.
imgur.com/lxP8kAt.png
-
debdrup
802.11b, g, and n uses the 2.4GHz ISM band
-
debdrup
Letiute: the answer is in the image you posted; look for the integrity check with conflicts
-
Letiute
How to check integrity?
-
debdrup
it's something pkg does, and involves conflict checking.
-
debdrup
it's happening because obs-studio hasn't been converted to USES=luajit
-
Letiute
pkg check -B obs-studio
-
Letiute
Checking obs-studio: 100%
-
debdrup
integrity checking including conflict detection is not the same as pkg-check
-
debdrup
-
VimDiesel
Title: 267656 – x11-wm/enlightenment multimedia/obs-studio: luajit-2.0.5_6 conflicts with luajit-devel-2.1.0.20221004_1 on /usr/local/bin/luajit
-
debdrup
-
VimDiesel
Title: 267834 – multimedia/obs-studio: Update luajit to luajit-devel
-
Letiute
no idea what to do here until wiat for a resolution from them
-
Letiute
Q: freebsd does not have a system I think, What is the best way to make something like it where I run an an a a specific user, in a specific priority (nice level), rerun the app automatically if it fails/exits, run at system boot of course and turn on/off via serivce (linux way: systemctl) ?
-
debdrup
freebsd does have exactly that, in the form of daemon(8)
-
Letiute
oh
-
debdrup
and it had it long before systemctl existed
-
debdrup
i don't remember if it can renice, and you'll need to integrate daemon(8) with rc.d to get it to run at system boot and be usable via service(8), but it's absolutely doable
-
debdrup
if you're using rc.d, you can definitely renice it
-
rtprio
yes, you'll have write a rc script
-
Letiute
In linux we had builtin command like user= nice= srestartInterval (if killed) = etc I think (don't rmeember exact syntaxt though)
-
rtprio
yeah, read `man daemon` for the options
-
Letiute
here we have -R and -u
-
debdrup
Someone's in the process of retooling daemon(8), after which it's possible that rc.d can be modified so that a restart interval can be added as a function.
-
debdrup
Someone will have to write that, though.
-
rtprio
having a cookie cutter rc to start daemon's would be extremely handy
-
debdrup
It'd be better to have rc.d invoke daemon(8) if a restart interval is specified.
-
debdrup
It'd involve a lot less rc script rewriting for one.
-
rtprio
-
VimDiesel
Title: dpaste/wSjb (Plain Text)
-
rtprio
would be fantastic
-
» Letiute will continue tomorow
-
megaTherion
Hi
-
megaTherion
it's not possible to pass a disk device to a jail, right?
-
debdrup
I was thinking more along the lines of ${name}_restart=N in the rc script itself, and documented in rc.subr(8).
-
rtprio
yes that would also be helpful, if it knew how to back off
-
debdrup
megaTherion: it can be done with devfs using devfs.rules(5) and a ruleset in rc.conf(5)
-
megaTherion
debdrup: ok, thanks
-
debdrup
megaTherion: what issue are you trying to solve? I suspect you might be trying to fix X by doing Y..
-
megaTherion
well originally I wanted to pass a whole usb3 controller to an VM, but bhyve has a hickup with my HW *shrugs*
-
megaTherion
(thats however a different problem obviously)
-
meena
rtprio: a lot of the current rc script that use daemon are pretty shite. they don't use daemon in supervision mode, so they couldn't even restart the service
-
debdrup
pci passthrough can be used to pass the entire usb controller through
-
debdrup
meena: right, that's what integration into rc.subr would hopefully fix
-
megaTherion
yes but FreeBSD doesn't see any DMAR tables, despite everything is properly enabled
-
rtprio
i know
-
meena
debdrup: that's a fine idea. but my plan, tho this might only evolve on a cosmic time scale, is still to burn rc to the ground
-
» yuripv puts meena in jail, there you can have your systemd :D
-
meena
yuripv: do you have any idea how many years it took systemd to run in containers
-
rtprio
hey i like rc
-
meena
"A is somewhat like V, which is the default on Linux, which is why changing C to A is exactly like introducing systemd"
-
rtprio
i will never forgive systemd for it's posix war crimes
-
meena
i'd like rc a lot more if it wasn't 12653 lines of sh (rough estimate)
-
rtprio
how many lines is systemd
-
meena
rtprio: nobody complains that SMF or laubchd don't run on other Unix systems
-
meena
the problem here isn't systend's bad opinions on POSIX. it's simply that it is badly designed and that critical application facing components aren't actually components
-
rtprio
yeah, what stuck with me is i was tasked with changing ports of mysql; somehow systemd didn't get the message so it did it's own health check (!) and when it didn't respond on the default port it killed it and restarted until it timed out
-
meena
systemd is just terribly scoped, designed, and implemented. also its documentation isn't great, and its community management was abysmal. but other than that, it's an okay idea
-
rtprio
what sort of brain worms came up with that idea, seriously
-
» thorre came in contact with rc when running slackware from floppy in the 90's. Then wondered of furhter and further in to linux-land. Finally caved in and tried something new with FreeBSD a few years ago.
-
thorre
Will never leave as long as it has rc.
-
thorre
The systemd (tm) is: It just works, iuntill it doesn't.
-
meena
rtprio: SMF, launchd, s6, Windows Service Framework, and a billion others
-
meena
AIX probably had something, too
-
debdrup
meena: I just fear that with all the rc replacements that've been proposed and none of them having been adopted, it's hard to see how anything can replace it
-
AmyMalik
the email guy wrote a program called svscan, which s6 riffs off of extensively
-
AmyMalik
(the dissident email guy specifically)
-
debdrup
SMF in Solaris doesn't really work without SFM.
-
meena
that would be nice to have, too. but, baby steps
-
debdrup
My point is you can't have SMF without SFM.
-
debdrup
...at least from what I remember, though it's been WAY too long.
-
meena
only in zones, tho i reckon that a zone SMF might talk to the system's FM
-
meena
which from a design point of view makes sense. there's no hardware in a zone that can fail
-
AmyMalik
fault management
-
AmyMalik
fault management also tries to manage software failures i think
-
debdrup
that's kinda what i was getting at, yes
-
meena
yes, but it only aggregates them from SMF
-
rtprio
meena: the docs for gotosocial are kind of shite
-
amigan
I recently got gotosocial working nicely on FreeBSD, had to write a bunch of rc scripts though
-
debdrup
there's a whole _thing_ surrounding fault handling that needs to be implemented cf. handling different error codes differently (ie. some indicate that a program can be restarted, while others indicate the exact opposite)
-
AmyMalik
if only there was a standard
-
debdrup
it's one of the many things POSIX doesn't cover
-
debdrup
the other big one being user accounting
-
debdrup
the closest we get is errno(3) but that doesn't cover all the kinds of errors you can get from software iirc
-
rtprio
amigan: is it worth using postgres with it?
-
AmyMalik
Is sysexits.h known the world over?
-
amigan
rtprio: I certainly did, but this was for a production-ish setup (our local computer museum's AP server)
-
debdrup
i don't know what it is, but that doesn't necessarily mean anything
-
AmyMalik
It doesn't conform to any Official Standard
-
amigan
rtprio: you don't have to but moving from sqlite to postgres is hairy. I did it but I wouldn't recommend it
-
debdrup
oh, sysexits(3) is what you meant
-
rtprio
i haven't set it up yet; wondering which would be easier.
-
AmyMalik
yes
-
rtprio
just about to tootctl self-desctruct
-
amigan
rtprio: just do postgres off the bat. I love sqlite but for this, it is a testing database
-
amigan
sqlite is obviously easier just to try out
-
amigan
So I'm having a super weird issue. Setup: pf nat box with I210 NICs with that is also an nginx ssl termination proxy for a bunch of apps inside. Another box with I211 NICs that is running grafana. Only grafana has ever shown this issue, but I think it is exposing a bug lower in the stack. Originally, saving a dashboard in grafana would hang. It was caused by TSO mangling packets. I turned off all
-
amigan
hardware offloads on the I210 gateway. Many, many months later, saving is broken again, but the packets are arriving at the application server, which is doing nothing with them. Turning off all offloading (TSO, LRO, VLANHWTAG) does nothing.
-
amigan
I still suspect that the I211 is a f'ing me, but it's really weird seeing seemingly well-formed packets arrive at the app server (tcpdump shows) that are being ignored, and then you see the retransmits from nginx
-
AmyMalik
i should probably install stock FBSD
-
amigan
AmyMalik: you absolutely should
-
AmyMalik
because that'll help me chase this weird power virus issue - the question can be phrased as: is 1 watt the price of exploit mitigations?
-
amigan
On mobile, I say no
-
AmyMalik
¿
-
amigan
1 watt is a lot on battery and not worth the lost utility. If you have a fixed power supply, things change.
-
debdrup
Oh, so all this time you've been talking about FreeBSD, you haven't been talking about FreeBSD.
-
amigan
lolololo
-
debdrup
I don't even know why I bother helping people when they lie by omission.
-
AmyMalik
debdrup: at what point do i get banneh
-
» amigan waiting for the +p
-
amigan
+o damnit
-
debdrup
AmyMalik: I wasn't planning on it.
-
AmyMalik
oookaaaay
-
debdrup
I really just wish you'd stop lying.
-
AmyMalik
Well, i'll install stock, and let you know where I get.
-
amigan
I do agree, ^FREEBSD != FREEBSD
-
debdrup
Please feel free to not do that.
-
» AmyMalik stares at debdrup
-
AmyMalik
welp
-
AmyMalik
I guess I aren't long for this chat
-
meena
rtprio: how can I help (re gotosocial, which, at this stage is still alpha, BTW)
-
AmyMalik
appropriate hostname
-
rtprio
i was annoyed that 'to build, see docs' then the docs say 'to build see contributing.md'
-
meena
amigan: what's wrong with the rc script in the port?
-
amigan
rtprio: if you want my rc scripts, let me know. I have been considering making a port for gts, mostly for my own benefit
-
amigan
Wait, there is a port?!
-
amigan
Since when?
-
rtprio
i would take the rc scripts, plz
-
amigan
Wow I feel like a moron right now. I could swear that I didn't see one when I first installed.
-
amigan
rtprio: use the port's scripts, I say tentatively
-
rtprio
fuck i didn't even think to check
-
amigan
-
VimDiesel
Title: FreshPorts -- net-im/gotosocial: Golang fediverse server
-
meena
I made that
-
amigan
meena: thank you
-
meena
I wouldn't tell you go thru this painful process if i haven't had paved the path already
-
rtprio
👍
-
amigan
Lmao I just paved the path for myself 2 weeks ago
-
amigan
The museum dudes are gonna laugh at me
-
amigan
Oh well, got a small project for the weekend to move things over to the port installation
-
meena
it was a lot of work getting that thing working on FreeBSD, and that has set the stone rolling for other VSDs
-
meena
BSDs, too.
-
amigan
Yes, I can attest to that
-
meena
even on esoteric platforms such as i386 and aarch64
-
amigan
Wow, what was needed there?
-
amigan
Figured golang would take care of all of it
-
meena
the SQLite library translates the C code to go somehow, so i have no idea what. but basically: port the systems' libc to go, essentially
-
» AmyMalik pours petrol everywhere
-
amigan
What the actual fuck
-
meena
don't ask
-
amigan
Are they using cgo for sqlite?
-
amigan
Or something else
-
meena
-
VimDiesel
Title: cznic / libc · GitLab
-
amigan
ty. I am a go dev by day, so this is highly interesting to me...
-
meena
-
amigan
Jesus christ dude, you did all this for the port?
-
VimDiesel
Title: cznic / sqlite · GitLab
-
meena
no, i asked people kindly
-
amigan
Lol fair
-
meena
Also, not a dude
-
amigan
My apologies
-
» AmyMalik downloads d.f.o s/amd64/14.0-CURRENT/base.txz
-
amigan
I call everyone dude though, fwiw
-
AmyMalik
amigan: don't do that. It's not gender neutral in most of the world.
-
meena
I did look at the code, considering for ten seconds to contribute the effort, and then i looked away
-
amigan
AmyMalik: point taken!
-
benaldo
old coworker was also a proponent of the gender neutral dude. It's hit/miss tho.
-
amigan
I don't use it often, but I have rarely strictly gendered it
-
V_PauAmma_V
Same goes for "guy", I think.
-
amigan
It seemed ironically cool back when I was young, but even I can see how it wouldn't age well
-
benaldo
can confirm at least in the north east of the USA, "you guys" is gender inclusive lmao
-
meena
other things i did for go on FreeBSD even tho i am not a go Dev:
github.com/golang/go/issues?q=author%3Aigalic
-
VimDiesel
Title: Issues · golang/go · GitHub
-
amigan
benaldo: yes, that is also my region and seems utterly anodyne
-
amigan
Used by all genders
-
AmyMalik
I just use "potato"
-
AmyMalik
or "bean"
-
meena
I am mostly a potato recently, but aspire to become a bean again
-
amigan
meena: a sincere thank you for helping improve the go ecosystem on FreeBSD and everywhere. I use it both to feed myself and to run cool modern apps on my favorite OS, so this is really from the bottom of the heart.
-
Dimonax
Alright, how do I tell "make" to use llvm14 instead of the base llvm package on freebsd? (Cant believe I never asked this question before.)
-
amigan
Dimonax: env CC=blah CXX=blah make
-
amigan
If the makefile is written correctly
-
Dimonax
Of course...how did I NOT know that?
-
meena
amigan: it's really simple: I run bleeding edge freebsd with slightly nonstandard settings, and boom, bugs everywhere
-
amigan
meena: lol, fair. I just run FreeBSD in a really complicated and nonstandard setup and boom, networking bugs everywhere. panics, hardware NIC offload bugs.
-
AmyMalik
triple boot - begin
-
meena
-
VimDiesel
Title: Mina: "i just realized that this is simply part of my ve…" - Cathode Church
-
rtprio
meena: i want a refund
-
rtprio
go: RLock /usr/ports/net-im/gotosocial/work/gotosocial-0.7.1/go.mod: no locks available
-
amigan
rtprio, what arch are you running on?
-
rtprio
amd64
-
amigan
I have never seen sync.RLock fail... wow
-
amigan
mutex rather
-
meena
-
VimDiesel
Title: Mina: "love to test basic functionality of software in a…" - Cathode Church
-
rtprio
could it be nfs?
-
amigan
No, that is literally sync.Mutex#RLock() failing
-
amigan
I mean I guess in a very indirect way it could be
-
amigan
But that's not an NFS lock it's complaining about
-
amigan
meena: good insights indeed
-
» AmyMalik chuckles at fstab oops
-
AmyMalik
forgot to change my login shell when i blew away /usr/local
-
AmyMalik
my own sordid fault
-
amigan
And this is why I still use tcsh on FreeBSD but zsh everywhere else
-
rtprio
so log in as root and chsh amymalik. we don't need a running commentary
-
AmyMalik
that.. was root's shell.
-
rtprio
why would you do that
-
AmyMalik
anyway I know what to do
-
meena
log in as toor?
-
amigan
toor is usually the /usr/local one
-
amigan
Though on my system it has an empty shell field in passwd....go with god AmyMalik
-
AmyMalik
don't have toor
-
amigan
Looks like boot -s for you
-
AmyMalik
yeah, that's what i think is next
-
AmyMalik
forgot to rebuild the passwd db lol
-
amigan
Getcha every time. Or at least the first one.
-
amigan
There's always ln /bin/sh /usr/local/bin/bash
-
AmyMalik
ah
-
amigan
Lol don't really do that
-
» amigan stares at wg-quick
-
meena
amigan: don't
-
amigan
Don't stare at wg-quick?
-
meena
we have a nice rc script in ports now
-
amigan
What do you mean, even the rc script calls wg-quick
-
amigan
Which has a bug I have been trying to get zx2c4 to accept my patch for for months
-
amigan
-
VimDiesel
Title: [PATCH] wg-quick: freebsd: save mask of interface in save_config
-
AmyMalik
false start with etcupdate
-
AmyMalik
anyway I think i'm about to get banned
-
amigan
meena: very interested to know if there is another script. Sick of having to maintain a delta every time it upgrades
-
rtprio
meena: figured out the documentation thing
-
rtprio
the left side bar was hidden and i didn't notice the hamburgre menu to expand it at the browser width
-
rtprio
so i only noticed the first page
-
meena
amigan: too tired to find it, sorry
-
meena
rtprio: ✌️
-
amigan
meena: no worries, thanks for the tip!
-
rtprio
i bet i can really scale back this vm now
-
amigan
Was it running full fat mastodon before?
-
rtprio
oh yea
-
amigan
I decided on gts because the only machine I had available was a 4GB machine
-
amigan
And we also wished to use it to image SCSI discs since it has a PCI slot for an ahc(4) controller :)
-
rtprio
still dont know if ill lose my followers in this process
-
AmyMalik
would you look at that, basically the same power consumption on stock as on the latt branch
-
amigan
I would think you will, but idk
-
rtprio
how are you measuring this power consumption?
-
AmyMalik
-
VimDiesel
Title: GitHub - intel/pcm: Intel® Performance Counter Monitor (Intel® PCM)
-
AmyMalik
although it's possible I'm having ... is it called a zeno effect, or a schroedinger effect, when measurement changes the datum
-
rtprio
1w difference you said?
-
amigan
AmyMalik: what are you measuring? Idle or load?
-
AmyMalik
1w difference from Linux
-
AmyMalik
amigan, nigh idle; the load is displaying the VT and scrolling the output of intel's utility
-
rtprio
wow; lucky you to have time to waste with such a stupid differenc
-
amigan
Interesting
-
AmyMalik
I have made this my pet issue
-
AmyMalik
I should probably leave all the freebsd channels and only study it from the perspective of the code base
-
amigan
Instantaneous consumption measured by intel tools is hard to scientifically compare. You would be better served by a datalogging plug
-
amigan
And an average
-
rtprio
they are different kernels, how would you expect them to draw the same
-
AmyMalik
true tbh
-
amigan
Exactly. And you need to be running in single user mode
-
rtprio
i mean, duh
-
amigan
And actually idling. Nothing but timer interrupt service
-
rtprio
still different kernels
-
amigan
Well, yes
-
concrete_houses
is this job market crazy for cloud architect and tek manager or what?
-
amigan
But you can definitely empirically say "x kernel draws more than y at idle". Just sure if that is the question being asked
-
amigan
Err, not sure
-
rtprio
this is pointless folly but have fun
-
amigan
rtprio: many things in life are. Some say it is pointless folly to run FreeBSD when you can just use docker on linux for everything
-
rtprio
also whats the resolution of the measuring instrament
-
amigan
Another valid question