Received: by 2002:a05:6a10:6006:0:0:0:0 with SMTP id w6csp2011679pxa; Sat, 29 Aug 2020 10:59:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyjsZn2HiH4o85pr9cK5PWvEQBN1hmejKjXeYMSJA1HkBruY3fK4bKHXHsdEfz+kqG9CumL X-Received: by 2002:a17:906:fa96:: with SMTP id lt22mr4683785ejb.318.1598723949570; Sat, 29 Aug 2020 10:59:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598723949; cv=none; d=google.com; s=arc-20160816; b=cUMRWNGeQ1vVFryyXfqdEMdf2EDLK5zsKTRiS/ZjWLaAzzbgk0I4nsLqlkw3pzdO10 cW5tLxVDvjnc8CG0KVRlvcHfsfmQaTojkW26VdLGsEEgRzciPoDB2dYq5tYD5bT4135x sR2yD9dOuC0AetZSMu0ZIObwbB/JelI8ae5KpT0KnZt26O6QuRqp0GvyHoBS2bs7Fr// XVJ1wav6ne4bzsJnUJHZqIA603R3R3TgGQWrnWZoPl5h/dTETD5M9rCd88BJxVY0MVOE qm0sFVXuxRkhhoVXhe48nlXDtNaHAjZZCqrrLApJENxgBHNlG5bmuHZGAP5pAE6kJTI/ ROyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=oGSZ34V7xKIiRP7je7/p0zLWmmbPAFyTQwTDzU2G1rQ=; b=w9tU7nlECvMH/bHgdIuad+F9Shcs+iKsM7wB5qw5GDT7+EY4AAD2rbXZLfNmYJNrpN YswMMzg+3S48AFRhFVlc71DS4bXCe28S/e/Ykq68kc2qM2txPqXO0ZT0usiV13U9Kyom p8eWrLKaPBKvW9N59UerZbKkaEiFqlC8c9oxUh2fxO8Y6HFkd3/G1ofGWFtlopeg+glH gSX4RuQfK/XgMG8tM9W7KSQmhAmkcWyO6iXWFEE98DAvXgN5c/avjKcuAiNLox+wWp17 I1TqbI7pg3B+LOcmdCA5za0ob49oVKJjuy/AXlfcl5LHkB9dnH0UMcUIWtOytzVT7enu 1gjA== ARC-Authentication-Results: i=1; mx.google.com; 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 l24si213223edq.389.2020.08.29.10.58.47; Sat, 29 Aug 2020 10:59:09 -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; 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 S1728397AbgH2R5k (ORCPT + 99 others); Sat, 29 Aug 2020 13:57:40 -0400 Received: from verein.lst.de ([213.95.11.211]:44941 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728244AbgH2R5k (ORCPT ); Sat, 29 Aug 2020 13:57:40 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id 076EB68C4E; Sat, 29 Aug 2020 19:57:36 +0200 (CEST) Date: Sat, 29 Aug 2020 19:57:35 +0200 From: Christoph Hellwig To: Linus Torvalds Cc: Daniel Exner , Christoph Hellwig , Linux Kernel Mailing List , crazy@frugalware.org Subject: Re: Kernel 5.9-rc Regression: Boot failure with nvme Message-ID: <20200829175735.GA16416@lst.de> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Aug 29, 2020 at 10:54:47AM -0700, Linus Torvalds wrote: > Just adding Christoph to the participants list, since at a guess it's > due to his changes whether they came from the nvme side or the dma > side.. > > Christoph? This kinda looks like the sqsize regression we had in earlier 5.9-rc, but that should have been fixed in -rc2 with 7442ddcedc344b6fa073692f165dffdd1889e780 Author: John Garry Date: Fri Aug 14 23:34:25 2020 +0800 nvme-pci: Use u32 for nvme_dev.q_depth and nvme_queue.q_depth Daniel, can you double check that you don't have that commit? > > Linus > > On Sat, Aug 29, 2020 at 10:06 AM Daniel Exner wrote: > > > > Hi, > > > > (please keep me in the loop, as I'm currently not suscribed) > > > > both 5.9-rc1 and -rc2 fail to boot with my TOSHIBA-RD400 NVME: > > > > [ 1.015590] ------------[ cut here ]------------ > > [ 1.015594] WARNING: CPU: 7 PID: 99 at mm/page_alloc.c:4864 > > __alloc_pages_nodemask+0x299/0x330 > > [ 1.015594] Modules linked in: syscopyarea xhci_pci(+) > > xhci_pci_renesas sysfillrect xhci_hcd nvme aesni_intel(+) crypto_simd > > sysimgblt fb_sys_fops cryptd nvme_core t10_pi glue_helper drm hwmon > > scsi_mod agpgart i2c_core usbcore video wmi button dm_mirror > > dm_region_hash dm_log dm_mod unix ipv6 autofs4 > > [ 1.015602] CPU: 7 PID: 99 Comm: kworker/u16:1 Not tainted > > 5.9.0-rc2-dirty #12 > > [ 1.015603] Hardware name: To Be Filled By O.E.M. To Be Filled By > > O.E.M./Z170 Gaming K6, BIOS P7.50 10/18/2018 > > [ 1.015607] Workqueue: nvme-reset-wq nvme_reset_work [nvme] > > [ 1.015608] RIP: 0010:__alloc_pages_nodemask+0x299/0x330 > > [ 1.015609] Code: 66 0f 85 46 ff ff ff e8 24 46 dd ff e9 3c ff ff ff > > e8 4b 4f fc ff 48 89 c7 e9 ad fe ff ff 81 e5 00 20 00 00 0f 85 7b ff ff > > ff <0f> 0b e9 74 ff ff ff 31 c0 e9 1b fe ff ff 65 48 8b 04 25 00 6d 01 > > [ 1.015610] RSP: 0000:ffffb3ed002abcb8 EFLAGS: 00010246 > > [ 1.015611] RAX: 0000000000000000 RBX: ffff9c8e827c4118 RCX: > > 0000000000000000 > > [ 1.015611] RDX: 0000000000000000 RSI: 0000000000000034 RDI: > > 0000000000000cc0 > > [ 1.015612] RBP: 0000000000000000 R08: 0000000000000000 R09: > > ffffffffffffffff > > [ 1.015612] R10: 0000000000000006 R11: ffffb3ee002abb97 R12: > > 0000000000000000 > > [ 1.015613] R13: 0000000000000000 R14: ffff9c8e921060b0 R15: > > 0000000000000cc0 > > [ 1.015614] FS: 0000000000000000(0000) GS:ffff9c8e96bc0000(0000) > > knlGS:0000000000000000 > > [ 1.015615] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 > > [ 1.015615] CR2: 0000559988e2f4d8 CR3: 00000008433e4004 CR4: > > 00000000003706e0 > > [ 1.015616] DR0: 0000000000000000 DR1: 0000000000000000 DR2: > > 0000000000000000 > > [ 1.015617] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: > > 0000000000000400 > > [ 1.015617] Call Trace: > > [ 1.015621] dma_direct_alloc_pages+0x1e9/0x2c0 > > [ 1.015623] ? pci_alloc_irq_vectors_affinity+0xa5/0x100 > > [ 1.015626] nvme_alloc_queue+0x10a/0x170 [nvme] > > [ 1.015629] nvme_reset_work+0x70b/0x12b0 [nvme] > > [ 1.015631] ? nvme_irq_check+0x30/0x30 [nvme] > > [ 1.015634] process_one_work+0x1da/0x3d0 > > [ 1.015636] worker_thread+0x4a/0x3c0 > > [ 1.015637] ? process_one_work+0x3d0/0x3d0 > > [ 1.015638] kthread+0x114/0x160 > > [ 1.015640] ? kthread_park+0x90/0x90 > > [ 1.015641] ret_from_fork+0x22/0x30 > > [ 1.015643] ---[ end trace 268d4f4db1ef121e ]--- > > > > > > Resulting in: > > [ 1.015644] nvme nvme0: Removing after probe failure status: -12 > > > > If you need more infos I can try to provide them. > > > > Greetings > > Daniel > > > > > > ---end quoted text---