-
wavefunction
llua: Correct, but posix -> ksh -> bourne-shell seems like a way to backdate some of the recommendations. It's not as though I was referencing fish shell or nushell.
-
ivy
dvl: you can use [ "${jail#14}" != "$jail" ]
-
deimosBSD
anyone else have an issue with realtek cards under load hanging the system? I'm sustaining 800mbps and it seems the entire system hangs for 3-5 seconds at a time
-
deimosBSD
specifically, the re kernel module is hanging the entire usb subsystem
-
deimosBSD
pciconf shows RTL8125 2.5GbE Controller
-
deimosBSD
which i can't get more than 800 mbps out of, even when iperf3 to 10gbe server
-
deimosBSD
for comparison, my intel cards can get 1.1 gbps to the same server
-
sig`
is there known issues with the raspberry pi 4b with 14.3? only boots to rainbow screen
-
sig`
firmware not recongnize ?
-
ivy
sig`: what media are you booting from? i don't recall any issues with that using the rpi-specific install media, but it's been a while since i had to boot from that
-
sig`
tried both sandisk and ssd
-
sig`
but double checked by booting one with linux on it with no issues
-
sig`
seems it's the img
-
ivy
i mean freebsd install media - for rpi you need "FreeBSD-14.3-RELEASE-arm64-aarch64-RPI.img" because it contains the MS-DOS partition with the RPi firmware
-
sig`
I ran it a while back with 13
-
sig`
yes that's the one i am using
-
ivy
if you have a working rpi boot media (like Linux), you may try mounting the FreeBSD image and replacing the firmware with the copy from the working media
-
ivy
i think there are some issues with firmware version vs rpi version, i don't know the details though
-
sig`
I think you're right
-
sig`
I think the rasp pi firmware has been updated and freebsd hasn't updated theirs yet?
-
ivy
well, there's some other issue where the newest firmware may not work with freebsd because they keep changing the dtb, so freebsd is sometimes a little behind... i'd suggest posting on the arm@ mailing list, there's probably somewhere there who knows better than me
-
sig`
ivy: thank you will do
-
kenrap
ivy: are the pkgbase packages marked as vital in some way?
-
ivy
kenrap: runtime, clibs and set-* are vital
-
kenrap
ivy: does any of the set-* cover any of the FreeBSD-* packages?
-
ivy
i'm not sure what you mean, but the set packages are names FreeBSD-set-<name>
-
ivy
named
-
kenrap
ivy: what I mean is, does having the FreeBSD-set-* marked as vital prevent the removal of FreeBSD-* packages when using `pkg remove -a`?
-
ivy
i don't know, but i strongly suggest not trying to find out :-)
-
ivy
you can run the command and look at the proposed plan, if you want to check
-
kenrap
I play around with it in a jail. I'm starting to feel bad for offering stupid advice in the "14.3 to 15-ALPHA5 pkgbase" forum thread.
-
kerneldove
best option to query how many pages in and pages out swap has done recently? vmstat # outputs a ton of info not just paging, vmstat -s outputs lots of paging info but totals, not recent
-
kenrap
-
kenrap
pkgbasify is supposed to create the /var/db/etcupdate/current file, right?
-
ivy
i've never used pkgbasify, sorry
-
kenrap
😢
-
kenrap
I figured out a manual way. Bombs away!
-
kenrap
I mean, this is good. I can safely self-teach myself about the existing quirks of pkgbase
-
dvl
ivy: that's the type of thing I was trying to remember. In this case, a case works out better, because I'm checking for 13 jails and 14 jails.
-
kenrap
-
ivy
kenrap: related to
freebsd/pkg #2517
-
kenrap
thanks
-
ivy
it's on my list of pkg bugs that must be fixed before release
-
paulf
does pkg really use a sat solver?
-
ivy
paulf: there are two options, SAT and CUDF. i don't remember which is the default (i think it can use both)
-
kenrap
I'm glad I spent some time playing with pkgbase. Most of the time spent was from fighting with the jail chflags restrictions, but I figured out how to get around that for pkgbase.
-
kenrap
And got a good appreciation of the current problems
-
qbrack_
Hi! I've just installed FreeBSD 14.3 and am trying to install KDE (pkg install kde, pkg install kde5, pkg install xfce, pkg install gnome), but still getting "No packages available to install matching 'kde/kde5/xfce/gnome'". The same with xfce, gnome, etc. What am I doing wrong?
-
qbrack_
My /usr/local/etc/pkg/repos/FreeBSD.conf contains: url: "
pkg.FreeBSD.org/$(ABI)/latest"
-
rtprio
for xfce i believe the package name is xfce4
-
paulf
isn't just "kde" enough (as a kde6 metapackage)?
-
Retrofan
Hi
-
Retrofan
I need some clarification in this
-
Retrofan
I am now moving home to a different directory
-
Retrofan
I have created new partition UFS no journaling just dump, and mounted in a temp directory which I created before.. And I will now boot in signal usermode, mounting all filesystem and my new partition
-
Retrofan
enter mount point and dump the whole /usr/home directory, then add an entry for it in fstab.. but isn't that will break permissions
-
Retrofan
making my user accessible?
-
Retrofan
*inaccessible
-
rtprio
you're moving your /home to a new partition?
-
Retrofan
Yes
-
rtprio
assuming you did it correctly your files will have the same ownership/permissions they did before
-
Retrofan
Will dump do the work right?
-
rtprio
i haven't used it, but probably.
-
Retrofan
rtprio: is this a safe idea?
-
rtprio
well make sure the new one works before removing the old one
-
rtprio
but yes, this is a fairly routine administrative task for fixed size paritions
-
Retrofan
like cd the mount point (/mnt/newhome), then dump 0af - /usr/home | restore rf -
-
Retrofan
rtprio: how could I test it
-
Retrofan
before removing the old one
-
rtprio
for one, you don't need to reboot into single user mode. you can log out your user and log in as a different user (root)
-
rtprio
let's back up, what is /home (or /usr/home) mounted on now? and where do you intend to put it
-
Retrofan
I thinked so; bec. the article which I got the instructions is for moving /usr dir
-
Retrofan
rtprio: I never separated home directory before, I mean home is on same freebsd root partition
-
Retrofan
*it is
-
rtprio
ok, so where is it going?
-
Retrofan
I am using this as my main computer (nearly the only one working), so I need some clear idea about
-
Retrofan
rtprio: it's on the freebsd root UFS partition /dev/ada0p2
-
rtprio
and where are you moving it to?
-
Retrofan
I can't umount it
-
Retrofan
to /dev/ada0p5
-
rtprio
(so dump will take all of /, perhaps not what you want to do)
-
rtprio
did you already newfs /dev/ada0p5 ?
-
Retrofan
Yeah
-
Retrofan
I said above
-
rtprio
ok, so mount it into a temporary location. like /mnt
-
Retrofan
yeah done it /mnt/newhome
-
Retrofan
But I should fix permissions there for my user (mosaid:mosaid)
-
Retrofan
and it's group
-
rtprio
yes. or re-copy it, preserving permissions
-
Retrofan
No, I mean fix permissions for the partition; to make my user use it normally
-
Retrofan
rtprio: so you want me to use cp?
-
Retrofan
*cp -a
-
rtprio
i would ada0p5 as 'home' not as 'mosaid'
-
rtprio
i would mount ada0p5 as 'home' not as 'mosaid'
-
rtprio
if that makes sense. so /mnt/mosaid has the correct permissions, and /mnt is still owned by root
-
Retrofan
rtprio: Sorry, for making you confused, I was just only saying that I need to make my user (mosaid) own the (/mnt/newhome)
-
Retrofan
then cp/dump the /home
-
Retrofan
with the right permission, all of this is very simple
-
Retrofan
but how could I test it without removing OG (/home)
-
rtprio
it's a bit unusual to mount a drive all the way to a homedir, rather than /home
-
Retrofan
you mean you want me to remove the symlink of (/usr/home)
-
Retrofan
then mount the new partition there, right?
-
Retrofan
mount in /home which was a symlink before
-
rtprio
i mean that is the ultimate goal, once /mnt/mosaid and /usr/home/mosaid are identical
-
Retrofan
yeah, but isn't this will make many apps confused?
-
rtprio
you're getting ahead of yourself
-
rtprio
(is your $HOME /usr/home or /home ?) when you created your user?
-
Retrofan
rtprio: /home, I think every thing will work, but I read before about some apps (I think low-lvl ones) uses /usr/home.. even if $HOME is set
-
Retrofan
rtprio: many years ago
-
Retrofan
XD
-
Retrofan
My cdrom is doing bizarre funny stuff when I use it on freebsd
-
rtprio
[Lag: 52 (??)]
-
rtprio
i don't know what's going on
-
Retrofan
It's just sometimes opens without any command, some other never allow me to open it.. and yestarday with opening and closing randomly with the reader head moving also randomly inside XD
-
Retrofan
for about 2 minutes
-
Retrofan
Never mind I will fix it later
-
Retrofan
*it was
-
Retrofan
it also opens half a door then close fast; to disallow me of taking out the cd XD
-
Retrofan
If this a normal, I don't know Ai cd-roms will look like..
-
Retrofan
*what
-
rtprio
okay, Retrofan did you get figured out
-
Retrofan
Not till now, I am now working on my /home directory
-
rtprio
ok, but does /mnt/you look the same as /usr/home/you ?
-
Retrofan
I didn't copy anything till now, I am only asking here to take the full idea before logging out
-
rtprio
ok, so /mnt/username and /usr/home/username should look exactly the same
-
Retrofan
Should I use dump or cp -a ?
-
rtprio
cp -Rp
-
Retrofan
better than dump..?
-
rtprio
huh, sure, -a would work
-
zi
use rsync you masochists
-
rtprio
tar
-
Retrofan
rsync is the best tool I ever used
-
rtprio
then i would move your old home aside, mv /usr/home /usr/oldhome; mkdir /usr/home and mount your new partition'
-
rtprio
then you can login as yourself again
-
rtprio
if it all works ok, delete /usr/oldhome at your leasure
-
rtprio
i have done this dozens of times... until i started using zfs and now i do it exactly never
-
Retrofan
I will use it on my new hard drive, for now using UFS for the system
-
Retrofan
So cp -Rp is way to go
-
rtprio
again, you're not 100% committed until you remove your old directory
-
Retrofan
yeah I know
-
Retrofan
-
Retrofan
Plan9? it very similar to Xerox Smalltalk
-
Retrofan
Xerox have done everything before even Unix became a thing
-
Retrofan
Ok, going for now
-
Retrofan
Hi
-
Retrofan
I think it's not working well :(
-
Retrofan
cp is still copying a small Directory for half hour now..
-
rtprio
which one
-
rtprio
how much space does the old /home use?
-
Retrofan
ah
-
Retrofan
rtprio: it just copies a file contains millons of files, so it take some time..
-
Retrofan
It's huge in number of files, but not size (size is less 100GB)
-
Retrofan
I said before I have bilions of files here on my hard disks
-
Retrofan
but small ones
-
rtprio
i must have lost my irc connection when you said that
-
rtprio
well, it will take a while then
-
rtprio
hope you don't run out of inodes
-
Retrofan
?
-
Retrofan
what is inodes
-
tsoome
inode is file structure in your ufs.
-
Retrofan
ah you mean that
-
tsoome
ufs has predetermined number of inodes
-
Retrofan
I read about it before
-
rtprio
df -i
-
Retrofan
cp copied till now 273,874
-
Retrofan
file
-
Retrofan
As I can see I use less than 20% of every one
-
Retrofan
I belive that No of inodes is so big
-
Retrofan
*bigger than my files
-
Retrofan
Oh cp can't copy sockets?
-
rtprio
does it really make sense to copy them? you'd re-create them, wouldn't you
-
jgh_
philoosophical question.... the defeinition of an endpoint, or data that might be read from one?
-
Retrofan
rtprio: I think it begins of copying my browser cache file, I didn't clear it from at least 3 years
-
Retrofan
*directory
-
Retrofan
and I daily open more than 60 tab on any browser I use; so I think it's super huge
-
rtprio
if you used rsync you could have done it live in the background, than ran it again to get the updates
-
Retrofan
ah yeah you are right
-
Retrofan
I know this tool very well
-
zi
so you've said
-
zi
but seemed to have ignored the recommendation to, like, use it ;)
-
Retrofan
I used to create a huge archiving pool before
-
Retrofan
Thanks for rysnc and ArchiveTeam concept
-
Retrofan
Oh, it will finsh now very soone
-
Retrofan
the copying of big directories finished
-
supaman
hey, I want to compile the kernel on a machine that has network connection, move the newly compiled to another machine (via USB) to another airgapped machine and run it there. How would I go about doing that? All the info I can find online is about compiling locally and installing locally.
-
TommyC
compile locally, move new kernel to new machine, install locally on new machine
-
supaman
no other files that need to be moved? only the new kernel?
-
TommyC
Should be unless there's something special about one of the boxes.
-
supaman
ok, thanks. Don't know why the info I found online made it sound like this was an insurmountable task.
-
Retrofan
Oh, no
-
Retrofan
No space left on device
-
Retrofan
rtprio: The size of /home is more than I expected
-
Retrofan
it's 90GB
-
Retrofan
I think the right chocie now is rm -r all what I copied, than move the 6 Gb wich I store on some new partition I created few monthes ago.. and make it home
-
Retrofan
*which
-
Retrofan
after I delete the OG /usr/home, I want to shrink root "/" partition and give the free GBs to my new partition
-
zi
usually shrinking is a nogo
-
Retrofan
To get (home 195GB, Misc partition 195GB, root 75GB)
-
scoobybejesus_tl
and don't forget to consider using zfs instead in the future... though in theory ufs is fine
-
Retrofan
nogo? why
-
scoobybejesus_tl
ignore my last comment
-
Retrofan
ZFS is for my new harddrive 1TB
-
zi
Retrofan: you cant shrink a ufs partition. i mean, you can delete and recreate a smaller one but you cant do the opposite of growfs
-
crest_
the only way to shrink an ufs filesystem is to dump it and restore it into a smaller filesystem
-
rtprio
Retrofan: why not just use zfs now, if you have a new hard drive for it?