Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp1026994imm; Wed, 6 Jun 2018 09:20:35 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKhFpT/xUhk9JXhH1f6X9MGeHG5epxWfmLfoQwj//5hx7/1C9JNpzFawzcOlpcmE6CS1vUA X-Received: by 2002:a63:7001:: with SMTP id l1-v6mr3150950pgc.358.1528302035197; Wed, 06 Jun 2018 09:20:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528302035; cv=none; d=google.com; s=arc-20160816; b=I37qbvAnCL2JqwMc3qaSe3eNJ+IanzxasSIlJflTtZo5GgztSmvkahZzWV8XbccSxp XtXGdcq4tudAmT+GeLB71QrZLRFDiLtroo7MKHUuRsRzMG0waPdq4hd4QTa27cnxBE+X 3k3HVOG/G9YwLp+QH03e1BuXChSQx+8wSGSXXetjyxYKYHOpQ9tFoYyxiVuHaZ2SzbZP KdGrjHX35xcgmBYg/HXs0WYC7jASnv1VP7JQtZX8K5LvznOCrRtnEwqcvG8fjMfZ3MAI ZA17p9qd9EJHO5yMSZ/fpseOhoFlwilall8nKeYle+Qf33bNb3AzG5e79/9cMOXyZAWe u0vg== 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:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :arc-authentication-results; bh=z2Qf9nyJ4FP5aPRKAa4bw6pBxL7i0T1hy5mMjrVuh9k=; b=UPLCX3O0np3XzqeUFfYH4V2EHliNeAhOSXErPURkdI4cYvQi2/ruEp47eDYtRqPKTq rWPV1WkB+/tyrg78A/ZQJOz/ZbHpzTxTgkquqac+J/nEKpwslp3Z7mn4Yf9QEqt2KrSh d0uqRmWxmIQOZt9xmJdRt/T/gPXgDO2DorlJ4YDziwsGOqvJdHm1MucC0fNxW0u/JHyK mVZRlkUIbUDwbZ4/fpOrROmtjCTUs5FPKyMd6fVjmgvWKSOxtfrM/L5k/DJikYuAFMtR Tpc6sXIiC6uEPuybXY63lxwX9/q8uQW9j7rjy3ar/jeKVGXifh/wWybPo0NCWg9TXaYi NcBg== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r6-v6si4617101pgp.426.2018.06.06.09.19.51; Wed, 06 Jun 2018 09:20:35 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753341AbeFFQOw (ORCPT + 99 others); Wed, 6 Jun 2018 12:14:52 -0400 Received: from mail-ot0-f193.google.com ([74.125.82.193]:33091 "EHLO mail-ot0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752861AbeFFQOs (ORCPT ); Wed, 6 Jun 2018 12:14:48 -0400 Received: by mail-ot0-f193.google.com with SMTP id h6-v6so7925444otj.0 for ; Wed, 06 Jun 2018 09:14:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:mime-version:content-transfer-encoding; bh=z2Qf9nyJ4FP5aPRKAa4bw6pBxL7i0T1hy5mMjrVuh9k=; b=oczlwI/GPGK8FE2C/Ijm40mxJS4V+tSyCrCd/bA16R5VfTtcwJBsx8R0gcMUBBDpRa n8GTI8KEOl3QSe2HI/S21wi6JG4+Zki+lqPBBmaTwLI+8Wudrn/l31rvktKMCChS/xUM hVbtpxhdsXGZsjfLwEj4DxX0XPo7kRz6SvXnhF8+22EY5WQlvckpRjmIukj6AN0WyI9i 0AnUam7pN+RChsRKrwKnMJWt0NJHF2HJ2o4uV2e7mBVUMFnWxG6m8aBfWGZLXSz80ZTf odVrm+f9XXAx/4T/A20pkccbg1CRD6R2/hFsC9ANgwLfs841CGm5A2YBroOqtRZ1xoGI /UWw== X-Gm-Message-State: APt69E2nSMI2CW11TDBc8YQRv8WsZhjbPIn+1+Wq2r72Gcjd3IBT9qgY 1vscCatmpOplXl6PDQOiitEGlQ== X-Received: by 2002:a9d:1f74:: with SMTP id x49-v6mr2263939otx.108.1528301687240; Wed, 06 Jun 2018 09:14:47 -0700 (PDT) Received: from loberhel74 (174-083-000-020.dhcp.chtrptr.net. [174.83.0.20]) by smtp.gmail.com with ESMTPSA id v50-v6sm12082935otd.7.2018.06.06.09.14.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 06 Jun 2018 09:14:46 -0700 (PDT) Message-ID: <1528301685.17774.1.camel@redhat.com> Subject: Re: qla2xxx cause BUG on kernel-4.17-rc6 From: Laurence Oberman To: "Martin K. Petersen" , himanshu.madhani@cavium.com Cc: quinn.tran@cavium.com, William.Kuzeja@stratus.com, linux-kernel , linux-scsi@vger.kernel.org, Li Wang Date: Wed, 06 Jun 2018 12:14:45 -0400 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.22.6 (3.22.6-10.el7) Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2018-06-06 at 11:56 -0400, Martin K. Petersen wrote: > 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 ]--- > > This happened during probe and setup, stange where it faulted though It was in the context switch I have seen this before, trying to track it down Himanshu will probably get there before me Back when I have something