-
cpet
that site is a store ?
-
wsky
cpet it has a store tab
-
wsky
i have prints on canvas for sale
-
wsky
but it mainly is a blog
-
cpet
Oh PCI compliant
-
cpet
Heh
-
luser
rwp, hernan604: lol
-
cpet
Pretty much how it goes
-
cpet
Kind of like reading Linux hard coded bins in scripts
-
badkat
roflma0 my desktop is blazing fast again l0l0l
-
badkat
cpet: you told me to give up i will never forget that.
-
cpet
It's ok
-
cpet
I don't even remember the issue so heh
-
badkat
i had a some wierd0 sysctl shared memory lines i totally forgot lma0
-
badkat
also aio_load was disabled now its a NASA laptop again
-
rtprio
a what?
-
badkat
rtprio: a brand new CCCP approved workstation setup.
-
rtprio
IF you say so
-
badkat
feels like g00d s3x, imagine being nearly a complete month with micro/macro freezes/hangs constantly
-
badkat
and then smooth as butter
-
ketas
badkat: how's it failing today?
-
badkat
ketas: its not anymore!
-
badkat
dude im having cybersex with the kernel
-
badkat
it was some clunky sysctl.conf/loader.conf stuff i had changed that actually destroyed the performance, those ipc.shm* made the mess, dont even remember when that happened
-
tykling
those same settings didn't harm anything on 14.1 but made 14.2 crash?
-
badkat
tykling: i had ~120 days of uptime probably those changes were not applied
-
badkat
no crash, but absolutly demential degradation of the desktop usability
-
tykling
so at some point in that 120 day period you added that, didn't test it, and eventually upgraded to 14.2 and rebooted, and then the issues began?
-
badkat
yep, when i came to the channel on friday i was blaming zfs lol
-
tykling
yes we were here :) it happens
-
badkat
:D
-
ketas
made my day... 08:03:09 < badkat> dude im having cybersex with the kernel
-
ketas
what those changes were anyway?
-
ketas
were they limiting up or down
-
ketas
i bet lot of people also do zfs arc limit still, not all of them need this anymorr
-
ketas
e
-
ketas
etc
-
tykling
ketas: arc limiting not needed anymore? since when?
-
tykling
has it been fixed
-
ketas
as i understand
-
ketas
it's not needed now
-
ketas
now that you ask
-
ketas
unsure
-
ketas
0.6* ram?
-
tykling
depends a lot on what the workload of the machine is.. storage box? no limits for arc, database server? maybe 10-20% for arc
-
tykling
back in the day the kernel used to be slow to release the memory used by arc so I got in the habit of limiting it everywhere
-
ketas
tykling: well previously things ran out :p
-
ketas
i wish one could do % limits
-
tykling
yeah I do do % limits but ansible does them for me
-
badkat
ketas: back, those shared memory params were silly high numbers
-
badkat
i just remembered that i had some issueswith SDR hardware that was not having the sampling rate it should and i exagerated the number of ipc.shmall along others a few times
-
badkat
my ZFS ARC limit was always 1G, but in this debugging days i tried increasing to 2G, 0 difference
-
badkat
aio_load=YES seems to be a must for desktops too, i disabled that module the day i did the upgrade for some reason.
-
Hecate
29
-
Hecate
(woops)
-
__sbrk
Hello all. Trying to get the radeon driver to work with X11 on a wyse terminal (nice and compact), under fbsd 13.5-RELEASE
-
__sbrk
It seems to initialize the driver just fine
-
__sbrk
[drm] Initialized radeon 2.50.0 20080528 for drmn0 on minor 0
-
__sbrk
[ 79.212] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
-
__sbrk
[ 81.585] (II) modeset(0): using default device
-
__sbrk
then X11 exits with
-
__sbrk
[ 81.586] (EE) Cannot run in framebuffer mode. Please specify busIDs for all framebuffer devices
-
__sbrk
[ 83.953] (EE) Server terminated with error (1). Closing log file.
-
__sbrk
I am in group video
-
__sbrk
any thoughts?
-
__sbrk
does the radeon modeset driver need linux binaryt compat?
-
rtprio
__sbrk: maybe you should specify the busids for all framebuffer devices
-
skered
At least it's nice about it and says please.
-
benjamino
hi folks, i'm a newbie (both in freebsd and C) but i'd like to contribute in a way that would improve my knowledge in both topics; one of the things mentioned in the "Contributing to FreeBSD" article is fixing warnings for ports which do deprecated things, does that mean literally going through the /usr/port, building random stuff and submitting patches?
-
mason
TIL uname -U
-
tykling
benjamino: sort of, but maybe more going through open ports PRs or looking at ports marked deprecated and see if you can find some worth rescuing
-
benjamino
tykling: I see, alright I'll take a look at those, thank you!
-
polarian
kern.securelevel=2 causes xorg to segfault
-
polarian
correction kernel.securelevel above 0 causes xorg to segfault
-
polarian
hmmm
-
cpet
Using a security level when used as a desktop isnt good
-
badkat
^ true
-
badkat
polarian: think that securelevel modes enforce read-only in a lot stuff so if xorg wants to write something in that scope it will be a dead end leading to a crash.
-
badkat
openbsd folks could be more familiar with those kind of setups :P
-
badkat
xenocara works with securelevel=2, you could check the workarounds involved
-
polarian
cpet: old latitudes have a vulnerability which allows the EC write protection to be bypassed, makes flashing coreboot distros easy, but it also means that any attacker can write to /dev/mem if they get root access and infect the bios. secure level protects against this.
-
polarian
also I dont think "dont use secure level on desktop" is the correct approach to the situation, "desktop is not a priority" would be a better approach, but ultimately security features should really support desktop as well...
-
polarian
badkat: I am an idiot when it comes to kernel shit xD
-
polarian
solution? get on my hands and knees and beg :P
-
cpet
Reread what security levels do
-
cpet
They aren't meant to be used as a daily machine but server
-
cpet
They disallow some smithing which x needs
-
polarian
I only technically need to protect against write to /dev/mem (so level 1)
-
polarian
cpet: afaik it works on Linux with their /dev/mem protection...
-
polarian
I have heard it works as a security measure for the old latitudes, I have not verified it (will do shortly)
-
cpet
This isn't Linux
-
badkat
polarian: "privUsername Xorg 29005 10 /dev 16 crw-r----- mem rw"
-
badkat
xorgs needs that permissions over /dev/mem
-
polarian
I know... but my point is, Linux runs xorg, if Linux can restrict writing to /dev/mem for xorg, then freebsd might be able to do that too
-
badkat
ok?
-
polarian
badkat: hmmm
-
cpet
no BSD is a whole different ball game than Linux
-
polarian
im not a kernel dev but iirc /dev/mem is used to directly interface with hardware registers
-
polarian
(and flash)
-
cpet
and you dont think X needs that ?
-
badkat
polarian: can you share that proof that linux xorg doesnt write that?
-
cpet
you need to see if that vulnerability is he same as with BSD
-
cpet
and if its local I would just wait for a fix
-
polarian
well I assume if it works on Linux then xorg on Linux is written to go via the kernel (which would be the more secure way of doing things, like how OpenBSD forces all syscalls to go via libc), I could then assume that FreeBSD doesn't support said features xorg relies on hence its implemented directly
-
polarian
hence the requirement to write to /dev/mem
-
badkat
linux "protections" usually are shit
-
polarian
but then again this all relies on the assumption that /dev/mem READONLY works on Linux, which I am yet to verify
-
polarian
badkat: I dont disagree
-
badkat
like you just change the place of things, doesnt mean that /dev/mem cant be write some other way around..
-
cpet
secueity level 1
-
cpet
Secure mode - the system immutable and system append-only flags may not be turned off; disks for mounted file systems, /dev/mem and /dev/kmem may not be opened for writing; /dev/io (if your platform has it) may not be opened at all; kernel modules (see kld(4)) may not be loaded or unloaded. The kernel debugger may not be entered using the debug.kdb.enter sysctl. A panic or trap cannot be forced using the debug.kdb.panic,
-
cpet
debug.kdb.panic_str and other sysctl’s.
-
polarian
but from a security POV is it a good idea to be able to write to /dev/mem anyways? xorg being compromised therefore means that my laptop (an E6430) with a vulnerable flash could be rootkitted from a xorg vuln...
-
polarian
that is a major security consideration
-
polarian
on the other hand dont use EOL devices :P
-
cpet
again reread what secueity levels as they arent what you think they are by the looks of it
-
polarian
I have read security(7)
-
cpet
and dont compare Linux and BSD they are ifferent beasts and may upset some people as well
-
polarian
I am aware, completely different codebases... (although I will poke the bear and say FreeBSD has imported a ton of Linux code soooo... :P)
-
» polarian looks at LinuxKPI
-
badkat
fuck linuxkpi :)
-
cpet
yes as required
-
cpet
due to the way linux does thing we had to include that to get X working
-
badkat
total wormhole
-
polarian
oh wait...
-
polarian
maybe the issue isn't xorg, but LinuxKPI
-
badkat
look, if you want to do what you want, you need to patch kernel-level stuff
-
polarian
yeah I get it
-
badkat
if you dont want that, go to openbsd desktop that supports your needs
-
polarian
it is unfortunate though...
-
badkat
but the filesystem is a joke
-
badkat
total waste of hardware
-
badkat
but accomplish the paranoid
-
polarian
maybe one day I would be smart enough to fix kernel bugs :P
-
cpet
if you only use X local you really dont need to do that
-
polarian
I wonder if it would work under wayland (I would assume no), although I rather not touch wayland... :P
-
cpet
do I want secueity and a pai to run X
-
cpet
or do i want to limit secueity and have a working X
-
cpet
i chose working X
-
polarian
well lets be real, I think freebsd has bigger security issues rn than some security feature not working with xorg
-
» polarian looks at the fact xorg was vuln in the pkg repo for 1 month before being updated
-
cpet
MIcrosoft had fixed a bug that was 16 yrs old
-
polarian
so nitpicking this one thing is in the grand scheme of things... irrelevant
-
cpet
whats your point ?
-
polarian
cpet: disproving my own moan :P
-
polarian
no better argument than arguing wiht yourself yk? :P
-
badkat
fbsd is server oriented, so the packages that are not involved in providing services from a datacenter have way less relevance in the manteinance cycle
-
badkat
and im agree with that.
-
polarian
badkat: yea I am aware of that, but freebsd foundation is coughing up a lot of cash to get the framework laptop desktop-worthy
-
cpet
and freebsd doesnt really make a good desktop for me atleast
-
cpet
excels as a server though
-
polarian
I have found it to be decent for the last year I have used it full time as my main laptop
-
polarian
cpet: for servers it beats Linux hands down...
-
cpet
i want to play games and Wine sucks at it
-
cpet
so bleh
-
badkat
it is a great desktop, but you have to suffer some times, its pretty much worth in my opinion. Desktops are not only for fun & c00m
-
badkat
you can work too
-
cpet
my main machine is a Mac mini :P
-
polarian
I dont get how Linux sysadmins live without adopting a BSD, weekly kernel updates? a package update can update the base system and require a reboot, but you never know when so you reboot every update even if its userspace... what hell!
-
cpet
i do have a remote X i use to do admin stuff on server
-
polarian
anyways this gives me a reason to patch some docs to stop recommending securelevel on freebsd desktop to protect against vuln flash
-
cpet
which doc is it ?
-
polarian
libreboot :)
-
cpet
fkash is dead and has been for a lng time
-
badkat
freebsd have lots of security issues but the good part is that atleast is not a giga spagetthi laberynth to go through
-
cpet
everything has secueity issues
-
polarian
badkat: Linux went downhill the moment it started to merge usb shit into the kernel iirc
-
cpet
and all we do is put blocks and limitations and dont fix the actual issue
-
badkat
mainly openbsd, but we should not talk about that ^^
-
cpet
why not its a BSD
-
badkat
i mean about the sec issues they have haha
-
cpet
read the man pages you will see a very large set of rivers ported from openbsd
-
cpet
our pf is based on openbsd
-
polarian
badkat: what sec issues
-
cpet
oh
-
polarian
if I hear another person use isopenbsdsecu.re again I will facepalm
-
polarian
that site was written by a Linux security dev, who obviously opposes everything OpenBSD stands for
-
polarian
nothing more than BSD bashing
-
badkat
that webpage is 90% truth 10% intentional beef to upset fanboys
-
polarian
switch the two numbers and I will agree
-
cpet
i use OpenBSD as my server OS ;/
-
badkat
lol, i use a lot of openbsd anyways
-
cpet
as with every OS they have pros and cons same with Free and Net
-
polarian
the whole thing about the spectre vulns taking too long to patch is because intel/amd help with Linux and not BSD
-
badkat
but lets be real, there is a lot of thing that is not warfare level secured
-
badkat
hahah
-
cpet
polarian: this is the same reason why everyone uses Linux and not a BSD
-
polarian
iirc there is a video on youtube about theo de raadt ranting about how its not fair that manufacturers dont share their docs with OpenBSD
-
badkat
polarian: why should they do that? linux devs get NDA for each device they port most of the times
-
cpet
well both the main people behind Open and LInux are tools
-
cpet
but lets not get into that :P
-
polarian
cpet: which proves my point, its not OpenBSD's fault... why should they be blamed for having to use vulnerable microcode because the tech companies disproportionate aid Linux?!!? again its just a BSD bashing website...
-
badkat
at least openbsd can rip off that work, thats how 80% of the network cards are gettin support
-
cpet
polarian: i dont know I didint click on it
-
cpet
i use what I use for my personal reasons
-
cpet
I sys amdin my machines using the same pricinpal
-
cpet
i like to redo my whole log and change all loging to *.log
-
cpet
some people may thing thats stupid
-
cpet
but I do it
-
cpet
:P
-
polarian
badkat: well its difficult because they dont have the whitepapers, and GPL copyright is a big problem
-
badkat
there is a line between selecting your software and acknowledge real things going on. OpenBSD is the most easy to maintean networking OS in the earth
-
cpet
opebsd fixed that by impleenting there own
-
cpet
this is why they have there own version of X and drivers
-
badkat
but that doesnt make the OS rock solid, different things.
-
polarian
and Linux devs love their copyright... moment you infringe it the fsf will have a court case against you within 24 hours!
-
cpet
badkat: i just upgraed to 7.7 with a simple sysupgrade
-
cpet
badkat: :)
-
badkat
do you even read what i said? lmao
-
polarian
badkat: OpenBSD has been long known as the routerOS :P
-
badkat
i use openBSD with my XPON setup, fiber and all the shit
-
cpet
i dont know
-
polarian
iirc the early development of OpenBSD was strongly bolstered by small ISPs across the globe which adopted it for security and because its cheaper than the proprietary alternatives (and more powerful)
-
badkat
but its not so secure :)
-
polarian
badkat: directly or via an ONT?
-
cpet
its securer than most
-
badkat
polarian: directly
-
polarian
badkat: based... I heard its not very well documented, and you need a special SFP connector for it
-
badkat
but the SMP implementation makes a bottleneck on network performance
-
polarian
unfortunate I only have xDSL and that requires a modem, in theory though I could use a openwrt modem/router combo and use it as a modem only... but modulation is L1 so the modem is a non-issue from a security perspective...
-
cpet
2025 and we still have OS wars
-
cpet
yay
-
badkat
so i have to lose 30% of performance just because the openbsd kernel doesnt have a good implementation on the router architechture (Octeum)
-
polarian
iirc the modem I am using Linux build is from 2011
-
polarian
thats secure, right? :P
-
cpet
OpenBSD isnt SMP aware still had Giant locks all over the place
-
cpet
yeah
-
polarian
(its bridged to a OpenBSD router)
-
cpet
if theres no known vulnerabilities
-
cpet
even so some comanies still use Windows 95 software
-
cpet
so bleh
-
polarian
did you both see the ML rant about 4chan, someone using some not so nice language on the ML
-
badkat
polarian: linux kernel 2.6 yay like putting your ass nude in the window heading to the street l0l0l0
-
polarian
they were running EOL FreeBSD and then FreeBSD gets the blame? laughable
-
cpet
polarian: that would be fun if I saw it
-
polarian
-
badkat
polarian: people that blame fbsd 10 on 2025 are just retarded i wont matter much
-
polarian
does anyone care about 4chan anyways?
-
polarian
idk much about 4chan but arent they renown for being scum of the earth?
-
cpet
thats typical really
-
cpet
blaming the OS that is old and not maintained
-
badkat
a pretty famous psyop deployment place, nothing worthy in those places
-
polarian
idk why anyone would want to live in a toxic echo chamber, its why I left Linux :P
-
cpet
most site are hacked due to old software or broken passwords
-
cpet
not really the os itself
-
cpet
ssh was vyuln to some things so if you forgot to update well thats on you
-
badkat
cpet: that site was hacked with a ghostscript (javascript) pdf upload plugin for php
-
badkat
nothing to do with freebsd anyways
-
cpet
a lot of people will install OS, set it up, and never lok at it again
-
badkat
the OS was rocking the show
-
cpet
instead of logging in updating the programs
-
cpet
and restart php-fpm
-
cpet
probably would still be up hah
-
polarian
badkat: they deserved to get pwned for using php
-
badkat
if it works, you dont touch it. "Bankers"
-
cpet
any language can be hacked if not programed correctly
-
polarian
badkat: famous last words!!!
-
polarian
hi deimosBSD
-
cpet
some can fix itself like rust ad others
-
cpet
but a few cant
-
deimosBSD
ciao polarian
-
polarian
deimosBSD: long time no see
-
polarian
and on that note, I must reboot
-
cpet
i should reboot my current install as well
-
mason
Insert mode in the vi-mode of FreeBSD 14.2's /bin/sh sure doesn't like letting me into command mode much of the time. But sometimes it does. I haven't yet pinned down why it's inconsistent.
-
cpet
See if it happens in vim
-
mason
Hm, don't have vim installed. But most of the time it works, and nvi has no issues.
-
mason
It's weirdly erratic.
-
badkat
are you over tmux/screen?
-
mason
No, just ssh.
-
badkat
same on tty?
-
mason
crw--w---- 1 root tty 0x2bf Apr 28 22:36 /dev/pts/5
-
mason
Dunno, it's a jail. There's no local to be had.
-
mason
But that it works most of the time under ssh suggests that's not inherently a problem.
-
badkat
sending escape code/sequences over ssh sessions is not the same that doing direct input on the tty
-
mason
The ssh makes it sometimes erratic?
-
badkat
?
-
badkat
im saying the scenario is not exactly the same
-
badkat
try on tty console.
-
mason
Is jexec going to give me something substantially different from ssh?
-
badkat
ok didnt saw the jail part
-
mason
I'm stuck on the notion that it works most of the time on the shell, and all of the time (so far) in nvi.
-
badkat
could you provide some way to reproduce the issue?
-
mason
I need to be able to reproduce it reliably here and I'm struggling to do that. But if I do, I'll certainly share it and probably open a bug.
-
cpet
Why not open the big and share it here
-
cpet
Bug
-
mason
cpet: It's *so* intermittent... I really need to find a way to elicit it on demand.
-
cpet
So it's still there
-
cpet
I would submit a bug
-
mason
It's not doing it now, but several times earlier I found myself locked in insert mode.
-
mason
Alright. I just hate bugs that are so sparse.
-
mason
cpet: I'm in one now!
-
mason
Going to see if I can reproduce this.
-
mason
Arrow keys aren't changing lines, although left and right work. There's no escaping into command mode.
-
TommyC
mason: Even when you hit Esc a bunch of times it didn't get out of insert mode?
-
mason
TommyC: Yeah. I'm going to see if I can get it to leave a core.
-
mason
Also, I've tried a couple times now... I ssh in and I seem not to be able to escape at first.
-
TommyC
mason: Weird ask but, are the keyboard layouts in the machine you're ssh-ing into and the one you're ssh-ing from the same?
-
mason
I'm sshing into a jail fwiw.
-
TommyC
I don't mean physical keyboard layout.
-
mason
So, this is interesting. Once I "set -o" it seems to start working.
-
mason
Alright, this is a worthwhile bug report. I can get it EVERY time I ssh in, and it goes away when I "set -o" to look, which shouldn't do anything. Trying nvi to see if going into that has an issue, or resolves the issue.
-
mason
Interesting. I can go into nvi and it works fine, but going back into the shell, the shell's still broken.
-
mason
just running "set" doesn't fix anything, but running "set -o" does, so there must be some funny race.
-
TommyC
mason: Just to rule it out, does any other text editor cause the same problem?
-
mason
TommyC: I don't think I have another installed, but let me try emacs mode and see if that has issues.
-
mason
emacs mode doesn't have issues
-
TommyC
This is probably wrong but, perhaps it's some sort of nvi setting?
-
mason
TommyC: Nothing to do with nvi. nvi works fine.
-
mason
TommyC: I ssh in, and despite .shrc having vi mode turned on, esc doesn't work until I run "set -o"
-
mason
stty sane doesn't matter