2000-12-18 21:55:31

by Peter Rival

[permalink] [raw]
Subject: QLogicFC problems with 2.4.x?

Hi,

I was just lent a QLogic ISP2200 FC adapter and have been having a
bear of a time trying to get it to work on my Alpha ES40 and GS80. I've
tried both the qlogicfc (with standard kernel) and qla2x00 (from QLogic
and Compaq) driver both built-in and as modules but neither of them are
working. Has anyone had success with later (I'm using 2.4.0-test11) 2.4
kernels and the QLogic FC adapter? I'm currently plugged into a Brocade
switch (Plaides I, I believe) which is also attached to two pair of
HSG80 FC RAID controllers. AFAIK, the 2200 is supposed to work with an
FC fabric, so this should work, right? Can anyone offer any
assistance? Thanks!

- Pete


2000-12-19 17:08:10

by robert read

[permalink] [raw]
Subject: Re: QLogicFC problems with 2.4.x?


The driver loads for me on 2.4 on Intel, but I don't have access to an
Alpha right now. Have you tried Mathew Jacob's driver? It looks like
it supports Alpha.

http://www.feral.com/isp.html

robert

On Mon, Dec 18, 2000 at 04:24:38PM -0500, Peter Rival wrote:
> Hi,
>
> I was just lent a QLogic ISP2200 FC adapter and have been having a
> bear of a time trying to get it to work on my Alpha ES40 and GS80. I've
> tried both the qlogicfc (with standard kernel) and qla2x00 (from QLogic
> and Compaq) driver both built-in and as modules but neither of them are
> working. Has anyone had success with later (I'm using 2.4.0-test11) 2.4
> kernels and the QLogic FC adapter? I'm currently plugged into a Brocade
> switch (Plaides I, I believe) which is also attached to two pair of
> HSG80 FC RAID controllers. AFAIK, the 2200 is supposed to work with an
> FC fabric, so this should work, right? Can anyone offer any
> assistance? Thanks!
>
> - Pete
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> Please read the FAQ at http://www.tux.org/lkml/

2000-12-19 18:21:14

by Matthew Jacob

[permalink] [raw]
Subject: Re: QLogicFC problems with 2.4.x?


It does, but 2.4 alpha hasn't quite worked for me (the latest matrix of
support for LINUX is below- and I haven't passed Michael Declerck's testing
yet). I'll be checking the latest alpha bits this week some time and I still
also need to finish the kernel thread work that will allow loop events to be
down OOB.

------------------------------------------------------------------------------
Linux Notes

2.0/2.1/2.3 support dropped. 2.0 support will be added back later, but
basically, it'll be 2.0/2.2/2.4 only support.

NOTE: SOME CHANGES ARE NOW REQUIRED IN A DEFAULT KERNEL BECAUSE WE NEED
NOTE: SOME EXTRA SYMBOLS EXPORTED. SEE LINUX_BUILD INSTRUCTIONS.
NOTE: AT THIS TIME YOU MUST BOOT 2.4/i386 WITH nmi_watchdog=0
NOTE: APPENDED TO THE BOOT COMMAND LINE.

NOTE: TARGET MODE IS BROKEN IN LINUX RIGHT NOW

This release has been tested agains:

Alpha 2.2.17 [1]
IA-32 2.2.17 2.4.0-test11
PowerPC 2.2.17 [2]
Sparc64 2.2.17 2.4.0-test11

There are now patches agains 2.2.17 and 2.4.0-test11 in the linux subdirectory.
Or you can build as a module in place in the linux directory. See
LINUX_BUILD_INSTRUCTIONS.

[1] 2.4.0-test11 panic'd and crashed and burned in readw for me. I think
that this is a known alpha arch problem at this time, so I'm going to wait
until 'they' fix it.
[2] I can't find a complable 2.4 for PPC at the time of test1.
------------------------------------------------------------------------------

On Tue, 19 Dec 2000, Robert Read wrote:

>
> The driver loads for me on 2.4 on Intel, but I don't have access to an
> Alpha right now. Have you tried Mathew Jacob's driver? It looks like
> it supports Alpha.
>
> http://www.feral.com/isp.html
>
> robert
>
> On Mon, Dec 18, 2000 at 04:24:38PM -0500, Peter Rival wrote:
> > Hi,
> >
> > I was just lent a QLogic ISP2200 FC adapter and have been having a
> > bear of a time trying to get it to work on my Alpha ES40 and GS80. I've
> > tried both the qlogicfc (with standard kernel) and qla2x00 (from QLogic
> > and Compaq) driver both built-in and as modules but neither of them are
> > working. Has anyone had success with later (I'm using 2.4.0-test11) 2.4
> > kernels and the QLogic FC adapter? I'm currently plugged into a Brocade
> > switch (Plaides I, I believe) which is also attached to two pair of
> > HSG80 FC RAID controllers. AFAIK, the 2200 is supposed to work with an
> > FC fabric, so this should work, right? Can anyone offer any
> > assistance? Thanks!
> >
> > - Pete
> >
> > -
> > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> > the body of a message to [email protected]
> > Please read the FAQ at http://www.tux.org/lkml/
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> Please read the FAQ at http://www.tux.org/lkml/
>

2000-12-19 18:49:13

by Peter Rival

[permalink] [raw]
Subject: Re: QLogicFC problems with 2.4.x?

This is just to let everyone know that, thanks to Craig Ruff, I now have
qlogicfc working under 2.4.11 on my ES40 and GS80. The secret is to set
CONNECTION_PREFERENCE to P2P_ONLY instead of LOOP_ONLY, and to build it
in to the kernel instead of as a module. My problem now is that the
GS80 oopses when I try to mke2fs the second stripe set on the HSG80.
This _only_ happens on the second mke2fs, not the first. Screen dump is
as follows:

#mke2fs /dev/sde2
....
Writing inode tables: done
Writing superblocks and filesystem accounting information: pci_map_sg
failed: could not allocate dma page tables
pci_map_sg failed: could not allocate dma page tables
pci_map_sg failed: could not allocate dma page tables
pci_map_sg failed: could not allocate dma page tables
pci_map_sg failed: could not allocate dma page tables
pci_map_sg failed: could not allocate dma page tables
pci_map_sg failed: could not allocate dma page tables
pci_map_sg failed: could not allocate dma page tables
Unable to handle kernel paging request at virtual address 003ffc00001a0000
....
I've inlined the ksymoops output below. I still haven't gotten the
qla2x00 driver working... kinda strange... I'll also be trying Matthew
Jacob's driver as soon as I get the chance. Thanks for all the
suggestions everyone!

- Pete

ksymoops 0.7c on alpha 2.4.0-test11. Options used
-V (default)
-k /proc/ksyms (default)
-l /proc/modules (default)
-o /lib/modules/2.4.0-test11/ (default)
-m /usr/tmp/System.map (specified)

No modules in ksyms, skipping objects
Warning (read_lsmod): no symbols in lsmod, is /proc/modules a valid
lsmod file?
Unable to handle kernel paging request at virtual address 003ffc00001a0000
CPU 0 swapper(0): Oops 1
pc = [<fffffc000081ca40>] ra = [<fffffc000081d4a4>] ps = 0007
Using defaults from ksymoops -t elf64-alpha -a alpha
Warning (Oops_read): Code line not seen, dumping what data is available

>>PC; fffffc000081ca40 <iommu_arena_free+20/40> <=====

gp = fffffc0000ab9460 sp = fffffc0000a1bd98
Code: fffffc0043f209a1 fffffc0042220642 fffffc00e4200008
fffffc002fe00000 fffffc0047ff041f fffffc002fe00000 fffffc00b7e20000
fffffc0040603403

Code; fffffc000081ca40 <iommu_arena_free+20/40>

0000000000000000 <_PC>:
Code; fffffc000081ca40 <iommu_arena_free+20/40>
0: a1 09 f2 43 cmplt zero,a2,t0
Code; fffffc000081ca44 <iommu_arena_free+24/40>
4: 00 fc ff ff bgt zero,fffffffffffff008 <_PC+0xfffffffffffff008>
fffffc000081ba48 <smp_call_function+108/140>
Code; fffffc000081ca48 <iommu_arena_free+28/40>
8: 42 06 22 42 s8addq a1,t1,t1
Code; fffffc000081ca4c <iommu_arena_free+2c/40>
c: 00 fc ff ff bgt zero,fffffffffffff010 <_PC+0xfffffffffffff010>
fffffc000081ba50 <smp_call_function+110/140>
Code; fffffc000081ca50 <iommu_arena_free+30/40>
10: 08 00 20 e4 beq t0,34 <_PC+0x34> fffffc000081ca74
<pci_map_single+14/1a0>
Code; fffffc000081ca54 <iommu_arena_free+34/40>
14: 00 fc ff ff bgt zero,fffffffffffff018 <_PC+0xfffffffffffff018>
fffffc000081ba58 <smp_call_function+118/140>
Code; fffffc000081ca58 <iommu_arena_free+38/40>
18: 00 00 e0 2f unop
Code; fffffc000081ca5c <iommu_arena_free+3c/40>
1c: 00 fc ff ff bgt zero,fffffffffffff020 <_PC+0xfffffffffffff020>
fffffc000081ba60 <smp_call_function+120/140>
Code; fffffc000081ca60 <pci_map_single+0/1a0>
20: 1f 04 ff 47 nop

Code; fffffc000081ca64 <pci_map_single+4/1a0>
24: 00 fc ff ff bgt zero,fffffffffffff028
<_PC+0xfffffffffffff028> fffffc000081ba68 <smp_call_function+128/140>
Code; fffffc000081ca68 <pci_map_single+8/1a0>
28: 00 00 e0 2f unop
Code; fffffc000081ca6c <pci_map_single+c/1a0>
2c: 00 fc ff ff bgt zero,fffffffffffff030
<_PC+0xfffffffffffff030> fffffc000081ba70 <smp_call_function+130/140>
Code; fffffc000081ca70 <pci_map_single+10/1a0>
30: 00 00 e2 b7 stq zero,0(t1)
Code; fffffc000081ca74 <pci_map_single+14/1a0>
34: 00 fc ff ff bgt zero,fffffffffffff038
<_PC+0xfffffffffffff038> fffffc000081ba78 <smp_call_function+138/140>
Code; fffffc000081ca78 <pci_map_single+18/1a0>
38: 03 34 60 40 addq t2,0x1,t2
Code; fffffc000081ca7c <pci_map_single+1c/1a0>
3c: 00 fc ff ff bgt zero,fffffffffffff040
<_PC+0xfffffffffffff040> fffffc000081ba80 <ipi_imb+0/20>

Aiee, killing interrupt handler
Kernel panic: Attempted to kill the idle task!

2 warnings issued. Results may not be reliable.

Peter Rival wrote:

> Hi,
>
> I was just lent a QLogic ISP2200 FC adapter and have been having a
> bear of a time trying to get it to work on my Alpha ES40 and GS80.
> I've tried both the qlogicfc (with standard kernel) and qla2x00 (from
> QLogic and Compaq) driver both built-in and as modules but neither of
> them are working. Has anyone had success with later (I'm using
> 2.4.0-test11) 2.4 kernels and the QLogic FC adapter? I'm currently
> plugged into a Brocade switch (Plaides I, I believe) which is also
> attached to two pair of HSG80 FC RAID controllers. AFAIK, the 2200
> is supposed to work with an FC fabric, so this should work, right?
> Can anyone offer any assistance? Thanks!
>
> - Pete
>