Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp1367774ybk; Sat, 16 May 2020 09:04:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwuwUoQKCbTdAbKQ8c5Aer519xTI308BVyn0E3gF9cghJAtohBPrDVadNUAurOJIb2UMJDU X-Received: by 2002:a17:906:dbc9:: with SMTP id yc9mr8006171ejb.157.1589645095908; Sat, 16 May 2020 09:04:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589645095; cv=none; d=google.com; s=arc-20160816; b=v30WcJoupK2D0CDnulHWG4PoevHVlmrG9nUwsczmG5YJSGAEbUQBGfwtMr7tJ7wnJM 6zjj0r7c42WBjlttXHvKZ3fEam2akoK2Ne/Z7e44uCgdhuyhxNVJrOIgtf0gOeyLszZ1 hCCXUQr1Y9rTsT8JGazuLQbeoUo4USHGdocA2uA3EqigXQu6NU1ZfU8Nyv8G9bxH84NY jcaaMTy3agWomitYMFaDWro1Xz9hv9ohfktzqDQl9Gsa1f30CI2I51lrQzmFcBPXzese aUWgDKV7LnWSYQ4IrGf6qI0WLnn1hPHXrF/RVdySHWo7Tq3Nq3MIcm+T6wyD3SY3RqWT aD1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=hTjKFbKjAPRBSfEP6JDKZO4Ccm6OlreCSUNy5KNK3gY=; b=0IWx8TO26PGaWsEyAfV7TdaUcDXj0xrpxvh8vCluJop3c1qpkKQt69cwJTO89mHSIV 6+ijHJ/VSe/guSNkcoXhxZVaxUoZ4KMZqumYiNyHx/ab0+eF08FssSf5F1d6CV4L4rVP g5JBVdAdNbXcgnSxxBjxEFAG3tSceUEUYZdy3rBwal8xQw688+oQUCivrMxX6APWR/ql lLU52o30Af9zwklxasZPgtkpCincTam0CXUIB/3WVPWwRAnJfsKw5x2DHJh1kB6Y7TcZ qAuK5/5Hx8Pny5PyqkGNBZRcspz5jqC6xXutwMnc52+Nx6rmhijl+npA9KOoV2MGr7H9 13bA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=TsPEwLEL; 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 qk12si3598972ejb.351.2020.05.16.09.04.30; Sat, 16 May 2020 09:04:55 -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=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=TsPEwLEL; 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 S1726270AbgEPP74 (ORCPT + 99 others); Sat, 16 May 2020 11:59:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48758 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726228AbgEPP7z (ORCPT ); Sat, 16 May 2020 11:59:55 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A9249C061A0C for ; Sat, 16 May 2020 08:59:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To: Subject:Sender:Reply-To:Content-ID:Content-Description; bh=hTjKFbKjAPRBSfEP6JDKZO4Ccm6OlreCSUNy5KNK3gY=; b=TsPEwLELXKbMhOT38tckuR02be ER6h3IsJ0f8/GOmtLh3t/fLqHcam3B6OxZRABtHn5AjjV+/fsvU6uUvQ5w8rMY911DC4CR+UyCR8/ be6hzS4EETC3b0HLE7aswfpnWUHI9Fz5PGI9OX3NWuiRKOUAAWFmoInn5OMs3Y8du4oywFBQYtXna HGLrikW+keM+engUTPxglHUzTjVeVDw4JqO7yPn/d5NqY39Z8u7xEa3AlSl9S8RZOkHSJA+bPXJbM sYmAK902dNCM5D/DWOOm9olWe+6t/eo4Y95UZxJAXEbdZdBSPNAx136ekQZNaT1Mm3YnTjEDoxHU5 VbrqZ9Kw==; Received: from [2601:1c0:6280:3f0::19c2] by bombadil.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1jZzEA-0004kC-AJ; Sat, 16 May 2020 15:59:54 +0000 Subject: Re: general protection fault vs Oops To: =?UTF-8?Q?Valdis_Kl=c4=93tnieks?= , Subhashini Rao Beerisetty Cc: kernelnewbies , linux-kernel@vger.kernel.org References: <374485.1589637193@turing-police> From: Randy Dunlap Message-ID: Date: Sat, 16 May 2020 08:59:53 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: <374485.1589637193@turing-police> Content-Type: text/plain; charset=UTF-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 5/16/20 6:53 AM, Valdis Klētnieks wrote: > 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. Right. > 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 Modules linked in: dbg(OE) mcore(OE) osa(OE) Out-of-tree, unsigned modules loaded. We don't know what those are or how to debug them. > I don't think anybody's going to be able to help unless somebody first > identifies where that function is.... > -- ~Randy