-
edenist
I have all of my wifi setup effectively the same.
-
edenist
ISPs put such weird constraints on things
-
amigan
but there's not enough ipv6 address space!
-
edenist
Think of those poor neutrinos coming from the sun who will be forced to use NAT!
-
amigan
edenist: hahaha
-
tm512
hmm, bit concerned that the linuxulator-steam-utils readme just mentions to forget about anything working properly on an AMD GPU
-
tm512
so iwm doesn't seem to reliably associate with my wireless network, not sure how to troubleshoot this
-
edenist
is this on the new laptop?
-
tm512
yeah, the T495
-
tm512
I'm gonna see if the scan_ssid=1 bit that bsdinstall put in the network block has anything to do with it having trouble, because I've never had that flag set on anything else
-
tm512
also, update from yesterday, I have just decided to go the whole fresh installation route instead of just trying to clone the install
-
tm512
I'll just end up cloning over my home directory, I think
-
edenist
if you've got customizations based on hardware sounds like a sane way to do it. will thank yourself in the future, heh
-
tm512
well if I cloned the install, I think the main things I'd have to change is loading amdgpu instead of i915, and disabling wifibox to use native wifi instead
-
tm512
also disabling coretemp in favor of amdtemp
-
tm512
but doing a fresh install means this hasn't been touched by pkgbase which gives me the opportunity to rethink whether or not I want to continue using that
-
tm512
compiling kernel + world on this Ryzen 5 PRO 3500U should be a lot less painful than it would be on the i3-10110U of the other ThinkPad
-
edenist
my two desktop/laptop installs are using sandybridge/ivybridge, so I'm definitely not doing world fast on those, lol
-
tm512
I remember not having much trouble with either world or kernel on my ivybridge i3 back in the 10-STABLE and 11-STABLE days, but it sounds like LLVM/clang has bloated considerably
-
thegman
i cant get ethernet to work
-
thegman
or wifi for that matter
-
thegman
its loading the drivers as far as i know but it cant find em0
-
thegman
only igb0
-
thegman
and when i try to use igb0 it says something to the effect of "no link"
-
CCFL_Man
thegman: you should use supported hardware
-
thegman
i dont know what the name is of this specific ethernet hardware
-
thegman
il check
-
CCFL_Man
if you want specific hardware support, contribute it
-
thegman
is there no support for the "Intel Corperation I211 (rev 03)"
-
thegman
i thought that was in the em driver
-
thegman
freebsd.org/releases/14.0R/hardware according to this the i211 gigabit ethernet controller is supported
-
VimDiesel
Title: FreeBSD 14.0 Hardware Notes | The FreeBSD Project
-
concussious
em(4) does support i211 and anecdotally it works on my apu2
-
concussious
"ifconfig em0" shows nothing?
-
thegman
im pretty sure i tried that
-
thegman
if memory serves ifconfig without any arguments shows igb0 and lo
-
concussious
do you have something weird in your rc.conf?
-
thegman
its a fresh install
-
concussious
wait, my bad,
-
thegman
but i think i did set the boot delay in there
-
concussious
boot delay is a loader.conf, iirc. "dmesg | grep em0"?
-
thegman
it was also doing this when i went into a live shell from a usb
-
thegman
i guess it was in loader.conf
-
thegman
im still new to all the configuration files
-
thegman
i saved the output of dmesg and put it in /
-
concussious
those are basically the main ones I think for this kind of problem.
-
thegman
but i cant get zfs to show me the file so i might have to reboot to re acquire it
-
concussious
root can use dmesg command at any time
-
thegman
i know but im not booted into freebsd right now
-
thegman
its on a dual boot
-
thegman
nevermind i got it to work
-
concussious
what was wrong with it?
-
thegman
grep -i em0 dmesg.log shows nothing
-
thegman
i mean i got zfs to import the pool correctly so i could get the log file
-
concussious
wow, that's amazing. from my experience, if supported hardware doesn't show up in dmesg, the controller is physically dead.
-
thegman
i dont know how it could be dead
-
thegman
im using it right now
-
thegman
and ive only had this motherboard for around 3 years
-
concussious
that's why I'm amazed, obviously not dead
-
concussious
"grep 211"?
-
thegman
igb0: <Intel(R) I211 (Copper)> port 0xd000-0xd01f mem 0xfc600000-0xfc61ffff,0xfc620000-0xfc623fff at device 0.0 on pci6
-
thegman
thats the only line with that
-
concussious
okay, so, igb(4) is using your I211, and igb0 is what you want to be configuring
-
thegman
when i was using the installer dhcp wouldnt work with igb0
-
thegman
i tried to do it manually but whenever i put in the router as 192.168.1.1 it just resets the value i put in there
-
concussious
what is the output of "dhclient igb0"? that should get you where you want to go. if your router expects dhcp then you need to use that.
-
thegman
ok il boot into freebsd to check
-
thegman
output of ifconfig igb0 is on
bpa.st/OA5Q
-
VimDiesel
Title: View paste OA5Q
-
concussious
perfect, hit it with a "dhclient igb0"
-
thegman
i think the last time i did that it said "no link........."
-
concussious
how do the lights on the nic look?
-
thegman
isnt that just the led next to the spot the ethernet cable goes in
-
concussious
yes, there are two of them
-
concussious
theres a orange and a green one
-
thegman
one of them is orange
-
thegman
the other one is flashing green every now and then
-
concussious
sounds about right
-
concussious
so, when everything sounds about right, but it still won't work, I use "service netif restart".
-
thegman
il try that
-
concussious
you know, I just realized he can't have the same inet and broadcast
-
thegman
restarting netif didnt work
-
concussious
my fault, I realized after a moment that you can't have the same inet and broadcast.
-
concussious
so, I am now thinking you should "ifconfig igb0 delete" to remove the addresses it thinks it has
-
concussious
and if rc.conf is putting those addresses there, you should remove that
-
concussious
once you don't have those crazy addresses in there, "dhclient igb0" is how you ask for a dhcp lease on igb0
-
thegman
right now rc.conf has ifconfig_igb0="inet 192.168.1.17 netmask 0xffffffff"
-
thegman
and defaultrouter="192.168.1.1"
-
concussious
that is what is causing your problem
-
concussious
you cannot have that and have dhcp, they're trying to do the same thing
-
thegman
i set it manually since dhcp wasnt working in the installer
-
thegman
it said it could not acquire a dhcp lease
-
concussious
is that configuration working?
-
thegman
the one in rc.conf you mean
-
thegman
thats just what ive had since installing it
-
concussious
yes
-
concussious
did it work when you installed it?
-
thegman
nope
-
thegman
internet hasent worked in the installer or after installing it or in a live shell
-
concussious
that makes sense. I am under the impression that you have to use dhcp if that's what the router expects.
-
thegman
i have noticed spectrum doesnt play nice without dhcp
-
thegman
come to think of it it never plays nice
-
concussious
honestly man, I use usb tethering. I've lived alone for nine years and never wanted to pay them for their garbage
-
concussious
never paid them a penny
-
thegman
i dont pay them either its just the internet im stuck with
-
thegman
if i had a choice in this matter it would be literally anything except for spectrum
-
thegman
they dont even let you do port forwarding from a browser
-
thegman
you have to install their gosh dang phone app
-
concussious
well, when I go elsewhere, dhclient works if I'm not trying to do something else
-
concussious
having addresses specified in rc.conf is trying to do something else
-
thegman
should i just not do anything related to ifconfig in rc.conf
-
concussious
I don't, except wifi, because I'm always doing different stuff wherever I am
-
thegman
il see what happens after i comment out all the ifconfig lines
-
concussious
you can say "ifconfig_em0="DHCP"" in rc.conf if you want
-
thegman
ok il try that then
-
concussious
but I would get it working with nothing in there first and then add that once you're sure it works
-
thegman
ok
-
thegman
i tried it with and without ifconfig_em0="DHCP"
-
thegman
and i tried doing ifconfig igb0 delete
-
thegman
didnt work
-
concussious
what did "ifconfig igb0" say?
-
thegman
the same thing im pretty sure
-
thegman
actually
-
thegman
when i removed those lines and when i was trying the DHCP thing i think it just didnt have any information about the ip in it
-
concussious
also, you can use your phone browser to get on this channel at web.libera.chat
-
concussious
so you don't have to keep rebooting
-
thegman
il see if theres a phone available
-
concussious
it needs to not have the addresses in it to get a dhcp lease
-
thegman
the phone thing doesnt want to comply
-
concussious
it's also possible that the daemons don't like you
-
thegman
that is a possibility
-
concussious
sometimes nothing works, and sometimes it's like, did benevolent hackers upgrade my csh configuration?
-
thegman
apparently i cant join #freebsd on web.libera.chat without registration
-
jmnbtslsQE
if it says no carrier it's a physical problem
-
thegman
the only thing i can think of is the ethernet cable being in the wrong slot
-
jmnbtslsQE
or some other problem, not having to do with addresses
-
thegman
and i dont see how that could happen since im talking on irc right now
-
concussious
he's saying it works when he boots to $otheros
-
jmnbtslsQE
dunno
-
concussious
I think I can figure out out. I think that igb0 is his interface, and as long as nothing is trying to specify an alternative and conflicting configuration, dhclient will work.
-
concussious
and we've established that rc.conf is, in fact, specifying an alternative and conflicting configuration
-
thegman
but i cleared all network stuff from rc.conf and it still didnt work (after a reboot)
-
concussious
well, we've made some progress and I still have hope
-
jmnbtslsQE
as far as i know, no carrier always indicates the lack of any link, so at a layer below any addressing
-
concussious
that's very good information
-
thegman
il try dhcp again
-
thegman
but i think it doesnt know about the router
-
thegman
is there something i should set in /etc/rc.conf to make it actually use the router
-
concussious
the green light means it is talking to the router
-
thegman
i know but it doesnt appear to actually talk to the router when im on freebsd
-
concussious
I think dhclient will work if nothing else is going on
-
thegman
wow
-
thegman
i was testing in the livecd and dhclient worked when i switched the slot the ethernet cable was using
-
thegman
the strange thing is that slot doesnt work here on gentoo linux
-
concussious
the other slot is igb1?
-
jmnbtslsQE
if you're judging "works/doesn't work" based on internet access, your internet access is separate from whether the interface has a link
-
jmnbtslsQE
you can have an interface with a link but with wrong config and you won't have access
-
thegman
i dont see how i would have misconfigured it in this case
-
thegman
i just booted into the livecd
-
thegman
im assuming theres something i was supposed to do that i didnt know about
-
thegman
im pretty sure the other slot is for lan or something like that
-
thegman
i dont know all that much about networking
-
thegman
but theres a picture of a box with a line going out to 2 more boxes on that one
-
thegman
the motherboard manual identifies that as "LAN2"
-
concussious
savages, numbers start at 0
-
thegman
apparently the fools at asus dont know that
-
concussious
actually i suspect those guys are smarter than me, just being silly
-
thegman
i would respect them more if they didnt have that "armory crate" download button in their bios
-
concussious
i really believe seabios is a thousand years ahead of any efi implementation in simplicity, maintainability, reliability and security
-
concussious
i grit my teeth when i see "legacy bios" written, because they have a 16-bit bios implementation that can start massive amounts of cores, nvme storage, gpus, everything.
-
concussious
and it has no application interface to run malware on, no network interfaces to even attack in the first place
-
thegman
i was considering installing a non garbage bios on this motherboard but i dont know if this one is supported
-
thegman
and id probably end up bricking the motherboard
-
concussious
also seabios is instant and you cant argue with that
-
concussious
im not qualified to port something like that, so i only buy hardware where someone else is maintaining it
-
thegman
maybe this is why ethernet wasnt working
-
thegman
according to the asus website
-
thegman
it lists "Realtek RTL8125-CG 2.5G LAN" then "Intel I211-AT"
-
thegman
and it says 2.5G on the slot that wasnt working on freebsd
-
thegman
so i guess i shoulda been using re0
-
thegman
then again re0 wasnt showing up
-
concussious
wow thats what jmnbtslsQE was hinting at, there was no link because that was the wrong interface
-
concussious
hardware issue
-
concussious
well, link issue
-
thegman
either way il work on it tomorrow
-
tm512
so if I want /tmp to be tmpfs, but ZFS has zroot/tmp set to mount to /tmp, would ZFS override a tmpfs mount if I add it to fstab? like would I have to delete the ZFS dataset?
-
concussious
or you could just unset the property
-
Grell
Hello, I am trying to run a program from an account that I have logged into after logging into another account in Xfce. In other words I log into Xfce, then I open a terminal and log into another account. Now I am getting an issue that X cannot Open the Display. I get this "(zenity:69161): Gtk-WARNING **: 01:01:53.391: cannot open display: :0.0" The DISPLAY variable is exactly the same in both instances that I am logged into. What can
-
Grell
be the problem? Thanks.
-
tm512
still having issues with getting this wireless card to reliably connect. I'm sitting only a few feet from this router, and wpa_cli status reports that the wpa_state is "SCANNING"
-
tm512
finally just connected after several minutes
-
miko
tm512: is this regarding the t495?
-
tm512
yeah, with its Intel AC 9260 wireless chipset
-
miko
yeah, it barely even works on linux ^^; on linux i had pass an option or two to not have the card constantly crash
-
miko
er, to the kernel module
-
tm512
kinda weird since I'm using the old, presumably more mature, iwm driver currently. I may give iwlwifi a spin
-
miko
gimme two secs and i'll get the stuff i had to pass, might be somewhat applicable to freebsd if you're lucky
-
miko
right, so on linux had to pass power_scheme=1 to the iwlmvm kernel module
-
miko
*i had
-
tm512
I don't think that's even a driver here on FreeBSD, it's iwm and then iwlwifi is the next-gen one which I think is the only option for some of the newer chipsets
-
tm512
with the 9260 being kind of in that transitionary period where it has support from both
-
tm512
dunno if iwm even comes from Linux, but iwlwifi does, at least in-part
-
miko
iwlmvm is part of iwlwifi, its just that it's broken off as a separate module
-
miko
quick grep in the freebsd src dir does show that the mvm stuff is in there at least
-
tm512
worst-case scenario I'll just set up wifibox again though it kinda sucks to need that. had to use it with the E14 I'm replacing, because rtw88 on FreeBSD was completely busted, causing kernel panics when any meaningful amount of network traffic passed through the card (i.e. anything beyond, say, pinging)
-
concussious
usb tethering works really nicely
-
tm512
kinda unfortunate that I've gotta hustle on returning the E14, kept forgetting to send bug reports regarding rtw88
-
tm512
from what I recall it was pretty weird. the kernel panic showed that the process crashing was rtw88, but the backtrace showed that it was crashing in drm-related functions, as in, the GPU driver stuff
-
miko
tm512: there's a power_scheme sysctl tunable for iwm. try setting that to 1 and see what happens
-
tm512
I'll look into that. any idea what it actually controls?
-
tm512
oh, power management, so I guess 1 might make it more responsive but at the cost of increased power consumption?
-
tm512
hrm
-
miko
it disables power saving completely actually
-
miko
unfortunately it's the only thing that worked for me
-
Aedil
I wish you a good workflow for today, my FreeBSD 14 installations works excellent so far!
-
crb
I'm trying to get some linux software running under the linux emulation. There is a whole chain of ugly scripts calling each other which finally ends in checking the name -m arch which we report as amd64 but which I'm guessing linux reports as x86_64, how do people handle this without modifiy the scripts?
-
Aedil
The most complete solution for all your business needs is the UNIX enterprise software.
-
thegman
i was just checking dmesg and the realtek adapter is showing up as "none1"
-
voy4g3r2
thegman: have you checked out the realtek website to pul that driver? for my new machine i had to go that route to get my realtek 2.5gig onboard nic to show up
-
thegman
i was about to install realtek-re-kmod
freshports.org/net/realtek-re-kmod
-
VimDiesel
Title: FreshPorts -- net/realtek-re-kmod: Kernel driver for Realtek PCIe Ethernet Controllers
-
thegman
im pretty sure its the right one
-
thegman
installing that driver fixed it
-
scoobybejesus
is it normal for a zfs snapshot to take up a different amount of room on the backup box as the production box? production dataset shows 344G used. backup box shows 235G used. pretty big discrepancy
-
scoobybejesus
I wonder if this is an ashift thing, or something in that neighborhood. Digging down, as one example, the same mp4 file on the backup box is 115M, and on prod it's 182M.
-
scoobybejesus
It so happens that this dataset is shared via ZFS over NFS, and all the writing is happening from an application on a linux box (immich, a self-hosted google photos alternative).
-
lts
Comression?
-
lts
+p
-
rtprio
scoobybejesus: it depends on the other snapshots also
-
pr-asadi
Greetings. I have a Lenovo V330-15IKB laptop. I have FreeBSD 14.0-RELEASE-p5 on it. Usually after a few minutes, the laptop's fan starts working and it would not stop. Why is it like this?
-
pr-asadi
How can I control it? Is there even any solution?
-
sfox
powerd
-
scoobybejesus
i have compression in both. in prod it's lz4, and i'm not sure if it's lz4 or zstd on the backup box. they are both only in the 1.01 - 1.03x range.
-
scoobybejesus
i started deleting some older snapshots, even though they are barely referring to any unique data, hoping i'd find that space was freed up. that didn't work. files are straight up taking up different room on each device.
-
scoobybejesus
i thought i was doing something smart at the time (and maybe/hopefully it is for read speeds), but this seems to be a likely culprit... on prod, my recordsize is 1M for this dataset. on the backup box, the recordsize is 128K
-
scoobybejesus
the software automatically transcodes everything, creating thumbnails and whatnot. i'm guessing the 1M thumbnails are able to fit into 128k on the backup box. though this doesn't explain (in my mind) why a 115M video takes up 182M on the prod box
-
scoobybejesus
interesting problem/issue, one way or another
-
rwp
scoobybejesus, Video and Audio compressed won't be able to compress any further. So if the compression is lz4 or zstd and on for both main and backup I would expect that neither would be able to compress more.
-
rwp
I would expect that if compression is off that though the A-V files won't compress but other files would compress.
-
rwp
I always have compression on with either lz4 or zstd.
-
scoobybejesus
indeed, indeed. I was just pointing out there compression doesn't seem to reflect what is different between prod and backup
-
rwp
I often run this command to give me a showing of interesting attributes for datasets.
-
rwp
zfs list -o compression,compressratio,refquota,quota,used,usedds,usedsnap,refer,creation,name
-
jmnbtslsQE
scoobybejesus: how are you determining that the example mp4 file has different sizes?
-
jmnbtslsQE
if you're looking at the filesystem and it's different sizes it's just not the same data, unless i'm missing something
-
jmnbtslsQE
(the file different sizes i mean)
-
jmnbtslsQE
but either way, one thing that can cause a different in dataset size in this situation with a 1M recordsize is if you had compression disabled at one point and had many files written without compression, filling part of that 1M with zeros. then when you send/recv with compression that gets compressed away
-
scoobybejesus
i used dust, but i could use ls
-
scoobybejesus
i haven't changed the properties of the datasets since inception
-
jmnbtslsQE
OK
-
CrtxReavr
Boy, the dependency list for mtr seems rediculous.
-
CrtxReavr
-
VimDiesel
Title: View paste NV2A
-
CrtxReavr
I guess there's an mtr-nox11 package.
-
scoobybejesus
Interesting. `ls` shows the same 115M in both prod and backup. `dust` on prod shows 182M for the same file and 115M on backup. So, yeah, this 115M file is the same in both places, but somehow `dust` (in addition to zfs, of course) knows it's taking up 182M on disk on prod
-
scoobybejesus
`dust` is a newer `du`. `du` shows 186393 on prod and 118209 on backup
-
scoobybejesus
so perhaps these media files in some cases are sparse files, and so the OS/FS thinks it is intelligently using space? or maybe something else?
-
scoobybejesus
but i would think sparse files would benefit from compression. hmmmmm
-
jmnbtslsQE
if they're sparse on the source they should be sparse on the destination i think
-
jmnbtslsQE
github.com/openzfs/zfs/discussions/11533#discussioncomment-315578 talks about some random items that could take up blocks in addition to the file itself. not sure if it's applicable here
-
VimDiesel
Title: Why does stat(2) .st_blocks reflect ZFS compression? · openzfs/zfs · Discussion #11533 · GitHub
-
jmnbtslsQE
(st_blocks is what du and dust are using)
-
jmnbtslsQE
so, dunno honestly
-
scoobybejesus
interesting. when i copy the file. the resulting copy is only 115M. apparently cp is good at identifying a sparse file and only copying the actual data
-
jmnbtslsQE
i think you are right that cp does copy sparse files properly. but i don't see how it's related to sparse files. i think that would involve entire (zfs) records that are zero
-
jmnbtslsQE
and besides, if you have compression enabled on both sides and have always had, then sparseness should not make a large difference
-
scoobybejesus
before copying, the file takes up space of 182M, and after copying it takes 115M. maybe there is something going on that's related to sparseness or has the same effect
-
scoobybejesus
the only thing I can come up with is that writing to an NFS-mounted filesystem is causing sparseness to not being handled property
-
scoobybejesus
the guy who founded the project linked me to a stackoverflow answer on the difference between `ls` and `du` instead of telling me whether he experiences the same thing. frustrating