Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp1290547ybk; Sat, 16 May 2020 06:56:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxvI7FrK7q8vkKEi+jm+F9Nxz/B7qpET3LDbNW0YsneHRlTQeMDSaEPQAJiFKQDnzuCCn7S X-Received: by 2002:a05:6402:319c:: with SMTP id di28mr7121500edb.185.1589637373833; Sat, 16 May 2020 06:56:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589637373; cv=none; d=google.com; s=arc-20160816; b=EIWxEfzgjdDvAru+4hq15UXzkgxmoYc9OcYZ8UJX6IZ2MxEddiJmhuEZNS/4RlAsVp jChSclrfLvgxnED0A5DtgHMVDw3sXBdhZNNAyNnd0RWw9MWUXxwFOkL1vFGSb8GcAYPi lN7eSXKaUoFpg4I8CxeRGJcMrZFdRmCgqPx2X4bzKs9N2AodtWmY42knvGix/4lyBUgB TwaA7dmh1UYNKB1e1eisplKg5dBmDfsC9o7aSYrGWbK6jNVq1U3o2vwEtTOJvl87yNEg 8BvqHU7nAmVvvh+oHH/2NmLp5vqFoLbleH3VXArHF9xUZKvfJJo3TlWVIfX28WE4Y3rA aF7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:content-transfer-encoding :mime-version:references:in-reply-to:subject:cc:to:from; bh=NJnN+kqSVSuh9gYl21o4tggUBvzQ1oZPUZrQPbWnWM4=; b=sD/RQ0TQUYFjy79PW6WJYGhDwnp9qgCAkWma53Y+6uKEsBcJlREdPywWq7dRcXU14A fX+noonZOO0J4SyMSF3iNAZdTv9gHpfxBY0sqdEyxo3Fp4ccYOg07o2RM6ttWdkeNM+X Ylg+pWuLfIXAvIdiWfyEMGQwg85LalWwdyc8CFT2HH7mlRL+9VzwyRl1/atBmJy/1DCj aXkSI69Nb6kJoBbbAFKv9qkaUE1PeL6p8rPK8QYzVv2uZSf5dQ+zdH+uU0Fd4WVG7EnX 5Ffrn0uTBFafkPDNmddbWVtU2IaRvBbM/WnTQPT7jX1tePY5y5i/4FSgGj0B99SphU6Y WMSQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=vt.edu Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id mj15si2875434ejb.404.2020.05.16.06.55.51; Sat, 16 May 2020 06:56:13 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=vt.edu Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726947AbgEPNx3 (ORCPT + 99 others); Sat, 16 May 2020 09:53:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57390 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726880AbgEPNxZ (ORCPT ); Sat, 16 May 2020 09:53:25 -0400 Received: from omr1.cc.vt.edu (omr1.cc.ipv6.vt.edu [IPv6:2607:b400:92:8300:0:c6:2117:b0e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0D564C05BD09 for ; Sat, 16 May 2020 06:53:24 -0700 (PDT) Received: from mr5.cc.vt.edu (mr5.cc.vt.edu [IPv6:2607:b400:92:8400:0:72:232:758b]) by omr1.cc.vt.edu (8.14.4/8.14.4) with ESMTP id 04GDrMtA013003 for ; Sat, 16 May 2020 09:53:22 -0400 Received: from mail-qt1-f199.google.com (mail-qt1-f199.google.com [209.85.160.199]) by mr5.cc.vt.edu (8.14.7/8.14.7) with ESMTP id 04GDrH3S000400 for ; Sat, 16 May 2020 09:53:22 -0400 Received: by mail-qt1-f199.google.com with SMTP id s65so5722102qtd.21 for ; Sat, 16 May 2020 06:53:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:in-reply-to:references :mime-version:content-transfer-encoding:date:message-id; bh=NJnN+kqSVSuh9gYl21o4tggUBvzQ1oZPUZrQPbWnWM4=; b=gROqoqN+KyLakfhXSbrGy2bc9fKRWXvblMHfv8dFp7axUM+TPaQbpr0P03O67TKL0v zYzApraFTt6/MeQ8HbLzMrUGlppQgkl4aSkawQ+hcuAl/67VYWDysvT55hGszuGvWQux 6BDowcydopl4aOtFNoy24EcCttMBGUA+ESTjRXrZgIXfbi9VPRjxg7uQCWnPcig6czOK M3VyFrl7ry1PcYDmejsRGS40kIjheQWW2v6EfLJM3dS6Scd4z/4yKCSxl2BJ9WRHsUxM kpNcTIngDudcC59QiB4DaNoBz4iey3hR0tT6y4gGxun6t8cSgKS8RggzZCZuP0+jcPQz kk4Q== X-Gm-Message-State: AOAM5314V3H99SiHHpmBBuRrIzDg2pBib/MkNJKQmrcUxVIOK4WD63P2 6Ao7l5Sl/R69E+egLtQkgb43SSaxAnFccpppGYkYKgkLacZF/kW33OReeH+3TKkoxQZn9NVBFdi Q5rsd7rmfva6/7LQTC1ip8W1bNxbs6KhAD3k= X-Received: by 2002:ac8:5241:: with SMTP id y1mr8715925qtn.165.1589637196649; Sat, 16 May 2020 06:53:16 -0700 (PDT) X-Received: by 2002:ac8:5241:: with SMTP id y1mr8715913qtn.165.1589637196314; Sat, 16 May 2020 06:53:16 -0700 (PDT) Received: from turing-police ([2601:5c0:c001:c9e1::359]) by smtp.gmail.com with ESMTPSA id 99sm3441007qte.93.2020.05.16.06.53.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 May 2020 06:53:14 -0700 (PDT) From: "Valdis Kl=?utf-8?Q?=c4=93?=tnieks" X-Google-Original-From: "Valdis Kl=?utf-8?Q?=c4=93?=tnieks" X-Mailer: exmh version 2.9.0 11/07/2018 with nmh-1.7+dev To: Subhashini Rao Beerisetty Cc: kernelnewbies , linux-kernel@vger.kernel.org Subject: Re: general protection fault vs Oops In-Reply-To: References: Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_1589637193_23225P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Sat, 16 May 2020 09:53:13 -0400 Message-ID: <374485.1589637193@turing-police> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --==_Exmh_1589637193_23225P Content-Type: text/plain; charset=us-ascii On Sat, 16 May 2020 18:05:07 +0530, Subhashini Rao Beerisetty said: > In the first attempt when I run that test case I landed into “general > protection fault: 0000 [#1] SMP" .. Next I rebooted and ran the same > test , but now it resulted the “Oops: 0002 [#1] SMP". And the 0002 is telling you that there's been 2 previous bug/oops since the reboot, so you need to go back through your dmesg and find the *first* one. > In both cases the call trace looks exactly same and RIP points to > “native_queued_spin_lock_slowpath+0xfe/0x170".. The first few entries in the call trace are the oops handler itself. So... > May 16 12:06:17 test-pc kernel: [96934.567347] Call Trace: > May 16 12:06:17 test-pc kernel: [96934.569475] []__raw_spin_lock_irqsave+0x37/0x40 > May 16 12:06:17 test-pc kernel: [96934.571686] [] event_raise+0x22/0x60 [osa] > May 16 12:06:17 test-pc kernel: [96934.573935] [] multi_q_completed_one_buffer+0x34/0x40 [mcore] The above line is the one where you hit the wall. > May 16 12:59:22 test-pc kernel: [ 3011.405602] Call Trace: > May 16 12:59:22 test-pc kernel: [ 3011.407892] [] _raw_spin_lock_irqsave+0x37/0x40 > May 16 12:59:22 test-pc kernel: [ 3011.410256] [] event_raise+0x22/0x60 [osa] > May 16 12:59:22 test-pc kernel: [ 3011.412652] [] multi_q_completed_one_buffer+0x34/0x40 [mcore] And again. However, given that it's a 4.4 kernel from 4 years ago, it's going to be hard to find anybody who really cares. In fact. I'm wondering if this is from some out-of-tree or vendor patch, because I'm not finding any sign of that function in either the 5.7 or 4.4 tree. Not even a sign of ## catenation abuse - no relevant hits for "completed_one_buffer" or "multi_q" either I don't think anybody's going to be able to help unless somebody first identifies where that function is.... --==_Exmh_1589637193_23225P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Comment: Exmh version 2.9.0 11/07/2018 iQIVAwUBXr/wSQdmEQWDXROgAQLmLQ//TxlbNV2RGPp3REQ8H1b2HJ7NxUwvwg9v UeVv+9WCMn2w6Ra/UKBybERvFWIrS2BSRDXrdl1L6J5Kw7gEbeUEyl73DR0qHO8e B8ahq4yuvwivG6jd2uN2qYsfCgvIgpYki/Rkb/72FtO+nY/VmzrxpYfVF+1mGHLd O5quR4peIOUgm+8XPZLmZJu6SIUcVAc6iXuei08MhaRqxtRw0sPcM7M++HelbEg5 +MqbiH/R87FcHVIP5x/BRw79drf2hQ7Fz+9VfAaQBpi6j2Y0HcgilTvnegyNk1qM ZITt4TLWgzbCeqFjwAq+cyF674mnSyFYv5Ef+sGfcuwwOxXkDKPlavaezRjunz1H XVIX9ENws/SITj/gS90SNJ32vmomnxICCBJGyGLUm8DZdyVim07h7tcaW7t9vjGe ZuID1kgm1xkr6c++SD+pCMlNu2Xk74SkOvox2ylbcln9xF2hO+mlZoHjSWGcg3co h+gocMcSVVHlWg5dmCR6ZpGZ5J88Mv/l3k2cpDE70lGyYy3rutjYcX0jrLHlTVCy McjFpaQi+HaDCiMTfLgZfg0wkhaANd1B4MOmDLOYiKW4ErxvywEEnjzEpj7iLJmt y+L1OXdZCdiRTPneLThvxGsGVtTiUJDKwAtGjcR0sJb8f1dkpIs035Vkjz1JGNm9 K6VW2Glkfy0= =1zv1 -----END PGP SIGNATURE----- --==_Exmh_1589637193_23225P--