Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp4380131ioo; Tue, 31 May 2022 03:11:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyJ8/leAx2wKHWsjYSi8exiCUyB5Tv2iNjB/0gj1yLxuqzQ5wlJTwYhsh/0g72PBFhiG9WY X-Received: by 2002:a17:906:358a:b0:6f4:2903:417e with SMTP id o10-20020a170906358a00b006f42903417emr53995147ejb.592.1653991869913; Tue, 31 May 2022 03:11:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653991869; cv=none; d=google.com; s=arc-20160816; b=GslSQNJb0k4ZhhhG01oYNYIaCAgX51vtZctehMe2lulf6czL+oOWNsPJE2xCKvut1m +SChqfw0mBIG/mzeBtw1qzsREflfFISx0XWqvMxF63EHqqDNXSX/iYeJK7EA2joOoDLd rUP29P+6a599G6rt16/wafOy6z73p8yN4fmDsEvt0vUPFcsM20Zj+vLZqDNhZs8NjHCl H0Tgy/R1qe3uNgNxikuM7vPvqI9FKfb6654IR3hKxkyuQF8SjX9EbgcB3H1T1wZCXMgr mMcjal4VGaO1yAecSOZBLjWPcrMthRANgxQQwExeLh0ri5EYo6Gvp+XkTHtDG26fYocg oeaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=WD4VQ+NgwBnKN85w6k7WNytbDRjxaD1PpngEWX1Y+qM=; b=WNro2O8vK2RLHhfpgQwAl6MPjuo/aD4k0JSkt51s7UPeJswLeUin9T2rX+61nQ+NhB ksq2wCHIabruGroQ2lekD4Jeb0gWPV17ha+/kP2tNLngfFw+S0OmoidEFdm+hWBv5gpj KDtcRUzwOdaxRGatzwM6HI8Ex3/8AZ5qqUiPl2x3YrcaTo5ne3CAfJjOQy7aAgSSFx0g zQ/v/1ankr4V3swU1W2PPxSLwB2DP5uXHoYQ+/9m6Jf10xlaUgEnXaAg39/2HzMIODGn iBe8nRGpE+5d7E9VAlfYbK8UoApxkDqwh3/pJ1NdRpJ6NZoT75VaWtL74zH1ApEQ6PCI X8xA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=EbwBIROA; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cs11-20020a170906dc8b00b006ff472158e2si9963742ejc.290.2022.05.31.03.10.45; Tue, 31 May 2022 03:11:09 -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=@gmail.com header.s=20210112 header.b=EbwBIROA; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232789AbiE3W1r (ORCPT + 99 others); Mon, 30 May 2022 18:27:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46104 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243298AbiE3W1o (ORCPT ); Mon, 30 May 2022 18:27:44 -0400 Received: from mail-oa1-x33.google.com (mail-oa1-x33.google.com [IPv6:2001:4860:4864:20::33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 95242443E4 for ; Mon, 30 May 2022 15:27:42 -0700 (PDT) Received: by mail-oa1-x33.google.com with SMTP id 586e51a60fabf-e93bbb54f9so15946843fac.12 for ; Mon, 30 May 2022 15:27:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=WD4VQ+NgwBnKN85w6k7WNytbDRjxaD1PpngEWX1Y+qM=; b=EbwBIROAuGnSTHJcQsvx2mreAHyHkQI1gKxrzLp53LlOEsHCCX9MwobealLPfPbo9p 8Ypd/Pu+NjIvYReaLpAENEXqfU9kufzXEUhFGKbDbxpjwabU5rhj8cO3W8IR9JAC6d82 1+X8/T1Dl+Kc05YBM0EWPGCFQ6CNXBIKHj5UcO+XyjAwzlSUIg2/SWR1OGB86CoQlnEj zscZWjAemOY3h4MuNbBwnk153XR502ZeIrn7DW7BymnZ5+sr4zNmRFEKZK3Up9AtY3r7 RJUhL0UhrnzWwLaieZjyWRQ0bR3fqZsZU6qQAg5rW+qjmIvRDICiqWgjRqgTXndj0JUH SkhA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=WD4VQ+NgwBnKN85w6k7WNytbDRjxaD1PpngEWX1Y+qM=; b=mwaCBmswRaduZu1LbW/m1y5ycYR0Fe/zOKCWpTRuCnk4+M9F1yrj4ltlYY85zrrPBO /Ai0NpZrCr94vlb0irmRjeFakUJ+I11EBANcFb+YPJVZybCr5YnQBRlCOmXxVyg+gHXP T+LssfvmWEYUOgrPOxycFCsyqjerbj3XWwz4O/u5KGPToyp20yX+KZ2LZAIKU5QkZ5Wi LwrgJdZMcKlYIoDB1eMWDQjN6DnE5O5OHGIujLV5C/DLycxxsWo3osHA+Yw8amie1ole KnlmUAWVH9H84FSdJZlC7xD0w33ffDEriBqW+8Pldm/uROwI881ABeWWSYolUtQlvLFp T60w== X-Gm-Message-State: AOAM531SDRnq8owPrviQnaHgqH1HPaJI4N3F0bJsjzJb5hdjx2mIA1WG uWPLwzDUNMjiAiO6ZK9xUZ4eg5XhO1ZeHzmx069roKcrbEE= X-Received: by 2002:a05:6870:79a:b0:e9:109a:1391 with SMTP id en26-20020a056870079a00b000e9109a1391mr11442592oab.105.1653949660944; Mon, 30 May 2022 15:27:40 -0700 (PDT) MIME-Version: 1.0 References: <87sfor85j1.fsf@collabora.com> In-Reply-To: <87sfor85j1.fsf@collabora.com> From: "Stephen E. Baker" Date: Mon, 30 May 2022 18:27:29 -0400 Message-ID: Subject: Re: simplify ext4_sb_read_encoding regression To: Gabriel Krisman Bertazi Cc: linux-ext4@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 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. > 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. > > Thank you! > > -- > Gabriel Krisman Bertazi