1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
|
id = 949
title = "M1 MacOS Panic with qemu version 6.2.0"
state = "closed"
created_at = "2022-03-30T10:16:33.564Z"
closed_at = "2022-04-05T09:37:27.016Z"
labels = ["accel: HVF", "hostos: macOS", "target: arm"]
url = "https://gitlab.com/qemu-project/qemu/-/issues/949"
host-os = "macOS Monterrey version 12.2.1"
host-arch = "ARM"
qemu-version = "QEMU emulator version 6.2.0`"
guest-os = "Debian 11"
guest-arch = "ARM"
description = """After running the command above, the macbook freeze and reboots, here is the stacktrace:
```
panic(cpu 2 caller 0xfffffe001748de90): vm_fault() KERN_FAILURE from guest fault on state 0xfffffe600c57c000 @sleh.c:3091
Debugger message: panic
Memory ID: 0x1
OS release type: User
OS version: 21D62
Kernel version: Darwin Kernel Version 21.3.0: Wed Jan 5 21:37:58 PST 2022; root:xnu-8019.80.24~20/RELEASE_ARM64_T6000
Fileset Kernelcache UUID: FA4EB485BA9DC1EBAA5D0E80232A48CC
Kernel UUID: BADF56F4-2876-3FF4-AC12-F25E78B09AA1
iBoot version: iBoot-7429.81.3
secure boot?: YES
Paniclog version: 13
KernelCache slide: 0x000000000f9e8000
KernelCache base: 0xfffffe00169ec000
Kernel slide: 0x000000001021c000
Kernel text base: 0xfffffe0017220000
Kernel text exec slide: 0x0000000010304000
Kernel text exec base: 0xfffffe0017308000
mach_absolute_time: 0x2c74ea4beb
Epoch Time: sec usec
Boot : 0x62437319 0x0002a603
Sleep : 0x62441e87 0x00018bb3
Wake : 0x62442289 0x00044ebb
Calendar: 0x62442c00 0x000ccb26
Zone info:
Foreign : 0xfffffe001fb94000 - 0xfffffe001fba8000
Native : 0xfffffe10001a8000 - 0xfffffe30001a8000
Readonly : 0xfffffe14cce74000 - 0xfffffe1666808000
Metadata : 0xfffffe62f056c000 - 0xfffffe62fc4f0000
Bitmaps : 0xfffffe62fc4f0000 - 0xfffffe6302084000
CORE 0 PVH locks held: None
CORE 1 PVH locks held: None
CORE 2 PVH locks held: None
CORE 3 PVH locks held: None
CORE 4 PVH locks held: None
CORE 5 PVH locks held: None
CORE 6 PVH locks held: None
CORE 7 PVH locks held: None
CORE 0: PC=0xfffffe001738ef4c, LR=0xfffffe001738ef4c, FP=0xfffffe60ba06bef0
CORE 1: PC=0xfffffe001738ef4c, LR=0xfffffe001738ef4c, FP=0xfffffe60b7003ef0
CORE 2 is the one that panicked. Check the full backtrace for details.
CORE 3: PC=0xfffffe001738ef50, LR=0xfffffe001738ef4c, FP=0xfffffe600c773ef0
CORE 4: PC=0xfffffe001738ef50, LR=0xfffffe001738ef4c, FP=0xfffffe60a4dabef0
CORE 5: PC=0xfffffe001738ef50, LR=0xfffffe001738ef4c, FP=0xfffffe600c683ef0
CORE 6: PC=0xfffffe001738ef50, LR=0xfffffe001738ef4c, FP=0xfffffe60a5553ef0
CORE 7: PC=0xfffffe001738ef4c, LR=0xfffffe001738ef4c, FP=0xfffffe60b7ae3ef0
Panicked task 0xfffffe2997ce2d48: 24310 pages, 11 threads: pid 12708: qemu-system-aarc
Panicked thread: 0xfffffe1ffd861860, backtrace: 0xfffffe600c5c3300, tid: 97347
\t\t lr: 0xfffffe001735a4e8 fp: 0xfffffe600c5c3370
\t\t lr: 0xfffffe001735a1b8 fp: 0xfffffe600c5c33e0
\t\t lr: 0xfffffe001749a2bc fp: 0xfffffe600c5c3400
\t\t lr: 0xfffffe001748c6c8 fp: 0xfffffe600c5c3480
\t\t lr: 0xfffffe001748a118 fp: 0xfffffe600c5c3540
\t\t lr: 0xfffffe001730f7f8 fp: 0xfffffe600c5c3550
\t\t lr: 0xfffffe0017359e2c fp: 0xfffffe600c5c38f0
\t\t lr: 0xfffffe0017359e2c fp: 0xfffffe600c5c3960
\t\t lr: 0xfffffe0017b6d738 fp: 0xfffffe600c5c3980
\t\t lr: 0xfffffe001748de90 fp: 0xfffffe600c5c39e0
\t\t lr: 0xfffffe001748da14 fp: 0xfffffe600c5c3a50
\t\t lr: 0xfffffe001731a828 fp: 0xfffffe600c5c3a60
\t\t lr: 0xfffffe00174a222c fp: 0xfffffe600c5c3e50
\t\t lr: 0xfffffe001748a530 fp: 0xfffffe600c5c3f10
\t\t lr: 0xfffffe001730f7f8 fp: 0xfffffe600c5c3f20
last started kext at 861542788: com.apple.driver.driverkit.serial\t6.0.0 (addr 0xfffffe00170fced0, size 3432)
loaded kexts:
com.apple.fileutil\t20.036.15
com.apple.filesystems.autofs\t3.0
com.apple.driver.AppleBiometricServices\t1
com.apple.driver.CoreKDL\t1
com.apple.driver.AppleTopCaseHIDEventDriver\t5020.1
com.apple.driver.DiskImages.ReadWriteDiskImage\t493.0.0
com.apple.driver.DiskImages.UDIFDiskImage\t493.0.0
com.apple.driver.DiskImages.RAMBackingStore\t493.0.0
com.apple.driver.DiskImages.FileBackingStore\t493.0.0
com.apple.driver.SEPHibernation\t1
com.apple.driver.BCMWLANFirmware4387.Hashstore\t1
com.apple.filesystems.apfs\t1933.80.3
com.apple.driver.AppleUSBDeviceNCM\t5.0.0
com.apple.driver.AppleThunderboltIP\t4.0.3
com.apple.driver.AppleFileSystemDriver\t3.0.1
com.apple.nke.l2tp\t1.9
com.apple.filesystems.tmpfs\t1
com.apple.filesystems.lifs\t1
com.apple.IOTextEncryptionFamily\t1.0.0
com.apple.filesystems.hfs.kext\t582.60.2
com.apple.security.BootPolicy\t1
com.apple.BootCache\t40
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib\t1.0.0
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless\t1.0.0d1
com.apple.AppleEmbeddedSimpleSPINORFlasher\t1
com.apple.driver.ApplePMP\t1
com.apple.driver.AppleCS42L84Audio\t530.2
com.apple.driver.AppleSmartIO2\t1
com.apple.driver.AppleSN012776Amp\t530.2
com.apple.driver.AppleT6000SOCTuner\t1
com.apple.driver.AppleT6000CLPCv3\t1
com.apple.driver.AppleSmartBatteryManager\t161.0.0
com.apple.driver.AppleALSColorSensor\t1.0.0d1
com.apple.driver.AppleAOPVoiceTrigger\t100.1
com.apple.driver.ApplePMPFirmware\t1
com.apple.driver.AppleSPMIPMU\t1.0.1
com.apple.driver.AppleM68Buttons\t1.0.0d1
com.apple.driver.AppleSDXC\t3.1.1
com.apple.driver.AppleSamsungSerial\t1.0.0d1
com.apple.driver.AppleSerialShim\t1
com.apple.AGXG13X\t188.10
com.apple.driver.AppleAVD\t555
com.apple.driver.AppleAVE2\t530.3.0
com.apple.driver.AppleJPEGDriver\t4.7.9
com.apple.driver.AppleProResHW\t128.2.0
com.apple.driver.AppleMobileDispT600X-DCP\t140.0
com.apple.driver.usb.AppleSynopsysUSB40XHCI\t1
com.apple.driver.AppleMCDP29XXUpdateSupport\t1
com.apple.driver.AppleDPDisplayTCON\t1
com.apple.driver.AppleEventLogHandler\t1
com.apple.driver.AppleS5L8960XNCO\t1
com.apple.driver.AppleT6000PMGR\t1
com.apple.driver.AppleS8000AES\t1
com.apple.driver.AppleS8000DWI\t1.0.0d1
com.apple.driver.AppleInterruptControllerV2\t1.0.0d1
com.apple.driver.AppleT8110DART\t1
com.apple.driver.AppleBluetoothModule\t1
com.apple.driver.AppleBCMWLANBusInterfacePCIe\t1
com.apple.driver.AppleS5L8920XPWM\t1.0.0d1
com.apple.driver.AudioDMAController-T600x\t100.51
com.apple.driver.AppleT6000DART\t1
com.apple.driver.AppleSPIMC\t1
com.apple.driver.AppleS5L8940XI2C\t1.0.0d2
com.apple.driver.AppleT6000\t1
com.apple.iokit.IOUserEthernet\t1.0.1
com.apple.driver.usb.AppleUSBUserHCI\t1
com.apple.iokit.IOKitRegistryCompatibility\t1
com.apple.iokit.EndpointSecurity\t1
com.apple.driver.AppleDiskImages2\t126.60.3
com.apple.AppleSystemPolicy\t2.0.0
com.apple.nke.applicationfirewall\t402
com.apple.kec.InvalidateHmac\t1
com.apple.kec.AppleEncryptedArchive\t1
com.apple.driver.driverkit.serial\t6.0.0
com.apple.kext.triggers\t1.0
com.apple.iokit.IOAVBFamily\t1010.2
com.apple.plugin.IOgPTPPlugin\t1000.11
com.apple.iokit.IOEthernetAVBController\t1.1.0
com.apple.driver.AppleMesaSEPDriver\t100.99
com.apple.iokit.IOBiometricFamily\t1
com.apple.driver.AppleHIDKeyboard\t228
com.apple.driver.AppleActuatorDriver\t5430.21
com.apple.driver.AppleMultitouchDriver\t5430.21
com.apple.driver.AppleHSBluetoothDriver\t5020.1
com.apple.driver.IOBluetoothHIDDriver\t9.0.0
com.apple.driver.DiskImages.KernelBacked\t493.0.0
com.apple.driver.AppleSEPHDCPManager\t1.0.1
com.apple.driver.AppleTrustedAccessory\t1
com.apple.iokit.AppleSEPGenericTransfer\t1
com.apple.driver.AppleXsanScheme\t3
com.apple.driver.usb.networking\t5.0.0
com.apple.driver.AppleThunderboltUSBDownAdapter\t1.0.4
com.apple.driver.AppleThunderboltPCIDownAdapter\t4.1.1
com.apple.driver.AppleThunderboltDPInAdapter\t8.5.1
com.apple.driver.AppleThunderboltDPAdapterFamily\t8.5.1
com.apple.nke.ppp\t1.9
com.apple.driver.AppleBSDKextStarter\t3
com.apple.filesystems.hfs.encodings.kext\t1
com.apple.driver.AppleConvergedIPCOLYBTControl\t1
com.apple.driver.AppleConvergedPCI\t1
com.apple.driver.AppleBluetoothDebug\t1
com.apple.driver.AppleBTM\t1.0.1
com.apple.driver.AppleHIDTransportSPI\t5400.30
com.apple.driver.AppleHIDTransport\t5400.30
com.apple.driver.AppleInputDeviceSupport\t5400.30
com.apple.driver.AppleDCPDPTXProxy\t1.0.0
com.apple.driver.DCPDPFamilyProxy\t1
com.apple.driver.AppleDiagnosticDataAccessReadOnly\t1.0.0
com.apple.driver.AppleCSEmbeddedAudio\t530.2
com.apple.driver.ApplePassthroughPPM\t3.0
com.apple.driver.AppleAOPAudio\t102.2
com.apple.driver.AppleEmbeddedAudio\t530.2
com.apple.iokit.AppleARMIISAudio\t100.1
com.apple.driver.AppleSPU\t1
com.apple.AGXFirmwareKextG13XRTBuddy\t188.10
com.apple.AGXFirmwareKextRTBuddy64\t188.10
com.apple.driver.AppleStockholmControl\t1.0.0
com.apple.iokit.IONVMeFamily\t2.1.0
com.apple.driver.AppleNANDConfigAccess\t1.0.0
com.apple.driver.AppleDialogPMU\t1.0.1
com.apple.driver.usb.AppleUSBHostPacketFilter\t1.0
com.apple.iokit.IOGPUFamily\t35.11
com.apple.driver.DCPAVFamilyProxy\t1
com.apple.iokit.IOMobileGraphicsFamily-DCP\t343.0.0
com.apple.driver.AppleDCP\t1
com.apple.driver.AppleFirmwareKit\t1
com.apple.iokit.IOMobileGraphicsFamily\t343.0.0
com.apple.driver.AppleSPMI\t1.0.1
com.apple.driver.AppleUSBXDCIARM\t1.0
com.apple.driver.AppleUSBXDCI\t1.0
com.apple.iokit.IOUSBDeviceFamily\t2.0.0
com.apple.driver.usb.AppleSynopsysUSBXHCI\t1
com.apple.driver.usb.AppleUSBXHCI\t1.2
com.apple.driver.AppleEmbeddedUSBHost\t1
com.apple.driver.usb.AppleUSBHub\t1.2
com.apple.driver.usb.AppleUSBHostCompositeDevice\t1.2
com.apple.driver.AppleT6000TypeCPhy\t1
com.apple.driver.AppleT8103TypeCPhy\t1
com.apple.driver.AppleHPM\t3.4.4
com.apple.driver.AppleSART\t1
com.apple.driver.ApplePMGR\t1
com.apple.driver.AppleARMWatchdogTimer\t1
com.apple.driver.AppleDisplayCrossbar\t1.0.0
com.apple.iokit.IODisplayPortFamily\t1.0.0
com.apple.driver.AppleTypeCPhy\t1
com.apple.driver.AppleThunderboltNHI\t7.2.8
com.apple.driver.AppleT6000PCIeC\t1
com.apple.iokit.IOThunderboltFamily\t9.3.3
com.apple.driver.ApplePIODMA\t1
com.apple.driver.AppleT600xPCIe\t1
com.apple.driver.AppleMultiFunctionManager\t1
com.apple.driver.AppleBluetoothDebugService\t1
com.apple.driver.AppleBCMWLANCore\t1.0.0
com.apple.iokit.IO80211Family\t1200.12.2b1
com.apple.driver.IOImageLoader\t1.0.0
com.apple.driver.AppleOLYHAL\t1
com.apple.driver.corecapture\t1.0.4
com.apple.driver.AppleEmbeddedPCIE\t1
com.apple.driver.AppleMCA2-T600x\t600.95
com.apple.driver.AppleEmbeddedAudioLibs\t100.9.1
com.apple.driver.AppleFirmwareUpdateKext\t1
com.apple.driver.AppleH13CameraInterface\t4.87.0
com.apple.driver.AppleH10PearlCameraInterface\t17.0.3
com.apple.driver.AppleGPIOICController\t1.0.2
com.apple.driver.AppleFireStormErrorHandler\t1
com.apple.driver.AppleMobileApNonce\t1
com.apple.iokit.IOTimeSyncFamily\t1000.11
com.apple.driver.DiskImages\t493.0.0
com.apple.iokit.IOGraphicsFamily\t593
com.apple.iokit.IOBluetoothSerialManager\t9.0.0
com.apple.iokit.IOBluetoothHostControllerUSBTransport\t9.0.0
com.apple.iokit.IOBluetoothHostControllerUARTTransport\t9.0.0
com.apple.iokit.IOBluetoothHostControllerTransport\t9.0.0
com.apple.driver.IOBluetoothHostControllerPCIeTransport\t9.0.0
com.apple.iokit.IOBluetoothFamily\t9.0.0
com.apple.driver.FairPlayIOKit\t68.13.1
com.apple.iokit.CSRBluetoothHostControllerUSBTransport\t9.0.0
com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport\t9.0.0
com.apple.driver.AppleSSE\t1.0
com.apple.driver.AppleSEPKeyStore\t2
com.apple.driver.AppleUSBTDM\t532.40.7
com.apple.iokit.IOUSBMassStorageDriver\t209.40.6
com.apple.iokit.IOPCIFamily\t2.9
com.apple.iokit.IOSCSIBlockCommandsDevice\t452.60.2
com.apple.iokit.IOSCSIArchitectureModelFamily\t452.60.2
com.apple.driver.AppleIPAppender\t1.0
com.apple.driver.AppleFDEKeyStore\t28.30
com.apple.driver.AppleEffaceableStorage\t1.0
com.apple.driver.AppleCredentialManager\t1.0
com.apple.driver.KernelRelayHost\t1
com.apple.iokit.IOUSBHostFamily\t1.2
com.apple.driver.AppleUSBHostMergeProperties\t1.2
com.apple.driver.usb.AppleUSBCommon\t1.0
com.apple.driver.AppleSMC\t3.1.9
com.apple.driver.RTBuddy\t1.0.0
com.apple.driver.AppleEmbeddedTempSensor\t1.0.0
com.apple.driver.AppleARMPMU\t1.0
com.apple.iokit.IOAccessoryManager\t1.0.0
com.apple.driver.AppleOnboardSerial\t1.0
com.apple.iokit.IOSkywalkFamily\t1.0
com.apple.driver.mDNSOffloadUserClient\t1.0.1b8
com.apple.iokit.IONetworkingFamily\t3.4
com.apple.iokit.IOSerialFamily\t11
com.apple.driver.AppleSEPManager\t1.0.1
com.apple.driver.AppleA7IOP\t1.0.2
com.apple.driver.IOSlaveProcessor\t1
com.apple.driver.AppleBiometricSensor\t2
com.apple.iokit.IOHIDFamily\t2.0.0
com.apple.iokit.CoreAnalyticsFamily\t1
com.apple.driver.AppleANELoadBalancer\t5.35.2
com.apple.driver.AppleH11ANEInterface\t5.35.0
com.apple.AUC\t1.0
com.apple.iokit.IOAVFamily\t1.0.0
com.apple.iokit.IOHDCPFamily\t1.0.0
com.apple.iokit.IOCECFamily\t1
com.apple.iokit.IOAudio2Family\t1.0
com.apple.driver.AppleIISController\t100.1
com.apple.driver.AppleAudioClockLibs\t100.9.1
com.apple.driver.AppleM2ScalerCSCDriver\t265.0.0
com.apple.iokit.IOSurface\t302.11.1
com.apple.driver.IODARTFamily\t1
com.apple.security.quarantine\t4
com.apple.security.sandbox\t300.0
com.apple.kext.AppleMatch\t1.0.0d1
com.apple.driver.AppleMobileFileIntegrity\t1.0.5
com.apple.security.AppleImage4\t4.2.0
com.apple.kext.CoreTrust\t1
com.apple.iokit.IOCryptoAcceleratorFamily\t1.0.1
com.apple.driver.AppleARMPlatform\t1.0.2
com.apple.iokit.IOStorageFamily\t2.1
com.apple.iokit.IOSlowAdaptiveClockingFamily\t1.0.0
com.apple.iokit.IOReportFamily\t47
com.apple.kec.pthread\t1
com.apple.kec.Libm\t1
com.apple.kec.corecrypto\t12.0
** Stackshot Succeeded ** Bytes Traced 456730 (Uncompressed 1205472) **
```"""
reproduce = """1. run the qemu command above"""
additional = """"""
|