[1] MLD-6.x / General / MLD 6.5 Proxmox
 

Online Dietmar0503

  • Newbie
  • *
  • Posts: 3
    • View Profile
MLD 6.5 Proxmox
« on: March 14, 2025, 16:49:43 »
Hallo, wie schon schon im Begrüssungsthread angedroht, versuche ich mich gerade an eienr Proxmox MLD Installation.

Das Ziel soll sein, das die VM vier Tuner für Kodi bereitstellt.
Das wasmich am meisten ärgert, ich hatte es aus Versehn schon am Laufen. :(  Und dann die VM leichtsinnigerweise gelöscht.
Von wegen war ja gar nicht so kompliziert... installierst Du eben neu in passender Größe und auf dem richtigen LVM.

Zu mir mit VDR schon länger zu tun, letzten Jahre aber mehr nur benutzt und weniger jedes neue Feature ausprobiert.   
Proxmox bin ich auch noch recht unerfahren, nutze TrueNas mit durchgereichten M2 Sata-Controller.

Und nun zum System usw. 

Hardware:
Asus Board i5-7500 mit 16GB Ram und VT-D im Bios aktiviert.
M2 128GB für PXE und 1TB SSD für VMs
2x Cin2 S2
Software: Proxmox Virtual Environment 8.3.4

Konfiguration auf dem Host:
nano /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT=„quiet intel_iommu=on pcie_aspm=force i915.i915_enable_rc6=1 i915.i915_enable_fcb=1 i915.lvds_downclock=1
update-grub 

nano /etc/modules
# Start PCIe Passthrough
vfio
vfio_iommu_type1
vfio_pci
vfio_virqfd
#End PCIe Passthrough

nano /etc/modprobe.d/pve-blacklist.conf
blacklist nvidiafb <- stand schon drin
#dvb
ngene
dvb_core
rc_core
blacklist dvb_usb_dw2102
blacklist ir_lirc_codec
blacklist lirc_dev

iommu aktiv
root@svr-pve-02:~# dmesg | grep -e DMAR -e IOMMU -e AMD-Vi
[    0.007641] ACPI: DMAR 0x00000000B3A546B0 0000A8 (v01 INTEL  KBL      00000001 INTL 00000001)
[    0.007693] ACPI: Reserving DMAR table memory at [mem 0xb3a546b0-0xb3a54757]
[    0.027832] DMAR: IOMMU enabled
[    0.079167] DMAR: Host address width 39
[    0.079168] DMAR: DRHD base: 0x000000fed90000 flags: 0x0
[    0.079174] DMAR: dmar0: reg_base_addr fed90000 ver 1:0 cap 1c0000c40660462 ecap 19e2ff0505e
[    0.079176] DMAR: DRHD base: 0x000000fed91000 flags: 0x1
[    0.079179] DMAR: dmar1: reg_base_addr fed91000 ver 1:0 cap d2008c40660462 ecap f050da
[    0.079181] DMAR: RMRR base: 0x000000c1216000 end: 0x000000c1235fff
[    0.079183] DMAR: RMRR base: 0x000000c3800000 end: 0x000000c7ffffff
[    0.079184] DMAR-IR: IOAPIC id 2 under DRHD base  0xfed91000 IOMMU 1
[    0.079185] DMAR-IR: HPET id 0 under DRHD base 0xfed91000
[    0.079186] DMAR-IR: Queued invalidation will be enabled to support x2apic and Intr-remapping.
[    0.080704] DMAR-IR: Enabled IRQ remapping in x2apic mode
[    0.248067] DMAR: No ATSR found
[    0.248068] DMAR: No SATC found
[    0.248069] DMAR: IOMMU feature fl1gp_support inconsistent
[    0.248070] DMAR: IOMMU feature pgsel_inv inconsistent
[    0.248071] DMAR: IOMMU feature nwfs inconsistent
[    0.248071] DMAR: IOMMU feature pasid inconsistent
[    0.248072] DMAR: IOMMU feature eafs inconsistent
[    0.248072] DMAR: IOMMU feature prs inconsistent
[    0.248073] DMAR: IOMMU feature nest inconsistent
[    0.248074] DMAR: IOMMU feature mts inconsistent
[    0.248074] DMAR: IOMMU feature sc_support inconsistent
[    0.248075] DMAR: IOMMU feature dev_iotlb_support inconsistent
[    0.248075] DMAR: dmar0: Using Queued invalidation
[    0.248078] DMAR: dmar1: Using Queued invalidation
[    0.249187] DMAR: Intel(R) Virtualization Technology for Directed I/O

Fragen:
Grub Optionen - Ich kenn nicht alle Optionen, wird alles von benötigt?  Oder kann was weg oder sollte ggfs. modifiziert werden? 
Auf dem anderen Proxomox mit dem TrueNas komm ich hiermit aus: GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on iommu=pt"

lspci auf den Host
root@svr-pve-02:~# lspci
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 05)
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 630 (rev 04)
00:14.0 USB controller: Intel Corporation 100 Series/C230 Series Chipset Family USB 3.0 xHCI Controller (rev 31)
00:16.0 Communication controller: Intel Corporation 100 Series/C230 Series Chipset Family MEI Controller #1 (rev 31)
00:17.0 SATA controller: Intel Corporation Q170/Q150/B150/H170/H110/Z170/CM236 Chipset SATA Controller [AHCI Mode] (rev 31)
00:1c.0 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #5 (rev f1)
00:1d.0 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #9 (rev f1)
00:1d.1 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #10 (rev f1)
00:1f.0 ISA bridge: Intel Corporation H110 Chipset LPC/eSPI Controller (rev 31)
00:1f.2 Memory controller: Intel Corporation 100 Series/C230 Series Chipset Family Power Management Controller (rev 31)
00:1f.3 Audio device: Intel Corporation 100 Series/C230 Series Chipset Family HD Audio Controller (rev 31)
00:1f.4 SMBus: Intel Corporation 100 Series/C230 Series Chipset Family SMBus (rev 31)
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (2) I219-V (rev 31)
02:00.0 Multimedia video controller: Micronas Semiconductor Holding AG nGene PCI-Express Multimedia Controller (rev 01)
03:00.0 Multimedia video controller: Micronas Semiconductor Holding AG nGene PCI-Express Multimedia Controller (rev 01)
root@svr-pve-02:~#

Empfiehlt es sich Audio Hardware etc im BIOs zu deaktivieren oder wird für den Serverbetrieb davon iwas benötigt?

root@svr-pve-02:~# lsmod | grep dvb
dvb_core              163840  1 ngene
mc                     81920  1 dvb_core

Ich dachte ich hätte sie geblacklistst? 



Konfiguration VM:
agent: 1
boot: order=scsi0;ide2;net0
cores: 2
cpu: x86-64-v2-AES
hostpci0: 0000:02:00.0,pcie=1
hostpci1: 0000:03:00.0,pcie=1
ide2: none,media=cdrom
machine: q35,viommu=virtio
memory: 2048
meta: creation-qemu=9.0.2,ctime=1741802506
name: MLD
net0: virtio=BC:24:11:ED:74:EC,bridge=vmbr0
numa: 0
ostype: l26
scsi0: myData:vm-100-disk-0,iothread=1,size=50G
scsi1: myData:vm-100-disk-1,iothread=1,size=350G
scsihw: virtio-scsi-single
smbios1: uuid=dd88f231-8939-4b3a-b773-6c60d74c5d04
sockets: 1
vga: virtio
vmgenid: 13d5634f-21de-4aa5-9e2b-f83a109d0837   

Software imho MLD 6.5 qemu ISO

Aktuelle Probleme: Firmware wird nicht geladen obwohl sie unter lib/firmware liegt qemu Agent läuft nicht.

Vielleicht sieht jemand wo es klemmt. :)
« Last Edit: March 14, 2025, 17:16:03 by Dietmar0503 »

Online Dietmar0503

  • Newbie
  • *
  • Posts: 3
    • View Profile
MLD 6.5 Proxmox
« Reply #1 on: March 14, 2025, 17:05:24 »
Nach Neustart der Hardware und der Vm scheint jetzt etwas mehr zu passieren.
vorher stand bei dmesg
[    6.402629] ngene: Could not load firmware file ngene_18.fw.
[    6.402693] ngene: Copy ngene_18.fw to your hotplug directory!
 
und jetzt...

dmesg @greb dvb
[    2.015166] ngene: nGene PCIE bridge driver, Copyright (C) 2005-2007 Micronas
[    2.015418] ngene 0000:01:00.0: Found Linux4Media cineS2 DVB-S2 Twin Tuner (v5)
[    2.026922] ngene 0000:01:00.0: Device version 1
[    2.027674] ngene 0000:01:00.0: Loading firmware file ngene_18.fw.
[    2.048910] snd_hda_intel 0000:00:1b.0: no codecs found!
[    2.079784] XFS (sdb): Mounting V5 Filesystem 9f4a70c5-e68d-4bb1-91b6-72f075702c5d
[    2.094143] XFS (sdb): Ending clean mount
[    3.084018] input: keyd virtual keyboard as /devices/virtual/input/input5
[    3.084584] input: keyd virtual pointer as /devices/virtual/input/input6
[    4.067897] ngene 0000:01:00.0: Command timeout cmd=01 prev=00
[    4.067919] ngene 0000:01:00.0: host_to_ngene (c000): 01 00 00 00 00 00 00 00
[    4.067936] ngene 0000:01:00.0: ngene_to_host (c100): 00 00 00 00 00 00 00 00
[    4.067937] ngene 0000:01:00.0: dev->hosttongene (0000000054361760): 01 00 00 00 00 00 00 00
[    4.067939] ngene 0000:01:00.0: dev->ngenetohost (00000000b96c9656): 00 00 00 00 00 00 00 00
[    4.134477] Xorg[773]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set
[    6.076911] ngene 0000:01:00.0: Command timeout cmd=02 prev=00
[    6.076920] ngene 0000:01:00.0: host_to_ngene (c000): 02 04 00 d0 00 04 00 00
[    6.076925] ngene 0000:01:00.0: ngene_to_host (c100): 00 00 00 00 00 00 00 00
[    6.076926] ngene 0000:01:00.0: dev->hosttongene (0000000054361760): 02 04 00 d0 00 04 00 00
[    6.076928] ngene 0000:01:00.0: dev->ngenetohost (00000000b96c9656): 00 00 00 00 00 00 00 00
[    6.077648] ngene: probe of 0000:01:00.0 failed with error -1
[    6.077838] ngene 0000:02:00.0: Found Linux4Media cineS2 DVB-S2 Twin Tuner
[    6.078508] ngene 0000:02:00.0: Device version 1
[    6.078538] ngene 0000:02:00.0: Loading firmware file ngene_18.fw.
[    8.089265] ngene 0000:02:00.0: Command timeout cmd=01 prev=00
[    8.089272] ngene 0000:02:00.0: host_to_ngene (c000): 01 00 00 00 00 00 00 00
[    8.089277] ngene 0000:02:00.0: ngene_to_host (c100): 00 00 00 00 00 00 00 00
[    8.089278] ngene 0000:02:00.0: dev->hosttongene (00000000097e0456): 01 00 00 00 00 00 00 00
[    8.089279] ngene 0000:02:00.0: dev->ngenetohost (000000007c69dd20): 00 00 00 00 00 00 00 00
[   10.111413] ngene 0000:02:00.0: Command timeout cmd=02 prev=00
[   10.111420] ngene 0000:02:00.0: host_to_ngene (c000): 02 04 00 d0 00 04 00 00
[   10.111425] ngene 0000:02:00.0: ngene_to_host (c100): 00 00 00 00 00 00 00 00
[   10.111426] ngene 0000:02:00.0: dev->hosttongene (00000000097e0456): 02 04 00 d0 00 04 00 00
[   10.111440] ngene 0000:02:00.0: dev->ngenetohost (000000007c69dd20): 00 00 00 00 00 00 00 00
[   10.112138] ngene: probe of 0000:02:00.0 failed with error -1


root@MLD:~# lsmod
Module                  Size  Used by
snd_hda_intel          40960  0
snd_intel_dspcfg       12288  1 snd_hda_intel
snd_hda_codec         126976  1 snd_hda_intel
snd_hda_core           90112  2 snd_hda_intel,snd_hda_codec
snd_pcm               126976  3 snd_hda_intel,snd_hda_codec,snd_hda_core
ngene                  45056  0
snd_timer              32768  1 snd_pcm
i2c_i801               24576  0
i2c_smbus              12288  1 i2c_i801
dvb_core              122880  1 ngene
snd                    94208  4 snd_hda_intel,snd_hda_codec,snd_timer,snd_pcm
mc                     49152  1 dvb_core
soundcore              12288  1 snd
cfg80211              983040  0
sch_fq_codel           16384  2
fuse                  147456  1
configfs               40960  1
nfnetlink              16384  2


lspci
root@MLD:~# lspci
00:1f.2 Class 0106: 8086:2922
00:1c.0 Class 0604: 1b36:000c
05:02.0 Class 0604: 1b36:0001
00:1a.1 Class 0c03: 8086:2938
06:08.0 Class 0780: 1af4:1003
00:1f.0 Class 0601: 8086:2918
02:00.0 Class 0400: 18c3:0720
00:01.0 Class 0300: 1af4:1050
00:1d.1 Class 0c03: 8086:2935
01:00.0 Class 0400: 18c3:0720
00:1b.0 Class 0403: 8086:293e
00:1c.3 Class 0604: 1b36:000c
05:01.0 Class 0604: 1b36:0001
00:1e.0 Class 0604: 8086:244e
09:02.0 Class 0100: 1af4:1004
00:1f.3 Class 0c05: 8086:2930
00:00.0 Class 0600: 8086:29c0
05:04.0 Class 0604: 1b36:0001
00:1c.1 Class 0604: 1b36:000c
00:1a.2 Class 0c03: 8086:2939
06:12.0 Class 0200: 1af4:1000
06:03.0 Class 00ff: 1af4:1002
00:1d.2 Class 0c03: 8086:2936
00:1a.0 Class 0c03: 8086:2937
00:1d.0 Class 0c03: 8086:2934
09:01.0 Class 0100: 1af4:1004
05:03.0 Class 0604: 1b36:0001
00:1a.7 Class 0c03: 8086:293c
06:09.0 Class 0780: 1af4:1003
00:02.0 Class 00ff: 1af4:1057
00:1d.7 Class 0c03: 8086:293a
00:1c.2 Class 0604: 1b36:000c


Bei meine ersten Geversuchen musste ich nur die Kanalliste hinzufügen weil die nicht parat lag, bz. leer war. 
Mal den Inhalt mit dem aktiven VDR tauschen und schauen was er dann macht.  Leider lag es desmal nicht daran. :( 
« Last Edit: March 14, 2025, 17:48:17 by Dietmar0503 »

[1] MLD-6.x / General / MLD 6.5 Proxmox
 



Users Online Users Online

0 Members and 1 Guest are viewing this topic.