On Fri, Mar 09, 2001 at 11:43:40AM -0800, rakesh rakesh wrote:
> Hi Robert,
> The problem is that this driver seems to be
> broken.With the 2.4.0 kernel when I am trying to load
> the qlogicfc.o module with the LOOP_COONECTION I get
> the following message:
> qlogicfc0: Loop Reinitilised
> qlogicfc0:Link is up
> init_module: No such device
> Hint: insmod errors can be caused by incorrect
> module parameters, including
> invalid IO or IRQ parameters
>
See if this little patch makes a difference, I don't know if it will,
but I don't see the reason for the problem, either. From the error,
it looks like the hosts++ isn't getting executed, but that doesn't
make sense. I moved it up before the interrupts are enabled on the
card.
robert
diff --exclude-from=excludes -Naur linux/drivers/scsi/qlogicfc.c
linux-fc/drivers/scsi/qlogicfc.c
--- linux/drivers/scsi/qlogicfc.c Mon Sep 18 13:36:25 2000
+++ linux-fc/drivers/scsi/qlogicfc.c Fri Mar 9 14:06:47 2001
@@ -823,6 +823,7 @@
}
request_region(host->io_port, 0xff, "qlogicfc");
+ hosts++;
outw(0x0, host->io_port + PCI_SEMAPHORE);
outw(HCCR_CLEAR_RISC_INTR, host->io_port + HOST_HCCR);
isp2x00_enable_irqs(host);
@@ -833,7 +834,6 @@
if (hostdata->adapter_state == AS_LOOP_DOWN) {
printk("qlogicfc%d : link is not up\n",
hostdata->host_id);
}
- hosts++;
hostdata->explore_timer.data = 0;
}
}
On Fri, Mar 09, 2001 at 01:27:28PM -0800, rakesh rakesh wrote:
> The whole point is that I want to load FC driver with
> the kernel having the SMP- support.
>
> And from what u say it appears to me n that with
> kernel built with SMP support this driver is not going
> to work?????
>
> Any way I will try to build without SMP support.But
> that will not serve my purpose.
> Thanx
> --- Robert Read <[EMAIL PROTECTED]> wrote:
> > Rebuild the kernel & modules without SMP and try.
> > Werner's machine
> > was also SMP, and he had the same error. My box is
> > UP, no error.
> >
> > On Fri, Mar 09, 2001 at 12:16:20PM -0800, rakesh
> > rakesh wrote:
> > > Yes-its a SMP system. I have two adapter on the
> > PCI
> > > slot .the boot is SCSI disk which is connected to
> > > Qla1280 and the other is FC disk which is
> > obviously
> > > connected to Qlogic 2200.
> > > Any other info U want .Then please let me know.And
> > the
> > > kernel version is 2.4.0.Though I have tried on
> > > 2.4.0-test11 too. But its seems to be broken on
> > this
> > > version too.
> > >
> > > Thanx
> > > --- Robert Read <[EMAIL PROTECTED]> wrote:
> > > > Please send more info on your machine.
> > Specifically,
> > > > is it SMP?
> > > > > But what I could figure out from few of the
> > mails
> > > > is
> > > > > that this driver seems to working fine with
> > Kernel
> > > > > version 2.4.0.So wanted to figure out where I
> > am
> > > > > wrong.
> > > > > In the HBA BIOS I have set the CONNECTIONS
> > option
> > > > to
> > > > > be
> > > > > 0(zero) for LOOP only.
> > > > > Immediate response will be highly appreciated.
> > > > > Thanks.
> > > > >
> > > > >
> > > > > --- Robert Read <[EMAIL PROTECTED]> wrote:
> > > > > > On Thu, Mar 08, 2001 at 02:02:35PM -0800,
> > rakesh
> > > > > > rakesh wrote:
> > > > > > > Hi ,
> > > > > > > when i am trying to load the qlogicfc
> > driver
> > > > > > > (lk-2.4.0) I get the following message-
> > > > > > > Link is up....
> > > > > > > > init_module: No
> > > > > > > > > such device
> > > > > > > > > Hint: insmod errors can be caused by
> > > > incorrect
> > > > > > > > module parameters, including
> > > > > > > > > invalid IO or IRQ parameters
> > > > > > > I have one FC disk connected to the FC
> > adapter
> > > > > > ....
> > > > > > > Can anybody let me the solution to the
> > > > problem.
> > > > > > > Its connected in P2P.
> > > > > > > Thanx in advance
> > > > > >
> > > > > > AFAIK, P2P is not supported by the qlogic
> > > > driver.
> > > > > > But, you didn't say
> > > > > > what your problem is, so I'm just guessing.
> > > > > >
> > > > > > robert
> > > > > >
> > > > > > >
> > > > > > > --- Robert Read <[EMAIL PROTECTED]>
> > wrote:
> > > > > > > > Well, this doesn't help you much, but
> > it's
> > > > > > working
> > > > > > > > here, and I also
> > > > > > > > have the adaptec driver loaded.
> > > > > > > >
> > > > > > > > On Wed, Mar 07, 2001 at 12:32:27PM
> > +0100,
> > > > > > > > [EMAIL PROTECTED] wrote:
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Hi,
> > > > > > > > >
> > > > > > > > > is there somebody looking after the
> > > > qlogicfc
> > > > > > > > driver?
> > > > > > > > > It seems to be broken in kernel
> > version
> > > > 2.4.2
> > > > > > and
> > > > > > > > > later (2.4.3-pre2).
> > > > > > > > >
> > > > > > > > > When I try to load it, I get the
> > > > following
> > > > > > > > messages:
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /lib/modules/2.4.3-pre2/kernel/drivers/scsi/qlogicfc.o:
> > > > > > > > init_module: No
> > > > > > > > > such device
> > > > > > > > > Hint: insmod errors can be caused by
> > > > incorrect
> > > > > > > > module parameters, including
> > > > > > > > > invalid IO or IRQ parameters
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /lib/modules/2.4.3-pre2/kernel/drivers/scsi/qlogicfc.o:
> > > > > > > > insmod
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /lib/modules/2.4.3-pre2/kernel/drivers/scsi/qlogicfc.o
> > > > > > > > failed
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> /lib/modules/2.4.3-pre2/kernel/drivers/scsi/qlogicfc.o:
> > > > > > > > insmod qlogicfc
> > > > > > > > > failed
> > > > > > > > >
> > > > > > > > > It worked fine in kernel version 2.4.1
> > and
> > > > > > > > earlier.
> > > > > > > > >
> > > > > > > > > Thanks in advance ...
> > > > > > > > >
> > > > > > > > > Alexander Warmuth
> > > > > > > > > IBM Storage Solutions Group
> > > > > > > > > Advanced Technical Support Storage
> > Area
> > > > > > Networks
> > > > > > > > > Mainz, Germany
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > -
> > > > > > > > > To unsubscribe from this list: send
> > the
> > > > line
> > > > > > > > "unsubscribe linux-scsi" in
> > > > > > > > > the body of a message to
> > > > > > [EMAIL PROTECTED]
> > > > > > > > -
> > > > > > > > To unsubscribe from this list: send the
> > line
> > > > > > > > "unsubscribe linux-scsi" in
> > > > > > > > the body of a message to
> > > > > > [EMAIL PROTECTED]
> > > > > > >
> > > > > > >
> > > > > > >
> > > >
> > __________________________________________________
> > > > > > > Do You Yahoo!?
> > > > > > > Get email at your own domain with Yahoo!
> > Mail.
> > > >
> > > > > > > http://personal.mail.yahoo.com/
> > > > > > -
> >
> === message truncated ===
>
>
> __________________________________________________
> Do You Yahoo!?
> Get email at your own domain with Yahoo! Mail.
> http://personal.mail.yahoo.com/
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]