-
poddo
I keep gettin shit like this trying to populate my src directory error: RPC failed; curl 18 transfer closed with outstanding read data remaining
-
ttnk
hello, i dont know freebsd really, i installed it once but i really dont know anything but i need to "clearn" a 128G msata sdd for opnsense installation, it is already installed there but it says it has errors that i cannot fix and i would like to wipe the disk so i can install opnsense again in it
-
poddo
meh, I just used the github mirror
-
ttnk
how can i wipe all the information and partitions from the disk?
-
poddo
like, securely or just at all
-
ttnk
poddo: i just need it to be "clean" so opnsense could be installed again because when i try to install on it, it says that rootfs partition has problems and that i have to run fsck
-
ttnk
i tried to delete all the partitions and regreate gpt with linux/gparted but it doesnt work, it says gpt have a problem and that there is still 7 blocks available, it gives the option to fix it but it does not fix anything and the ufs partitions are still there
-
ttnk
poddo: how can i wipe the partitions?
-
poddo
from freebsd?
-
ttnk
i dont know if it has to be done with freebsd or is it possible to do it with linux
-
poddo
I'd try fdisk personally
-
ttnk
i only have opnsense usb installer to do it
-
poddo
i mean, formatting a drive is formatting a drive, you could do it from windows for all the drive cares
-
ttnk
i already tried fdisk, it seems that it is done correctly but if i run fdisk /dev/sda again it still shows the partitions
-
poddo
certain os may have different partitioning schemes or file systems, but you just want to blank it, probably gpt which every os pretty much supports
-
poddo
hmmm
-
poddo
are you accepting your changes at the end of fdisk
-
ttnk
i tried to create an empty gpt with fdisk and that didnt work
-
ttnk
yes
-
ttnk
at the end i write it to the disk, it shows no errors
-
ttnk
but if i run fdisk again, it still shows the partitions
-
babz
you have to quit with 'w'
-
ttnk
thats why i came here, i dont know about freebsd or ufs
-
poddo
yeah did you use w to write your changes
-
ttnk
babz: yes i know, write it
-
ttnk
sure
-
ttnk
i dont know freebsd but i have used linux for 20 or so years, im not an expert but i know some things
-
babz
Your disk is probably faulty
-
poddo
try windows honestly
-
poddo
you cant really mess it up and youll have a better guess at if your disk is faulty
-
poddo
or any gui partitioner like gparted
-
poddo
mac file formatter etc
-
ttnk
poddo: i ran gparted too from a live rescue usb, and it just says that gpt is bad and there are 7 blocks availabe, if i want to fix it, i say yes delete partitions, recreate gpt, it keep on saying the 7 blocks available, no error on the deletion of partitions nor any other error
-
ttnk
but the partitions are still there :|
-
ttnk
i dont have windows, well i have it on a vm inside proxmox that i cant access because my fw/router is death ja
-
ttnk
and i have a small mac but the thing is that it is a msata drive, i dont have an adapter to connect to the mac
-
ttnk
i already bought another disc from amazon, it will be here in 2 days, but i would like to know if the disk is death, i ran smartctl but i dont know what to look for to see if it is death
-
poddo
sounds fucked ngl
-
poddo
good news is 128g is like 3$ nowadays
-
ttnk
i think the quality of that disk is very shitty
-
ttnk
i bought this small comp with 4 nics and i use it as firewall
-
BillyJoeBob
I'm trying to follow this guid in order to attach USB drives to my VirtualBox VMs but I'm running into an error.
-
BillyJoeBob
-
VimDiesel`
Title: Chapter 24. Virtualization | FreeBSD Documentation Portal
-
BillyJoeBob
When I try to restart devfs, I get these two following errors:
-
BillyJoeBob
uh, hold on, it doesn't like the starting slash
-
BillyJoeBob
"/etc/rc.d/devfs: WARNING: devfs_set_ruleset: you must specify a ruleset number"
-
BillyJoeBob
and
-
BillyJoeBob
"/etc/rc.d/devfs: WARNING: devfs_apply_ruleset: you must specify a ruleset"
-
BillyJoeBob
usb devices, not just drives.
-
rtprio
is there any more in the logs from devfs
-
BillyJoeBob
Uh, logs in messages just say the same thing.
-
BillyJoeBob
Let me see if there's anything else.
-
BillyJoeBob
Nothing in dmesg
-
BillyJoeBob
Yeah, only other stuff is in messages.
-
BillyJoeBob
This is my devfs.conf file related to what I added:
-
BillyJoeBob
# User added below:
-
BillyJoeBob
own vboxnetctl root:vboxusers
-
BillyJoeBob
perm vboxnetctl 0660
-
BillyJoeBob
[system=10]
-
BillyJoeBob
add path 'usb/*' mode 0660 group operator
-
poddo
is there an ELI5 for the files in /usr/src/sys/amd64/conf
-
poddo
like, what the differences are, other than guessing by the names
-
poddo
or is that just read it
-
poddo
man config I guess
-
BillyJoeBob
Haha, figured it out. I needed the [system=10]... stuff in /etc/devfs.rules
-
cedb
id like to setup a linux thing but not debian/centos and saw theres dnf and pacman in the repos. what does a jailed linux distro require beyond that devs/procfs nonsense for me to chroot and just pacman -S base ?
-
cedb
(rtfming to a link would be a very appropriate answer)
-
aje
moo
-
aje
I said moo
-
mjp
dont have a cow man
-
remiliascarlet
Cows are my breakfast.
-
kenrap
aje: you sound bored, here:
freshports.org/games/cowsay
-
VimDiesel`
Title: FreshPorts -- games/cowsay: Configurable talking characters in ASCII art
-
kenrap
Is it possible to run a Linux jail in armv6 architecture?
-
uwu_linux_openbs
hello
-
uwu_linux_openbs
does "RTL8821CE 802.11ac" work on freebsd?
-
uwu_linux_openbs
My main laptop has this wifi card and I want to use freebsd
-
uwu_linux_openbs
I found a thread related to the wifi card
-
ChealRipster
-
VimDiesel`
Title: WiFi/Rtw88 - FreeBSD Wiki
-
babz
-
VimDiesel`
Title: Search results for 'RTL8821CE'
-
uwu_linux_openbs
VimDiesel`: I did a ddg search but found that they were adding support for it
-
uwu_linux_openbs
didn't sure if they have implimented or not
-
uwu_linux_openbs
current state of the driver: Fails to load firmware (email: 21-09-08) -- likely fixed
-
spine-o-saurus
anyone know how to get subwoofer working on the mainboard sub port?
-
spine-o-saurus
im getting no soundcards found when i run aplay -l, but when i got to launch audio file i get speaker left/right only
-
useless
can anyone help me not give up on freebsd? man...i dont know what to say other than it is sooo broken
-
entikan
useless: what is your usecase?
-
useless
...wont load fusef module at boot no matter what. randomly pukes my sdcard filesystem and says its not configured
-
uwu_linux_openbs
:(
-
useless
i just want to mount an exfat filesystem and use it
-
useless
*fusefs module
-
useless
i can view the files just fine, then i start my daemon (minidlnad) and it dies...then when i try to read my files the device is "not configured"
-
useless
so many conflicting tutorials about loading modules at boot.....but none of them owrk
-
useless
also, mounting exfat from fstab does not work
-
useless
my line: /dev/da0s1 /media/flash exfat late,mountprog=/usr/local/sbin/mount.exfat 0 0
-
useless
ls: flash/: Device not configured
-
useless
if i umount/mount it...its fine, but then it reverts to not configured
-
useless
too early/late around here?
-
babz
dmesg ?
-
useless
fstab: /etc/fstab:4: Inappropriate file type or format
-
useless
mount: /media/flash: unknown special file or file system
-
useless
thats for the mount command...but theres nothing idicating the filesystem has puked
-
useless
cannot read `01 - Save Us.mp3' (Input/output error)
-
useless
the files get corrupted too
-
useless
i've already removed/recrated/verified them...then it happened again
-
useless
has anyone used exfat succesfully on bsd?
-
useless
i'm either foced to use zfs on linux (sucks) or exfat on bsd (sucksssssss)
-
useless
current zfs is not supported on 6.6.0
-
useless
*currently
-
useless
and exfat is far more portable....and as i understand it, a widely adopted open standard
-
useless
but in bsdland....no can do
-
useless
broken cluster chain. truncate to 524288 bytes at 0x5bb9400080.
-
useless
thats what bsd did to my files
-
useless
. /dev/sdd1: files corrupted 1188, files fixed 0
-
useless
sdd1: corrupted. directories 5930, files 64568
-
useless
mind you, linux can still read them.
-
useless
why does bsd exist?
-
useless
not being facetious.....just wondering
-
useless
it seems no one is keeping it up
-
dkeav
and yet, here you are
-
voy4g3r2
useless: is the question, why doesn't your fusefs module corrupting the filesystem or just vent how linux can work with it?
-
dkeav
not that it isn't a valid question, similar to the validity of "why do strange edge cases exist"
-
voy4g3r2
is the /media/flash a hard drive or a flashdrive? i am inferring by the name.. it is a flash media, likst a thumb drive.
-
useless
i am frustrated, i apologize...been at it for days....i would love to fix this.
-
useless
the flassh drive is an sd card in the sdcard slot of my firewall appliance
-
voy4g3r2
is there an option, to copy off the data, too said linux box, then format it in something other than exfat?
-
useless
no space
-
voy4g3r2
okay
-
useless
oh, yes i can use a different filesystem, sorry...just not on the firewall
-
useless
i was previously using zfs
-
voy4g3r2
i am not trying to NOT fix the issue.. just trying to minimize your data corruption, while we evaluate the exfat issues.
-
useless
but i also keep my linux distro up to date, and right now that doesnt allow zfs
-
voy4g3r2
that is a different issue, agree? the non-connecting zfs.
-
useless
exfat should be widely supported i would think
-
useless
i'd rather not use zfs on linux anymore
-
voy4g3r2
i would agree also but we got the edge case dkeav referred to
-
useless
i'll admit it..this is an edge case due to my installation of ports on opnsense
-
dkeav
so you're not even asking for freebsd help so much as opnsense help?
-
useless
its freebsd
-
dkeav
it's freebsd "based"
-
useless
FreeBSD gw.localdomain 13.2-RELEASE-p3 FreeBSD 13.2-RELEASE-p3 stable/23.7-n254818-f155405f505 SMP amd64
-
voy4g3r2
we are in a gray area here
-
voy4g3r2
that is like saying a bmw is a car so why isn't my toyota acting like my bmw because it is both based on a car
-
useless
opnsense is an application
-
useless
i disagree
-
voy4g3r2
but we got some more information, opensense was installed, you installed from /usr/ports and not a pkg
-
voy4g3r2
right?
-
useless
yes
-
voy4g3r2
my tongue in cheek comment was not warranted, my bad
-
voy4g3r2
i do not have experience with opensense but troubleshooting should follow a process, what compile options did you use for opensense?
-
useless
do i need to install fusefs-ntfs?
-
useless
opnsense handles the kernel, sorry
-
useless
i installed fusefs-exfat
-
voy4g3r2
can you moutn any other exfat related filesystems? or have any other ones available?
-
useless
this one mounts fine. its the only one i have
-
voy4g3r2
mounting works great, until you try to access something.
-
useless
but then it corrupts itself, even when mounted ro
-
useless
yes
-
useless
well, i can access things initially
-
useless
and file says they look good
-
voy4g3r2
okay, thanks for the patience of explainging this. We have a opensense application, compiled by ports, that is trying to access a exfat filesystem, this filesystem can mount and upon trying to connect to this mount on a freebsd client it corrupts?
-
voy4g3r2
is this a correct summary?
-
useless
but then....i start my dlna daemon which tries to index the files and it only gets so far before the device becomes 'not configured'
-
useless
voy4g3r2, sorry, no
-
useless
only fusefs-exfat is compiled from ports
-
useless
opnsense is not involved other than the fact that they configured/built the kernel
-
voy4g3r2
okay, so opensense is not the root cause (that we know of) but the dlna (another application) that is accessing a partition from a ports install of exfat
-
voy4g3r2
yes, that is what i am seeing myself.
-
useless
this sounds accurate
-
voy4g3r2
dlna is a pkg install or ports install?
-
useless
pkg
-
voy4g3r2
okay one last summary... (i have NO experience with dlna or opensense and may have to bow out) We have an opensense firewall that has a compact flash drive (formatted as exfat/ntfs) we are accessing this file system through a /usr/ports install of fusefs. We can mount the filesystem on the opensense applicance/application. When i try to introduce another application, dlna, the filesystem is "corrupted"
-
voy4g3r2
(dlna is pkg isntalled)
-
useless
yes...this even happens when the fs is mounted ro
-
voy4g3r2
okay, how does the linux comment play into this scenario?
-
voy4g3r2
jsut want to close that out, if possible.
-
useless
i put the sdcard in my linux box to populate the files
-
useless
i've also done this over the network with scp
-
useless
to the same end....starts off looking fine. gets corrupted.
-
voy4g3r2
could the media be bad?
-
useless
brand new sandisk
-
voy4g3r2
do we REALLY need to have exfat ? maybe ext4?
-
voy4g3r2
or ufs?
-
useless
not that it couldnt,b ut i doubt that
-
useless
exfat is portable
-
useless
lets me transport my music collection and use it elsewhere
-
voy4g3r2
okay, we can tackle that later
-
voy4g3r2
i think the first is to see if we can test that drive
-
voy4g3r2
yes, this is frustrating, but we will get there
-
useless
i'm willing to reformat it
-
voy4g3r2
okay, doing a quick duckduckgo.com search , i search for badblocks.. it is a utility on linux that can check, media.
wiki.archlinux.org/title/Badblocks
-
VimDiesel`
Title: badblocks - ArchWiki
-
voy4g3r2
would you be able to give this a shot, i am not aware of a freebsd based one.. hld up
-
voy4g3r2
-
VimDiesel`
Title: badblocks check | The FreeBSD Forums
-
useless
i try to keep my linux distro gentoo-only
-
voy4g3r2
this looks (just scanned, did not test)
-
voy4g3r2
you are a compiling rebel.. haven't used that distribution since university days in 2000s
-
useless
omg man
-
useless
it is the best thing since linux
-
voy4g3r2
we can go down that rabbit hole at another time, could you try that freebsd post instruction?
-
useless
one hyphenated word: dependency-resolution
-
useless
no one can touch gentoo on that one
-
useless
i will try it. one sec.
-
voy4g3r2
thanks!
-
voy4g3r2
i like getting worked done, not compiling all day, so i buy macs :)
-
useless
thats never an issue. my machine is 10 years old and compiles in a snap!
-
useless
linux kernel takes about a minute. maybe 2
-
useless
smartmontools has been installed
-
useless
(da0:umass-sim0:0:0:0): CAM status: SCSI Status Error
-
useless
(da0:umass-sim0:0:0:0): SCSI status: Check Condition
-
useless
(da0:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present)
-
useless
(da0:umass-sim0:0:0:0): Error 6, Unretryable error
-
useless
ooops might need to reboot
-
babz
lol
-
babz
that was my question 1 hour ago
-
useless
anyway to reinitialize without reboot?
-
voy4g3r2
i would default to babz response :)
-
useless
this just happened because i removed the card
-
voy4g3r2
sort of need the card to do the formatting.. it is pre-requisite
-
useless
yeah its broken. brb
-
usemore
well that was interesting
-
usemore
how'd i get in before without registering?
-
usemore
<useless_> i dont think a flash card has any s.m.a.r.t. features
-
usemore
<useless_> smartclt cant find the device
-
usemore
<useless_> lets step back a moment... i'm using a partition (da0s1) ...most tutorials are using the raw device. am i wrong?
-
voy4g3r2
welcome back
-
usemore
thx :)
-
voy4g3r2
that i do not know the answer to.. but maybe a reformat of the drive? see if we can replicate the corruption?
-
usemore
. /dev/da0s1: Unable to detect device type
-
usemore
okay. there's no mkfs.exfat on freebsd tho
-
voy4g3r2
that is correct, you have to leverage the fusefs module to do that
-
usemore
and theres no exfat-utils in ports
-
usemore
ok, not sure how that's done
-
voy4g3r2
-
VimDiesel`
Title: Solved - mounting exFAT usb with freebsd | The FreeBSD Forums
-
usemore
i've read that page _so_ many tmies
-
usemore
it must be obsolete, cuz none of that works
-
usemore
i cant get the fusefs module to load at boot at all
-
voy4g3r2
the stars are aligning and God is saying.. DON'T use exfat :)
-
usemore
:(
-
voy4g3r2
but we are getting somewhere
-
voy4g3r2
so full circle.. why are we doing exfat again?
-
voy4g3r2
if you are plugging into bsd/linux boxes.. and sharing with dlna.. who cares ?
-
usemore
well, the reason was usb3.0 transfer of 1tb files onto the card from my linux box
-
usemore
but i suppose i could just switch to rsync/ssh
-
usemore
okay. screw exfat :)
-
usemore
i also thought it would be nice to use the collection in my vehicle, or elsewhere
-
usemore
but freebsd has dashed all my hopes :(
-
usemore
do i use a slice or raw device for the zfs fs?
-
usemore
slice it is
-
usemore
oh..ufs or zfs?
-
voy4g3r2
ufs would work
-
voy4g3r2
it is what i use for my raspberrypi install
-
voy4g3r2
i have no exposure/experience with zfs yet
-
usemore
i dont have ufs
-
usemore
i like zpool
-
voy4g3r2
i would have to bow out, maybe ext4
-
usemore
argh. it created a da0s1a....whats the a??
-
usemore
this is where opnsense becomes an issue...theres no ext4 either
-
voy4g3r2
ill brb i have a meeting
-
usemore
-
VimDiesel`
Title: unix - Should I create ZFS zpools with whole disks or partitions? - Server Fault
-
voy4g3r2
that is outside my wheelhouse, i would find a format that opnsense can read and go with that
-
voy4g3r2
maybe ext3?
-
nerozero
Hi there, i'm starting getting this message on pkg update: pkg: No HTTP mirrors founds for the repo 'local_poudriere'
-
» usemore loves zfs again
-
nerozero
the repos config file:
bsd.to/WgvD
-
VimDiesel`
Title: dpaste/WgvD (Plain Text)
-
nerozero
never mind, removing "mirror_type" option - solves the issue
-
voy4g3r2
usemore: so i think yhour issue is "solved"?
-
nerozero
voy4g3r2, If you think this is not a valid solution - then please share your opinion
-
usemore
voy4g3r2, i'm just reverting to zfs....not really a fix is it?
-
usemore
can you help with something else...i wanna clean up the mess left behind by my experimenting
-
usemore
pkg autoremove does nothing...i'm trying to find a util call portsclean....
-
usemore
the only place is see it is on github under portsuils, but thats 11 years old...
-
usemore
portsutils
-
usemore
i dont have it in pkg or ports..
-
usemore
shaderc-2023.7 ? orphaned: graphics/shaderc
-
usemore
shared-mime-info-2.2_1 ? orphaned: misc/shared-mime-info
-
usemore
i wanna get rid of stuff like that
-
cedb
usemore: what are you trying to do i dont get it
-
usemore
clean up my mess
-
usemore
i want to remove all orphaned dependencies, and stuff that i installed from ports and dont need
-
usemore
i guess its in portupgrade
-
usemore
which is in ports
-
nerozero
try this pkg update -f
-
nerozero
pkg upgrade
-
nerozero
pkg autoremove
-
usemore
===> portupgrade-2.4.16_1,2 Only ruby 3.0, 3.1, 3,2 and 3.3 are supported.
-
usemore
*** Error code 1
-
usemore
pkg autoremove
-
usemore
Checking integrity... done (0 conflicting)
-
usemore
Nothing to do.
-
usemore
oh boy
-
nerozero
then manually remove orphaned packages
-
nerozero
pkg delete shaderc-2023.7
-
usemore
yeah thats lame
-
nerozero
then pkg info | grep .... | ....
-
usemore
these are ports builds not packages
-
nerozero
strongly suggest to move towards poudriere
-
nerozero
solves 99.9% of all my issues
-
usemore
you know what they are pkgs
-
usemore
i've heard of it...havent wrapped my head aroun dit
-
usemore
Deinstallation has been requested for the following 4 packages (of 0 packages in the universe):
-
usemore
Installed packages to be REMOVED:
-
usemore
ffmpeg: 6.0_5,1
-
usemore
libplacebo: 6.338.1
-
usemore
minidlna: 1.3.2_4,1
-
usemore
shaderc: 2023.7
-
voy4g3r2
usemore: it is a fix, it shows that exfat was not the best solution to the problem.
-
usemore
ok...if i'm using minidlna how is shaderc orphaned?
-
nerozero
remove package then recompile the port
-
nerozero
with clean dependency
-
usemore
how can i get portsclean?
-
nerozero
WHY ?
-
usemore
to automate this
-
usemore
i truly dont get freebsd. i'm a mess.
-
usemore
why have such an effed'up convoluted os....why?/
-
usemore
to give windows some competition?
-
usemore
"oh you think you've got a windows migraine.....try this!"
-
usemore
i do enjoy variety...but imagine if which ditched all the distractions and everyone focused on linux
-
usemore
*if we
-
usemore
anyway, thanks voy4g3r2 and nerozero
-
voy4g3r2
usemore: those topics are outside of this channel and glad you were able to get a resolution.
-
usemore
-
VimDiesel`
Title: NASA wants the Voyagers to age gracefully, so it’s time for a software patch | Ars Technica
-
usemore
neat
-
voy4g3r2
yes, it is an awesome technology marvel.. even have it as part of my solar system sleeve
-
usemore
sleeve?
-
voy4g3r2
tattoo sleeve
-
usemore
ahh
-
usemore
are you trying to tell us youre a nerd? :c\
-
usemore
:)
-
usemore
what os would the voyagers be running? a form of unix or in-house from scratch?
-
usemore
-
VimDiesel`
Title: Timeline of operating systems - Wikipedia
-
usemore
1977
-
usemore
1BSD ...would ya look at that
-
voy4g3r2
usemore: there are many rabbithole youtube videos on that subject.. and variety is important, what one does with one live is only for them to decide :)
-
voy4g3r2
it is so simple to setup a network printer.. wow, not dealing with CUPS hell is great!
-
voy4g3r2
well i spoke too soon, can't i just bonjour the pritner and the system knows about it.. guess not