Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp998129imm; Wed, 6 Jun 2018 08:58:40 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKRxYUCMcadt6YyGVJWVB5A2FgC0nSjhbulGxLjUZ62VuRiAQBefu1xaA8dGkwu8IqDzbzz X-Received: by 2002:a63:b307:: with SMTP id i7-v6mr3011549pgf.448.1528300720899; Wed, 06 Jun 2018 08:58:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528300720; cv=none; d=google.com; s=arc-20160816; b=YnAOMxcvERfomo23hf1s5YNGaWYUIjJttD/hnhA9hBwxKKxJJIq+FlHTmKqAqjKWNe jRFRSCeeSEPsKS56Veh3x2vphYyc6/8zLyw6j3H6RyJsQ65lGpd5DNsTDJwr/H5eIO1J Osz8EMjE0JQHIm2NBFsyN3KepDJfJR8kzxb+IfgufrVhqxspsYSVhFwHUER5ps/CekL3 a5RKe0kdHzTPzB4sx98OkNQ0eP5TU2bizbOhvJhh4Y/xM+/1Mbp4eGTnALCOxIBQ6Ejy wp5WoETJ3/H3ClkgCUtLaebSa9DbPhyfvjsidLE8gSfq2a5liXZhItDWbIcsADe+aTfL KijA== 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 :in-reply-to:date:references:organization:from:subject:cc:to :dkim-signature:arc-authentication-results; bh=LXX2NbkESi6EPNcGRKvBeipQVAmTcKZLaoVlb6MWatA=; b=AQmPAj4KCq4Kodzq7qTbgYAXha6GX3avtvMuUsr/F62LvsW03vi4ZMy5v0Fhsrdl6P 1pCNHrS4DvwVD0YIHAaQIE9MB3zST4eE+/Qq/2Ag/hzxL/kQQdyw+7XEl2xB8wAJBNI8 rN2esg+pOh7Sr1rIVRB+PMSQfyEjqMVQZ8DwwCqIcSWayv3PDMY64ltJmkBC/02csSYg cJy7JQsAU5c8t6vgE1s7oBG/anf4mlbgTirqE0RDehxGdN9w6vd2Re2jK7UthGA7LnsA zDJJ8+Yd53ycB8uSC1TmMXC77lkyVmjq2IuCV3DaXtyFK9Kq7RHjVJdVu6mUTUODMIDX YyVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2017-10-26 header.b=SShTEU+O; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 13-v6si21537501pge.159.2018.06.06.08.58.26; Wed, 06 Jun 2018 08:58:40 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2017-10-26 header.b=SShTEU+O; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932341AbeFFP5T (ORCPT + 99 others); Wed, 6 Jun 2018 11:57:19 -0400 Received: from userp2120.oracle.com ([156.151.31.85]:34872 "EHLO userp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932163AbeFFP5Q (ORCPT ); Wed, 6 Jun 2018 11:57:16 -0400 Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w56FuUgp020745; Wed, 6 Jun 2018 15:56:59 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=to : cc : subject : from : references : date : in-reply-to : message-id : mime-version : content-type; s=corp-2017-10-26; bh=LXX2NbkESi6EPNcGRKvBeipQVAmTcKZLaoVlb6MWatA=; b=SShTEU+O36JlXr6oGmTFfFb5E3bx54echlXw42jK3gFdYlZbD3Pu4FlrYZMZKGp87d7f U0azgoESFoYHlnlEcFgVoTcn0hdXNnPXog/ClSZwwdCHcwJg91X2cBKvHj7ObMd4s4OC 9rORlPnayH49d+02WfvIiOpJPD1h5ge8hlGS7H7+Gthk9lMw5v2F+BWzwdhALIGEBa92 WBEUCdtEjat53kutDxRSnBmiFGN5RjiPZ4UP9gXFYdCLGJ/oyRfFuGVJRcOGriqpFCJ0 oXnI4tXLGq8OQEbRtqf3H1irX2W6hx6TXKGOOytZSpmBuUFxx7SoSBkef6UbrAN2vhzx eg== Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by userp2120.oracle.com with ESMTP id 2jbvypnaqf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 06 Jun 2018 15:56:59 +0000 Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w56FuwO4007633 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 6 Jun 2018 15:56:58 GMT Received: from abhmp0014.oracle.com (abhmp0014.oracle.com [141.146.116.20]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w56FuvFs017084; Wed, 6 Jun 2018 15:56:58 GMT Received: from ca-mkp.ca.oracle.com (/10.159.214.123) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 06 Jun 2018 08:56:57 -0700 To: himanshu.madhani@cavium.com Cc: quinn.tran@cavium.com, martin.petersen@oracle.com, William.Kuzeja@stratus.com, linux-kernel , linux-scsi@vger.kernel.org, Li Wang Subject: Re: qla2xxx cause BUG on kernel-4.17-rc6 From: "Martin K. Petersen" Organization: Oracle Corporation References: Date: Wed, 06 Jun 2018 11:56:55 -0400 In-Reply-To: (Li Wang's message of "Fri, 1 Jun 2018 11:33:37 +0800") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8916 signatures=668702 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=1 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=933 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1805220000 definitions=main-1806060181 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Himanshu, Ping? > Hi scsi experts, > > Not sure who is the right person to ask, I just hit this bug on my HP > DL385 platform, can any one of you take a look? > > system config: > ----------------- > HP ProLiant DL385 G7 > AMD Opteron(TM) Processor 6234 > 16384 MB memory, 369 GB disk space > > > [ 24.539274] qla2xxx [0000:0c:00.7]-500a:5: LOOP UP detected (10 Gbps). > [ 24.577259] BUG: unable to handle kernel NULL pointer dereference > at 0000000000000102 > [ 24.623133] PGD 0 P4D 0 > [ 24.636760] Oops: 0000 [#1] SMP NOPTI > [ 24.656942] Modules linked in: i2c_algo_bit drm_kms_helper > sr_mod(+) syscopyarea sysfillrect sysimgblt cdrom fb_sys_fops > ata_generic ttm pata_acpi sd_mod ahci pata_atiixp sfc(+) qla2xxx(+) > libahci drm qla4xxx(+) nvme_fc hpsa mdio libiscsi qlcnic(+) > nvme_fabrics scsi_transport_sas serio_raw mtd crc32c_intel libata > nvme_core i2c_core scsi_transport_iscsi tg3 scsi_transport_fc bnx2 > iscsi_boot_sysfs dm_multipath dm_mirror dm_region_hash dm_log dm_mod > [ 24.887449] CPU: 0 PID: 177 Comm: kworker/0:3 Not tainted 4.17.0-rc6 #1 > [ 24.925119] Hardware name: HP ProLiant DL385 G7, BIOS A18 08/15/2012 > [ 24.962106] Workqueue: events work_for_cpu_fn > [ 24.987098] RIP: 0010:__queue_work+0x1f/0x3a0 > [ 25.011672] RSP: 0018:ffff992642ceba10 EFLAGS: 00010082 > [ 25.042116] RAX: 0000000000000082 RBX: 0000000000000082 RCX: > 0000000000000000 > [ 25.083293] RDX: ffff8cf9abc6d7d0 RSI: 0000000000000000 RDI: > 0000000000002000 > [ 25.123094] RBP: 0000000000000000 R08: 0000000000025a40 R09: > ffff8cf9aade2880 > [ 25.164087] R10: 0000000000000000 R11: ffff992642ceb6f0 R12: > ffff8cf9abc6d7d0 > [ 25.202280] R13: 0000000000002000 R14: ffff8cf9abc6d7b8 R15: > 0000000000002000 > [ 25.242050] FS: 0000000000000000(0000) f9b5c00000(0000) > knlGS:0000000000000000 > [ 25.977565] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 > [ 26.010457] CR2: 0000000000000102 CR3: 000000030760a000 CR4: > 00000000000406f0 > [ 26.051048] Call Trace: > [ 26.063572] ? __switch_to_asm+0x34/0x70 > [ 26.086079] queue_work_on+0x24/0x40 > [ 26.107090] qla2x00_post_work+0x81/0xb0 [qla2xxx] > [ 26.133356] qla2x00_async_event+0x1ad/0x1a20 [qla2xxx] > [ 26.164075] ? lock_timer_base+0x67/0x80 > [ 26.186420] ? try_to_del_timer_sync+0x4d/0x80 > [ 26.212284] ? del_timer_sync+0x35/0x40 > [ 26.234080] ? schedule_timeout+0x165/0x2f0 > [ 26.259575] qla82xx_poll+0x13e/0x180 [qla2xxx] > [ 26.285740] qla2x00_mailbox_command+0x74b/0xf50 [qla2xxx] > [ 26.319040] qla82xx_set_driver_version+0x13b/0x1c0 [qla2xxx] > [ 26.352108] ? qla2x00_init_rings+0x206/0x3f0 [qla2xxx] > [ 26.381733] qla2x00_initialize_adapter+0x35c/0x7f0 [qla2xxx] > [ 26.413240] qla2x00_probe_one+0x1479/0x2390 [qla2xxx] > [ 26.442055] local_pci_probe+0x3f/0xa0 > [ 26.463108] work_for_cpu_fn+0x10/0x20 > [ 26.483295] process_one_work+0x152/0x350 > [ 26.505730] worker_thread+0x1cf/0x3e0 > [ 26.527090] kthread+0xf5/0x130 > [ 26.545085] ? max_active_store+0x80/0x80 > [ 26.568085] ? kthread_bind+0x10/0x10 > [ 26.589533] ret_from_fork+0x22/0x40 > [ 26.610192] Code: 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 > 00 41 57 41 89 ff 41 56 41 55 41 89 fd 41 54 49 89 d4 55 48 89 f5 53 > 48 83 ec 0 86 02 01 00 00 01 0f 85 80 02 00 00 49 c7 c6 c0 ec 01 00 41 > [ 27.308540] RIP: __queue_work+0x1f/0x3a0 RSP: ffff992642ceba10 > [ 27.341591] CR2: 0000000000000102 > [ 27.360208] ---[ end trace 01b7b7ae2c005cf3 ]--- -- Martin K. Petersen Oracle Linux Engineering