运维:固定虚拟PCI设备并补充过夜观察与电源策略

This commit is contained in:
songyiming committed 2026-11-05 19:15:31 +08:00
1 parent 6f2ff67300
commit 65f92df8b7
42 files changed
+1705

No files matched your search

@@ -0,0 +1,37 @@
status: running
agent: 1
args: -set device.hostpci0.x-pci-sub-vendor-id=0x1558 -set device.hostpci0.x-pci-sub-device-id=0x6557 -global ICH9-LPC.acpi-pci-hotplug-with-bridge-support=off -global pci-bridge.shpc=off -global pcie-root-port.hotplug=off
balloon: 0
bios: seabios
boot: order=sata0;ide2
cores: 4
cpu: host,hidden=1
hostpci0: 0000:01:00.0,pcie=1,rombar=1,romfile=gtx965m-clevo-readback-20261103.rom
ide0: none,media=cdrom
ide2: none,media=cdrom
machine: pc-q35-11.0
memory: 8192
meta: creation-qemu=11.0.0,ctime=1792722917
name: win10-test
net0: virtio=BC:24:11:B4:01:43,bridge=vmbr0,firewall=1
numa: 0
onboot: 1
ostype: win10
sata0: local-lvm:base-100-disk-0,size=60G
scsihw: virtio-scsi-single
smbios1: uuid=52fd3777-0bb4-40a7-8136-b02c40947a11
sockets: 1
template: 0
vmgenid: a1963978-050f-4b3c-8c9a-7a4d13d72f43
{
"vm": 100,
"device_present": false,
"channels": [],
"usb": " Device 0.1, Port 1, Speed 480 Mb/s, Product QEMU USB Tablet, ID: tablet\r\n",
"vm_status": {
"status": "running",
"running": true
}
}
EXIT 0
@@ -0,0 +1,3 @@
{"vm": 100, "action": "apply", "args": "-set device.hostpci0.x-pci-sub-vendor-id=0x1558 -set device.hostpci0.x-pci-sub-device-id=0x6557 -global ICH9-LPC.acpi-pci-hotplug-with-bridge-support=off -global pci-bridge.shpc=off -global pcie-root-port.hotplug=off", "next_step": "cold start and verify Windows"}
EXIT 0
@@ -0,0 +1,2 @@
EXIT 0
@@ -0,0 +1,11 @@
QEMU_VERSION {'qemu': {'micro': 3, 'minor': 0, 'major': 11}, 'package': 'pve-qemu-kvm_11.0.3-4'}
PCIE_PORT_HOTPLUG_OFF: 4/4
PCI_BRIDGE_SHPC_OFF: 4/4
ACPI_PCI_HOTPLUG_OFF
USB_REDIR_ADD_OK
USB_REDIR_REMOVE_OK
ISOLATED_SMOKE_PASS (Windows UI and physical USB not tested)
QEMU_STDERR: kvm: warning: nic diagnet has no peer
EXIT 0
@@ -0,0 +1,35 @@
{
"vm": 100,
"created": "2026-11-05T09:24:07.989788+08:00",
"original_args": "-set device.hostpci0.x-pci-sub-vendor-id=0x1558 -set device.hostpci0.x-pci-sub-device-id=0x6557",
"proposed_args": "-set device.hostpci0.x-pci-sub-vendor-id=0x1558 -set device.hostpci0.x-pci-sub-device-id=0x6557 -global ICH9-LPC.acpi-pci-hotplug-with-bridge-support=off -global pci-bridge.shpc=off -global pcie-root-port.hotplug=off",
"original_config": {
"agent": "1",
"args": "-set device.hostpci0.x-pci-sub-vendor-id=0x1558 -set device.hostpci0.x-pci-sub-device-id=0x6557",
"balloon": "0",
"bios": "seabios",
"boot": "order=sata0;ide2",
"cores": "4",
"cpu": "host,hidden=1",
"hostpci0": "0000:01:00.0,pcie=1,rombar=1,romfile=gtx965m-clevo-readback-20261103.rom",
"ide0": "none,media=cdrom",
"ide2": "none,media=cdrom",
"machine": "pc-q35-11.0",
"memory": "8192",
"meta": "creation-qemu=11.0.0,ctime=1792722917",
"name": "win10-test",
"net0": "virtio=BC:24:11:B4:01:43,bridge=vmbr0,firewall=1",
"numa": "0",
"onboot": "1",
"ostype": "win10",
"sata0": "local-lvm:base-100-disk-0,size=60G",
"scsihw": "virtio-scsi-single",
"smbios1": "uuid=52fd3777-0bb4-40a7-8136-b02c40947a11",
"sockets": "1",
"template": "0",
"vmgenid": "a1963978-050f-4b3c-8c9a-7a4d13d72f43"
},
"status": "prepared; not applied"
}
EXIT 0
@@ -0,0 +1,13 @@
status: running
{
"vm": 100,
"device_present": false,
"channels": [],
"usb": " Device 0.1, Port 1, Speed 480 Mb/s, Product QEMU USB Tablet, ID: tablet\r\n",
"vm_status": {
"status": "running",
"running": true
}
}
EXIT 0
@@ -0,0 +1,8 @@
SHUTDOWN_REQUEST 0 {
"exitcode" : 0,
"exited" : 1
}
VM_STOPPED_NORMALLY
EXIT 0
@@ -0,0 +1,62 @@
{␍
"time": "2026-11-05T09:29:55.1484833+08:00",␍
"user": "DESKTOP-Q072ICM\\test",␍
"tray": [␍
{␍
"class": "Shell_TrayWnd",␍
"name": "",␍
"items": [␍
{␍
"name": "开始",␍
"type": "ControlType.Pane",␍
"class": "Start"␍
},␍
{␍
"name": "搜索突出显示图标打开搜索主页窗口",␍
"type": "ControlType.Pane",␍
"class": "DynamicContent1"␍
},␍
{␍
"name": "在此键入进行搜索",␍
"type": "ControlType.Pane",␍
"class": "Button"␍
},␍
{␍
"name": "任务视图",␍
"type": "ControlType.Pane",␍
"class": "TrayButton"␍
},␍
{␍
"name": "运行中的应用程序",␍
"type": "ControlType.Pane",␍
"class": "MSTaskSwWClass"␍
},␍
{␍
"name": "运行中的应用程序",␍
"type": "ControlType.Pane",␍
"class": "MSTaskListWClass"␍
},␍
{␍
"name": "用户提示通知区域",␍
"type": "ControlType.Pane",␍
"class": "ToolbarWindow32"␍
},␍
{␍
"name": "任务栏输入指示",␍
"type": "ControlType.Pane",␍
"class": "TrayInputIndicatorWClass"␍
},␍
{␍
"name": "系统时钟, 9:29, ‎2026/‎11/‎5",␍
"type": "ControlType.Pane",␍
"class": "TrayClockWClass"␍
},␍
{␍
"name": "操作中心,3 个新通知",␍
"type": "ControlType.Pane",␍
"class": "TrayButton"␍
}␍
]␍
}␍
]␍
}␍
@@ -0,0 +1,64 @@
{␍
"time": "2026-11-05T09:27:06.7691671+08:00",␍
"processes": [␍
"ApplicationFrameHost",␍
"ChsIME",␍
"conhost",␍
"csrss",␍
"ctfmon",␍
"DefenderSessionHelper",␍
"dllhost",␍
"dwm",␍
"explorer",␍
"FileCoAuth",␍
"fontdrvhost",␍
"M365Copilot",␍
"msedge",␍
"msedgewebview2",␍
"NVDisplay.Container",␍
"OneDrive",␍
"PhoneExperienceHost",␍
"powershell",␍
"RuntimeBroker",␍
"SearchApp",␍
"SecurityHealthSystray",␍
"ShellExperienceHost",␍
"sihost",␍
"StartMenuExperienceHost",␍
"sunshine",␍
"svchost",␍
"SystemSettings",␍
"TabTip",␍
"taskhostw",␍
"TextInputHost",␍
"UserOOBEBroker",␍
"winlogon"␍
],␍
"user": "DESKTOP-Q072ICM\\test",␍
"windows": [␍
{␍
"Id": 6208,␍
"ProcessName": "ApplicationFrameHost",␍
"SessionId": 1,␍
"MainWindowTitle": "设置"␍
},␍
{␍
"Id": 6256,␍
"ProcessName": "explorer",␍
"SessionId": 1,␍
"MainWindowTitle": ""␍
},␍
{␍
"Id": 8684,␍
"ProcessName": "SystemSettings",␍
"SessionId": 1,␍
"MainWindowTitle": "设置"␍
},␍
{␍
"Id": 4652,␍
"ProcessName": "TextInputHost",␍
"SessionId": 1,␍
"MainWindowTitle": "Microsoft Text Input Application"␍
}␍
]␍
}␍
@@ -0,0 +1,107 @@
{␍
"boot": "2026-11-05T09:28:17.5000000+08:00",␍
"devices": [␍
{␍
"name": "Red Hat VirtIO Ethernet Adapter",␍
"status": "OK",␍
"instance": "PCI\\VEN_1AF4\u0026DEV_1000\u0026SUBSYS_00011AF4\u0026REV_00\\5\u0026226B9205\u00260\u00269008F0",␍
"capabilities": 0␍
},␍
{␍
"name": "Standard SATA AHCI Controller",␍
"status": "OK",␍
"instance": "PCI\\VEN_8086\u0026DEV_2922\u0026SUBSYS_11001AF4\u0026REV_02\\3\u002611583659\u00261\u0026FA",␍
"capabilities": 0␍
},␍
{␍
"name": "NVIDIA GeForce GTX 965M",␍
"status": "OK",␍
"instance": "PCI\\VEN_10DE\u0026DEV_13D9\u0026SUBSYS_65571558\u0026REV_A1\\4\u00263335B6E8\u00260\u002600E0",␍
"capabilities": 0␍
},␍
{␍
"name": "VirtIO Serial Driver",␍
"status": "OK",␍
"instance": "PCI\\VEN_1AF4\u0026DEV_1003\u0026SUBSYS_00031AF4\u0026REV_00\\5\u0026226B9205\u00260\u00264008F0",␍
"capabilities": 0␍
},␍
{␍
"name": "Standard SATA AHCI Controller",␍
"status": "OK",␍
"instance": "PCI\\VEN_8086\u0026DEV_2922\u0026SUBSYS_11001AF4\u0026REV_02\\5\u0026226B9205\u00260\u00263808F0",␍
"capabilities": 0␍
}␍
],␍
"ip": [␍
{␍
"InterfaceAlias": "以太网",␍
"IPAddress": "192.168.1.70"␍
},␍
{␍
"InterfaceAlias": "Loopback Pseudo-Interface 1",␍
"IPAddress": "127.0.0.1"␍
}␍
],␍
"disk": [␍
{␍
"Number": 0,␍
"FriendlyName": "QEMU HARDDISK",␍
"OperationalStatus": "Online",␍
"HealthStatus": "Healthy",␍
"IsBoot": true,␍
"BusType": "SATA"␍
}␍
],␍
"ejectOrRemovable": [␍
{␍
"InstanceId": "SWD\\PRINTENUM\\{E254A0CC-C950-4956-A2C8-6CBC391E11FE}",␍
"Data": 244␍
},␍
{␍
"InstanceId": "{6FDE7547-1B65-48AE-B628-80BE62016026}\\VIOSERIALPORT\\6\u0026201398F9\u00260\u002601",␍
"Data": 230␍
},␍
{␍
"InstanceId": "DISPLAY\\MTT1337\\1\u002623323A80\u00260\u0026UID256",␍
"Data": 228␍
},␍
{␍
"InstanceId": "DISPLAY\\DEFAULT_MONITOR\\4\u002618756DEA\u00260\u0026UID0",␍
"Data": 228␍
},␍
{␍
"InstanceId": "SWD\\PRINTENUM\\{FEA805B9-BFF7-40E5-A50E-37CBA79B87D2}",␍
"Data": 244␍
},␍
{␍
"InstanceId": "USB\\VID_0627\u0026PID_0001\\28754-0000:00:1D.7-1",␍
"Data": 148␍
},␍
{␍
"InstanceId": "SWD\\PRINTENUM\\{FAA68C95-DAED-418D-BBBF-DE2DAD0E10B9}",␍
"Data": 244␍
},␍
{␍
"InstanceId": "SWD\\PRINTENUM\\{5B90D326-0123-4713-9B92-00DC0665DA58}",␍
"Data": 244␍
},␍
{␍
"InstanceId": "SWD\\PRINTENUM\\{FD12D2CE-A457-4909-9B7D-3CFB018A7323}",␍
"Data": 244␍
}␍
],␍
"time": "2026-11-05T09:29:02.2662944+08:00",␍
"sunshine": [␍
{␍
"Id": 5764,␍
"SessionId": 1␍
}␍
],␍
"gpu": [␍
{␍
"Name": "NVIDIA GeForce GTX 965M",␍
"ConfigManagerErrorCode": 0␍
}␍
],␍
"user": "DESKTOP-Q072ICM\\test"␍
}
@@ -0,0 +1 @@
{"vm": 101, "exitcode": 0, "out-data": "{\"action\": \"apply\", \"user\": \"test1\", \"backend\": \"pkla\", \"path\": \"/etc/polkit-1/localauthority/90-mandatory.d/99-vdi-power.pkla\", \"backup\": \"/var/lib/vdi/power-policy\", \"policy_matches\": true, \"dbus_policy_matches\": true, \"dbus_denials\": {\"PowerOff\": {\"code\": 1, \"error\": \"\\u001b[0;1;31mCall failed: Access denied\\u001b[0m\"}, \"Reboot\": {\"code\": 1, \"error\": \"\\u001b[0;1;31mCall failed: Access denied\\u001b[0m\"}, \"Halt\": {\"code\": 1, \"error\": \"\\u001b[0;1;31mCall failed: Access denied\\u001b[0m\"}, \"Suspend\": {\"code\": 1, \"error\": \"\\u001b[0;1;31mCall failed: Access denied\\u001b[0m\"}, \"Hibernate\": {\"code\": 1, \"error\": \"\\u001b[0;1;31mCall failed: Access denied\\u001b[0m\"}, \"HybridSleep\": {\"code\": 1, \"error\": \"\\u001b[0;1;31mCall failed: Access denied\\u001b[0m\"}, \"SuspendThenHibernate\": {\"code\": 1, \"error\": \"\\u001b[0;1;31mCall failed: Access denied\\u001b[0m\"}, \"ScheduleShutdown\": {\"code\": 1, \"error\": \"\\u001b[0;1;31mCall failed: Access denied\\u001b[0m\"}}, \"boot_id\": \"6c83a4b3-eae9-45eb-94f2-43bb372c44a2\", \"capabilities\": {\"CanPowerOff\": {\"code\": 1, \"value\": \"\", \"error\": \"\\u001b[0;1;31mCall failed: Access denied\\u001b[0m\"}, \"CanReboot\": {\"code\": 1, \"value\": \"\", \"error\": \"\\u001b[0;1;31mCall failed: Access denied\\u001b[0m\"}, \"CanHalt\": {\"code\": 1, \"value\": \"\", \"error\": \"\\u001b[0;1;31mCall failed: Access denied\\u001b[0m\"}, \"CanSuspend\": {\"code\": 1, \"value\": \"\", \"error\": \"\\u001b[0;1;31mCall failed: Access denied\\u001b[0m\"}, \"CanHibernate\": {\"code\": 1, \"value\": \"\", \"error\": \"\\u001b[0;1;31mCall failed: Access denied\\u001b[0m\"}, \"CanHybridSleep\": {\"code\": 1, \"value\": \"\", \"error\": \"\\u001b[0;1;31mCall failed: Access denied\\u001b[0m\"}, \"CanSuspendThenHibernate\": {\"code\": 1, \"value\": \"\", \"error\": \"\\u001b[0;1;31mCall failed: Access denied\\u001b[0m\"}}}\n", "exited": 1}
@@ -0,0 +1 @@
{"vm": 101, "exited": 1, "out-data": "{\"action\": \"query\", \"user\": \"test1\", \"backend\": \"pkla\", \"path\": \"/etc/polkit-1/localauthority/90-mandatory.d/99-vdi-power.pkla\", \"backup\": \"/var/lib/vdi/power-policy\", \"policy_matches\": true, \"dbus_policy_matches\": true, \"dbus_denials\": {}, \"boot_id\": \"6c83a4b3-eae9-45eb-94f2-43bb372c44a2\", \"capabilities\": {\"CanPowerOff\": {\"code\": 1, \"value\": \"\", \"error\": \"\\u001b[0;1;31mCall failed: Access denied\\u001b[0m\"}, \"CanReboot\": {\"code\": 1, \"value\": \"\", \"error\": \"\\u001b[0;1;31mCall failed: Access denied\\u001b[0m\"}, \"CanHalt\": {\"code\": 1, \"value\": \"\", \"error\": \"\\u001b[0;1;31mCall failed: Access denied\\u001b[0m\"}, \"CanSuspend\": {\"code\": 1, \"value\": \"\", \"error\": \"\\u001b[0;1;31mCall failed: Access denied\\u001b[0m\"}, \"CanHibernate\": {\"code\": 1, \"value\": \"\", \"error\": \"\\u001b[0;1;31mCall failed: Access denied\\u001b[0m\"}, \"CanHybridSleep\": {\"code\": 1, \"value\": \"\", \"error\": \"\\u001b[0;1;31mCall failed: Access denied\\u001b[0m\"}, \"CanSuspendThenHibernate\": {\"code\": 1, \"value\": \"\", \"error\": \"\\u001b[0;1;31mCall failed: Access denied\\u001b[0m\"}}}\n", "exitcode": 0}
@@ -0,0 +1 @@
{"vm": 102, "exitcode": 0, "out-data": "{\"action\": \"apply\", \"user\": \"test2\", \"backend\": \"rules\", \"path\": \"/etc/polkit-1/rules.d/00-vdi-power.rules\", \"backup\": \"/var/lib/vdi/power-policy\", \"policy_matches\": true, \"dbus_policy_matches\": true, \"dbus_denials\": {\"PowerOff\": {\"code\": 1, \"error\": \"Call failed: Access denied\"}, \"Reboot\": {\"code\": 1, \"error\": \"Call failed: Access denied\"}, \"Halt\": {\"code\": 1, \"error\": \"Call failed: Access denied\"}, \"Suspend\": {\"code\": 1, \"error\": \"Call failed: Access denied\"}, \"Hibernate\": {\"code\": 1, \"error\": \"Call failed: Access denied\"}, \"HybridSleep\": {\"code\": 1, \"error\": \"Call failed: Access denied\"}, \"SuspendThenHibernate\": {\"code\": 1, \"error\": \"Call failed: Access denied\"}, \"ScheduleShutdown\": {\"code\": 1, \"error\": \"Call failed: Access denied\"}}, \"boot_id\": \"b82ac3c5-f2ee-454f-971b-d3e2a64d990b\", \"capabilities\": {\"CanPowerOff\": {\"code\": 1, \"value\": \"\", \"error\": \"Call failed: Access denied\"}, \"CanReboot\": {\"code\": 1, \"value\": \"\", \"error\": \"Call failed: Access denied\"}, \"CanHalt\": {\"code\": 1, \"value\": \"\", \"error\": \"Call failed: Access denied\"}, \"CanSuspend\": {\"code\": 1, \"value\": \"\", \"error\": \"Call failed: Access denied\"}, \"CanHibernate\": {\"code\": 1, \"value\": \"\", \"error\": \"Call failed: Access denied\"}, \"CanHybridSleep\": {\"code\": 1, \"value\": \"\", \"error\": \"Call failed: Access denied\"}, \"CanSuspendThenHibernate\": {\"code\": 1, \"value\": \"\", \"error\": \"Call failed: Access denied\"}}}\n", "exited": 1}
@@ -0,0 +1 @@
{"vm": 102, "exited": 1, "out-data": "{\"action\": \"query\", \"user\": \"test2\", \"backend\": \"rules\", \"path\": \"/etc/polkit-1/rules.d/00-vdi-power.rules\", \"backup\": \"/var/lib/vdi/power-policy\", \"policy_matches\": true, \"dbus_policy_matches\": true, \"dbus_denials\": {}, \"boot_id\": \"b82ac3c5-f2ee-454f-971b-d3e2a64d990b\", \"capabilities\": {\"CanPowerOff\": {\"code\": 1, \"value\": \"\", \"error\": \"Call failed: Access denied\"}, \"CanReboot\": {\"code\": 1, \"value\": \"\", \"error\": \"Call failed: Access denied\"}, \"CanHalt\": {\"code\": 1, \"value\": \"\", \"error\": \"Call failed: Access denied\"}, \"CanSuspend\": {\"code\": 1, \"value\": \"\", \"error\": \"Call failed: Access denied\"}, \"CanHibernate\": {\"code\": 1, \"value\": \"\", \"error\": \"Call failed: Access denied\"}, \"CanHybridSleep\": {\"code\": 1, \"value\": \"\", \"error\": \"Call failed: Access denied\"}, \"CanSuspendThenHibernate\": {\"code\": 1, \"value\": \"\", \"error\": \"Call failed: Access denied\"}}}\n", "exitcode": 0}
@@ -0,0 +1,17 @@
[
{
"vm": 100,
"status": "running",
"uptime": 1736
},
{
"vm": 101,
"status": "running",
"uptime": 27815
},
{
"vm": 102,
"status": "running",
"uptime": 112734
}
]
@@ -0,0 +1,5 @@
{
"exited": 1,
"out-data": "{\"user\": \"test1\", \"graphical_subject\": \"1257,635,1000\", \"polkit_active_session\": {\"power-off\": {\"exitcode\": 1, \"error\": \"Not authorized.\"}, \"reboot\": {\"exitcode\": 0, \"error\": \"\"}, \"suspend\": {\"exitcode\": 1, \"error\": \"Not authorized.\"}, \"hibernate\": {\"exitcode\": 1, \"error\": \"Not authorized.\"}}, \"dbus_invalid_signature_denial_probes\": {\"PowerOff\": {\"exitcode\": 1, \"error\": \"\\u001b[0;1;31mCall failed: Access denied\\u001b[0m\"}, \"Reboot\": {\"exitcode\": 1, \"error\": \"\\u001b[0;1;31mCall failed: Access denied\\u001b[0m\"}}, \"sunshine\": \"active\", \"boot_id\": \"6c83a4b3-eae9-45eb-94f2-43bb372c44a2\", \"root_can_poweroff\": \"s \\\"yes\\\"\"}\n",
"exitcode": 0
}
@@ -0,0 +1,5 @@
{
"exitcode": 0,
"out-data": "{\"user\": \"test2\", \"graphical_subject\": \"7174,7356579,1000\", \"polkit_active_session\": {\"power-off\": {\"exitcode\": 1, \"error\": \"Not authorized.\"}, \"reboot\": {\"exitcode\": 0, \"error\": \"\"}, \"suspend\": {\"exitcode\": 1, \"error\": \"Not authorized.\"}, \"hibernate\": {\"exitcode\": 1, \"error\": \"Not authorized.\"}}, \"dbus_invalid_signature_denial_probes\": {\"PowerOff\": {\"exitcode\": 1, \"error\": \"Call failed: Access denied\"}, \"Reboot\": {\"exitcode\": 1, \"error\": \"Call failed: Access denied\"}}, \"sunshine\": \"active\", \"boot_id\": \"b82ac3c5-f2ee-454f-971b-d3e2a64d990b\", \"root_can_poweroff\": \"s \\\"yes\\\"\"}\n",
"exited": 1
}
@@ -0,0 +1 @@
{"vm": 100, "exitcode": 0, "out-truncated": 0, "exited": 1, "out-data": "{\"Action\":\"Apply\",\"User\":\"DESKTOP-Q072ICM\\\\test\",\"Sid\":\"S-1-5-21-911627089-847994065-1864506460-1003\",\"NoClose\":1,\"Backup\":\"C:\\\\ProgramData\\\\VDI\\\\power-policy\\\\original.clixml\",\"EffectiveShellNoClose\":1,\"LastBoot\":\"2026-11-04T20:31:16.5000000+08:00\",\"Scope\":\"Desktop power menus only; privileged administration remains available\"}\r\n"}
@@ -0,0 +1 @@
{"vm": 100, "exitcode": 0, "exited": 1, "out-truncated": 0, "out-data": "{\"Action\":\"Query\",\"User\":\"DESKTOP-Q072ICM\\\\test\",\"Sid\":\"S-1-5-21-911627089-847994065-1864506460-1003\",\"NoClose\":1,\"Backup\":\"C:\\\\ProgramData\\\\VDI\\\\power-policy\\\\original.clixml\",\"EffectiveShellNoClose\":1,\"LastBoot\":\"2026-11-04T20:31:16.5000000+08:00\",\"Scope\":\"Desktop power menus only; privileged administration remains available\"}\r\n"}
@@ -0,0 +1,9 @@
盒子过夜观察汇总
记录启用时间:2026-11-04T19:35:05+08:00
最近记录时间:2026-11-04T19:40:14+08:00
记录启用后重启次数:0
当前启动编号:afb6a02f-ba7c-478a-8704-c78a993d23c6
当前开机时长(秒):38110.05
最近一次重启判断:观察期间尚未发现重启
详细数据见同目录 overnight-health-YYYYMMDD.log;每分钟更新。
服务重启不计为盒子重启;无故障证据时不推断具体断电原因。
@@ -0,0 +1,15 @@
backup=/home/armbian/vdi-terminal/backups/overnight-observer-20261104-193449
active
enabled
盒子过夜观察汇总
记录启用时间:2026-11-04T19:35:05+08:00
最近记录时间:2026-11-04T19:35:05+08:00
记录启用后重启次数:0
当前启动编号:afb6a02f-ba7c-478a-8704-c78a993d23c6
当前开机时长(秒):37801.74
最近一次重启判断:观察期间尚未发现重启
详细数据见同目录 overnight-health-YYYYMMDD.log;每分钟更新。
服务重启不计为盒子重启;无故障证据时不推断具体断电原因。
11月 04 19:35:06 rk3528pro-ddr4 sshd[17776]: error: connect_to 127.0.0.1 port 40001: failed.
11月 04 19:35:07 rk3528pro-ddr4 sudo[147206]: armbian : PWD=/home/armbian ; USER=root ; COMMAND=/usr/bin/journalctl --directory /var/log/journal -n 3 --no-pager
11月 04 19:35:07 rk3528pro-ddr4 sudo[147206]: pam_unix(sudo:session): session opened for user root(uid=0) by armbian(uid=1000)
@@ -0,0 +1,15 @@
backup=/home/armbian/vdi-terminal/backups/overnight-observer-20261104-193726
active
enabled
盒子过夜观察汇总
记录启用时间:2026-11-04T19:35:05+08:00
最近记录时间:2026-11-04T19:37:45+08:00
记录启用后重启次数:0
当前启动编号:afb6a02f-ba7c-478a-8704-c78a993d23c6
当前开机时长(秒):37961.73
最近一次重启判断:观察期间尚未发现重启
详细数据见同目录 overnight-health-YYYYMMDD.log;每分钟更新。
服务重启不计为盒子重启;无故障证据时不推断具体断电原因。
11月 04 19:37:46 rk3528pro-ddr4 sshd[17776]: error: connect_to 127.0.0.1 port 40001: failed.
11月 04 19:37:47 rk3528pro-ddr4 sudo[149828]: armbian : PWD=/home/armbian ; USER=root ; COMMAND=/usr/bin/journalctl --directory /var/log/journal -n 3 --no-pager
11月 04 19:37:47 rk3528pro-ddr4 sudo[149828]: pam_unix(sudo:session): session opened for user root(uid=0) by armbian(uid=1000)
@@ -0,0 +1 @@
backup=/home/armbian/vdi-terminal/backups/overnight-observer-20261104-193329
@@ -0,0 +1,24 @@
NRestarts=0
MemoryCurrent=8458240
CPUUsageNSec=1036254000
ActiveState=active
SubState=running
UnitFileState=enabled
盒子过夜观察汇总
记录启用时间:2026-11-04T19:35:05+08:00
最近记录时间:2026-11-04T19:40:14+08:00
记录启用后重启次数:0
当前启动编号:afb6a02f-ba7c-478a-8704-c78a993d23c6
当前开机时长(秒):38110.05
最近一次重启判断:观察期间尚未发现重启
详细数据见同目录 overnight-health-YYYYMMDD.log;每分钟更新。
服务重启不计为盒子重启;无故障证据时不推断具体断电原因。
{"time": "2026-11-04T19:40:14+08:00", "event": "boot_evidence", "kernel": "6.1.115-vendor-rk35xx", "journal": {"code": 0, "text": "IDX BOOT ID FIRST ENTRY LAST ENTRY\n 0 afb6a02fba7c478a8704c78a993d23c6 Wed 2026-11-04 16:23:46 CST Wed 2026-11-04 19:40:13 CST\n", "error": ""}, "pstore": {"captured_at": "2026-11-04T19:40:13.613122+08:00", "boot_id": "afb6a02f-ba7c-478a-8704-c78a993d23c6", "sources": {"/sys/fs/pstore": {}, "/var/lib/systemd/pstore": {"console-ramoops-0": {"mtime": 1751465072.0266666, "text": "[ 2674.563324] reboot: Restarting system\n", "truncated": false}}}}, "watchdog_bootstatus": {}}
{"time": "2026-11-04T19:40:14+08:00", "event": "sample", "boot_id": "afb6a02f-ba7c-478a-8704-c78a993d23c6", "reboots": 0, "uptime_seconds": 38110.05, "load": ["1.52", "1.34", "1.21"], "memory": {"MemTotal": "4014636 kB", "MemAvailable": "3039748 kB", "SwapFree": "2007316 kB"}, "temperatures_c": {"thermal_zone0": 62.704}, "processes": [{"pid": 2162, "name": "vdi-kiosk-monitor"}, {"pid": 92843, "name": "kiosk-shell"}, {"pid": 137139, "name": "moonlight", "host": "192.168.1.70", "resolution": "2560x1440", "fps": "45"}], "display": {"code": 0, "text": "Screen 0: minimum 320 x 200, current 2560 x 1440, maximum 16384 x 16384\nHDMI-1 disconnected primary 2560x1440+0+0 (normal left inverted right x axis y axis) 0mm x 0mm", "error": ""}, "network": {"wlan0": {"operstate": "up", "rx_errors": "0", "tx_errors": "0"}, "end0": {"operstate": "down", "rx_errors": "0", "tx_errors": "0"}}, "root_available_mb": 22944}
137139 /home/armbian/vdi-build/rkmpp-experiment/build/moonlight/app/moonlight stream 192.168.1.70 Desktop --resolution 2560x1440 --fps 45 --bitrate 30000 --display-mode fullscreen --video-codec H.264 --video-decoder hardware --absolute-mouse --keep-awake --no-vsync --no-frame-pacing --audio-on-host
active
root:root 755 /usr/local/libexec/vdi-observer-pstore
root:systemd-journal 640 /var/lib/vdi-observer/pstore.json
armbian:armbian 600 /home/armbian/vdi-terminal/state/overnight-state.json
TARGET SOURCE FSTYPE OPTIONS
/var/log.hdd /dev/mmcblk1p2[/var/log] ext4 rw,relatime,errors=remount-ro,commit=120
@@ -0,0 +1,16 @@
test_baseline_zero_reboots (test_overnight_observer.RebootEvidence.test_baseline_zero_reboots) ... ok
test_boot_change_preserves_last_heartbeat (test_overnight_observer.RebootEvidence.test_boot_change_preserves_last_heartbeat) ... ok
test_daily_rollover_uses_each_event_date (test_overnight_observer.RebootEvidence.test_daily_rollover_uses_each_event_date) ... ok
test_durable_state_and_chinese_report (test_overnight_observer.RebootEvidence.test_durable_state_and_chinese_report) ... ok
test_invalid_state_preserved (test_overnight_observer.RebootEvidence.test_invalid_state_preserved) ... ok
test_multiple_boots_and_history_bound (test_overnight_observer.RebootEvidence.test_multiple_boots_and_history_bound) ... ok
test_only_changed_pstore_is_a_new_clue (test_overnight_observer.RebootEvidence.test_only_changed_pstore_is_a_new_clue) ... ok
test_oom_is_a_clue_not_a_proven_reboot_cause (test_overnight_observer.RebootEvidence.test_oom_is_a_clue_not_a_proven_reboot_cause) ... ok
test_orderly_shutdown_requires_real_markers (test_overnight_observer.RebootEvidence.test_orderly_shutdown_requires_real_markers) ... ok
test_service_restart_is_not_box_reboot (test_overnight_observer.RebootEvidence.test_service_restart_is_not_box_reboot) ... ok
test_unknown_reason_is_not_reported_as_power_loss (test_overnight_observer.RebootEvidence.test_unknown_reason_is_not_reported_as_power_loss) ... ok
----------------------------------------------------------------------
Ran 11 tests in 0.053s
OK