From nobody Wed Aug 17 09:10:30 2022 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 4M72L90BMdz4Ys3D for ; Wed, 17 Aug 2022 09:10:41 +0000 (UTC) (envelope-from soumar@soudny.net) Received: from schrodinger.soudny.net (schrodinger.soudny.net [46.28.108.130]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4M72L75cqFz3sRr for ; Wed, 17 Aug 2022 09:10:39 +0000 (UTC) (envelope-from soumar@soudny.net) Received: from [192.168.111.10] (unknown [213.94.77.251]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) (Authenticated sender: marek@soudny.net) by schrodinger.soudny.net (Postfix) with ESMTPSA id EDA032F3CE for ; Wed, 17 Aug 2022 11:10:31 +0200 (CEST) Message-ID: <15b7779f-db37-efd7-69ba-378636b93017@soudny.net> Date: Wed, 17 Aug 2022 11:10:30 +0200 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 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0 To: freebsd-arm Reply-To: soumar@soudny.net Content-Language: en-US From: Marek Soudny Subject: kernel: Fatal data abort - issue on rpi4 Organization: soudny.net Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4M72L75cqFz3sRr X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of soumar@soudny.net designates 46.28.108.130 as permitted sender) smtp.mailfrom=soumar@soudny.net X-Spamd-Result: default: False [-3.30 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; DMARC_NA(0.00)[soudny.net]; HAS_REPLYTO(0.00)[soumar@soudny.net]; R_DKIM_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; MIME_TRACE(0.00)[0:+]; TO_DN_ALL(0.00)[]; ARC_NA(0.00)[]; HAS_ORG_HEADER(0.00)[]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:197019, ipnet:46.28.104.0/21, country:CZ]; TO_MATCH_ENVRCPT_ALL(0.00)[]; REPLYTO_ADDR_EQ_FROM(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N Hello, I am quite new to arm/aarch64. I recently purchased rpi4, burned an sdcard image and have been trying to run it. Time to time (but actually quite often) the box becomes unresponsive. I can not ping it, neither ssh into it. I am running fbsd 13.1-release. The syslog only shows the following: Aug 16 08:27:54 maxwell kernel: Fatal data abort: Aug 16 08:27:54 maxwell kernel: x0: 1 Aug 16 08:27:54 maxwell kernel: x1: 0 Aug 16 08:27:54 maxwell kernel: x2: ffffa00004a99500 Aug 16 08:27:54 maxwell kernel: x3: 13ffffe8e Aug 16 08:27:54 maxwell kernel: x4: ffff0000e00ab4d4 Aug 16 08:27:54 maxwell kernel: x5: ffffa00001319000 Aug 16 08:27:54 maxwell kernel: Aug 16 08:27:54 maxwell kernel: x6: 0 Aug 16 08:27:54 maxwell kernel: x7: 100 Aug 16 08:27:54 maxwell kernel: x8: ffffa00004a99500 Aug 16 08:27:54 maxwell kernel: x9: 0 Aug 16 08:27:54 maxwell kernel: x10: ffff000000c35378 Aug 16 08:27:54 maxwell kernel: x11: 0 Aug 16 08:27:54 maxwell kernel: x12: 1 Aug 16 08:27:54 maxwell kernel: x13: 0 Aug 16 08:27:54 maxwell kernel: x14: 700000000 Aug 16 08:27:54 maxwell kernel: Aug 16 08:27:54 maxwell kernel: x15: 39 Aug 16 08:27:54 maxwell kernel: x16: ffff0000e00c9be0 Aug 16 08:27:54 maxwell kernel: x17: ffff000000614fd4 Aug 16 08:27:54 maxwell kernel: x18: ffff0000dfbf4760 Aug 16 08:27:54 maxwell kernel: Aug 16 08:27:54 maxwell kernel: x19: ffffa00001319198 Aug 16 08:27:54 maxwell kernel: x20: ffffa00001319000 Aug 16 08:27:54 maxwell kernel: x21: ffffa00004d3b800 Aug 16 08:27:54 maxwell kernel: x22: ffffa000013191b8 Aug 16 08:27:54 maxwell kernel: Aug 16 08:27:54 maxwell kernel: x23: ffffa000013190e0 Aug 16 08:27:54 maxwell kernel: x24: ffffa000013191a0 Aug 16 08:27:54 maxwell kernel: x25: ffffa000016e7200 Aug 16 08:27:54 maxwell kernel: x26: ffff0000e009768e Aug 16 08:27:54 maxwell kernel: Aug 16 08:27:54 maxwell kernel: x27: ffffa00004a99500 Aug 16 08:27:54 maxwell kernel: x28: ffffa00004e82d00 Aug 16 08:27:54 maxwell kernel: x29: ffff0000dfbf4770 Aug 16 08:27:54 maxwell kernel: sp: ffff0000dfbf4760 Does it sound familiar? Am I doing something wrong? As it's currently not stable, I can perform any tests with it, if required. I actually found a similar issue https://forums.freebsd.org/threads/fatal-kernel-mode-data-abort-every-2-3-boots-on-raspberry-pi-b.49066/ - do you think it's an sdcard issue? If so, is there a recommended list for purchase new ones? Thank you, Marek