Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp1953512ybg; Fri, 5 Jun 2020 01:40:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz/KQIL3ScOK5qfMjS3LvaBDi06xx+fRazDG/jV3fgjeYV6HKDYfKcmWKv6OahjAX9rKW/s X-Received: by 2002:a17:906:fc06:: with SMTP id ov6mr8165797ejb.184.1591346427414; Fri, 05 Jun 2020 01:40:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591346427; cv=none; d=google.com; s=arc-20160816; b=Yd7hoSV2qfyMuMwJOFlRffC+o9ZM7dNafTQpUDKw124KlIDRagYMi+abSI8ek40+1Y qxsPpQBLktZwzIu/OApnNwTb9EUVik8sy15NYbmjx3mJ+U3x7ZVbM4S2hTjR/LQlHwfM 7+8ALa7ssbW6SDdJ2LAc/2/H/cnXl0x8rKonXX0ILCDi8P0nV5+mmkjy46F34NXj5MD1 aR79HWOMgoaqlVkfcSk6gb4jQbWvEOdfXyzuTsZLMNDaFoxjd51IgJlAP4DK7pdWKyAl gjB/STMzNzz9XnoUa20zvudKDH2p6MwNcMOtwcFQkNJZAq+P0Qzctg3fXOQqimvIXlP3 I1rg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :subject:cc:to:from:date; bh=4/EyMtMD/2sYLM49v8PHtdwLPmhGyYBu7U1uRugskWA=; b=K2IMctAsDG8qZHHoWm+WADtiQQI9u4lAyBingUpt6CmlZCAcKIoGf43g32gG+OlRNH vdIyyJcZCxOwxawLUorZC+/pgbxuVtbqAXRelGyI+yomqiMecPo0D3W2li2j1DJP8iE1 wgu/yyZMALZ7Nrz9SR34hCSjMS/9aTb8JJ1lO7MvCjyxSlSmilPzov5DkDliCm2Wn8HB vAW2vbntE9icS/142QZy/pNxc9463IOHJJf8ykSx+5O0SyHtUJaL61oUjMbggzf0ju5Q J72dgGG+Y0CQit+9rEc3iIb8MCFDStxpP5ObcUdQXaSkuHJKyAw1JfeVaHVkDdpZ6j1f GZFQ== 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 dg26si3053229edb.524.2020.06.05.01.40.04; Fri, 05 Jun 2020 01:40:27 -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 S1726251AbgFEIg3 (ORCPT + 99 others); Fri, 5 Jun 2020 04:36:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51614 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726142AbgFEIg1 (ORCPT ); Fri, 5 Jun 2020 04:36:27 -0400 Received: from trent.utfs.org (trent.utfs.org [IPv6:2a03:3680:0:3::67]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6C916C08C5C2 for ; Fri, 5 Jun 2020 01:36:27 -0700 (PDT) Received: from localhost (localhost [IPv6:::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by trent.utfs.org (Postfix) with ESMTPS id 76A4760125; Fri, 5 Jun 2020 10:36:21 +0200 (CEST) Date: Fri, 5 Jun 2020 01:36:21 -0700 (PDT) From: Christian Kujau To: linux-kernel@vger.kernel.org cc: xen-devel@lists.xenproject.org Subject: 5.7.0 / BUG: kernel NULL pointer dereference / setup_cpu_watcher Message-ID: User-Agent: Alpine 2.22 (DEB 395 2020-01-19) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, I'm running a small Xen PVH domain and upgrading from vanilla 5.6.0 to 5.7.0 caused the splat below, really early during boot. The configuration has not changed, all new "make oldconfig" prompts have been answered with "N". Old and new config, dmesg are here: http://nerdbynature.de/bits/5.7.0/ Searching the interwebs for similar reports didn't return much: * drm_sched_get_cleanup_job: BUG: kernel NULL pointer dereference https://bugzilla.redhat.com/show_bug.cgi?id=1822984 -- but this appears to be really DRM related. - https://lkml.org/lkml/2020/4/10/545 * A recent mm/vmstat patch, mentioning "device_offline" in its output https://patchwork.kernel.org/patch/11563009/ But other than a few overlapping strings, I guess all of that is totally unrelated :( Thanks, Christian. Note: that "Xen Platform PCI: unrecognised magic value" on the top appears in 5.6 kernels as well, but no ill effects so far. --------------------------------------------------------------- Xen Platform PCI: unrecognised magic value ACPI: No IOAPIC entries present BUG: kernel NULL pointer dereference, address: 00000000000002d0 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 0 P4D 0 Oops: 0000 [#1] SMP PTI CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.7.0 #2 RIP: 0010:device_offline+0x8/0xf0 Code: 48 89 e7 e8 3a ee f3 ff 4c 89 e0 48 83 c4 10 5b 41 5c c3 45 31 e4 48 83 c4 10 4c 89 e0 5b 41 5c c3 90 41 54 55 53 48 83 ec 10 87 d0 02 00 00 01 0f 85 ca 00 00 00 48 89 fb 48 8b 7f 48 48 85 RSP: 0000:ffffbd9100013e78 EFLAGS: 00010286 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00000000820001fa RDX: ffff9c9c3dd00000 RSI: 00000000820001fa RDI: 0000000000000000 RBP: 0000000000000002 R08: 0000000000000001 R09: 0000000000000000 R10: ffff9c9c3d5072a8 R11: 0000000000000000 R12: ffff9c9c3d594720 R13: ffffffff8a57e5a8 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff9c9c3dc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000000002d0 CR3: 000000006b00a001 CR4: 00000000001606b0 Call Trace: setup_cpu_watcher+0x44/0x60 ? plt_clk_driver_init+0xe/0xe setup_vcpu_hotplug_event+0x23/0x26 do_one_initcall+0x47/0x180 kernel_init_freeable+0x13b/0x19d ? rest_init+0x95/0x95 kernel_init+0x5/0xeb ret_from_fork+0x35/0x40 Modules linked in: CR2: 00000000000002d0 ---[ end trace b0cc587db609787f ]--- -- BOFH excuse #440: Cache miss - please take better aim next time