From nobody Thu Sep 23 07:19:21 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 6F04B17C432C for ; Thu, 23 Sep 2021 07:19:23 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mx.blih.net (mail.blih.net [212.83.155.74]) (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 (2048 bits) client-digest SHA256) (Client CN "mx.blih.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HFRP65Hyqz3H5D; Thu, 23 Sep 2021 07:19:22 +0000 (UTC) (envelope-from manu@bidouilliste.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bidouilliste.com; s=mx; t=1632381561; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=pRDysrjp73mdP4oEiyM1OCz8+vYgq7i98lrnio4P2ds=; b=GAVC3lQJRHynzOYAZIbmrBZ79oDrpSEJbOsltUU4EivFZth1UVaoHrnAOL5K3J1oPZVe25 IpR7BkuVmpuKx9+2v1qSS9/rTY/Hu1RdlyK5x8PCFhqSy3rsnXrsGqWBfgEEWpoZt9fUS8 5ekqcUiV8zpv3Szyqz+pE4RUMOioJvo= Received: from skull.home.blih.net (lfbn-idf2-1-644-191.w86-247.abo.wanadoo.fr [86.247.100.191]) by mx.blih.net (OpenSMTPD) with ESMTPSA id 85eab02d (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Thu, 23 Sep 2021 07:19:21 +0000 (UTC) Date: Thu, 23 Sep 2021 09:19:21 +0200 From: Emmanuel Vadot To: Jesper Schmitz Mouridsen Cc: freebsd-arm@freebsd.org Subject: Re: Pinebook pro IOMMU enabled crashes Message-Id: <20210923091921.563b4621a1801975ad52adc7@bidouilliste.com> In-Reply-To: <5434fca8-4f88-2e76-6977-2de150536915@FreeBSD.org> References: <5434fca8-4f88-2e76-6977-2de150536915@FreeBSD.org> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd14.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=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4HFRP65Hyqz3H5D X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bidouilliste.com header.s=mx header.b=GAVC3lQJ; dmarc=pass (policy=none) header.from=bidouilliste.com; spf=pass (mx1.freebsd.org: domain of manu@bidouilliste.com designates 212.83.155.74 as permitted sender) smtp.mailfrom=manu@bidouilliste.com X-Spamd-Result: default: False [-3.50 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[bidouilliste.com:s=mx]; FREEFALL_USER(0.00)[manu]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:212.83.155.74/32:c]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MID_RHS_MATCH_FROM(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; DKIM_TRACE(0.00)[bidouilliste.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[bidouilliste.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:12876, ipnet:212.83.128.0/19, country:FR]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On Sat, 18 Sep 2021 13:15:45 +0200 Jesper Schmitz Mouridsen wrote: > 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 > That's an old commit. Did you see this panic only recently or ? -- Emmanuel Vadot