-
kevans
spork_css: wait, where's this one coming from? Mar 13 19:35:12 php8 cron[4710]: setpriority 'root' (daemon): Permission denied
-
kevans
just adding a job for a bogus `nice -n -5 echo hi` doesn't push stderr to cron log
-
kevans
a-ha, that's from libutil! setusercontext() emits it
-
kevans
so it's failing a setpriority before it even hits your nice(1) invocation
-
DrKK`
building mongodb in ports is taking a long. long. time.
-
DrKK`
lord have mercy we're now at like 40 minutes
-
DrKK`
and still building mongodb44
-
kevans
spork_css: so the take-away, I think, is that you've nice'd cron itself in the jail before any of this and it's just trying to set nice to 0 before it execs
-
DrKK`
and STILL building mongodb44
-
spork_css
kevans: interesting - I mean, I'm not *intentionally* nicing cron yet... root 88139 0.0 0.0 25452 10016 - SNsJ 03:40 0:01.05 /usr/sbin/cron -J 15 -s
-
spork_css
my only cron flags: cron_flags="$cron_flags -J 15"
-
spork_css
And I just restarted it and no more nice flag in the ps output, odd.
-
victori
yikes freebsd 13.2 has some issues with sendfile hanging
-
victori
yay beadm + zfs
-
AmyMalik
I need to write a divert driver that can implement access controls based on a geolocation database lookup
-
AmyMalik
I'm not going to, of course - nor will I expect any of this augúst audience to do so - but the fact remains that it is something that I need to do.
-
rtprio
that doesn't sound fun
-
cedb
is there a way to buildworld without building the whole of llvm first?
-
cedb
aka use a binary pkg of the required toolchain?
-
angry_vincent
Yes.
-
angry_vincent
pkg install llvm15 && make -j$(sysctl -n hw.ncpu) CROSS_TOOLCHAIN=llvm15 WITHOUT_TOOLCHAIN=yes buildworld buildkernel
-
cedb
oh wow now that is a satifsying
-
cedb
oh its that pesky without_toolchain
-
angry_vincent
( don't do make delete-old ever, when doing this way, warning )
-
cedb
oh thanks but i can afford a little danger since its a qemu vm
-
cedb
which btw, scaling the graphical env properly with virt-viewer is a nightmare (got the whole emulator/qemu-guest-agent thing set up but still)
-
parv
angry_vincent, Why would "delete-old" be an issue?
-
angry_vincent
parv: it will delete compiler bits. is what i had on several occasions
-
angry_vincent
then you will get cc not found, etc
-
angry_vincent
and there is no straightforward way of compiling ports with external toolchain in simialr fashion base system can be built
-
angry_vincent
it needs some tinkering :)
-
angry_vincent
i.e manual definition of CC, AR, NM, LD, STRIP ( and many others ) in make.conf
-
» parv sighs for local network being rather twitchy today; one more try ...
-
cedb
wouldnt you just be able to install a toolchain with pkg for ports?
-
angry_vincent
as i said, ports is a framework that has defined compiler variables, which are suited to the compiler in base system. to be abl to use compiler, which is installed from port ( pkg install llvm15, for example ), you need to do quite a lot of manual definitions. for example CC=/usr/local/bin/clang15, CPP=/usr/local/bin/clang-cpp15 et cetera
-
angry_vincent
and, then, you may fall into case, when not all software can be compiled that way, u eto fact llvm has no stable abi.
-
angry_vincent
it is somehow annoying, if your tinkering expectations are higher than allowed level.
-
rtprio
ok, but... why would you want to do that
-
angry_vincent
just a matter of having single compiler for everything.
-
nimaje
wait, make CROSS_TOOLCHAIN=llvm15 delete-old would delete parts of the crosstoolchain? that sounds like a serious bug
-
nimaje
(and also a reason why you don't want to use a privileged user to build stuff)
-
angry_vincent
no, its when you set WITHOUT_TOOLCHAIN=yes, build your system with CROSS_TOOLCHAIN and run make delete old, will remove compiler parts of base system
-
nimaje
still a bug
-
angry_vincent
i guess so, yes
-
bsdbandit
good morning im trying to change the color of freebsd's boot text do i need to recompile the kernel to do this ?
-
bsdbandit
and if so what options do i need to add to the kernel config file
-
parvXirc
Re WITHOUT_TOOLCHAIN & delete-old, seems to be as-expected to me
-
parvXirc
That is what happens with any WITHOUT* option in use followed by delete-old{,-libs}
-
parvXirc
Why would I keep the base compiler etc when installed via ports
-
nimaje
ah, base-compiler, so it operates on the running system, not on the build files (I expected something like a clean target), but why is there a base compiler on a system build with WITHOUT_TOOLCHAIN=yes?
-
angry_vincent
i think it is not well documented.
-
bsdbandit
good morning everyone
-
yourfate
can freebsd resize a ZFS partition while running? I'm asking b/c I want to run it on an rpi, and the image only uses a small part of the SD
-
meena
yourfate: yes. and unlike the other BSDs it can also resize UFS online
-
yourfate
nice
-
parvXirc
Dang it! Could not "read -p" inside a "while" loop; had to switch to a "for" loop which now needs to use command substituion ($( ... ))
-
parvXirc
s/substituion/substitution/
-
parvXirc
( Well not a large enough hill to switch to Perl|Python )
-
parvXirc
... only if "zfs-destroy(8)" would work on a *list* of datasets (sigh) # along with "zfs-snapshot(8)".
-
nimaje
why would read -p in a while loop not work? (my small test here works, so it is probably something else for you)
-
parvXirc
(too late here; later)
-
parvXirc
-
nimaje
ah, yes, pipeing to the while and wanting to read from the outter stdin is more difficult
-
yourfate
disk encryption: so far I used LUKS with AES-adiantum on the pi, as "regular" AES was suuuper slow
-
yourfate
but it looks like ZFS doesn't support that cipher
-
nimaje
to bad parvXirc left already, using more filedescriptors would work, eg with exec 5<&0 and read <&5 -p …
-
Agenomoto
Hi
-
Agenomoto
Is "current" stable enough (more than linux stability)? what will I miss if I use "release"
-
Agenomoto
ref: I am a linux user trying to migrate to bsd
-
Agenomoto
for desktop and server use
-
nimaje
just use a release, current is the development branch
-
Agenomoto
oh
-
Agenomoto
then no go.
-
Agenomoto
how about "stable"?
-
nimaje
also development branches, named stable, because they should have a stable ABI
docs.freebsd.org/en/books/handbook/cutting-edge/#stable
-
VimDiesel
Title: Chapter 25. Updating and Upgrading FreeBSD | FreeBSD Documentation Portal
-
Agenomoto
nimaje oh.. then 'release' is the only way to go. I wonder why netflix uses 'stabl'e iirc?
-
nimaje
afaik they also develop for freebsd, so they probably tested the commit in stable they run in production enought for them (if they run stable in production), important quote from the page I linked "It is particularly important not to update any production servers to FreeBSD-STABLE without thoroughly testing the code in a development or testing environment."
-
Agenomoto
nimaje oh.. interesting
-
Agenomoto
Can freebsd read btrfs FS?
-
domlaut
-
VimDiesel
Title: FreshPorts -- sysutils/fusefs-lkl: Full-featured Linux BTRFS, Ext4, XFS as a FUSE module
-
domlaut
and if you're asking about kernel support - no
-
Agenomoto
domlaut oh so it can. Thanks
-
Agenomoto
domlaut what do you mean kernal support? what will that do that freebsd won't offer for btrfs?
-
nimaje
that is a fuse module, so the driver will run in userland, which means that you won't be able to boot from it for example
-
domlaut
-
VimDiesel
Title: fuse - What are the benefits and downsides to use FuseFS filesystems? - Unix & Linux Stack Exchange
-
NerdyMcNerdface
I'm trying to add 4 ice (intel 810) based network adapters to a bhyve VM using pci passthrough, but I run into "bhyve: vm_setup_pptdev_msix: No space left on device" when adding more than 2 network interfaces. Anyone have an idea about how to fix that?
-
NerdyMcNerdface
(Curiously enough I can add 3 interfaces successfully on freebsd 13.1. In 13.2 I can add just 2.)
-
michelem
Hello folks. Quick question if there's any PF expert around: does traffic filtered by PF show up on tcpdump run against the HW interface?
-
meena
NerdyMcNerdface: it feels like that should have gone the other way. can you submit that as bug, please
-
meena
NerdyMcNerdface: unrelatedly: i'd love to see ifconfig -a, and ibv_devices / ibv_devinfo -l (and ibv_devinfo -v) of those ice devices for my project
-
meena
michelem: that's an excellent question! and should be in some FAQ somewhere
-
meena
-
VimDiesel
Title: FreeBSD / src / a849842f510af48717e35ff709623e0dd1b80b20 - FreshBSD
-
dch
I think that would make my day-to-day too tricky
-
debdrup
NerdyMcNerdface: are you using iovctl to add SR-IOV virtual functions?
-
debdrup
-
VimDiesel
Title: Solved - Intel E810 - Enable VFs | The FreeBSD Forums
-
debdrup
I guess you can check up with Eric to see if that's changed.
-
debdrup
cgit.freebsd.org/src/commit/?id=56429daea255f mentions SR-IOV files being removed because they're unused, and no subsequent driver update of ice(4) mentions adding support for it.
-
VimDiesel
Title: src - FreeBSD source tree
-
NerdyMcNerdface
debdrup: no, not using SR-IOV virtual functions. Just good old plain passthrough.
-
debdrup
SR-IOV is amazing for bhyve, though.
-
NerdyMcNerdface
does it work with ice? and 4+ interfaces per vm?
-
NerdyMcNerdface
(answering my own question about ice and SR-IOV / virtual funcions: No, not supported on ice.)
-
Valeria22
I'm trying to access 20-intel.conf to fix a screen tearing issue, however when I go there, 20-intel.conf isn't there. Is that typical?
-
Valeria22
there = /usr/local/etc/X11/xorg.config.d/20-intel.conf
-
rwp
Valeria22, I know nothing, other than that I don't have one of those files either. What indicated it should exist?
-
rwp
I imagine that some other package with a plugin might install such a file though.
-
rtyler
work with this cursed NAS continues =_= It's now gone offline twice in the past two days after some SSH DDoS attacks with ping responding that "no buffer space available". Just tried to down `em0` and bring it back up but the command `ifconfig em0 up` is hanging. cursed I say
-
Valeria22
From what I understand rwp it seams 20-intel.conf comes with one of the packages for intel video drivers.
-
rtprio
rtyler: fail2ban might help you there
-
rtyler
rtprio: I'm already using sshguard. Anecdotal internet reports make me suspect some buffers offloaded to the NIC are getting overloaded and not properly flushed
-
rtprio
Valeria22: no such file is in /usr/ports/x11-drivers/xf86-video-intel/pkg-descr
-
rtyler
how frustrating that `ifconfig em0 up` is just hung. I would like to avoid rebooting this box some more but that's what fixed this last time. I might have to rummage around to find a less cursed NIC
-
Valeria22
I must be mistaken then.
-
rwp
Valeria22, You are not mistaken that the file does not exist and that no pkg-plist contains it either.
-
rwp
I ran a find-grep through all of ports looking and did not find anything matching 20-intel.conf either.
-
Valeria22
Ah, so it's a manually made file then.
-
debdrup
NerdyMcNerdface: that's what I was saying, no it appears that it hasn't been added as of the latest driver, unfortunately.
-
debdrup
Valeria22: As a general rule, if a file being referred to doesn't exist, it's usually a safe bet that you're expected to create it.
-
Valeria22
Thanks.
-
rwp
I am still wondering about the seeming conflict of "NAS" and "available for Internet probes". Those seem conflicting things. :-(
-
debdrup
It's usually a bad idea to expose NAS' to the internet, yeah.
-
debdrup
The network in NAS doesn't _strictly_ need to be local, but since the update frequency of NAS' can vary wildly, there's a lot of potential for problems.
-
NerdyMcNerdface
re NAS: freebsd-update + service sshd restart regularly without a reboot is at least better than no patching and no reboot :D
-
Valeria22
This is what I was following to try to fix my screen tearing issue, however doing it made me unable to load MATE and slim:
forums.freebsd.org/threads/intel-vi…nd-screentearing.72085/#post-438483
-
VimDiesel
Title: Intel video and screentearing | The FreeBSD Forums
-
Valeria22
Though from what I've gathered xorg.conf.d is the right directory to use not xorg.config.d
-
Valeria22
My CPU is an i5-2520M, if that helps.
-
Agenomoto
Hi
-
Agenomoto
I made a live ventoy usb for freebsd on ubuntu. I am installing freebsd via live usb. In release version, it just reboots after first option 1 multi/single user is selected. I took picture from phone. It says something about invalid ventory gpt / partition table. I used ventoy to create iso what should I do here?
-
Agenomoto
how to check the usb FS? I think it uses vfat, fat32, and gpt. Is it supported in freebsd? if not so, how to change it? or correct it?
-
Agenomoto
ok.. I am dd'ing iso to usb
-
Agenomoto
I just installed freebsd and it didn't asked me to encryped full drive during installation. Did I missed it or freebsd doesn't have this option?
-
coax
Agenomoto: you've missed it.
-
Valeria22
It has the option to Agenomoto.
-
Agenomoto
Valeria22 can you show at what screen?
-
Agenomoto_
Valeria22 because I looked hard but didn't found that option
-
Valeria22
-
VimDiesel
Title: Chapter 2. Installing FreeBSD | FreeBSD Documentation Portal
-
Valeria22
The 'Encrypt Disks?' option.
-
Agenomoto_
yes, I missed it. I am going to reinstall and ecrypt this time. even the swap. I hope this is ok Valeria22 ?
-
Agenomoto_
or can I encrypt now?
-
mystic
hello guys. I posted a question on forums.freebsd.org but it's disappeared... why ?? what's appened ?
-
FUZxxl
mystic: perhaps you got moderated
-
mystic
FUZxxl: so I lost all that things I wrote ?
-
Valeria22
Speaking of the forums, why can't I use "Valeria22" as my username on it? I tried signing up but it says "The entered value contains Disallowed words".
-
FUZxxl
mystic: I don't know, I've never used the forum.
-
FUZxxl
Talk to a forum admin maybe?
-
crb
is there any way to get cut and paste to work between a bhyve client (Centos) and the host of the VNC session (OSX) I'm using TigerVNC but would switch if cut and paste would work
-
Agenomoto_
Valeria22 important question: will it formate and encrypte ALL my disks or only the disk to which I am installing the OS?
-
rtprio
crb: i doubt it
-
Valeria22
I'm not sure, to be honest. I haven't tried installing FreeBSD on a system with more than one drive.
-
Agenomoto_
-
VimDiesel
Title: Chapter 19. Storage | FreeBSD Documentation Portal
-
mystic
FUZxxl: it's come back.. :-?
-
FUZxxl
mystic: why are you telling me? I have no idea about this stuff.
-
mystic
FUZxxl: just to talk and also because is so weird..
-
Agenomoto_
what is the best way to backup an installation? using dd copies empty bytes of full drive. Don't want that
-
FUZxxl
I'm sorry, but I'm somewhat busy right now. Perhaps try to not prefix the messages with "FUZxxl:" so I don't get notified
-
FUZxxl
Agenomoto_: for ufs use dump(8), for zfs use zfs-send(8)
-
rtyler
Agenomoto_ I use duplicity to send backups to zee cloud, but zfs-send works really well if you have another ZFS server floating about
-
FUZxxl
rtyler: you can also zfs-send onto e.g. tape
-
Agenomoto_
FUZxxl thanks
-
Agenomoto_
I a mworried; stupid questin: important question: will it formate and encrypte ALL my disks or only the disk to which I am installing the OS?
-
FUZxxl
Depends on what "it" is
-
Agenomoto_
separate drives ,, ssd, nvme
-
Agenomoto_
plugged into the pc
-
Agenomoto_
it means, during freebsd installation
-
FUZxxl
the freebsd installer only touches the disks you tell it to touch
-
Agenomoto_
FUZxxl
-
FUZxxl
all other disks are ignored
-
Agenomoto_
great
-
Agenomoto_
thanks!!
-
Agenomoto_
releife
-
FUZxxl
have a nice day
-
Agenomoto_
you too :)
-
Agenomoto_
Hi
-
Agenomoto_
Stuck since more than an hour. Following this but xrandr says "Can't open display". startxfce4 via xorg logs says "no scrrens found". I have done sysrc kld_list+=amdgpu and all other things. But how to know what I am missing?
-
Agenomoto_
Stuck since more than an hour. Following this but xrandr says "Can't open display". startxfce4 via xorg logs says "no scrrens found". I have done sysrc kld_list+=amdgpu and all other things. But how to know what I am missing?
-
Agenomoto_
this shouldn't be so hard. It should be one liner command that should detect all by itself
-
Agenomoto_
-
Agenomoto_
-
rtprio
i haven't used an xorg config file in a long time
-
rtprio
everything just autodetects and works
-
Agenomoto_
my pciconf |grep vga says Lexa pro radeon 540. so isit lexa or amd/radeon?
-
Agenomoto_
-
VimDiesel
Title: AMD Lexa PRO [Radeon 540/540X/550/550X / RX 540X/550/550X]
-
rtprio
ok, let's back up; is the module itself loaded?
-
Agenomoto_
amd radeon module
-
Agenomoto_
I insatlled it. not sure if it is loaded
-
Agenomoto_
or if I even needed it
-
rtprio
is it presently loaded? check with kldstat
-
Agenomoto_
rtprio thanks for helping. I litereally getting fever
-
Agenomoto_
checking
-
Agenomoto_
says amdgpu.ko
-
Agenomoto_
amdgpu_polar.. and a bunch
-
Agenomoto_
but do I need vesa or amd module?
-
rtprio
and is there mention of amdgpu in the output of dmesg?
-
rtprio
definately don't need vesa, probably don't need amd
-
Agenomoto_
I grepped, it says amdgpu 2048 memory vram ready
-
Agenomoto_
loaded firmware..... 'amdgpur/pola/...
-
Agenomoto_
module register: cannot reegsiter pci/lkpi_pcidlist from readeonkms. already loaded from amdgpu.ko
-
Agenomoto_
rtprio so looks good?
-
Agenomoto_
why it says vesa then?
-
Agenomoto_
and why it says no screen found.
-
Agenomoto_
when I try to run 'startxfce4'
-
Agenomoto_
rtprio there?
-
rtprio
yes
-
Agenomoto_
ok any ideas what I am missing?
-
rtprio
well, as i said, i haven't used a config file in years. i just start it and it works
-
Agenomoto_
who would be the best person here to ask this?
-
dumbbell
Agenomoto_: amdgpu is indeed the correct DRM driver for your card.
-
Agenomoto_
dumbbell I wonder why it says "no screen' then
-
dumbbell
(if your card's PCI ID is the one shared in the link above, 1002:699f)
-
rtprio
because if you're configuring things, you have to configure everything.
-
rtprio
if don't, it should all autodetect
-
dumbbell
Agenomoto_: Could you please share yout /var/log/Xorg.log, or something like that? It's been a while since I used X.Org
-
Agenomoto_
sure. one sec
-
Agenomoto_
by the way, I changed pci id many times to retry
-
Agenomoto_
but sharing thigns now
-
dumbbell
I agree with rtprio, X.Org should be pretty good at configuring things automatically
-
dumbbell
If you are unsure of your PCI ID, just share the output of "pciconf -lv"
-
Agenomoto_
its vgapci0@pci0:10:0:0 in pciconf -l |grep VGA
-
dumbbell
Agenomoto_: The PCI ID is later in that line
-
dumbbell
For instance, my Radeon in the pciconf(8) output: "vgapci2@pci0:9:0:0: class=0x030000 rev=0xc1 hdr=0x00 vendor=0x1002 device=0x73df subvendor=0x1da2 subdevice=0xe445"
-
dumbbell
The interesting parts are "vendor=..." and "device=...". "vendor=0x1002" is for AMD. "device=..." depends on the GPU model.
-
Agenomoto_
so whcih is the pci id that I need to put in "BUSID" section?
-
dumbbell
That's a different piece of information: the "pci0:10:0:0" is the address of your card in the whole PCI bus topology. "device=..." is the identifier of that particular PCI device. X.Org would be interested in the former, the PCI address.
-
Agenomoto_
if you see my paste above link. then the id is wrong in .conf
-
dumbbell
The PCI ID (device=...) is hardcoded in the device by the maker. Combined with the vendor ID (0x1002 for AMD), it's used to match the correct driver.
-
dumbbell
I don't remember how to configure X.Org, I didn't have to do it for many many years.
-
rtprio
dumbbell: because it's not necessary anymore
-
dumbbell
Can you share your Xorg.log file please? It will tell us a lot more
-
rtprio
Agenomoto_: have you thought about removing your xorg conf and trying it without?
-
Agenomoto_
busid is not neede?
-
dumbbell
rtprio: Exactly
-
Agenomoto_
rtprio there was no xorg before.
-
rtprio
no xorg what before?
-
dumbbell
Agenomoto_: The entire file is not needed for 99% of the time
-
Agenomoto_
ok, removing it now
-
rtprio
or, move it out of the way; into /root
-
rtprio
also test with startx, once x works, then get xfce working
-
Agenomoto_
same message
-
Agenomoto_
sorry, one second
-
Agenomoto_
started.....! I wonder why it was not before... but no xrandr working... at boot I got: iwbt-firmware/ibt... in /usr/local/share no such dir. fw download failes.
-
Agenomoto_
dumbbell rtprio thanks! much to figureout. resolution etc. I will search..
-
rtprio
so it starts without the config?
-
Agenomoto_
yes rtprio
-
rtprio
so why didn't you do that 10 minutes ago when i told you the first time?
-
Agenomoto_
no idea, it ws not working without a config back then
-
Agenomoto_
I should sleep. I had a fever. Just shifted from linux to bsd, in pressure of production server
-
» Agenomoto_ appreciates
-
rtprio
you don't see many production servers running xorg. 🤷
-
Agenomoto_
well, it seems easy for me to have ui too
-
Agenomoto_
many things get easy
-
Agenomoto_
rtprio what you said is true though :)
-
Agenomoto_
I should run to bed now.
-
Agenomoto_
thanks