Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp6799937ioo; Thu, 2 Jun 2022 14:06:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxuWIDFSgLb3sXJEZtlo8j3+O4d4A2k+CQHXpswU6hnbik5VxJFbTkHkLAhJVJhex1D6GvX X-Received: by 2002:a17:90a:5d03:b0:1e0:90f5:3799 with SMTP id s3-20020a17090a5d0300b001e090f53799mr42355514pji.227.1654204004827; Thu, 02 Jun 2022 14:06:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654204004; cv=none; d=google.com; s=arc-20160816; b=vKJnimiZuSGrE0b5nq4u+QhwjpSMzCHvheJD1u+LPF5HwRgW4K/UaG3OyNxTXL8wWN arjqYyiRhtAxDm2VhL25FfXTrWicIyXEBX77ZZP7ctXZyCVhx6+5vKNYk56YocZ1e6JL Br16TWq+7G7//SxkwLh+ofdhJ1H7O4W/7Udu/cHMBAJKPsg3F9eagYAoJ7cYxZ4SU3N4 LdJF9+Vee9gcZxHU2ss6YGKcPf0/QjrkXxaIT3eIj98sQbnbvs9hUZ9zo+4dvdsxBDy7 fK12Gc2oN0roYY8p2S6aqdXoScVdPMfTaD22JykyqpPgIF8gRLiTQE7x1ckdJHPeNGmN QSNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:message-id:in-reply-to :date:references:organization:subject:cc:to:from:dkim-signature; bh=xvrmGoPDMmeyUoOh9BOgIZMja2mDb+4aNBw/vxALQyk=; b=IRRs9dsUOn0mCEQv+Kq7y8iLoWf3ICebkh/XSN7I3lo4q/EMqAR8h7PJYbRZowcCWH OfeXs0E+UMm1sDFbzKRYg8mWv2LskD76Sz7G93LNjzi7EiIwlLIiq+xoJjyrjAA0w+Ym YSE00QOrVgx5XDkWqXIU0rsYGCtcgZpVuxgQwo1Q6W2tU39BMAPuSF5oVSYi6OHaVs3c vYtCqeMwsYrC6Bn15EnqskHdm8YCfio5O4Z8XmcRVl9K1ezl5rB15LrFyjuxUJrOVec/ hLUbq32THvlMnjpGr5Hw1R4QogwQoHN3aGF20mXF3NWYJWxVTeUXQxV2ANXxoTMEl3C5 zGrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=oR75TZam; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bb22-20020a17090b009600b001dc54892bcbsi6779237pjb.147.2022.06.02.14.06.29; Thu, 02 Jun 2022 14:06:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=oR75TZam; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237703AbiFBRrT (ORCPT + 99 others); Thu, 2 Jun 2022 13:47:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60300 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237692AbiFBRrK (ORCPT ); Thu, 2 Jun 2022 13:47:10 -0400 Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk [46.235.227.227]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9D078DF90 for ; Thu, 2 Jun 2022 10:47:08 -0700 (PDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: krisman) with ESMTPSA id 0A4E71F448FB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1654192027; bh=jjzgjBu4o0gFqYsRSsZNho2KmjMT0qTwI0gwRlJQGY8=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=oR75TZamq4WJni7EaJyHeb/PKfXed+nPEsucr8Nra8oYXTKnFkP0xprOERTQUoRwd hjm8+wENx5PJiiDpjiDcLXNJh+0b9a7PFwqYsdKkMPdUnJPbGcY9OhZ8uE1grL8tQw QiddwlhVp5AJNt9tqOA4q4XOAbY2FUKixvJl06F7mbyr1N2h8fXl1bu+MuEpLIdj+K 4WZD48hMxjxkp4sPZDlRkwooOqP+8dLgUqMnYa2AgA3k2aX31F4/ni830tPw52+aEJ goOhhk5f/5Xk3xv2pHpiCnXE8Vs3aAjDuQYfmwjHipqsM0bkirEobT5KZ4XZJFyQ+2 qMQ9lm2Tx4Qig== From: Gabriel Krisman Bertazi To: "Stephen E. Baker" Cc: linux-ext4@vger.kernel.org Subject: Re: simplify ext4_sb_read_encoding regression Organization: Collabora References: <87sfor85j1.fsf@collabora.com> Date: Thu, 02 Jun 2022 13:47:03 -0400 In-Reply-To: (Stephen E. Baker's message of "Mon, 30 May 2022 18:27:29 -0400") Message-ID: <874k13t0tk.fsf@collabora.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org "Stephen E. Baker" writes: > On Mon, May 30, 2022 at 10:21 AM Gabriel Krisman Bertazi > wrote: >> >> "Stephen E. Baker" writes: >> >> > Hello, >> > >> > I have a Samsung Chromebook Plus (rk3399-gru-kevin) which boots linux >> > off an external ssd plugged into USB. The root filesystem is ext4 with >> > unicode support, case folding is enabled only on some directories in >> > my home directory. >> > >> > Since 5.17 the system has been unbootable. I ran a git bisect and it >> > pointed to aa8bf298a96acaaaa3af07d09cf7ffeb9798e48a ext4: simplify >> > ext4_sb_read_encoding >> >> Hi Stephen, >> >> This series moved the UTF-8 data tables to a kernel module; before it, >> the module had to be built-in. >> >> Since you have your rootfs as a case-insensitive filesystem, either the >> utf8data module needs to be available in the initramfs or unicode >> needs to be built-in. Are you building your own kernel? >> >> Can you confirm that utf8data.ko exists in your initramfs, and >> regenerate it if missing? Alternatively, make sure that you have >> CONFIG_UNICODE=y in your kernel configuration file. >> > Thanks Gabriel, I've verified that CONFIG_UNICODE=y, as well as > CONFIG_UNICODE_UTF8_DATA which exists in this patch for that > purpose, though it was removed earlier. Thanks for checking. Indeed, UNICODE_UTF8_DATA was just transitional, and went away right before being part of a release. CONFIG_UNICODE=y should have adressed it, if it was a problem with module not being available early enough. > >> If that doesn't work, can you provide the kernel log? If you can't >> collect the console output, a photo of the screen displaying the error >> will suffice. >> > I don't have any output to provide unfortunately. It fails before the > backlight turns on, and nothing is written to disk. I seem to remember > that someone else at Collabora had figured out a way to get a serial > console on this device - perhaps Tomeu. I'm not equipped for that > personally, particularly if it involves soldering. I'm following the discussion with Ted on the other subthread, but I don't have anything to add at the moment other than what is already said. Nothing stands out on that commit specifically and I couldn't reproduce it in a vm. I've reached out to Tomeu to get my hands on that exact chromebook, to try to reproduce it there. I will report back with my findings. -- Gabriel Krisman Bertazi