-
polyex
?
-
nicholaus04
Howdy, folks!
-
polyex
o/
-
nicholaus04
Managed to change my VT font to be the tom-thumb 4x6 font.
-
nicholaus04
At least i can display more characters now.
-
polyex
lol
-
nicholaus04
Though, i've only set it via vidfont, but not in a way where it's set on (re)boot.
-
nicholaus04
It looks cool though.
-
polyex
antranigv you ok?
-
antranigv
polyex yes, sorry, been trying to fix this AMDGPU issue...
-
saper
Tried OCR-ing a screenshot of a failed kernel boot log with 8x8 font and it was very bad
-
polyex
well so did it work?
-
antranigv
polyex I was not able to get it to work on Jails. but I think there's a workaround
-
» antranigv is thinking
-
polyex
what's the workaround?
-
» antranigv is reading the code
-
polyex
the only workaround i found was not using mac, then setting reserved low port down to 0
-
polyex
but that's a blunt weapon
-
antranigv
Has anyone ever got Venus XT [Radeon HD 8870M / R9 M270X/M370X] to work with Xorg?
-
polyex
antranigv so that's 1 limitation in jails i found. i found 1 other wanna know what it is?
-
antranigv
polyex possibly could be a simple fix, but still going over the code. MAC is a bit new for me.
-
antranigv
polyex what's the other one?
-
polyex
ok well
cgit.freebsd.org/ports/tree/net/wireshark/pkg-message#n13 doesn't work. making the rules perm i mean. so i have to put them in /etc/rc.local it's so dirty
-
VimDiesel
Title: pkg-message « wireshark « net - ports - FreeBSD ports tree
-
occ
how to restart sound sub-system in FreeBSD?
-
polyex
antranigv ok you won't believe this. so i have the devfs unmounts going on my jails and it works, no error window after bsdinstall finishes. but then i comment out the code running mount and grep, and also the sleep 60 command i was using to make the mount output readable, and the busy error came back!
-
polyex
so now i'm trying it with the mount line commented out, but sleep 60 uncommented
-
nicholaus04
Managed to set up some external speakers, and install lynx and openmpt123.
-
nicholaus04
Works pretty darn well, other than the external speakers having stereo support being a bit goofed up.
-
nicholaus04
But lucky, i don't mind that much.
-
polyex
antranigv ok with sleep 60 in, error went away again wtf
-
nicholaus04
Yep, xmp works as well. (And so does every other program that uses libxmp by that extent)
-
polyex
antranigv reduced sleep to 5, error came back. trying 30s now
-
polyex
antranigv 15s causes error, trying 20 now
-
polyex
20 errors, trying 25 now
-
GoSox
i have a question that is really pushing the limits of "on topic", however....
-
GoSox
as a life long mac user, when i need a computer, I buy a Mac at a place that sells macs.
-
GoSox
But if I'm setting up a freeBSD server. what do i pick for hardware?
-
GoSox
It needs to be a 1U server, ideally new/newer, but at the same time, I really don't need more power than what you might find in a DDR3 era computer system
-
GoSox
so something relatively low end, but reliable and affordable
-
polyex
25 errors trying 29 now
-
rtprio
GoSox: i run freebsd on both dell 2u and supermicro servers
-
rtprio
but my first several freebsd machines were hand-me-down hardware franken-servers
-
polyex
antranigv 29 seconds worked. running 2 more times to verify
-
SponiX
GoSox: Anything 1U is going to be stupid loud
-
SponiX
If only looking for a mid-range system. Might as well get a used workstations like the HP Z440, or a NUC
-
polyex
antranigv ok 2nd run of 29s failed. gonna try 30 again
-
polyex
in unattended bsdinstall installerconfig, i service start a jail, config it with jexec, service stop it, jls confirms it's stopped. but zfs umount ... errors: cannot unmount ... pool or dataset is busy. why pls? i unmount the jail's devfs and it kinda works, but only when i umount then 'sleep' for >30s. (29s sometimes worked)
-
polyex
>=30
-
rtprio
well, you could always run sync and forcably unmount it
-
polyex
run sync after unmounting devfs?
-
rtprio
yeah.
-
polyex
so you're thinking i'm hitting some indeterminism and the sleep is just a bandaid?
-
rtprio
you can't run .. fstat or anything to see if anything else has this open?
-
lemoi
offtopic: anything left out of #not-##freebsd @freenode around here?
-
polyex
it's a jail's mountpoint
-
rtprio
i understand that
-
polyex
rtprio btw i do verify that devfs is gone because i run mount | grep dev
-
rtprio
but if zfs-unmount thinks something has it open, then you're best to figure out what that is
-
polyex
you think devfs can be unmounted but have the jail's mountpoint still be busy?
-
rtprio
yes, like if you have a process that's cd'd into that directory
-
polyex
so fstat from the jail host obviously, after the service jail stop myjail and unmount of its devfs?
-
rtprio
right
-
rtprio
how many places are you deploying this installer with the jail
-
polyex
pass FS path or mountpoint to fstat? like fstat /jails/jail/myjail ??
-
polyex
eventually a bunch but for now just local bhyve vm
-
rtprio
perhaps read the man page
-
polyex
file path
-
polyex
how does that work? i have a text file open in ~/foo, but fstat ~/foo has no records
-
rtprio
i would not rely on ~ expansion
-
rtprio
also the parameter is 'fstat -f /usr/home'
-
polyex
btw ok i ran bsdinstall 6 times with 30s sleep. 1 error 5 success
-
polyex
gonna run fstat now
-
polyex
maybe the devfs unmount solution wasn't even a solution, we'll find out
-
rtprio
ok, what happened
-
remiliascarlet
jbo: I used to use DWM for a long time, but at one point you'll patch it so hard in order to get rid of the Linuxisms, you'll end up with a buggy mess. So I ended up switching to CWM instead, which already works equally well on OpenBSD, FreeBSD, NetBSD, and Linux.
-
remiliascarlet
saper | CrtxReavr: CDE is abandonware, but there is NsCDE which tries to replicate the look and feel of CDE using fvwm.
-
SponiX
I was considering running that for the lolz
-
polyex
rtprio so i ls -la the jail path to make sure it's really there. then fstat -f /path/to/jail but none listed
-
polyex
the column headers like user and cmd, but no entries
-
polyex
how do i try the sync idea you had?
-
polyex
oh just run 'sync'?
-
rtprio
sync; sync; sync; zfs umount -f
-
polyex
why 3 times?
-
kevans
old habits die hard, perhaps
-
polyex
kevans you ever ran into this issue?
-
kevans
nope
-
polyex
dang
-
kevans
but nothing is mounted inside?
-
polyex
in the jail?
-
kevans
yeah
-
kevans
no nullfs mounts, no devfs mounts, no datasets
-
polyex
devfs i guess. but does it matter when the service jail stop myjail has been confirmed with jls?
-
kevans
yes, because i'm pretty sure jail(8) isn't doing any mounting or unmounting on its own
-
kevans
ah, there are mount.* flags now
-
polyex
i have mount.devfs for jails
-
kevans
you should still confirm manually that the mount isn't there anymore
-
kevans
especially since you're having a problem unmounting
-
polyex
with mount | grep dev on the jail host?
-
kevans
yes, or just grep the mountpoint to see if maybe there's something else
-
polyex
ok so i'll test service jail stop myjail, then i umount /path/to/jail/dev, then zfs snapshot, then mount | grep, then zfs umount /path/to/jail
-
polyex
says pool or dataset is busy
-
polyex
so what am i doing wrong? i unmount the devfs for the jail
-
polyex
oh ill try putting sync before the zfs umount
-
polyex
ok tried sync, still get error
-
mzar
maybe some process is running
-
polyex
in the jail?
-
mzar
in this directory, try to forcibly umount
-
polyex
ok took out sync, trying -f on zfs umount ... now
-
polyex
ok well with -f the error went away
-
polyex
there any other solution than forcing tho?
-
mzar
find this process
-
polyex
the process would be in the jail?
-
mzar
running shell with cwd to mounted dir will also prevent umount
-
polyex
but i don't do that
-
polyex
jls confirms the jail isnt running, but it could still have a process running?
-
mzar
probably not
-
mzar
ps -J 1,2,3,4
-
mzar
maybe jid was higher than 4 ?
-
polyex
so what's keeping pool/dataset busy?
-
mzar
one of the processes on the host or maybe mounted subid
-
mzar
but if you have umounted nested shares then the process is preventing umount
-
mzar
procstat -a pwdx | grep mountpoint
-
mzar
polyex: ^^^
-
mzar
polyex: do you run only FreeBSD or other BSDs too ?
-
polyex
only freebsd
-
polyex
i'll try procstat line
-
polyex
ya procstat outputs nothing matching the mount point
-
mzar
that's good
-
polyex
any other ideas?
-
mzar
there are still plenty of ideas, for example directory was shared via NFS
-
polyex
no
-
mzar
I have to get back to work, thanks for the conversation polyex, have a nice troubleshooting !
-
polyex
ty
-
polyex
why do i use umount on the jail's devfs? should i be using zfs unmount on it?
-
polyex
ah no
-
polyex
ok well i can't figure it out i'm just gonna use zfs unmount -f i guess
-
saper
remiliascarlet: Linuxisms? I use x11-wm/dwm port with my config.h (124 lines)
-
saper
remiliascarlet: Depending on the definition of abandonware - The OpenGroup officially released the sources (if you mean the code died as proprietary), last new release is from November 2023 (if you mean nobody cares)
-
remiliascarlet
saper: There are patch makers that employ Linuxisms unfortunately.
-
saper
remiliascarlet: you mean those extra patches from people using dwm, not the dwm itself?
-
darwin
i use XFCE across both FreeBSD UNIX and Slackware GNU/Linux (since 1997 when I started using them, FreeBSD was still called UNIX in official documentation and I also read & post to
nntp:comp.unix.bsd.freebsd.* )
-
darwin
i noticed recently in FreeBSD I'm missing some settings in XFCE after this
-
saper
darwin: slackware has more features than the FreeBSD port?
-
darwin
no
-
darwin
some standard settings are now missing
-
darwin
for example desktop
-
remiliascarlet
saper: Yes.
-
saper
darwin: I am sorry, I don't know what you mean (not using xfce)
-
saper
remiliascarlet: now I get it. I don't use any, that's probably why I am happy with dwm as it is ...
-
remiliascarlet
darwin: I always found Xfce to be lacking as a DE, although seems to be the only DE left that isn't trying so hard to push Wayland onto everybody.
-
remiliascarlet
Even MATE is going all on in Wayland, which then sparked an X11-only fork called "OpenMATE".
-
darwin
settings->desktop
-
darwin
changing background, etc.
-
saper
darwin: what does "pkg info -x xfce" say? see if I can reproduce
-
darwin
libxfce4menu-4.18.6 libxfce4util-4.18.2 xfce-icons-elementary-0.19 xfce4-appfinder-4.18.1_2 xfce4-conf-4.18.3 xfce4-notifyd-0.9.4_1
-
darwin
xfce4-panel-4.18.6 xfce4-power-manager-4.18.4 xfce4-session-4.18.4 xfce4-settings-4.18.5 xfce4-terminal-1.1.3 xfce4-tumbler-4.18.2_2 xfce4-wm-4.18.0_3 xfce4-wm-themes-4.10.0_2
-
saper
darwin: thx will try
-
darwin
i used ZFS to run it on both. I wrote the instructions for that on the docs.slackware.com site
-
darwin
i'll be back later
-
saper
darwin: on a fresh install, it works, but of course this is expected
-
saper
darwin: looks like you might be missing /usr/local/bin/xfdesktop-settings which come via xfce4-desktop package. You might want to "pkg install xfce" again.
-
saper
one of the big problems with so-called desktop environments is that stderr of the programs started gets usually lost
-
polyex
saper i had to resort to using -f in zfs unmount -f /path/to/jail to get busy error to go away
-
rtprio
yep
-
darwin
thanks
-
saper
kevans: I should have cc'd you on
lists.freebsd.org/archives/freebsd-xen/2024-June/000204.html - the other address was bugs in the copy
-
VimDiesel
Title: 13.2-RELEASE-p11 dom0 fails to boot unlike -p10
-
antranigv
ended up using SCFB
-
antranigv
Somehow AMDGPU is not working
-
antranigv
I keep getting "Returned 2" or "returned 22"
-
ascreen
i have a weird issue with boot environments.. bectl list nicely shows them, but when i activate a different one, it only seems to load that kernel, but not the / (using 14.1-RELEASE and -STABLE)?
-
ascreen
and all datasets are canmount=noauto
-
polyex
saper i had to resort to using -f in zfs unmount -f /path/to/jail to get busy error to go away
-
polyex
antranigv ^
-
polyex
hey about jails, would anyone want an "after" directive that orders a jail after 1 or more others? because depend means DO NOT start unless dependent jail(s) are started. after would mean DO order the startup of a jail after 1 or more others
-
polyex
because i REALLY want that feature
-
antranigv
polyex what do you mean?
-
antranigv
polyex if you start app0, make sure db0 is up
-
antranigv
but if you start db0, make sure app0 is up?
-
antranigv
while I love the idea, it's a mess in real-life, what if you're doing changes in app0? you see what I mean?
-
polyex
depend: app0 depends on db0. after: start logprocessor0 after app0, db0. but there's no reason it can't start if they aren't started
-
polyex
depend and after are saying 2 different things that only overlap on the question of startup order
-
polyex
dependency is local to a jail. but after is local to an rc context and not a jail
-
ascreen
ah lol, the new BE had a explicit mountfrom= in /boot/loader.conf -.-
-
darwin
should I enable HDD/SSD & RAM power down modes if I'm running FreeBSD (or similar)?
-
saper
ascreen: Today spent half a day fighting boot environments - I suspect one of my disks (a mirror) was missing gptzfsboot or something like that - temporary boot (activate -t) didn't work at all
-
saper
polyex: this is actually one of the problems of systemd - it starts "jobs" starting services, but it does not know or care if things are really up
-
polyex
saper "this is"... what's this?
-
saper
polyex: sorry I misread your "after" directive description
-
polyex
so do you like the idea?
-
saper
no, depends was enough so far here
-
polyex
so an idea is only good to you if you need and use it?
-
rtprio
i would just make those services more robust to tolerate not having a database connection
-
polyex
what services? did you even read? there was 1 service that depended on the db
-
polyex
and anyway you made my point. 'after' directive would be a useful replacement for 'depend' often times
-
levitating__
is it normal for there to be a /entropy file in /
-
levitating__
does that serve a purpose similar to /dev/random or whatever?
-
polyex
levitating_ i have it
-
antranigv
dvl what's your latest smb4.conf? can you share it? the old one is not working with samba419
-
levitating_
how do I configure upowerd? my laptop is not boosting
-
polyex
powerd?
-
polyex
read man powerd yet?
-
levitating_
polyex yes but I can't find anything about boosting/turboing specifically
-
levitating_
this cpu should have a 1400Mhz to 17000Mhz range
-
levitating_
but the ability to temporarily boost much higher
-
polyex
set max profile first
-
polyex
mode
-
polyex
-r too, not sure what it does tho
-
levitating_
I am not that sure if I am measuring it correctly either
-
levitating_
But when I run btop on Linux I can clearly see my cpu being above 1.7ghz basically all the time
-
levitating_
And on freebsd it sticks to 1700
-
levitating_
I read on the forum setting the frequency to 1 beyond the actual max frequency enables boosting, but sysctl refuses to accept the setting
-
rtprio
uh, what frequency?
-
rtprio
levitating_: and how are you setting it?
-
levitating_
1701
-
levitating_
sysctl dev.cpu.0.freq=1701
-
rtprio
i don't think that will work
-
levitating_
I thought it was weird as well but I saw this forum post
-
levitating_
-
VimDiesel
Title: Solved - How to run an Intel CPU at full speed? | The FreeBSD Forums
-
rtprio
does that sysctl exist on your system?
-
rtprio
elliot@phil:~/$ sysctl dev.cpu.0.freq
-
rtprio
sysctl: unknown oid 'dev.cpu.0.freq'
-
levitating_
yes I can read it
-
levitating_
root@r-mint ~# sysctl dev.cpu.0.freq=1701
-
levitating_
dev.cpu.0.freq: 1700 -> 1700