From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6A0DDC4338F for ; Tue, 3 Aug 2021 06:54:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4F2BC60FC2 for ; Tue, 3 Aug 2021 06:54:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234120AbhHCGyr (ORCPT ); Tue, 3 Aug 2021 02:54:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58858 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234082AbhHCGyo (ORCPT ); Tue, 3 Aug 2021 02:54:44 -0400 Received: from mail-oo1-xc29.google.com (mail-oo1-xc29.google.com [IPv6:2607:f8b0:4864:20::c29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8892CC06175F for ; Mon, 2 Aug 2021 23:54:30 -0700 (PDT) Received: by mail-oo1-xc29.google.com with SMTP id o17-20020a4a64110000b0290263e1ba7ff9so4984511ooc.2 for ; Mon, 02 Aug 2021 23:54:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=4oJ/jweDfhBNzYtl7cCA85MSZCoSaUkH+H3AHvOTrdo=; b=Q7T8lrKRMiZFhbrH9Kuj8YjWlp/32J2eatqWjLvhxKq44gIXSIzEQvxjiIZjc3yow+ zEYXSXoLaPPcRGipX/YZKT0Zxh7KLEhgBgFIG1jQCxNqrLPpzdPHEo47vsOHoj5xzz8W dpHISSOI6dWGOyKASL3fgvTNxRG+WQkmLDlv90px5w9kxPskULngQ3jV/T9espPH3S3f pA+Ua687K1nU9mEDWLzhz/cGz70XczyR0ZGS+m+ckoxI/M6yZBon84Yw4hXQIq4Q4UZL FnmMDdvwJbj/EnOqU+ymrGUJz2bMk+igczHoaCX3jWuSWTgV6ZulI/cZCpS4E8jcE3nS lotg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=4oJ/jweDfhBNzYtl7cCA85MSZCoSaUkH+H3AHvOTrdo=; b=mlt/7gXsjtVh8Urg0uDSsM+vgt5rGI9Bf0QzA/wzomhyQL7eekXdYVuN3row3CHdSi aNcpcRxwx+5qi6YAm3v0UMwu/KKuGZNHbBLgoyxhFy2cjN9ykonokjNmR11WXdy1V4Tr G8SGDGWxvhQAlRjzfmPUMBWIgo9NzzLUREvBMOGJtSdhmgXOajZP4xysAg4T7LCka9Rd ggMLPPThXK0S6n6V9mxgWY1w50Ly+1vxShBHENaiOWOydbA7KInNxHuRztl/mX5NNtxH xpgopI6d54KsRxCVlB8+CKD0LeIKzZzMStR7SeJecMyAfsLQfremAskXngVaPFCeaFTL Mc9A== X-Gm-Message-State: AOAM531iAS3URRbXryR8mMlZG19LS1a36lpJ9yuKywD/XFBU9tsO7CbX VwMFbZDcOqx7YOyOYf512iPGYjcTU1Rt76UtjY8= X-Google-Smtp-Source: ABdhPJw/KFzh4RBceTHLwY8pNWrudKwrxWElPQzZu7APABTp0flCbC3wsOnBm6xHXk3rYBJL9ROwC5q00Dp2Iiuka+4= X-Received: by 2002:a4a:5dc6:: with SMTP id w189mr13495446ooa.1.1627973669935; Mon, 02 Aug 2021 23:54:29 -0700 (PDT) MIME-Version: 1.0 References: <20210802112904.110028a4@ws> In-Reply-To: <20210802112904.110028a4@ws> From: Mikael Pettersson Date: Tue, 3 Aug 2021 08:54:18 +0200 Message-ID: Subject: Re: [BISECTED] 5.14.0-rc4 broke drm/ttm when !CONFIG_DEBUG_FS To: Duncan Cc: Daniel Vetter , dri-devel@lists.freedesktop.org, Jason Ekstrand , Linux Kernel list Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 2, 2021 at 8:29 PM Duncan wrote: > > [Not subscribed so please CC me. Manual quoting after using lore's > in-reply-to functionality. First time doing that so hope I got it > right.] > > Mikael Pettersson wrote... > > Booting 5.14.0-rc4 on my box with Radeon graphics breaks with > > > > [drm:radeon_ttm_init [radeon]] *ERROR* failed initializing buffer > > object driver(-19). > > radeon 0000:01:00.0: Fatal error during GPU init > > Seeing this here too. amdgpu on polaris-11, on an old amd-fx6100 > system. > > > after which the screen goes black for the rest of kernel boot > > and early user-space init. > > *NOT* seeing that. However, I have boot messages turned on by default > and I see them as usual, only it stays in vga-console mode instead of > switching to framebuffer after early-boot. I'm guessing MP has a > high-res boot-splash which doesn't work in vga mode, thus the > black-screen until the login shows up. Yes, I have the Fedora boot splash enabled. > > Once the console login shows up the screen is in some legacy low-res > > mode and Xorg can't be started. > > > > A git bisect between v5.14-rc3 (good) and v5.14-rc4 (bad) identified > > > > # first bad commit: [69de4421bb4c103ef42a32bafc596e23918c106f] > > drm/ttm: Initialize debugfs from ttm_global_init() > > > > Reverting that from 5.14.0-rc4 gives me a working kernel again. > > > > Note that I have > > # CONFIG_DEBUG_FS is not set > > That all matches here, including the unset CONFIG_DEBUG_FS and > confirming the revert on 5.14.0-rc4 works. Thanks for the confirmation. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id AF956C4338F for ; Tue, 3 Aug 2021 07:11:10 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 67D0260F56 for ; Tue, 3 Aug 2021 07:11:10 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 67D0260F56 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id A71F16E420; Tue, 3 Aug 2021 07:11:09 +0000 (UTC) Received: from mail-oo1-xc30.google.com (mail-oo1-xc30.google.com [IPv6:2607:f8b0:4864:20::c30]) by gabe.freedesktop.org (Postfix) with ESMTPS id A02156E159 for ; Tue, 3 Aug 2021 06:54:30 +0000 (UTC) Received: by mail-oo1-xc30.google.com with SMTP id s21-20020a4ae5550000b02902667598672bso4977229oot.12 for ; Mon, 02 Aug 2021 23:54:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=4oJ/jweDfhBNzYtl7cCA85MSZCoSaUkH+H3AHvOTrdo=; b=Q7T8lrKRMiZFhbrH9Kuj8YjWlp/32J2eatqWjLvhxKq44gIXSIzEQvxjiIZjc3yow+ zEYXSXoLaPPcRGipX/YZKT0Zxh7KLEhgBgFIG1jQCxNqrLPpzdPHEo47vsOHoj5xzz8W dpHISSOI6dWGOyKASL3fgvTNxRG+WQkmLDlv90px5w9kxPskULngQ3jV/T9espPH3S3f pA+Ua687K1nU9mEDWLzhz/cGz70XczyR0ZGS+m+ckoxI/M6yZBon84Yw4hXQIq4Q4UZL FnmMDdvwJbj/EnOqU+ymrGUJz2bMk+igczHoaCX3jWuSWTgV6ZulI/cZCpS4E8jcE3nS lotg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=4oJ/jweDfhBNzYtl7cCA85MSZCoSaUkH+H3AHvOTrdo=; b=BwDa+x9JU0ZDBKxK1OdiyjjBpbLlVhjNW/oPMQXD3iJssko4zBZOZj67cj26au/Pts nvUiSMelcE+xXIPh61TbqJD4gPqE0e2KdlQnmLDn5BBIaY0U0IaYT0jRnHJx9Ywp57Hz Ur04OPw7s5hHUHUG7i0iOp8cWlx80wcwcP+taoKkiH4l2Y1FcLtyaAGQaQh+FcYo9FpD MkF+adRAs+vcV/8jvGFUPWLoLWz+5T54YPcAg3YWtOcwAWBkP8DxS9Gd3JSFVqCcGnlk qrE4G4tixTZct9f+TMLbKuXq9Y7m/BXw8WiHLLY9JnOx7QvimHKVV3wGhjfG6un2Vwdm sd/Q== X-Gm-Message-State: AOAM530359vgTtz0l9qi6SRaNZtYc5jpSpehBUCcHjs4l1yf7sgsCfbS bB9gaBfsPO2TNBBjS0Soqpc2pKpfocUy9agkBHU= X-Google-Smtp-Source: ABdhPJw/KFzh4RBceTHLwY8pNWrudKwrxWElPQzZu7APABTp0flCbC3wsOnBm6xHXk3rYBJL9ROwC5q00Dp2Iiuka+4= X-Received: by 2002:a4a:5dc6:: with SMTP id w189mr13495446ooa.1.1627973669935; Mon, 02 Aug 2021 23:54:29 -0700 (PDT) MIME-Version: 1.0 References: <20210802112904.110028a4@ws> In-Reply-To: <20210802112904.110028a4@ws> From: Mikael Pettersson Date: Tue, 3 Aug 2021 08:54:18 +0200 Message-ID: Subject: Re: [BISECTED] 5.14.0-rc4 broke drm/ttm when !CONFIG_DEBUG_FS To: Duncan Cc: Daniel Vetter , dri-devel@lists.freedesktop.org, Jason Ekstrand , Linux Kernel list Content-Type: text/plain; charset="UTF-8" X-Mailman-Approved-At: Tue, 03 Aug 2021 07:11:08 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On Mon, Aug 2, 2021 at 8:29 PM Duncan wrote: > > [Not subscribed so please CC me. Manual quoting after using lore's > in-reply-to functionality. First time doing that so hope I got it > right.] > > Mikael Pettersson wrote... > > Booting 5.14.0-rc4 on my box with Radeon graphics breaks with > > > > [drm:radeon_ttm_init [radeon]] *ERROR* failed initializing buffer > > object driver(-19). > > radeon 0000:01:00.0: Fatal error during GPU init > > Seeing this here too. amdgpu on polaris-11, on an old amd-fx6100 > system. > > > after which the screen goes black for the rest of kernel boot > > and early user-space init. > > *NOT* seeing that. However, I have boot messages turned on by default > and I see them as usual, only it stays in vga-console mode instead of > switching to framebuffer after early-boot. I'm guessing MP has a > high-res boot-splash which doesn't work in vga mode, thus the > black-screen until the login shows up. Yes, I have the Fedora boot splash enabled. > > Once the console login shows up the screen is in some legacy low-res > > mode and Xorg can't be started. > > > > A git bisect between v5.14-rc3 (good) and v5.14-rc4 (bad) identified > > > > # first bad commit: [69de4421bb4c103ef42a32bafc596e23918c106f] > > drm/ttm: Initialize debugfs from ttm_global_init() > > > > Reverting that from 5.14.0-rc4 gives me a working kernel again. > > > > Note that I have > > # CONFIG_DEBUG_FS is not set > > That all matches here, including the unset CONFIG_DEBUG_FS and > confirming the revert on 5.14.0-rc4 works. Thanks for the confirmation.