From: Rajat Jain <rajat.noida.india@gmail.com>
To: Greg KH <greg@kroah.com>
Cc: kernelnewbies@nl.linux.org, linux-scsi@vger.kernel.org,
linux-newbie@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: Incorrect driver getting loaded for Qlogic FC-HBA
Date: Tue, 26 Jul 2005 13:16:02 +0900 [thread overview]
Message-ID: <b115cb5f050725211615cfab78@mail.gmail.com> (raw)
In-Reply-To: <20050726000600.GB23858@kroah.com>
On 7/26/05, Greg KH <greg@kroah.com> wrote:
> On Mon, Jul 25, 2005 at 11:02:39AM +0900, Rajat Jain wrote:
> > I'm using Kernel 2.6.9 and am having a Qlogic QLE2362 FC-HBA in my
> > system. I selected all the Qlogic SCSI drivers while buiding the
> > kernel. Now the problem is that every time I reboot, I have to
> > MANUALLY modprobe the qla2322.ko module in the kernel and only then my
> > HBA works. By default, the kernel loads qla2300.ko, which is not the
> > correct driver for the card, and hence the HBA does not work. Here is
> > the lspci output:
>
> "by default" the kernel does not load any modules. That's up to the
> hotplug system, or some other package.
>
> thanks,
>
> greg k-h
>
Thanks. I just checked .. that is right. So let me put it this way.
When ever I hot-plug my HBA into the system, the driver "qla2300" gets
loaded. Where as the correct driver is "qla2322". This evident from
the output of "modules.pcimap" file and "lspci". The PCI device number
of HBA is 2322. and in modules.pcimap file, qla2322 is supposed to be
loaded when this HBA is hot-plugged. But module qla2300 is getting
loaded.
Any pointers on where could the problem be? Or how should I approach
this problem?
Thanks a lot.
Rajat
PS: For reference I am attaching the modules.pcimap file and lspci
output here again:
-----------------------------------------------------------------
0d:07.1 Fibre Channel: QLogic Corp.: Unknown device 2322 (rev 03)
Subsystem: QLogic Corp.: Unknown device 0118
Flags: bus master, 66Mhz, medium devsel, latency 128, IRQ 185
I/O ports at 6400 [size=256]
Memory at d0401000 (64-bit, non-prefetchable) [size=4K]
Capabilities: [44] Power Management version 2
Capabilities: [4c] PCI-X non-bridge device.
Capabilities: [54] Message Signalled Interrupts: 64bit+ Queue=0/3 Enable-
-------------------------------------------------------------------
Here is the relevant extract from modules.pcimap:
-------------------------------------------------------------------
#module vendor device subvendor subdevice class
class_mask driver_data
qla2300 0x00001077 0x00002300 0xffffffff 0xffffffff 0x00000000 0x00000000 0x0
qla2300 0x00001077 0x00002312 0xffffffff 0xffffffff 0x00000000 0x00000000 0x0
qla2322 0x00001077 0x00002322 0xffffffff 0xffffffff 0x00000000 0x00000000 0x0
-------------------------------------------------------------------
next prev parent reply other threads:[~2005-07-26 4:16 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-25 2:02 Incorrect driver getting loaded for Qlogic FC-HBA Rajat Jain
2005-07-26 0:06 ` Greg KH
2005-07-26 4:16 ` Rajat Jain [this message]
2005-07-26 15:52 ` Andrew Vasquez
2005-07-27 6:01 ` Rajat Jain
2005-07-27 18:11 ` Andrew Vasquez
2005-07-28 10:36 ` Rajat Jain
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=b115cb5f050725211615cfab78@mail.gmail.com \
--to=rajat.noida.india@gmail.com \
--cc=greg@kroah.com \
--cc=kernelnewbies@nl.linux.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-newbie@vger.kernel.org \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox