All of lore.kernel.org
 help / color / mirror / Atom feed
From: Laurence Oberman <loberman@redhat.com>
To: Chad Dupuis <chad.dupuis@cavium.com>,
	Himanshu Madhani <Himanshu.Madhani@cavium.com>
Cc: Linux SCSI List <linux-scsi@vger.kernel.org>
Subject: 4.10+ qla2xxx  driver wont load for qla2xxx (ISP2532-based 8Gb) with BAR 3 error, work fine on 4.9
Date: Sun, 12 Mar 2017 07:39:23 -0400 (EDT)	[thread overview]
Message-ID: <718134298.971770.1489318763327.JavaMail.zimbra@redhat.com> (raw)
In-Reply-To: <1461081214.970794.1489317715237.JavaMail.zimbra@redhat.com>

Chad, Himanshu

Before I bisect or go chase changes, wanted to reach out because the driver seems to be the same version.
Perhaps this is a PCIE change in the kernel for 4.10 affecting the load.
Its the same targetLIO server I have been using for a long time with 4.9

27:00.0 Fibre Channel: QLogic Corp. ISP2532-based 8Gb Fibre Channel to PCI Express HBA (rev 02)

With 4.9 I have no issues loading the driver for my targetLIO server. (DL380G8)

# modinfo qla2xxx | more
filename:       /lib/modules/4.9.0.lobetcm+/kernel/drivers/scsi/qla2xxx/qla2xxx.ko
firmware:       ql2500_fw.bin
version:        8.07.00.38-k
license:        GPL
description:    QLogic Fibre Channel HBA Driver
author:         QLogic Corporation
srcversion:     94A8431A85BFF854B97B02D

[    8.906351] qla2xxx [0000:00:00.0]-0005: : QLogic Fibre Channel HBA Driver: 8.07.00.38-k.
[   10.014052] qla2xxx [0000:27:00.0]-001d: : Found an ISP2532 irq 106 iobase 0xffffadce989a1000.
[   10.455108] scsi host4: qla2xxx
[   10.460206] qla2xxx [0000:27:00.0]-00fb:4: QLogic QLE2562 - PCI-Express Dual Channel 8Gb Fibre Channel HBA.
[   10.460215] qla2xxx [0000:27:00.0]-00fc:4: ISP2532: PCIe (5.0GT/s x8) @ 0000:27:00.0 hdma+ host#=4 fw=8.03.00 (90d5).
[   10.460545] qla2xxx [0000:27:00.1]-001d: : Found an ISP2532 irq 110 iobase 0xffffadce989a9000.
[   10.662120] scsi host5: qla2xxx
[   11.007841] qla2xxx [0000:27:00.1]-00fb:5: QLogic QLE2562 - PCI-Express Dual Channel 8Gb Fibre Channel HBA.
[   11.007849] qla2xxx [0000:27:00.1]-00fc:5: ISP2532: PCIe (5.0GT/s x8) @ 0000:27:00.1 hdma+ host#=5 fw=8.03.00 (90d5).

Rebooting on the same server with 4.10 fails to load 

Linux  4.10.0+ 
# modinfo qla2xxx | more
filename:       /lib/modules/4.10.0+/kernel/drivers/scsi/qla2xxx/qla2xxx.ko
firmware:       ql2500_fw.bin
version:        8.07.00.38-k
license:        GPL
description:    QLogic Fibre Channel HBA Driver
author:         QLogic Corporation
srcversion:     939E0595E8A3C2E1BE94392

[    8.754040] qla2xxx [0000:00:00.0]-0005: : QLogic Fibre Channel HBA Driver: 8.07.00.38-k.
[    9.979523] qla2xxx [0000:27:00.0]-001b: : BAR 3 not enabled.
[   10.201268] qla2xxx [0000:27:00.0]-001d: : Found an ISP2532 irq 110 iobase 0xffffacbf189b1000.
[   10.407865] scsi host5: qla2xxx
[   10.444281] qla2xxx: probe of 0000:27:00.0 failed with error -22
[   10.444519] qla2xxx [0000:27:00.1]-001b: : BAR 3 not enabled.
[   10.444522] qla2xxx [0000:27:00.1]-001d: : Found an ISP2532 irq 110 iobase 0xffffacbf189b9000.
[   10.645932] scsi host5: qla2xxx
[   10.682233] qla2xxx: probe of 0000:27:00.1 failed with error -22

Thanks
Laurence

       reply	other threads:[~2017-03-12 11:39 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1461081214.970794.1489317715237.JavaMail.zimbra@redhat.com>
2017-03-12 11:39 ` Laurence Oberman [this message]
2017-03-12 18:30   ` 4.10+ qla2xxx driver wont load for qla2xxx (ISP2532-based 8Gb) with BAR 3 error, work fine on 4.9 Laurence Oberman
2017-03-13 16:39     ` Madhani, Himanshu
2017-03-13 16:54       ` Laurence Oberman
2017-03-14  1:06         ` Laurence Oberman
2017-03-14  1:14           ` Laurence Oberman
2017-03-14 21:11             ` Madhani, Himanshu
2017-03-15  0:02               ` Laurence Oberman
2017-03-15  0:25                 ` Laurence Oberman
2017-03-15  0:32                   ` Madhani, Himanshu
2017-03-15  3:49                     ` Laurence Oberman
2017-03-16 18:36                       ` Laurence Oberman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=718134298.971770.1489318763327.JavaMail.zimbra@redhat.com \
    --to=loberman@redhat.com \
    --cc=Himanshu.Madhani@cavium.com \
    --cc=chad.dupuis@cavium.com \
    --cc=linux-scsi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.