Yes. I removed pci=nomsi entry from grub. I've tested on a Debian Forky and CentOS Stream 10 VMs with gnome and an intel alderlake igpu passthrough no issues at all.
-
RE: Remote desktop on Gnome hangs randomly
-
RE: Remote desktop on Gnome hangs randomly
@dinhngtu Hello. I've updated to the latest commit. There is no need to give me credit. I just want to help so others and myself included can benefit from this. Anyway thank you for your work.
-
RE: XCP-ng 8.3 updates announcements and testing
@rzr Hi. It appeared only once, after a host reboot. If it shows again, I'll let you know.
-
RE: Remote desktop on Gnome hangs randomly
Setting pci=nomsi seems to do the trick for now. Probably not optimal but it's just a VM and I didn't notice any performance issues.
-
RE: Remote desktop on Gnome hangs randomly
@dinhngtu i've manage to fixed it. Your build adds some extra entries in /var/lib/xcp/state.db that aren't in the version from testing, that broke things when i downgraded the packages.
ipv4_dns
VIF.ipv6_dns -
RE: Remote desktop on Gnome hangs randomly
Hello. I did what you said and it seems to work. Thank you.
-
RE: XCP-ng 8.3 updates announcements and testing
I get this in dmesg after the latest updates :
[ 54.673443] python3[3691]: segfault at 200000 ip 00007f16eb8eca9f sp 00007ffd b84e9ff0 error 4 in libpython3.6m.so.1.0[7f16eb804000+28d000] [ 54.673450] Code: 01 00 00 8d 5f ff 48 8d 2d de 3a 3c 00 c1 eb 03 44 8d 24 1b 4e 8b 44 e5 00 49 8b 70 10 49 39 f0 74 5f 49 8b 40 08 41 83 00 01 <48> 8b 38 48 85 ff 49 89 78 08 74 0d 48 83 c4 10 5b 5d 41 5c c3 0f [ 84.587661] xapi[3697]: segfault at 7f28cacaea40 ip 00007f28c6df0ec2 sp 00007 f289a5b8af0 error 6 in libjemalloc.so.2[7f28c6d85000+85000] [ 84.587669] Code: 48 2b 73 08 44 8b 4d 84 ba 01 00 00 00 49 83 c2 01 49 0f af f1 4c 8d 0d ac 72 42 00 48 89 f1 48 c1 ee 26 48 c1 e9 20 48 d3 e2 <48> 31 54 f3 40 48 8b 8d 58 ff ff ff 48 8b 33 48 8d be 00 00 00 10 -
RE: XCP-ng 8.3 updates announcements and testing
They appear now. I will try to identify them manually. Thanks for the tip.
-
RE: Win Server 2012 R2 VM: repeated BSOD 0xD1 in xenvbd.sys (Citrix 8.1.0.130) - where to get VM Tools 9.2.3?
Upgrading to another windows version will probably require a new license key. Going straight to 2025 is doable...but i think it's a little too much of a strech. Try to go with 2019-2022. Also you can't jump more than 2 versions from 2012R2 directly to 2022, you can go only to 2019 and then another in-place upgrade to 2022. Only 2025 allows upgrading from 2012R2 directly.
-
RE: Win Server 2012 R2 VM: repeated BSOD 0xD1 in xenvbd.sys (Citrix 8.1.0.130) - where to get VM Tools 9.2.3?
Why don't you upgrade the VM to Windows Server 2016 ??. It is possible to do an in-place upgrade from 12 to 16. Of course take a backup first.
-
RE: iGPU PCI passthrough: new experimental packages need testers
@yannsionneau Yes it works with the stock packages.
-
RE: iGPU PCI passthrough: new experimental packages need testers
Yes it does see it.
dmesg.txt
Passthrough was working and without that file from your repo. -
RE: iGPU PCI passthrough: new experimental packages need testers
@yannsionneau Reverted to stable and I upgraded only that package from your repo. VMs start now. At what should i look for now ?
-
RE: iGPU PCI passthrough: new experimental packages need testers
@yannsionneau cd /sys/bus/pci/devices/0000:00:02.0/
[11:55 xcp-ng-akz 0000:00:02.0]# echo 1 > rom
[11:55 xcp-ng-akz 0000:00:02.0]# cat rom > /root/vbios.bin
cat: rom: Input/output error
[11:55 xcp-ng-akz 0000:00:02.0]# echo 0 > rom -
RE: iGPU PCI passthrough: new experimental packages need testers
lspci -n -vvv -s 00:02.0
00:02.0 0300: 8086:46d1 (prog-if 00 [VGA controller])
Subsystem: 8086:7270
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Interrupt: pin A routed to IRQ 16
Region 0: Memory at 60e7000000 (64-bit, non-prefetchable) [disabled] [size=16M]
Region 2: Memory at 4000000000 (64-bit, prefetchable) [disabled] [size=256M]
Region 4: I/O ports at 3000 [disabled] [size=64]
[virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
Capabilities: [40] Vendor Specific Information: Len=0c <?>
Capabilities: [70] Express (v2) Root Complex Integrated Endpoint, MSI 00
DevCap: MaxPayload 128 bytes, PhantFunc 0
ExtTag- RBE+
DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
MaxPayload 128 bytes, MaxReadReq 128 bytes
DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend-
DevCap2: Completion Timeout: Not Supported, TimeoutDis-, LTR-, OBFF Not Supported
DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF Disabled
Capabilities: [ac] MSI: Enable- Count=1/1 Maskable+ 64bit-
Address: 00000000 Data: 0000
Masking: 00000000 Pending: 00000000
Capabilities: [d0] Power Management version 2
Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [100 v1] Process Address Space ID (PASID)
PASIDCap: Exec- Priv-, Max PASID Width: 14
PASIDCtl: Enable- Exec- Priv-
Capabilities: [200 v1] Address Translation Service (ATS)
ATSCap: Invalidate Queue Depth: 00
ATSCtl: Enable-, Smallest Translation Unit: 00
Capabilities: [300 v1] Page Request Interface (PRI)
PRICtl: Enable- Reset-
PRISta: RF- UPRGI- Stopped+
Page Request Capacity: 00008000, Page Request Allocation: 00000000
Capabilities: [320 v1] Single Root I/O Virtualization (SR-IOV)
IOVCap: Migration-, Interrupt Message Number: 000
IOVCtl: Enable- Migration- Interrupt- MSE- ARIHierarchy-
IOVSta: Migration-
Initial VFs: 7, Total VFs: 7, Number of VFs: 0, Function Dependency Link: 00
VF offset: 1, stride: 1, Device ID: 46d1
Supported Page Size: 00000553, System Page Size: 00000001
Region 0: Memory at 00000060e0000000 (64-bit, non-prefetchable)
Region 2: Memory at 0000006000000000 (64-bit, prefetchable)
VF Migration: offset: 00000000, BIR: 0
Kernel driver in use: pcibackNow the VMs don't start at all.
vm.start
{
"id": "6783fdf9-3569-0224-fdc0-0082323305fe",
"bypassMacAddressesCheck": false,
"force": false
}
{
"code": "INTERNAL_ERROR",
"params": [
"xenopsd internal error: Cannot_add(0000:00:02.0, Device_common.QMP_Error(5, "{\"error\":{\"class\":\"GenericError\",\"desc\":\"failed to find romfile \\\"/root/vbios.bin\\\"\",\"data\":{}},\"id\":\"qmp-000015-5\"}"))"
],
"call": {
"duration": 4031,
"method": "VM.start",
"params": [
"* session id *",
"OpaqueRef:2877507a-7ad9-f1e6-2b9c-e5690cb21e76",
false,
false
]
},
"message": "INTERNAL_ERROR(xenopsd internal error: Cannot_add(0000:00:02.0, Device_common.QMP_Error(5, "{\"error\":{\"class\":\"GenericError\",\"desc\":\"failed to find romfile \\\"/root/vbios.bin\\\"\",\"data\":{}},\"id\":\"qmp-000015-5\"}")))",
"name": "XapiError",
"stack": "XapiError: INTERNAL_ERROR(xenopsd internal error: Cannot_add(0000:00:02.0, Device_common.QMP_Error(5, "{\"error\":{\"class\":\"GenericError\",\"desc\":\"failed to find romfile \\\"/root/vbios.bin\\\"\",\"data\":{}},\"id\":\"qmp-000015-5\"}")))
at XapiError.wrap (file:///opt/xo/xo-builds/xen-orchestra-202610080923/packages/xen-api/_XapiError.mjs:16:12)
at file:///opt/xo/xo-builds/xen-orchestra-202610080923/packages/xen-api/transports/json-rpc.mjs:38:21
at runNextTicks (node:internal/process/task_queues:65:5)
at processImmediate (node:internal/timers:541:9)"
} -
RE: iGPU PCI passthrough: new experimental packages need testers
Hi. I only have this after acpidump -b on a igpu from intel alder lake cpu.
ls -l | grep dat
-rw-r--r-- 1 root root 476 Oct 8 11:35 apic.dat
-rw-r--r-- 1 root root 92 Oct 8 11:35 dbg2.dat
-rw-r--r-- 1 root root 52 Oct 8 11:35 dbgp.dat
-rw-r--r-- 1 root root 480216 Oct 8 11:35 dsdt.dat
-rw-r--r-- 1 root root 276 Oct 8 11:35 facp.dat
-rw-r--r-- 1 root root 64 Oct 8 11:35 facs.dat
-rw-r--r-- 1 root root 156 Oct 8 11:35 fidt.dat
-rw-r--r-- 1 root root 68 Oct 8 11:35 fpdt.dat
-rw-r--r-- 1 root root 56 Oct 8 11:35 hpet.dat
-rw-r--r-- 1 root root 204 Oct 8 11:35 lpit.dat
-rw-r--r-- 1 root root 60 Oct 8 11:35 mcfg.dat
-rw-r--r-- 1 root root 45 Oct 8 11:35 nhlt.dat
-rw-r--r-- 1 root root 1553 Oct 8 11:35 phat.dat
-rw-r--r-- 1 root root 136 Oct 8 11:35 rmad.dat
-rw-r--r-- 1 root root 1850 Oct 8 11:35 ssdt10.dat
-rw-r--r-- 1 root root 15082 Oct 8 11:35 ssdt11.dat
-rw-r--r-- 1 root root 14810 Oct 8 11:35 ssdt12.dat
-rw-r--r-- 1 root root 324 Oct 8 11:35 ssdt13.dat
-rw-r--r-- 1 root root 916 Oct 8 11:35 ssdt14.dat
-rw-r--r-- 1 root root 419 Oct 8 11:35 ssdt15.dat
-rw-r--r-- 1 root root 427 Oct 8 11:35 ssdt16.dat
-rw-r--r-- 1 root root 7087 Oct 8 11:35 ssdt17.dat
-rw-r--r-- 1 root root 4937 Oct 8 11:35 ssdt18.dat
-rw-r--r-- 1 root root 4027 Oct 8 11:35 ssdt19.dat
-rw-r--r-- 1 root root 908 Oct 8 11:35 ssdt1.dat
-rw-r--r-- 1 root root 23819 Oct 8 11:35 ssdt2.dat
-rw-r--r-- 1 root root 10549 Oct 8 11:35 ssdt3.dat
-rw-r--r-- 1 root root 13271 Oct 8 11:35 ssdt4.dat
-rw-r--r-- 1 root root 54407 Oct 8 11:35 ssdt5.dat
-rw-r--r-- 1 root root 7962 Oct 8 11:35 ssdt6.dat
-rw-r--r-- 1 root root 10883 Oct 8 11:35 ssdt7.dat
-rw-r--r-- 1 root root 9047 Oct 8 11:35 ssdt8.dat
-rw-r--r-- 1 root root 6425 Oct 8 11:35 ssdt9.dat
-rw-r--r-- 1 root root 76 Oct 8 11:35 tpm2.dat
-rw-r--r-- 1 root root 72 Oct 8 11:35 uefi.dat
-rw-r--r-- 1 root root 40 Oct 8 11:35 wsmt.datAnd the python script throws an error :
python3 -c 'import struct,sys;d=open(sys.argv[1],"rb").read();assert d[:4]==b"VFCT",d[:4];n=struct.unpack("<I",d[4:8])[0];off=struct.unpack("<I",d[0x34:0x38])[0];i=0
while off and off+28<=n:
pcibus,pcidev,pcifunc,vendor,device,ssvid,ssid,rev,imagelen=struct.unpack("<IIIHHHHII",d[off:off+28])
if imagelen==0 or off+28+imagelen>n:break
fn="vbios_%02d_%04x_%04x.bin"%(i,vendor,device);open(fn,"wb").write(d[off+28:off+28+imagelen]);print(fn,"bus=%d dev=%d func=%d vid=%04x did=%04x len=%d"%(pcibus,pcidev,pcifunc,vendor,device,imagelen));off+=28+imagelen;i+=1' vfct.dat
Traceback (most recent call last):
File "<string>", line 1, in <module>
FileNotFoundError: [Errno 2] No such file or directory: 'vfct.dat' -
RE: Remote desktop on Gnome hangs randomly
@dinhngtu i've manage to fixed it. Your build adds some extra entries in /var/lib/xcp/state.db that aren't in the version from testing, that broke things when i downgraded the packages.
ipv4_dns
VIF.ipv6_dns
