-
rwp
Do people on FreeBSD usually use "multiwatch" to manage fcgiwrap processes? That's rather the standard in my world on the other side with linux systems.
-
rwp
I can install multiwatch from pkg ports okay no problem. But... There is no rc script for multiwatch. There is an rc script for spawn-fcgi which is usually used with it. And also an rc script for fcgiwrap itself.
-
rwp
For those that do this is the usual thing to do to configure the spawn-fcgi rc scripts for multiwatch? Seems plausible. Thought I would see what other people do about fcgiwrap processes in a high rate production environment.
-
TommyC
What did the port maintainer(s) say about it?
-
rwp
Where would they say this? "pkg info -D multiwatch" has nothing said there.
-
TommyC
rwp: Could send them an e-mail asking about the missing startup script.
-
kevans
based on the spawn-fcgi rc script and the multiwatch repo's README.md, it seems like the intention is probably to use the multiwatch binary as spawn_fcgi_app and spawn_fcgi_app_args as appropriate
-
kevans
the pkg descriptin for multiwatch does note that it's intended to be used with spawn-fcgi specifically
-
rwp
I am reading through that and I think it is something like that too.
-
rwp
Though I said spawn-fcgi on linux previously I should have said that on linux it is the fcgiwrap rc script which is usually configured for multiwatch. And I think actually that either the FreeBSD fcgiwrap or the spawn-fcgi rc script could be configured for this.
-
kevans
right, so the expected use is probably teh same, it's just not really explicitly documented as such
-
rwp
I know the result I want. Just trying to figure out what needs to be done to achieve that result. And strangely searching the web I don't see any blogs or articles from anyone talking about how this is done for them. That's unusual. Thought I would discuss here.
-
rwp
After I get it going I will endeavor to post a wiki article on how I set it up for this. (shrug)
-
mewt
2243/20
-
mewt
bah sorry
-
Retrofan
Hi
-
Retrofan
I am back agian
-
Retrofan
Some problem in my client.. fixed it
-
darwin
if I switched one PC from AMD to Nvidia, what do I replace kld_list="amdgpu" with?
-
Retrofan
darwin: Install nvidia drivers first
-
darwin
ok
-
darwin
i've seen a lot of those. It has GeForce RTX 4090 soon 5090
-
darwin
if I use Bhyve to run Slackware or something, which has drivers for my multi-function hub / media dashboard with alcor micro corp chips, could I then access memory cards, etc., in that in X in FreeBSD?
-
Retrofan
darwin: I only want you to not face my problem :(
-
Retrofan
are you from dev of Slackware
-
darwin
not officially
-
Retrofan
do you have knowledge in freebsd
-
Retrofan
I have a big problem :(
-
Alver
darwin: you're asking to first passthrough an unknown device to a VM, have that VM recognize it and make it usable, and then having your *host* access that device *via* the VM?
-
Alver
That sounds... convoluted, if possible at all
-
Retrofan
Alver: could you help me please..
-
darwin
if I can pass through all USB, then maybe
-
ridcully
Retrofan: don't ask to ask, just ask
-
Retrofan
I already asked yesterday
-
Retrofan
it's a problem happend when upgrading freebsd
-
Retrofan
it removed the amdgpu
-
Retrofan
but it's still listed in rc.conf
-
Retrofan
and blacklisted in loader.conf
-
Retrofan
To fix that old bug
-
Alver
darwin: then you still won't be able to get to it from the host, I fear.
-
Retrofan
but now it crashes the screen; bec it can't find the driver
-
Retrofan
can write blindly, renamed rc.conf to rc.conf.old, but no luck
-
darwin
then reinstall it or the new version
-
Retrofan
tried unload modules from "OK prombat" and booting with "boot /boot/kernel/kernel" + -s for single user mode, but still no luck
-
darwin
pkg search amdgpu
-
Retrofan
No pkgs will work anyway
-
Retrofan
bec. the pkg upgrade install 13.5 pkgs
-
Retrofan
but the system is still on 13.2 base
-
darwin
i don't think you need the Linux kernel for amdgpu... I just had kld_load="amdgpu"; for Nvidia it starts kld_load="linux nvidia..."
-
divlamir
Can you ssh into the box if the screen is not working ?
-
Retrofan
no ssh will work
-
darwin
then pkg update; pkg upgrade
-
Retrofan
no pkgs will ever work
-
darwin
fix pkg first
-
darwin
actually that won't work
-
darwin
sounds like messed up
-
darwin
why would you be installing from 13.5 without upgrading to that
-
Retrofan
darwin: there no problem in pkgs, freebsd-update install will work
-
Retrofan
that normal
-
Retrofan
upgrade command installs the laetest versions of pkgs
-
Retrofan
then you reboot
-
Retrofan
and run freebsd-upadte install
-
Retrofan
3 times
-
Retrofan
and it will work
-
Retrofan
but I can't see
-
Retrofan
the screen, then how do I know if there is problem happend?
-
Retrofan
I need to forvstop
-
darwin
yeah, SSH in and I suggest get OS/pkg versions matching before you start on graphics card
-
Retrofan
*force stop the system from loading those modules
-
Retrofan
darwin: no pkgs will work
-
Retrofan
only working in rescue
-
Retrofan
and freebsd-update install
-
Retrofan
My problem is not fixing the module
-
Retrofan
the command line can be reached without amdgpu
-
Retrofan
but the system is loading non-exits module, which crash it..
-
darwin
then don't load it until after fixing
-
Retrofan
but it still been loaded, even after unload
-
divlamir
I've trouble understanding what is going on.. Can you reach a command line on the system or not?
-
Retrofan
I need to know what is in loader.conf
-
Retrofan
Hi divlamir
-
Retrofan
can reach but in crashed screen
-
Retrofan
write blindly
-
divlamir
If it's a gpu driver issue, you should be still able to SSH in the box
-
Retrofan
I succesfuly reached anthor pc but the innternet connection here is lower than 500kb/s
-
Retrofan
divlamir: do you remember my problem
-
Retrofan
all pkgs is in 13.5 version
-
Retrofan
so no ssh will work with old libc and base
-
Retrofan
need to freebsd-update install
-
divlamir
ssh is part of base
-
Retrofan
how?
-
Retrofan
Is there is bultin one!
-
Retrofan
builtin
-
divlamir
well, yeah, it's not a package
-
Retrofan
ah, my bad
-
Retrofan
I remember that I can read loader.conf in the OK prombat
-
Retrofan
*promat
-
flatdog
*p
-
divlamir
you can just do 'unload' at the prompt
-
divlamir
or choose load defaults from the menu
-
Retrofan
done that before
-
Retrofan
I think there someting other in that file
-
divlamir
you can try booting kernel.old
-
Retrofan
flatdog: bat english XD
-
divlamir
backups ?
-
Retrofan
backups of loader
-
Retrofan
?
-
divlamir
Or, get mfsBSD and boot from a stick:
mfsbsd.vx.sk
-
scottpedia
divlamir: what does mfs stand for?
-
Tenkawa
memory filesystem right?
-
Retrofan
guys
-
Retrofan
loader.conf not found
-
Retrofan
look like it was deleted all that time
-
Retrofan
should I move backup loader.conf to /etc ?
-
» Alver still doesn't get why you don't just copy etc/ somewhere, put a fresh install of 14.3 over the OS, and attach /home
-
Retrofan
"/etc" is on same partition of "/home"
-
Alver
Oof. Bad planning
-
scottpedia
Tenkawa: okay
-
scottpedia
but that's the difference between that and liveOS?
-
Alver
Has anyone got experience with (creating and) destroying tun devices programatically from C?
-
scottpedia
Alver: I had very slight such experiences
-
scottpedia
and I think in the official library source code pack there are a few usage examples
-
Alver
scottpedia: Creating a tun succeeds. But if I want to get rid of the device, that seems to be more tricky due to unknown open file descriptors and no apparent way to get rid of them. If I don't, SIOCIFDESTROY will hang in an uninterruptable state in kernel.
-
scottpedia
have far have you got?
-
Alver
If I only call close() on the fd, the device will be "disconnected" and unconfigured but nevertheless still present and visible in ifconfig.
-
Alver
scottpedia: well, I already managed to have to reboot three times so far because of this ioctl hang. I would prefer to avoid more of those. :°)
-
Alver
(it's a jail server, and it's everytime a bunch of services that have to come back up)
-
scottpedia
have you tried using ifconfig to destroy interfaces?
-
Alver
From C? No, I haven't. If there are open file descriptors - which is the prime suspect afaik - then ifconfig would also hang since it calls the same ioctls effectively
-
Alver
If my C code to remove the tun hangs, and I try to do remove that same tun via ifconfig in a terminal, then ifconfig also hangs
-
Alver
I suppose I could try to query procstat for all open fds, and loop over them to see who else has an open one on my tun, but that sounds super cumbersome
-
Retrofan
haha
-
Retrofan
Fixed!
-
Retrofan
I was just disabled hw.syscons in loader.conf
-
Retrofan
so after hw.syscons.disable=0 it worked!
-
Retrofan
now I am on single user mode!
-
vkarlsen
Anyone else seeing this? ld-elf.so.1: /usr/local/lib/libidn.so.12: version LIBIDN_1.0 required by /usr/local/bin/lynx not defined (lynx installed via official pkg. Rebuild from ports fixed it. 14.3-R.
-
vkarlsen
Unterminated parenthesis for attention
-
Retrofan
Now..
-
Retrofan
there is some problems with internet
-
Retrofan
look like freebsd-update fetch messed it up
-
Retrofan
my internet is 56k now XD
-
Retrofan
I am running freebsd-update install
-
autumnblue
literally, or?
-
Retrofan
but there is somethin wrong here
-
Retrofan
it's say is that I am using ZFS now
-
Retrofan
but I never used it before
-
Retrofan
Does the freebsd-update installs it automatically
-
dch
Retrofan: what does `zfs list` show? your filesystem isn't automagically converted, whatever you started with, will still be the same after upgrade
-
dch
but freebsd-update *might* load the kernel module to determine if you're using zfs or not.
-
dch
as it will create a boot environment (a snapshot) if you have zfs, to make rollback easy
-
Retrofan
yeah I understood
-
Retrofan
upgrade successed
-
dch
\o/ awesome
-
Retrofan
uname -r
-
Retrofan
prints freebsd 13.5
-
Retrofan
but..
-
Retrofan
alot of problems here :(
-
Retrofan
loader needs to be updates
-
Retrofan
and packges need to reinstalled
-
Retrofan
*updated
-
Retrofan
and NO internet
-
dch
thats normal. updating base system is part 1, updating packages is part 2 after reboot
-
dch
but not having internet is very awkward
-
Retrofan
maybe upgrade messed up hosts
-
Retrofan
and it says now my backup partition is not clean
-
Retrofan
run fsck
-
dch
did you do `shutdown -r now` or use something else? otherwise it should be clean
-
Retrofan
ah
-
Retrofan
yesterday I unpluged the power cable
-
Retrofan
three times
-
dch
this is why we use zfs where we can ;-)
-
Retrofan
why?
-
Retrofan
is it damged
-
Retrofan
?
-
Retrofan
if fixed the main freebsd ufs
-
Retrofan
and others
-
Retrofan
but that one is already embty
-
Retrofan
so no problem
-
Retrofan
formating it
-
Retrofan
dch: is zfs safe me from that?
-
dch
yes
-
dch
it has a number of useful features:
-
dch
- copy-on-write. so even if you lose power, there is no fsck needed, so its always consistent
-
dch
- inbuilt checksums, so you can catch errors and recover from them, instead of finding out only when the data appears corrupted later
-
Retrofan
so is it damged?
-
dch
- lots of conveniences like boot environments, snapshots, easy replication
-
Retrofan
but it's eats ram :(
-
Retrofan
*it
-
dch
for your ufs partition, you need to run fsck, yes
-
dch
I run zfs on 0.5GB systems, it can be tuned not to do this
-
Retrofan
fsck didn't fix anything on that embty partition
-
dch
but it depends on use case and needs, ufs is very reliable
-
Retrofan
dch: O_o
-
Retrofan
my pc is 8gb
-
Retrofan
I was all time thinking that it's a High-end workstation XD
-
Retrofan
good
-
Retrofan
I will try it later after I learn more
-
dch
zfs is 20+ years old, back end 1GB was a very powerful system I guess
-
dch
yeah, no need to rush into it
-
Retrofan
bec. there some strange stuff goes on my old mbr harddisk
-
Retrofan
it's not corrupted, but when I add any file to them..
-
Retrofan
it disappers next time I boot up
-
dch
that sounds .. very bad
-
Retrofan
I read that a problem in freebsd
-
Retrofan
bec. I attached it to another Windows pc, and it's working well
-
dch
well there you go then
-
Retrofan
but I need to fix that, I am not a WIN user ;)
-
Retrofan
more than 6 years
-
Retrofan
never touched any WIN on real hardware
-
Retrofan
I also want to learn about jails in freebsd
-
Retrofan
I head it's very useful for security
-
Retrofan
especially that I am using ports from earily 2000s
-
Retrofan
I will use zfs for my next freebsd 14 upgrade
-
Retrofan
when support end on 13.5
-
Retrofan35
Please anyone kick my old nick; bec it changed du to internet connection
-
Retrofan35
*due
-
Retrofan
ah bad luck agian.. the rc.conf is deleted for no reason, and backup of it is on the corrupted partition :(
-
Retrofan
so no internet
-
dch
this sounds like very flakey hardware
-
Retrofan
yeah
-
rwp
ZFS snapshots FTW!
-
Retrofan
ah
-
Retrofan
finally fixed the backup partition, and copied the old rc.conf
-
Retrofan
and internet + multi-user mode is working :)
-
Retrofan
very happy to see freebsd13.5 when I log in :)
-
Retrofan96
But.. my connection is 32k
-
Retrofan96
super slow for anything
-
Retrofan
Now I need to fix my internet to speed it up...
-
Retrofan
err.. I really need to fix it
-
Macer
Anybody here use gnome with FreeBSD?
-
Retrofan
which version..
-
divlamir
Don't tell me you've got Gnome 2 running..
-
Retrofan
I got gnome 1 to run before XD
-
Retrofan
I really like old gnome
-
Retrofan
and ROX
-
divlamir
Glad you got your box back running Retrofan
-
Reinhilde
if only lmao
-
divlamir
It sounds a bit like a house of cards, bit he seems to be able to keep it up somehow :))
-
dsmith
Wow. ROX. Haven't seen that in a while...
-
Retrofan
yeah rox and it's desktop stuff is the best!
-
Retrofan
divlamir: My box is running, but no internet for upgrading other packages, so it's still fully working
-
Retrofan
divlamir: yeah, my goal is to make stable as far as could :)
-
Retrofan
*it
-
Retrofan
I really want to share a screenshot here when I fully fix it
-
Retrofan
using Wmaker+rox desktop and some other stuff for my x11
-
dsmith
So I seem to remember wmaker on fbsd had a grayish backround with "leeter than you" on it. Anyone remember anything like that?
-
dsmith
This was about 20 years ago.
-
Retrofan
I was using afterstep
-
Retrofan
but it's not updated, and tons of bug
-
Retrofan
loved it's desgin but I can't use it :(
-
Retrofan
Time to go
-
Retrofan
Bye!
-
» divlamir has back to the future vibe
-
divlamir
I am ashamed to say it but last time I used *any* desktop (read window manager) on FreeBSD was like 20 years ago, sigh..
-
TommyC
Do you still use a gui?
-
divlamir
Sure, from my linux laptop ssh-ed in my FreeBSD box :)
-
divlamir
It's been the year of the linux desktop for 20+ years for me :P
-
TommyC
yeah, I'm there with you honestly
-
Macer
Sorry. I was thinking a newer version.
-
Macer
I guess it sounds like gnome will be more dependent on systemd
-
Macer
But I was wondering what version fbsd has in the repos. I guess there is always mate to go vintage.
-
Macer
Almost sounds like I’d have better luck with plasma/kde if I want a ui for FreeBSD but I haven’t looked at it too hard since it takes quite a bit to get it going with Wayland.
-
Macer
I think ghostbsd is mate by default.
-
Macer
If I can actually manage to get the atheros wifi working in this thing I may give it a go with fbsd to see if I can do it. I just want to see if I could get a legit de going on an older A10 5800K
-
rwp
I have been running a FreeBSD desktop with a wired ethernet since 12.1. But I am a simple user of the desktop and don't stress things too much and don't need fancy things other than XTerms, Firefox, mpv, and sometimes LibreOffice. I can't remember when I last started anything graphical that was outside of that set of programs. Running i3 here also.
-
wavefunction
It's kind of incredible how little we actually need in terms of discrete products
-
Macer
rwp: ah. I know gnome can run on it quite well and that’s my go to when using Linux. I was just curious if the fbsd option was there.
-
Macer
I think the only issue I have with it is that the onboard wifi won’t work but I haven’t tried too hard either.
-
rwp
Macer, Up through 14.2 the WiFi performance on FreeBSD was measured in kbits per second and not megabits. Sad. The standard method was to use "wifibox" to have a bhyve linux kernel handling the wifi device. Amazingly that works quite well! In 14.3 a HUGE improvement to WiFi native performance. It's hugely better in 14.3.
-
rwp
But that caveat is why I mentioned that I am using a wired ethernet. That's high performance and no problems there at all.
-
rwp
As an i3 user I am not using Mate/GNOME2 but I thought it was working okay on FreeBSD. It's GNOME3 which was a complete burn-down-the-house rewrite which is now strongly requiring systemd. Avoid GNOME3. But Mate/GNOME2 is okay as far as I know.