HA + Jellyfin + Openwrt jako router i AP

Na początek mój sprzęt:
N100 Router 4 x Lan 2.5G i226 + Crucial DDR5 16GB 4800 MHz CL40 + Lexar NQ790 2TB NVMe PCIe4.0x4 + Compex WLE900VX QCA9980 3x3 MIMO 802.11ac mPCIE.
Postawiony mam na nim Proxmox + VM HAOS + VM OpenWrt + CN Jellyfin
Nie potrafię sobie poradzić z udostępnieniem karty wlan pcie dla OpenWrt.
Może istnieje inny, lepszy sposób, aby uzyskać Router z trybem AP z tej karty wifi + HA i Jellyfin?

Może zainstaluj na tym sprzęcie openwrt bez proxmoxa (ominiesz problem z wifi), a potem resztę w dokerach.

W kwestii karty to bym zajrzał najpierw tam

mam w sumie na myśli

  1. weryfikację czy ona w ogóle działa na tej płycie głównej pod dowolnym systemem bare-metal
  2. jeśli tak, to testy w openwrt bare-metal
    a dopiero na końcu udostępnianie sprawdzonego sprzętu w wirtualizacji

Tak się jakoś utarło przekonanie, że Proxmox to jakiś osobny OS… a tam na samym spodzie siedzi zwykły debian. Może wystarczy sprawdzić i dodać potrzebne sterowniki na poziomie OS macierzystego.

Pierwsze co zrobiłem przed zakupem to sprawdziłem jaką kartę do tych celów zakupić.
Problem mam z udostępnieniem. Proxmox ją rozpoznaje:

root@proxmox:~# lspci
00:00.0 Host bridge: Intel Corporation Device 461c
00:02.0 VGA compatible controller: Intel Corporation Alder Lake-N [UHD Graphics]
00:0d.0 USB controller: Intel Corporation Device 464e
00:14.0 USB controller: Intel Corporation Device 54ed
00:14.2 RAM memory: Intel Corporation Device 54ef
00:16.0 Communication controller: Intel Corporation Device 54e0
00:17.0 SATA controller: Intel Corporation Device 54d3
00:1c.0 PCI bridge: Intel Corporation Device 54b8
00:1c.1 PCI bridge: Intel Corporation Device 54b9
00:1c.2 PCI bridge: Intel Corporation Device 54ba
00:1c.6 PCI bridge: Intel Corporation Device 54be
00:1d.0 PCI bridge: Intel Corporation Device 54b0
00:1d.2 PCI bridge: Intel Corporation Device 54b2
00:1f.0 ISA bridge: Intel Corporation Device 5481
00:1f.3 Audio device: Intel Corporation Device 54c8
00:1f.4 SMBus: Intel Corporation Device 54a3
00:1f.5 Serial bus controller: Intel Corporation Device 54a4
01:00.0 Ethernet controller: Intel Corporation Ethernet Controller I226-V (rev 04)
02:00.0 Ethernet controller: Intel Corporation Ethernet Controller I226-V (rev 04)
03:00.0 Ethernet controller: Intel Corporation Ethernet Controller I226-V (rev 04)
04:00.0 Ethernet controller: Intel Corporation Ethernet Controller I226-V (rev 04)
05:00.0 Non-Volatile memory controller: MAXIO Technology (Hangzhou) Ltd. NVMe SSD Controller MAP1602 (rev 01)
06:00.0 Network controller: Qualcomm Atheros QCA986x/988x 802.11ac Wireless Network Adapter
root@proxmox:~#

W OpenWrt w zakładce: Sprzęt - Dodaj urządzenie PCI wyświetla się komunikat:

No IOMMU detected, please activate it.See Documentation for further information.

Pomimo, że postępowałem zgodnie z instrukcją https://pve.proxmox.com/wiki/PCI_Passthrough

root@proxmox:~# dmesg | grep 'remapping'
[    0.278521] DMAR-IR: Queued invalidation will be enabled to support x2apic and Intr-remapping.
[    0.281425] DMAR-IR: Enabled IRQ remapping in x2apic mode
root@proxmox:~# dmesg | grep -e DMAR -e IOMMU
[    0.025824] ACPI: DMAR 0x0000000075221000 000088 (v02 INTEL  EDK2     00000002      01000013)
[    0.025973] ACPI: Reserving DMAR table memory at [mem 0x75221000-0x75221087]
[    0.278452] DMAR: Host address width 39
[    0.278456] DMAR: DRHD base: 0x000000fed90000 flags: 0x0
[    0.278476] DMAR: dmar0: reg_base_addr fed90000 ver 4:0 cap 1c0000c40660462 ecap 29a00f0505e
[    0.278485] DMAR: DRHD base: 0x000000fed91000 flags: 0x1
[    0.278498] DMAR: dmar1: reg_base_addr fed91000 ver 5:0 cap d2008c40660462 ecap f050da
[    0.278504] DMAR: RMRR base: 0x0000007c000000 end: 0x000000803fffff
[    0.278513] DMAR-IR: IOAPIC id 2 under DRHD base  0xfed91000 IOMMU 1
[    0.278517] DMAR-IR: HPET id 0 under DRHD base 0xfed91000
[    0.278521] DMAR-IR: Queued invalidation will be enabled to support x2apic and Intr-remapping.
[    0.281425] DMAR-IR: Enabled IRQ remapping in x2apic mode
[    1.072670] pci 0000:00:02.0: DMAR: Skip IOMMU disabling for graphics
root@proxmox:~#

Przy takim błędzie to bym najpierw zajrzał do BIOSa i sprawdził ustawienia vt-d

ale to raczej nieaktualne, bo z kolejnego posta wynika, że coś-tam jednak działa

Jest w biosie enabled.

Czy jest to Twój wpis?..bo problem identyczny, ze wskazaniem możliwych rozwiązań
https://www.reddit.com/r/openwrt/comments/19bd0sa/proxmox_wlan_card/

Nie, nie jest mój.
Ja mam ten sprzęt od kilku dni dopiero :slight_smile:
Zresztą z tego co przeczytałem, to tam jest trochę inny problem, bo karta jest już widoczna w OpenWrt po komendzie lspci

EDIT:
Jet postęp:

root@proxmox:~# dmesg | grep -e DMAR -e IOMMU
[    0.026012] ACPI: DMAR 0x0000000075221000 000088 (v02 INTEL  EDK2     00000002      01000013)
[    0.026162] ACPI: Reserving DMAR table memory at [mem 0x75221000-0x75221087]
[    0.106093] DMAR: IOMMU enabled
[    0.278837] DMAR: Host address width 39
[    0.278840] DMAR: DRHD base: 0x000000fed90000 flags: 0x0
[    0.278860] DMAR: dmar0: reg_base_addr fed90000 ver 4:0 cap 1c0000c40660462 ecap 29a00f0505e
[    0.278869] DMAR: DRHD base: 0x000000fed91000 flags: 0x1
[    0.278881] DMAR: dmar1: reg_base_addr fed91000 ver 5:0 cap d2008c40660462 ecap f050da
[    0.278888] DMAR: RMRR base: 0x0000007c000000 end: 0x000000803fffff
[    0.278896] DMAR-IR: IOAPIC id 2 under DRHD base  0xfed91000 IOMMU 1
[    0.278900] DMAR-IR: HPET id 0 under DRHD base 0xfed91000
[    0.278904] DMAR-IR: Queued invalidation will be enabled to support x2apic and Intr-remapping.
[    0.281796] DMAR-IR: Enabled IRQ remapping in x2apic mode
[    1.076087] pci 0000:00:02.0: DMAR: Skip IOMMU disabling for graphics
[    1.323428] DMAR: No ATSR found
[    1.323431] DMAR: No SATC found
[    1.323434] DMAR: IOMMU feature fl1gp_support inconsistent
[    1.323438] DMAR: IOMMU feature pgsel_inv inconsistent
[    1.323441] DMAR: IOMMU feature nwfs inconsistent
[    1.323443] DMAR: IOMMU feature dit inconsistent
[    1.323446] DMAR: IOMMU feature sc_support inconsistent
[    1.323448] DMAR: IOMMU feature dev_iotlb_support inconsistent
[    1.323450] DMAR: dmar0: Using Queued invalidation
[    1.323460] DMAR: dmar1: Using Queued invalidation
[    1.328910] DMAR: Intel(R) Virtualization Technology for Directed I/O
root@proxmox:~#

Posprawdzałem wszystko od początku i okazało się,że zrobiłem literówkę przy modyfikacji GRUB_CMDLINE_LINUX_DEFAULT
Walczę więc dalej i postępach poinformuję.

1 polubienie

Karta udostępniona dla OpenWrt.
Jest jeszcze problem chyba ze sterownikiem:

Fri Apr  5 16:36:16 2024 kern.warn kernel: [  305.687585] ath10k_pci 0000:00:10.0: failed to send pdev bss chan info request
Fri Apr  5 16:36:17 2024 kern.warn kernel: [  306.495112] ath10k_pci 0000:00:10.0: failed to send pdev bss chan info request
Fri Apr  5 16:36:17 2024 kern.warn kernel: [  306.495757] ath10k_pci 0000:00:10.0: failed to send pdev bss chan info request
Fri Apr  5 16:36:22 2024 kern.warn kernel: [  311.688448] ath10k_pci 0000:00:10.0: failed to send pdev bss chan info request
Fri Apr  5 16:36:28 2024 kern.warn kernel: [  317.689280] ath10k_pci 0000:00:10.0: failed to send pdev bss chan info request
Fri Apr  5 16:36:30 2024 kern.warn kernel: [  319.865449] ath10k_pci 0000:00:10.0: failed to send pdev bss chan info request
Fri Apr  5 16:36:30 2024 kern.warn kernel: [  319.869343] ath10k_pci 0000:00:10.0: failed to send pdev bss chan info request
Fri Apr  5 16:36:34 2024 kern.warn kernel: [  323.691680] ath10k_pci 0000:00:10.0: failed to send pdev bss chan info request

ale to już pomęczę kogoś z forum openwrt :slight_smile: