-
jpb
dstolfa: you around?
-
crb
[tj] (from a few days ago) I'm doing what's in the wiki but bhyve aborts immediately: Unable to setup memory (17)
-
crb
I'm trying to pass through a pie USB card
-
crb
pcie
-
LXGHTNXNG
does your computer support VT-d?
-
LXGHTNXNG
crb: acpidump -t | grep DMAR
-
crb
I think so it's a 5950x, that's relatively recent risen 9
-
crb
Maybe I don't have it turned on in BIOS since that command give nothing
-
LXGHTNXNG
yeah, unboot the machine, go into the bios, and check that it's got the IOMMU (AMD-Vi I believe it's called) enabled (it won't be called VT-d as it is AMD)
-
LXGHTNXNG
-
crb
OK I'll have to give that try next time I can reboot it
-
crb
thank you!
-
LXGHTNXNG
put it in your handwritten journal if that will be more than a few days
-
[tj]
crb: you need amdvi enabled on 14, something has occured on current I haven't figured out yet
-
[tj]
this is covered in the pcie passthrough wiki page
-
[tj]
I had an issue where ppt was loading far too far behind xhci so it couldn't take the controller, but I don't know if that is on 14 or not
-
crb
OK I did not have IOMMU turned on, it's on now
-
crb
but ....bhyve: PCI device at 8/0/0 is not using the ppt(4) driver
-
crb
Device emulation initialization error: No such file or directory
-
[tj]
you can try: devctl detach pci0:8:0:0
-
[tj]
devctl set driver pci0:8:0:0 ppt
-
crb
still Unable to setup memory (17)
-
[tj]
pciconf -l | grep ppt
-
crb
devctl: Failed to set pci0:8:0:0 driver to ppt: No such file or directory
-
crb
devctl: Failed to set pci0:8:0:0 driver to ppt: No such file or directory
-
jbo
I don't think you can attach the ppt driver if there's already another driver assigned (i.e. not "none")
-
jbo
but I can be entirely wrong
-
[tj]
devctl detach pci0:8:0:0
-
[tj]
that is why you need to detach it first
-
[tj]
you might need to correct the pci path
-
jbo
true
-
crb
iltisadl
-
crb
pretty sure that is the correct path and I did detach it first
-
[tj]
what is attached to it right now?
-
[tj]
what is in pciconf?
-
crb
none1@pci0:8:0:0: class=0x0c0330 rev=0x02 hdr=0x00 vendor=0x1912 device=0x0015 subvendor=0xffff subdevice=0xffff
-
[tj]
is vmm loaded?
-
[tj]
what freebsd?
-
crb
FreeBSD eclipse.ChrisBowman.com 14.2-RELEASE FreeBSD 14.2-RELEASE releng/14.2-n269506-c8918d6c7412 GENERIC amd64
-
crb
22 1 0xffffffff83400000 33e438 vmm.ko
-
[tj]
you could try adding 8/0/0 to ppt devs and rebooting
-
crb
not familiar with that, how do I do that?
-
[tj]
-
crb
so I have this: pptdevs="8/0/0" in /boot/loader.conf I reboot and pciconf -l | grep pci0:8:0:0 shows:
-
crb
xhci0@pci0:8:0:0: class=0x0c0330 rev=0x02 hdr=0x00 vendor=0x1912 device=0x0015 subvendor=0xffff subdevice=0xffff
-
crb
none2@pci0:18:0:0: class=0x130000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x1485 subvendor=0x1022 subdevice=0x1485
-
[tj]
you can try detaching xhci and reattaching: devctl detach xhci0
-
[tj]
devctl set driver pci0:8:0:0, but it might not work again
-
crb
ok now xhci0@pci0:8:0:0: class=0x0c0330 rev=0x02 hdr=0x00 vendor=0x1912 device=0x0015 subvendor=0xffff subdevice=0xffff
-
crb
none2@pci0:18:0:0: class=0x130000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x1485 subvendor=0x1022 subdevice=0x1485
-
crb
ok now: ppt0@pci0:8:0:0: class=0x0c0330 rev=0x02 hdr=0x00 vendor=0x1912 device=0x0015 subvendor=0xffff subdevice=0xffff
-
crb
but still Unable to setup memory (17)
-
dstolfa
jbo: i am now
-
dstolfa
jpb: ^ wrong ping
-
jbo
:o
-
racoon
hello there, anyone fancy committing this patch for support for 2 sitecom wlan adapters?
paste.debian.net/plain/1366657
-
mzar
racoon: nice patch, please submit it via bugzilla
-
racoon
will do, have requested an account
-
mzar
OK
-
[tj]
-
[tj]
racoon: please tell me who you are so I can set the author line in a commit
-
mtll
has anyone been able to get intel discrete graphics cards working on FreeBSD?
-
mtll
I've tried i915 from drm-66-kmod on 15-CURRENT, but it just panics on loading the module
-
[tj]
does the card work on linux 6.6?
-
mtll
yes
-
mtll
but the relevant issues on drm-kmod github page don't look promising
-
mtll
-
mtll
just tried the 6.8 version here
freebsd/drm-kmod #344
-
mtll
same thing, panics when loaded
-
mzar
mtll: was the drm-66-kmod package built in place using up-to-date sources ?
-
mtll
yeah I built it from the ports tree
-
mtll
freebsd is CURRENT, installed literally today
-
mzar
-
mtll
mzar: yeah, might be relevant, probably included in the custom kernel I built for the 6.8 DRM branch though
-
mtll
it was straight from dumbbell's github anyway
-
jpb
dstolfa: may i dm?
-
dstolfa
jpb: sure thing
-
cybercrypto
Hi there, quick question: the datasets I create on top of a pool = are they going to consume from the total pool available size?
-
mzar
sure, they will
-
tuaris
As much as I love the 'offline' build feature of the ports tree (I know you can turn that off, but I'm talking about 'official' pkg build), language based package managers don't show any signs of going away. Considering how security is a big deal these days,
-
tuaris
I find it ironic that this is common place/generally accepted practice. What's FreeBSD's latest stance on this? Will they begin to allow the building of official packages to work with things like npm, yarn, gem, gradle, maven, composer, etc...?
-
kevans
still haven't, no
-
kevans
golang notably wants to do similar, but we instead ended up with some tooling to generate the required dependency list to download
-
tuaris
It's great option, very simple and effective (when it works). I wish we'd have similiar tooling for the other ones. I tried making one for composer, but got stuck on some issue where composer wouldn't allow me to see what it wants to download.
-
tuaris
That's the problem, a lot of these package managers don't like it when you try to force them offline
-
tuaris
...And the upstream devs are unwilling to help.
-
Koston
there's going to be very aggressive opposition if you try to enforce ports tree full build to depend on online connectivity and having it bring outside data/parameters in dynamically
-
Koston
and I mean violently aggressive, because it's a hideously bad idea
-
tuaris
Yeah, which is why I find the practice by every Linux distro out there so ironic.
-
Koston
I guess there are benefits in being in a company where doing nothing is already a success story
-
dstolfa
tuaris: yeah, the mix of download/build by 1 tool and sometimes even 1 command is really frustrating
-
ivy
i really hope "panic: tcp_do_segment: sent too much" gets fixed soon, i've been putting off upgrading just in case
-
mzar
it was fixed IIRC
-
ivy
mzar: maybe not as someone just reported running into it on latest current
-
ivy
-
mzar
ah.. so they will work with packet drill... hard work
-
kevans
ivy: I've switched to the rack stack locally until tuexen gets a chance to analyze the pcap from my report
-
ivy
kevans: ah, is rack not affected?
-
mzar
same here, I am on RACK since it showed up in 13
-
kevans
ivy: yeah, tcp_do_segment is specifically the default stack implementation; rack has its own implementation
-
mzar
RACK always worked for me like hell
-
kevans
my historical position has been to just keep with the default stack barring some compelling reason to switch; I just don't understand the scenarios where I'd benefit from RACK well enough to make the informed decision to move to it full-time (and the default stack has filled my needs to the best of my knowledge)
-
kevans
now, panicking once or twice a day especially when I'm about to host a meeting is a compellingr eason
-
ivy
kevans: i heard RACK might become the default at some point so i guess switching now isn't so bad anyway :-)
-
mzar
after RACK gained TCP-MD5 support it became 100% comprehensive stack, we are not using it on the routers though
-
ivy
mzar: are you still deploying TCP MD5? i thought it had been obsoleted by TTL security
-
mzar
obsoleted by TCP-AO, but it is implemented in neither of our TCP stacks
-
mzar
FreeBSD is mostly business-driven project, we need more ISP businesses here hiring programmers and upstreaming changes
-
ivy
i'm curious what tcp-md5 protects against that ttl security doesn't
-
Koston
at least all ISPs in finland are completely retarded, no chance they'd contribute anything :(
-
mzar
RST
-
ivy
mzar: why doesn't ttl security protect against rst?
-
ivy
i mean, protecting against forge RST is basically the entire purpose of ttl security, aiui
-
mzar
it recognises only TTL
-
mzar
that's sad story Koston
-
ivy
yes, but RST packets have a TTL, don't they?
-
mzar
it's imminent part of the IP header
-
Koston
mzar, it really is unfortunate. the fiber network here is very good, but that's the extent of what ISPs comprehend as good business
-
ivy
right, so ttl security will drop forged RST packets
-
ivy
because the ttl will be too low
-
ivy
i'm not saying you shouldn't use tcp-md5 if you want, i've just never heard that ttl security can't protect against this
-
mzar
at least you have FTTH, in some countries ISPs are only charging for cooper and changing voltage/current/modulation to maximise profits
-
Koston
true, I know it's even worse in most places
-
Koston
ISPs are just owned by old af geezers who are interested in nothing but their retirement bank account
-
mzar
this is a nice patch, I tried to attract some people to it, but they are busy, if you guys have PCs and IPv6 on them, maybe want to try and give feedback here
bugs.freebsd.org/bugzilla/show_bug.cgi?id=245103
-
mzar
it needs more testing, and comments from people familiar with EPOCH and VNET contextes which probably should be added here
-
Koston
does it apply on rel branches or only -current?
-
mzar
I have it on stable/14 too, so should apply on 14.2
-
Koston
ok cool, then I can give it a spin, just need to consolidate a few services to free up a box for testing
-
cybercrypto
mzar: thanks.
-
cybercrypto
Lets say I have a spare disk (not the system/boot) that I am enabling gely encryption - single partition, full size. I want to create a zps pool with that disk. I first gely attach (password prompted) and then add to pool.
-
cybercrypto
once a boot, I will manually gely attach again and type password. How do I make zfs recognize that disk.eli is available and auto mount?
-
mzar
geom will taste it
-
cybercrypto
mzar: I (no doubt) did something wrong. Cause geom is not identifying it. I am certain that I am doing it wrongly.
-
mzar
cybercrypto: I could be wrong, I am sorry
-
cybercrypto
mzar: nope, I am learning. since this is 'sandbox disk' I will redo step by step again... my goal is simple= I want a 'zfs-pool-my-data' running in a disk, that disk is previoulsy gpt partioned + gely.
-
mzar
do it step by step, take notes, prepare script and you will be fine
-
cybercrypto
mzar: sure, that will help me understanding where is the possible missing step. thanks
-
crb
what is the name of the feature for AMD VT-d/IOMMU?
-
ivy
crb: VT-d doesn't exist on AMD, and AMD IOMMU support isn't indicated in cpuid as far as i know, so there's no feature flag for it
-
crb
ivy, that's what I wanted to know, thank you
-
crb
so is there a way I can tell if freebsd see that feature as turned on?
-
ivy
crb: i believe you will see an ivhd device in dmesg, or you can check for "options IOMMU" in the kernel config
-
duncan
I *guess* that amd-vi is implemented after a certain point on all their kit, hence lack of a feature associated with certain firmwares
-
ivy
duncan: no, it's just not in cpuid, there's another way to check for it via ACPI. see
amd.com/content/dam/amd/en/document…docs/specifications/48882_IOMMU.pdf ยง5.2
-
jpb
AllanJude: you around?
-
polarian
Ok I assume if I have a wireguard configured on my laptop, split tunneling is a bad idea, and seen as wg-quick redirects ALL traffic through wg interface (apart from traffic to the WG peer) this would not be possible without writing the routing table rules manually. So I assume the better approach would be to delve into rdomain's?
-
polarian
I remember some discussions on it within the OpenBSD mailing list (I am aware the rdomain implementations differ)
-
polarian
have the default rdomain for everything to go via the VPN, and then something you need to be outside of the tunnel (for example local traffic, you can use a second rdomain
-
polarian
any other suggestions?
-
rtprio
wg-quick does not redirect all traffic, just what's specified in the allowedIPs right?
-
rtprio
it's not manual at all
-
nimaje
hm, what is your desired network layout? I don't fully understand that
-
nimaje
yes, wg-quick creates routing rules for whatever is in AllowedIPs
-
kevans
'split tunneling is a bad idea' is maybe a bad premise to start with, it depends on what you're trying to accomplish with the tunnel
-
polarian
rtprio: yes it does, it adds a rule for 0.0.0.0/1 via wg0
-
polarian
ohh right its from AllowedIPs
-
polarian
duh I am silly
-
polarian
I completely forgot it existed
-
polarian
could just exempt local subnets from it
-
» polarian is a giant idiot :P
-
polarian
kevans: always on vpn
-
polarian
in which case you want no split tunnelling, not even for local traffic
-
polarian
the very concept is to harden wifi, as WPA is not the strongest
-
rtprio
....
-
polarian
with wireguard you have 3 layers of encryption on a packet payload, TLS, then WPA ontop of the packet, and then Wireguard on top of that
-
polarian
but sometimes, and only sometimes, say you want to configure a new device, without configuration you got to drop the wireguard tunnel (I have pf drop all packets to anything other than the wg endpoint)
-
rtprio
wpa3 is plenty strong enough
-
polarian
rtprio: and unless you are running latest APs, you wont be that lucky
-
rtprio
i am that lucky
-
polarian
and lets not forget, in most peoples cases you are trusting a black box
-
polarian
unless you are running openwrt
-
polarian
which I wish I could but my APs are too old and too shit
-
polarian
and that doesn't protect you on public wifi, in a lot of cases do not use any encryption
-
polarian
Always-on-VPN should be something you set up and leave...
-
polarian
also there is another problem, captive portals, something I haven't delved into yet
-
polarian
my attempt is very basic and incomplete...
-
rtprio
i pity the intern that has to set up wireguard on everyones pc
-
kevans
polarian: right, but that kind of setup isn't necessarily implied by 'running wireguard'
-
polarian
kevans: sorry for being ambiguous
-
polarian
rtprio: this is a home setup, not for a business... a business would not want all traffic going via their network, their employees youtube browsing will cost them a fortune in bandwidth. From what I have heard the majority of businesses split tunnel, secure access to the companies network while out of office, but not pushing the users normal traffic via the tunnel and congesting the companies
-
polarian
network.
-
polarian
is it extreme? sure
-
rtprio
if it's a home setup, how hard is it to update your ap, jfc
-
polarian
but it also protects against common attacks, such as DNS spoofing... cant spoof DNS which is only provided via a trusted recursive resolver over a wg tunnel + DNSSEC validated
-
polarian
rtprio: I am stubborn and do not wish to throw away working hardware
-
rtprio
polarian: my dad says the same thing about his windows 2000 systme
-
polarian
rtprio: I am running a E6430
-
polarian
right now
-
rtprio
who all are you letting on your homenetwork who's spoofing dns
-
polarian
might not be as old, but it is still old
-
polarian
but it works, why replace it?
-
polarian
rtprio: this is my laptop, I travel with it
-
rtprio
because it doesn't support modern cryptogaphy, or receive regular updates
-
nimaje
(not sure if you can really call any internet connected device "working hardware")
-
polarian
I mainly hotspot because of the damn captive portals
-
polarian
I assume learning rdomains would be a good idea
-
rtprio
ok man, good luck to you
-
polarian
my question was kinda answered though, I forgot the routes were added from AllowedIPs
-
polarian
so thanks for the correction :)