-
markmcb
how is it that a fully updated host and fully updated jail could have different "uname -U" values (FreeBSD version of the user environment)? host: 1401000, jail: 1400097. Both are 14.1Rp5.
-
markmcb
freebsd-update -b /path/to/jail --currently-running 14.0-RELEASE-p0 -r 14.1-RELEASE upgrade ... that seems to have resolved it ... still not quite sure how i got in that state to begin with
-
rtprio
markmcb: all kernels updated, jails rebooted?
-
markmcb
rtprio, yes, it was fully up to date and the whole system rebooted
-
markmcb
the command above fixed it
-
rtprio
markmcb: oh, uh, the 'user' version is hard coded into the binary itself, IIRC; so yeah, that would also need updated
-
uskerine
Hi, I am getting this: client_loop: send disconnect: Broken pipe after a few minutes while getting connected through ssh to a jail, any help is welcomed. I have tried to configure .ssh/config TCPKeepAlive Yes and ServiceAliveInterval 20
-
uskerine
traceroute
-
duskmoss
how is your jail networkng set up?
-
uskerine
I will prepare a pastebin
-
uskerine
thanks duskmoss
-
duskmoss
np
-
duskmoss
I have an idea, but we'll have to see if it's even relevant in a minute
-
uskerine
-
uskerine
let me know if you want to see any other config file or output
-
duskmoss
ah yes, heres the issue.
-
uskerine
the timeout does not happen when ssh'ing the host itself
-
duskmoss
when using an interface as the upstream for a bridge, the IP of the host should be set on the bridge, not the interface.
-
duskmoss
weird routing occurs otherwise. It mentions this somewhere in the docs, I'll see if I can recall where.
-
duskmoss
it also looks like you're setting the same ip on the bridge and assigning it to the jail, so you've got double weirdness
-
uskerine
I have followed section 17.5.3 of the handbook
docs.freebsd.org/en/books/handbook/jails
-
uskerine
I double checked and unless I missed something everything seems consistent, could you please elaborate on that two issues
-
duskmoss
docs.freebsd.org/en/books/handbook/…ed-networking/#_enabling_the_bridge yes, here. "If the bridge host needs an IP address, set it on the bridge interface, not on the member interfaces. The address can be set statically or via DHCP. "
-
duskmoss
you misunderstood the ip to assign to the bridge. you don't assign the ip of the jail to the bridge, because the bridge can have many jails attached.
-
duskmoss
you assign the ip of the host.
-
uskerine
what is the bridge host here. I have the host and the jail, the bridge host is the host?
-
uskerine
so you do not create one bridge per jail? I am aiming one jail = one static ip
-
duskmoss
so you need to remove `ifconfig_igb1="inet 172.16.10.20 netmask 255.255.255.0"`
-
duskmoss
and change `ifconfig_bridge23="inet 172.16.10.23/24 addm igb1 up"` needs to have the host IP
-
uskerine
ok understood
-
duskmoss
no a bridge is like a virtualized switch, you don't need one switch per computer
-
uskerine
ok understood, so I attach all jails to the same bridge
-
duskmoss
yep!
-
duskmoss
most of the conf file can be shared. I'll make a pastebin real quick as an example of how
-
uskerine
I think I know how to do it
-
uskerine
I am changing it now
-
uskerine
now it actually makes much more sense
-
duskmoss
yay!
-
uskerine
that is why I was freaking out with "bridge0", as I thought it was one bridge per jail so I named it "bridge23" (ip .23)
-
duskmoss
bpa.st/ORPCU this is how I have mine set up to make it easy to add new jails. I have quite a few, but just included two to make it quick. Any settings in the <name> { } block override settings at the beginning for that jail, so you can use it as a template even when things need to be different
-
duskmoss
yeah, the epair does need to have a unique name, I use the epair<IP> in mine, but just one bridge
-
uskerine
I see. now it all makes sense
-
uskerine
I am booting the server, first without booting up jails
-
duskmoss
*fingers crossed*
-
uskerine
so when I do the ifconfig, now I see the HOST IP associated to bridge0
-
uskerine
and the igb1 has no IP
-
uskerine
but when I ping the HOST IP from my workstation I can not reach it
-
uskerine
I have verified the entry in /etc/rc.conf and it is fine (I just replaced bridge23 with bridge0)
-
uskerine
I have reorder the entries in /etc/rc.conf as per the handbook
-
uskerine
just in case it matters
-
uskerine
I am rebooting now
-
uskerine
as a side thing I see from your code that you delay /etc/rc until the end, that explains why sshd was never boot up in the jail
-
rwp
uskerine, The variables get set in rc.conf and there is no ordering to setting those variables. It's declarative rather than procedural. All of the variables get set. And then actions do one thing or another thing based upon those settings.
-
uskerine
now I have no network on the host, I see the ifconfig and everything seems in place. bridge0 created with igb1 as memeber, bridge0 contains the IP with the right netmask, netstat -r shows the right routing (although I am testing in the same LAN)
-
uskerine
but I can not ping the HOST or ping from the HOST
-
uskerine
it seems that bridge0 can not be reached
-
duskmoss
ordering does matter for somethings
-
uskerine
the IP of the HOST is assigned to LO
-
uskerine
lo0
-
uskerine
while doing ifconfig, but I see assigned to bridge0 with ifconfig
-
duskmoss
hmm. one sec looking at your pastebin again
-
uskerine
(forget that, I see in the workstation that it is the normal way)
-
uskerine
I am not booting up any jail
-
uskerine
just trying to get connectivty with the host as first step
-
duskmoss
I think you need to have ifconfig_igb1=up somewhere
-
duskmoss
mine ifconfig_igb0="up"
-
duskmoss
ifconfig_bridge0="addm igb0 SYNCDHCP"
-
uskerine
you mean in /etc/rc.conf
-
duskmoss
yes
-
uskerine
why DHCP
-
duskmoss
because I'm using dhcp, you're using static, but the member interface still needs to be set up
-
uskerine
ah ok
-
uskerine
I am adding that
-
duskmoss
if you do ifconfig igb1 up from the cli right now does it make the host reachable?
-
uskerine
well I just reboot the whole thing
-
uskerine
will take a couple of minutes
-
duskmoss
ok
-
duskmoss
hopefully just comes up with connectvity
-
duskmoss
hows it looking?
-
uskerine
now it works
-
duskmoss
yay :)
-
uskerine
I will try to launch the jail now
-
uskerine
the jail can be accessed
-
uskerine
I opened a ssh session and will wait a while to see if problem persists
-
uskerine
thank you very much for your patiente duskmoss this was really helpful
-
duskmoss
you're welcome
-
uskerine
I will save the config in github, this is essentially I need from jails in the near future
-
uskerine
what*
-
duskmoss
glad it was helpful. The moving the rc to after was something I had to figure out myself when some of my jails weren't coming up how I expected. Maybe should try and get it updated in the handbook, but haven't yet
-
uskerine
I think that would be good. I did not understood why sshd was not being launched automatically
-
duskmoss
yeah I don't have ssh in my jails, but I had some other service that failed to launch if it didn't have networking when rc ran
-
duskmoss
okay, I'm headed off for the night, glhf
-
uskerine
thanks duskmoss
-
Mechami
Hello, everyone. Has anyone experienced issues with 'mfiutil' breaking builds when building the world? I'm trying to build the world with CTF and 'DEBUG=-g1', but it causes a debug section in this program to get compiled in and break the build in the process. I am using metamode if that has anything to do with it.
-
Mechami
Building /usr/obj/usr/src/arm64.aarch64/usr.sbin/mfiutil/mfi_config.o
-
Mechami
/usr/src/usr.sbin/mfiutil/mfi_config.c:1258:57: error: use of undeclared identifier 'mfi_unit'
-
Mechami
1258 | snprintf(buf, sizeof(buf), "dev.mfi.%d.debug_command", mfi_unit);
-
Mechami
| ^
-
Mechami
1 error generated.
-
Mechami
*** Error code 1
-
uskerine
that is to control the RAID unit, right Mechami?
-
Mechami
@uskerine I believe so; however, I'm not using a RAID controller and don't need the functionality in this particular build.
-
uskerine
why is it being build then for?
-
uskerine
-
Mechami
uskerine: I don't know; I didn't enable it. I think it's just part of the default build configuration. I don't see an option to exclude it in `src.conf`.
-
uskerine
Mechami: I was just curious, I understand now you are building the entire FreeBSD from source
-
uskerine
so what is this exactly? Why Firefox is opening so many ports? seems that they are listrening ports, right?
bpa.st/MWYG6
-
uskerine
this is the output of sockstat -4 -l
-
uskerine
when you put xdm_enable="YES" in /etc/rc.conf, how does rc know what to do?
-
mane
-
mane
fantastic!
-
debdrup
-
debdrup
and yeah, it's pretty fantastic news - especially that framework is involved
-
debdrup
framework and amd, no less
-
debdrup
if my t480s ever stops working, i'm definitely going amd-based framework
-
lucenera
Really great news. My T480 already knows FreeBSD, but better support for laptops means openness to the desktop world in general.
-
lucenera
Which is very good.
-
Mystified1234
i Guys I have QCA9377 802.11ac Wireless Network Adapter, I'm unable to configure it, can you guys point me to tutorial that can assist me. I have installed wifi-firmware-ath10k-kmod-qca9377_hw10-20240513 and I'm unable to kldload ath10k.
-
Mystified1234
your suggestions would be appreciated & thanks in advance !
-
DETHROLL
its not going to make it to the desktop
-
Mystified1234
i Guys I have QCA9377 802.11ac Wireless Network Adapter, I'm unable to configure it, can you guys point me to tutorial that can assist me. I have installed wifi-firmware-ath10k-kmod-qca9377_hw10-20240513 and I'm unable to kldload ath10k.
-
Mystified1234
your suggestions would be appreciated & thanks in advance !
-
Mystified1234
it's 1am time for me to crash. gnight. i'll follow up in 12 hours
-
DETHROLL
dont
-
Mystified1234
DETHROLL: ? don't, why
-
DETHROLL
if it dont work it aint gonna
-
Mystified1234
was this aimed a t me "its not going to make it to the desktop" ?
-
DETHROLL
fbsd wont make it
-
Mystified1234
me or the wifi card?
-
DETHROLL
get a USB adapter
-
Mystified1234
thatswhat i'm using, but this one sticks out to far on the laptop
-
DETHROLL
use that one
-
Mystified1234
I fogot, I have a RTS5229
-
jb1277976
run sysctl -n net.wlan.devices
-
jb1277976
what do you see ?
-
jb1277976
sorry gotta run driving
-
debdrup
Please don't drive and IRC.
-
DETHROLL
typical Berkeley attitude
-
DETHROLL
yal shit dont work
-
debdrup
Trolls really aren't what they once were.
-
ober
yeah... low effort trolling these days
-
macpapo
Hey everyone! I’m trying to install FreeBSD on a MacPro 5.1 with an AMD RX580, but I’ve run into an issue after installing the system. When I launch glxinfo in the XORG session, I get the following error: "amdgpu: os_same_file_description couldn't determine if two DRM fds reference the same file description. If they do, bad things may happen!" Has anyone come across this issue or can give me some pointers?
-
macpapo
I’d appreciate any advice on how to proceed. Thanks in advance! :)
-
debdrup
freebsd/drm-kmod #21 might be worth reading
-
debdrup
What version of FreeBSD are you using? It's sounding like it's not implemented kcmp.
-
debdrup
Also, did you follow the handbooks guide on setting up things?
-
macpapo
Thanks for the quick reply! I’ve already read that discussion. The issue is that
-
macpapo
I’m on FreeBSD 14.1-RELEASE. If I install the drm-kmod port, it works but I get:
-
macpapo
amdgpu: os_same_file_description couldn't determine if two DRM fds reference the
-
macpapo
same file description. If they do, bad things may happen!
-
macpapo
When I try installing the package, I hit a “vm_fault_lookup” error saying it
-
macpapo
can’t unlock the DRM and the system reboots. Any advice on how to resolve this?
-
macpapo
Thanks again!
-
debdrup
I'd suggest trying to build drm-kmod from ports to get debugging symbols (see ports(7) example 6), and grabbing kernel-dbg.txz for 14.1-RELEASE, then ensuring you have swap and dumpdev configured in rc.conf.
-
debdrup
That should give you the ability to debug things using kgdb, or at least get a proper backtrace to see where the error is.
-
macpapo
Ok, I'm gona try to install from the latest git commit drm-kmod
-
macpapo
Is it ok that kgdb said: 'the debug information found in "/usr/lib/debug//boot/kernel/kernel.debug" does not match "/boot/kernel/kernel" (CRC mismatch) ??
-
debdrup
I'm not actually sure
-
macpapo
Could I ask you to guide me on a fresh install? I’m gonna wipe this mess and reinstall. Thanks in advance for your help!
-
debdrup
There's a whole handbook for this..
-
macpapo
I have followed the guide to the letter more than once, but if I use pkg I go into kernel dump. If I install the port instead I have that mistake, I don't know what to do.
-
debdrup
I think you're panic(9)ing your system because unloading the DRM subsystem is fraught with issues.
-
debdrup
If you stop it from loading automatically (that'll depend on how you configured it to load automatically), you should be able to intervene and do whatever it is you want at that point.
-
macpapo
I go into kernel panic and run startx. The framebuffer is changed correctly. I can only use the shell though
-
debdrup
I don't have the energy to sit here and guide people through stuff, and it's almost midnight so even if I did I'm not likely to want to do it at this point..
-
macpapo
Okay, don't worry. Thank you for your help