From nobody Sat Sep 18 11:15:45 2021 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 123A317C88CF for ; Sat, 18 Sep 2021 11:16:12 +0000 (UTC) (envelope-from jsm@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HBStg6Mbgz3scf for ; Sat, 18 Sep 2021 11:16:11 +0000 (UTC) (envelope-from jsm@FreeBSD.org) Received: from freebsd2.freebsd.lan (mail.northatlanticmusicsupplies.com [212.237.182.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: jsm) by smtp.freebsd.org (Postfix) with ESMTPSA id 760DD267FE for ; Sat, 18 Sep 2021 11:16:11 +0000 (UTC) (envelope-from jsm@FreeBSD.org) To: freebsd-arm@freebsd.org From: Jesper Schmitz Mouridsen Subject: Pinebook pro IOMMU enabled crashes Message-ID: <5434fca8-4f88-2e76-6977-2de150536915@FreeBSD.org> Date: Sat, 18 Sep 2021 13:15:45 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-ThisMailContainsUnwantedMimeParts: N Hi Perhaps this one https://www.mail-archive.com/svn-src-head@freebsd.org/msg126068.html is giving troubles? main-n249225-f673cc5edac3-dirty nvme0: at device 0.0 on pci1 Fatal data abort: x0: 0 x1: 1000 x2: 10040 x3: 2000 x4: 1 x5: ffff00009a7a0168 x6: 1d00000000000000 x7: 10000000000000 x8: 1168 x9: 1 x10: 0 x11: ffff000000f35140 x12: ffff000000f350c0 x13: 1 x14: 10000 x15: 1 x16: 10000 x17: ffff000000f350dc x18: ffff00000110d180 x19: ffff00000110d248 x20: 0 x21: ffff00009a79f000 x22: ffffa000010b0a00 x23: ffffa000010a2880 x24: ffffa0000116da00 x25: ffff000000b4fd78 x26: ffffa0000116db00 x27: ffff000000e83000 x28: 7 x29: ffff00000110d190 sp: ffff00000110d180 lr: ffff00000077520c elr: ffff0000007a03ac spsr: 200000c5 far: 0 esr: 96000004 panic: vm_fault failed: ffff0000007a03ac error 1 cpuid = 0 time = 1 KDB: stack backtrace: db_trace_self() at db_trace_self db_trace_self_wrapper() at db_trace_self_wrapper+0x30 vpanic() at vpanic+0x184 panic() at panic+0x44 data_abort() at data_abort+0x23c handle_el1h_sync() at handle_el1h_sync+0x78 --- exception, esr 0x96000004 iommu_map_msi() at iommu_map_msi+0x20 gicv3_iommu_init() at gicv3_iommu_init+0x4c intr_alloc_msix() at intr_alloc_msix+0x13c rk_pcie_alloc_msix() at rk_pcie_alloc_msix+0xfc pci_alloc_msix_method() at pci_alloc_msix_method+0x1a8 nvme_pci_attach() at nvme_pci_attach+0x378 device_attach() at device_attach+0x400 device_probe_and_attach() at device_probe_and_attach+0x7c bus_generic_attach() at bus_generic_attach+0x18 pci_attach() at pci_attach+0xe8 device_attach() at device_attach+0x400 device_probe_and_attach() at device_probe_and_attach+0x7c bus_generic_attach() at bus_generic_attach+0x18 device_attach() at device_attach+0x400 device_probe_and_attach() at device_probe_and_attach+0x7c bus_generic_attach() at bus_generic_attach+0x18 pci_attach() at pci_attach+0xe8 device_attach() at device_attach+0x400 device_probe_and_attach() at device_probe_and_attach+0x7c bus_generic_attach() at bus_generic_attach+0x18 rk_pcie_attach() at rk_pcie_attach+0x14cc device_attach() at device_attach+0x400 device_probe_and_attach() at device_probe_and_attach+0x7c bus_generic_new_pass() at bus_generic_new_pass+0xf8 bus_generic_new_pass() at bus_generic_new_pass+0xa8 bus_generic_new_pass() at bus_generic_new_pass+0xa8 bus_set_pass() at bus_set_pass+0x4c mi_startup() at mi_startup+0x12c virtdone() at virtdone+0x6c