From nobody Wed Feb 23 17:45:21 2022 X-Original-To: bugs@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 C61E719E7FDA for ; Wed, 23 Feb 2022 17:45:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4K3k2n4QZ3z3FKF for ; Wed, 23 Feb 2022 17:45:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 747731C5F5 for ; Wed, 23 Feb 2022 17:45:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 21NHjLmi094283 for ; Wed, 23 Feb 2022 17:45:21 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 21NHjLss094282 for bugs@FreeBSD.org; Wed, 23 Feb 2022 17:45:21 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 262157] Kernel panic on fsck with SU+J Date: Wed, 23 Feb 2022 17:45:21 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: a127@lostcreations.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645638321; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=orITIWFEv9J3J7f0SZVx4E3KU3OY3iu8hUvgOGgYFV0=; b=l6jBVTNU4Xi1A7zbOFFzMtJ2hwQMqM4dGtx8yLQi63UCQZMJEh5tFjYbunuNeGT28XRr2J NhBzh9qegPDgeJfWcJAX7k4+RKx+bqVdzQ0/KekN+s9lbsZ6a3/apAYIPQrm0C6cAcKAEz KsIcLDIp+cPwzg35KPzGdeZVRxH3MSUfz2hYGA7IwlYcoN1mHX6qInWirN6S+CRCEa29jk ALjM6tDOqY7j03tycQc3ior8CUe+nK+tKqrhky72caw0lFHGfOtDY1MgvkDj46gU6qYT63 bIDqwampq5KczQBJUbBqeMcM4+5yJDQd12KWAeFbuoYbuyrGyIcLeMzEkv85+Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1645638321; a=rsa-sha256; cv=none; b=AkTH5F/OOR+8Lq20ZprTl3IUFyJsbXv0xUrSlWsJcsO+jJKxTOoym8TUfmx5pALqv0fn5z xNNVQpDRO5ZLfA/NOuNuEL/0oojDIwHQ4eDZTGwAiDmzBpjY4BufhbQ1nEy4+kpYO2cXcn 3hR/STUmNPpjAKfAh9x2d1Gcr9P+Humt7N6AtSvIVoQEVW65IOILtywasMLAOiKX2+6v6R Bgnzc0XsKTtnfbfLVAhLpFTcx1EU9eJLoMhBpr8qcvjOiA357MrDQaN/SEJcvi9Z9YIkUB ppDI82wurLWnCM8juos39pS7rS1nUCzjmjXqGH54pRWSmuYsXqhjsz82uOklzA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262157 Bug ID: 262157 Summary: Kernel panic on fsck with SU+J Product: Base System Version: 13.0-RELEASE Hardware: arm64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: a127@lostcreations.org Compiled RELENG/13.0 with crochet, flashed the image onto a SD card, and bo= oted an Orange Pi Zero Plus (Allwinner H5, http://www.orangepi.org/OrangePiZeroPlus/). Ran freebsd-update fetch & install afterwards. While extracting Python 3.8, system hung; after reboot, the filesystem was broken: mmc0: on aw_mmc1 mmc0: No compatible cards found on bus aw_mmc1: Spurious interrupt - no active request, rint: 0x00000004 mmc1: on aw_mmc0 mmcsd0: 64GB at mmc1 50.0MHz/4bit/32768-block mmc1: Failed to set VCCQ for card at relative address 43690 uhub2: 1 port with 1 removable, self powered uhub4: 1 port with 1 removable, self powered mountroot: waiting for device /dev/mmcsd0s2a... WARNING: / was not properly dismounted Setting hostuuid: 30633238-3030-3130-6462-623536366366. Setting hostid: 0x005c1ace. Starting file system checks: ** SU+J Recovering /dev/mmcsd0s2a ** Reading 4194304 byte journal from inode 4. aw_mmc0: prepare_dma failed: 27 aw_mmc0: controller timeout aw_mmc0: timeout updating clock mmcsd0: Error indicated: 1 Timeout /dev/mmcsd0s2a: Error reading journal block 41408 /dev/mmcsd0s2a: UNEXPECTED SU+J INCONSISTENCY /dev/mmcsd0s2a: INTERNAL ERROR: GOT TO reply() /dev/mmcsd0s2a: UNEXPECTED SOFT UPDATE INCONSISTENCY; RUN fsck MANUALLY. aw_mmc0: controller timeout aw_mmc0: timeout updating clock mmcsd0: Error indicated: 1 Timeout aw_mmc0: controller timeout aw_mmc0: timeout updating clock mmcsd0: Error indicated: 1 Timeout aw_mmc0: controller timeout Booting into Single User mode and running fsck resulted in a kernel panic: mmc1: on aw_mmc0 mmcsd0: 64GB at mmc1 50.0MHz/4bit/32768-block mmc1: Failed to set VCCQ for card at relative address 43690 uhub1: 1 port with 1 removable, self powered uhub0: 1 port with 1 removable, self powered mountroot: waiting for device /dev/mmcsd0s2a... Enter full pathname of shell or RETURN for /bin/sh:=20 root@:/ # fsck -y / ** /dev/mmcsd0s2a ** SU+J Recovering /dev/mmcsd0s2a USE JOURNAL? yes ** Reading 4194304 byte journal from inode 4. aw_mmc0: prepare_dma failed: 27 aw_mmc0: controller timeout aw_mmc0: timeout updating clock mmcsd0: Error indicated: 1 Timeout Error reading journal block 41408 UNEXPECTED SU+J INCONSISTENCY FALLBACK TO FULL FSCK? yes ** Skipping journal, falling through to full fsck aw_mmc0: controller timeout aw_mmc0: timeout updating clock mmcsd0: Error indicated: 1 Timeout ** Last Mounted on / ** Root file system ** Phase 1 - Check Blocks and Sizes aw_mmc0: controller timeout aw_mmc0: timeout updating clock mmcsd0: Error indicated: 1 Timeout CANNOT READ BLK:panic: vm_fault_lookup: fault on nofault entry, addr: 0xffff000044189000 cpuid =3D 2 time =3D 1645555374 KDB: stack backtrace: #0 0xffff00000050d058 at kdb_backtrace+0x60 #1 0xffff0000004b7228 at vpanic+0x184 #2 0xffff0000004b70a0 at panic+0x44 #3 0xffff00000077f790 at vm_fault+0x1964 #4 0xffff00000077dd48 at vm_fault_trap+0x9c #5 0xffff000000824c48 at data_abort+0xf4 #6 0xffff000000805078 at handle_el1h_sync+0x78 #7 0xffff000000802164 at bounce_bus_dmamap_sync+0x22c #8 0xffff0000007bd0d0 at aw_mmc_request+0x3ec #9 0xffff000000203ed4 at mmc_wait_for_request+0x128 #10 0xffff00000020d3f4 at mmcsd_rw+0x1a8 #11 0xffff00000020bf0c at mmcsd_task+0x284 #12 0xffff0000004677ec at fork_exit+0x88 #13 0xffff000000823ae8 at fork_trampoline+0x10 Uptime: 1m14s I then disabled journaling, and the system is running fine since then. --=20 You are receiving this mail because: You are the assignee for the bug.=