Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp1214500imm; Wed, 6 Jun 2018 12:14:40 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIdntcoYoItljahCnj17u+PElegXizdb3D13fh0Q8rA8CA5Y3KkyvkfrKjp+bFxjz2JwFs/ X-Received: by 2002:a17:902:4303:: with SMTP id i3-v6mr4612369pld.394.1528312480750; Wed, 06 Jun 2018 12:14:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528312480; cv=none; d=google.com; s=arc-20160816; b=UWwx7cGTbFxV8n2Qj1w7MIVhIBtjS9kiOM55FZjsMdcOzbJ++BYOFSvboPLprD9Ey7 wU4MbV1hGmqc+aZiL8+JMd6EQSqfu0znsTj3T0TdLmikbJKY/0OEv4+CEOH0hVfUa+JH Irw7X/VESbsKhxlmxrgzHxzJNWUR31/jKnOoyLBRWCn+WGsWTEMSzwV6UQJic+HEjTY5 7bpwLvAxmLN1MWM1RGRQltRau+bZ5zmQVaDs2du+Yl5BumCDXlOF9B5VR2kMGvEw89oC lU0/e8uaI1f36M2gtAZAGgnOnLa7/r/WRW0KF0DTIfw3xTgZjY38bZsAjq+IqymZJWXG YvPA== 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=8Xe8mRXrsE3XTrEZZkjMufiFkHst74zhBqovqPgiD8M=; b=Tryo92RCFNWbKGJPolxxnL5pKzivd4hloW6dYBgC4TIj6yfwwjjFYCuh0KE/qfrQvA EHFXAlbMxKxqLEnpl6XjUCm4i9zkDTZHJpec69zFW5QmHVZRJqnomeSC3M6yZbuVQVA/ +GMya9QpPlwxQ51mKcMScRwX1luJYkTTic9F7Alqw5UgSu1+wEMpvMmcZoQWfE3c4zG1 vgavjP9W7xsAPdJNVH1es5cXAN1RUjCLMbI5WA5eOWySEGEhT3sQ+Y9ynX2Eo+rnGHUl /FMBavOcRWgEzRrnlEi75LVjcAaYr3iEltDmM+GClTUnmw4EcH/WY7N+1O/VB5p2eSNL /KNA== 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 l13-v6si18812029pgf.629.2018.06.06.12.14.25; Wed, 06 Jun 2018 12:14: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; 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 S1752845AbeFFSFu (ORCPT + 99 others); Wed, 6 Jun 2018 14:05:50 -0400 Received: from mail-ot0-f194.google.com ([74.125.82.194]:42682 "EHLO mail-ot0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752316AbeFFSFr (ORCPT ); Wed, 6 Jun 2018 14:05:47 -0400 Received: by mail-ot0-f194.google.com with SMTP id 92-v6so8315006otw.9 for ; Wed, 06 Jun 2018 11:05:46 -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=8Xe8mRXrsE3XTrEZZkjMufiFkHst74zhBqovqPgiD8M=; b=TTlhEpvKtQHW7tGPx42W9zGWKBBGrNSmsYQKzlK0Bt44Fy83jlq6FEW13fV6mf4D6B 5NtCBFJW8NNt8fVa828tZD5HvfMcx7Ht4Ybk5s+sRmJtoy2d0VIk60iTgZ8O2vjsGzsV 2icqF3V1t61cNpMoYyNGq2D78wWgmLqEgiqGjWSYcsB+7izlkNq9dMmZjgwhq1qkepAY jrJhNrlv83ArBxJLRG/fsI1p/Ckmdwoc6HZ1KrRvUO4hJFjCwWPr644zKd0IDDMvc89z 0YZ9LfFKMPOZ1F73V3DvEwlKInfYlB8cVxbzmNZtgfjrepl3pwSHWvxUZoK4j4jo7lRR 7+Bw== X-Gm-Message-State: APt69E12xfQD0UbPL5D2ooBFU5HgNFedIfF+KoaKZbkjlhjSf2vkIJHO akOiWu7dXfHaK1Nlz+w9rmKLKQ== X-Received: by 2002:a9d:cc7:: with SMTP id o7-v6mr2472364otd.291.1528308346088; Wed, 06 Jun 2018 11:05:46 -0700 (PDT) Received: from loberhel74 (174-083-000-020.dhcp.chtrptr.net. [174.83.0.20]) by smtp.gmail.com with ESMTPSA id 64-v6sm3463991ots.36.2018.06.06.11.05.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 06 Jun 2018 11:05:45 -0700 (PDT) Message-ID: <1528308343.17774.3.camel@redhat.com> Subject: Re: qla2xxx cause BUG on kernel-4.17-rc6 From: Laurence Oberman To: "Madhani, Himanshu" , "Martin K. Petersen" Cc: "Tran, Quinn" , "William.Kuzeja@stratus.com" , linux-kernel , "linux-scsi@vger.kernel.org" , Li Wang Date: Wed, 06 Jun 2018 14:05:43 -0400 In-Reply-To: <7988FB77-4AE4-4935-B7B7-F7584674981B@cavium.com> References: <7988FB77-4AE4-4935-B7B7-F7584674981B@cavium.com> 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 16:01 +0000, Madhani, Himanshu wrote: > > On Jun 6, 2018, at 8:56 AM, Martin K. Petersen > cle.com> wrote: > > > > > > Himanshu, > > > > Ping? > > > > Will look at this one. Sorry, somehow fell thru cracks.  > > > > > 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 > > Thanks, > - Himanshu > I can't find the original message for this that Martin reminded us of. To the person who logged this: How many times has this happened and was it after a kernel update. What is the history, what is the exact Qlogic card, etc. Do you have the rest of the log log leading to the invalid pointer fault Thanks Laurence