Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1954604ybt; Mon, 15 Jun 2020 14:00:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJykeYJTAQAjlRWsvlf7cBgbfAfZc1AzAbu7vK+JPa/w5/C3M5Ly1xT/hlqRBeBFP3AMhfPW X-Received: by 2002:aa7:c81a:: with SMTP id a26mr26480148edt.353.1592254808344; Mon, 15 Jun 2020 14:00:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592254808; cv=none; d=google.com; s=arc-20160816; b=abnbBHUGPZUtEzbOpBEEUiNn3Y5YT427uvrrn4oHKSIqsCJGuSQUi5D54AsKD+qULp Q2o/R8jVBw3OoZ34mvNc7sWIMrt9KcVbGzc09/19Kgrj61/BJvUzXcIkDlfdBpZIt0jr SWrTii2mj94jUKgexi0SJ2FqRmvyYeF2FVwgoUpEUoAbh3e7LN7kU41lNhyTJyfIoXH1 XbUxQS1Tf2+eWfhBhPvDymrrMM3UrMWDT9u01FAJvp/Wlz3ubG338saRaDt6XcvcFqFs J8fThg5FdPRbHczMV47XCMOJ5UxRO4tt2F9De5QEsvVCC5GOoMAOC74GnysF68tv1sYt TYNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=66wParxW9Grg3BmLz9POwK3vmAg5lmpdxczfAkn21rk=; b=E/bsKS98ZqpCvuUaDZgUrCkc+4Iy6ooRUn7Da/rA4YjCTv5wPdfQjjqUSlWcQmJdls ph5NWE2U7h2TeaUWHMFnibpidwOrwuxqD+uUirICDveq8YJCPl7hBGQDk87FMwH4Y1W2 iAEnVI9VEZ/lWHinOSkKLna3G8aPx7vs4lzIh9kmVrs/vo7fZ6T+ld4Vh5u2gJJqlhcF h1YhWxAVKdMGLK7wZrBueIO5hPw8V4aXCGIH/nCL5T3Nll4ADHMOuyCuLPvpK5FBpoFy 77qEuvg4VytpNrB44ULfDDhph5L8Xy2+UPX0jQA2FRQxcYVyMsTo4afCHHzQMmfds1k4 +03A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=Y8w2RpI5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d4si8983214edy.517.2020.06.15.13.59.45; Mon, 15 Jun 2020 14:00:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=Y8w2RpI5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731427AbgFOU4N (ORCPT + 99 others); Mon, 15 Jun 2020 16:56:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41448 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726207AbgFOU4K (ORCPT ); Mon, 15 Jun 2020 16:56:10 -0400 Received: from mail-lf1-x143.google.com (mail-lf1-x143.google.com [IPv6:2a00:1450:4864:20::143]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 29EB2C061A0E for ; Mon, 15 Jun 2020 13:56:10 -0700 (PDT) Received: by mail-lf1-x143.google.com with SMTP id z206so10421883lfc.6 for ; Mon, 15 Jun 2020 13:56:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=66wParxW9Grg3BmLz9POwK3vmAg5lmpdxczfAkn21rk=; b=Y8w2RpI5MgG4oOHdSMJeKvl3r9qwdxDiEWmWPIj5D0+dd6+sh9TXOigVDK/AbVK0rh +Y+rX8wNNc43lwaLCNrfMuTBUIk8Mf9+a+ySN104CNOqEmN4r2sqw0/2vz9EV5PvhKzI oJoRR1VwFRobbCeiZLtjL7+IohACJ8a8FSoDY= 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=66wParxW9Grg3BmLz9POwK3vmAg5lmpdxczfAkn21rk=; b=NmzlYZ7et2AalgSnFvYVq6Xp+zigqqCoYCER2rWJ5oPCFTy5GKSZQWKUsm5E94ig1F F2am9ss1iiEUmMgwiuy17ue1dC3UV4O5kXZU9zXcRf7J9M88T6GurzOROJ9lOBUg2ZK9 KROe7rLIXTM/n0JGofqv07mnMU28EzC6Roa1MM23TTuEZONgsxp7ZSUWtLerL+rpbSb8 1UzAmK2tYHGzmIRzii0McdOdEzs/PQZ/IfgRKb3yEVF4fDOTxcoq2WlwRP+dTSxzRrUJ DnJOt5jAzC3LmoGhguSzEQV5pjFJmjTRBfariIGc8F1eQ7geEVJ+T44dCe2SYaSkXMc1 3v+g== X-Gm-Message-State: AOAM532+s/hinhzxvVAuvHNl+RasoBeCk9HEVc3KUYt0OLCEMIquG+Ii CXplM8/xPxArEOTJBB77NPt3kw6B9nA= X-Received: by 2002:a05:6512:10c3:: with SMTP id k3mr14744835lfg.33.1592254567977; Mon, 15 Jun 2020 13:56:07 -0700 (PDT) Received: from mail-lj1-f169.google.com (mail-lj1-f169.google.com. [209.85.208.169]) by smtp.gmail.com with ESMTPSA id y22sm4768778lfh.12.2020.06.15.13.56.06 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 15 Jun 2020 13:56:06 -0700 (PDT) Received: by mail-lj1-f169.google.com with SMTP id c17so20868242lji.11 for ; Mon, 15 Jun 2020 13:56:06 -0700 (PDT) X-Received: by 2002:a2e:974e:: with SMTP id f14mr13342489ljj.102.1592254566141; Mon, 15 Jun 2020 13:56:06 -0700 (PDT) MIME-Version: 1.0 References: <446c7a14-db97-6389-a03c-9ffccd251529@linuxfoundation.org> In-Reply-To: From: Linus Torvalds Date: Mon, 15 Jun 2020 13:55:50 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Linux 5.8-rc1 BUG unable to handle page fault (snd_pcm) To: Shuah Khan , Sasha Levin , Konstantin Khlebnikov Cc: Joerg Roedel , Andy Lutomirski , "Peter Zijlstra (Intel)" , Takashi Iwai , Linux Kernel Mailing List , "the arch/x86 maintainers" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 15, 2020 at 1:41 PM Shuah Khan wrote: > > I have CONFIG_DEBUG_INFO enabled. Ran the stack trace through > scripts/decode_stacktrace.sh Thanks. It looks like it isn't needed and people already know what the cause is. Also, sadly the stack trace decoding didn't end up as useful as it could have been because it looks like it doesn't know how to do the nice address lookups for modules. So this: > [ 15.341237] RIP: 0010:__memset (arch/x86/lib/memset_64.S:41) gets nicely pinpointed to the source, but the most critical part of the call trace is in modules, and there we end up having just > [ 15.341259] Call Trace: > [ 15.341267] ? snd_pcm_hw_params+0x3ca/0x440 snd_pcm > [ 15.341272] snd_pcm_common_ioctl+0x173/0xf20 snd_pcm > [ 15.341277] ? snd_ctl_ioctl+0x1c5/0x710 snd > [ 15.341282] snd_pcm_ioctl+0x27/0x40 snd_pcm without then looking at the debug info in the snd_pcm module to figure that out. Then when the call trace gets back to non-module code, it looks good again: > [ 15.341285] ksys_ioctl (fs/ioctl.c:49 /home/shuah/lkml/linux_5.8/fs/ioctl.c:753) > [ 15.341288] __x64_sys_ioctl (fs/ioctl.c:760) > [ 15.341291] do_syscall_64 (arch/x86/entry/common.c:359) > [ 15.341294] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:124) with pinpointing to exactly where the calls are. I note that Konstantin Khlebnikov did add support to do the module parts too back in 2016, but it requires people to know to give the module path too. Adding him and Sasha to the participants in case there are ideas on how to improve on this (and party just because I want to once again give scripts/decode_stacktrace.sh soem more mention, because a lot of people seem to be unaware of how useful it can be to make oopses and traces more readable.. Maybe even just a warning about lacking a module path when there are module symbols present? Linus