All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: 2.5.31 qlogic error "this should not happen"
@ 2002-08-27 21:36 rwhron
  0 siblings, 0 replies; 10+ messages in thread
From: rwhron @ 2002-08-27 21:36 UTC (permalink / raw)
  To: patmans; +Cc: linux-scsi

> Can you show cat /proc/scsi/scsi of the machine
> (as well as the lspci etc)?

Luns 0-31 look like this:

Host: scsi3 Channel: 00 Id: 01 Lun: 00
  Vendor: IBM      Model: 3542             Rev: 0401
  Type:   Direct-Access                    ANSI SCSI revision: 03

Luns 32-127 look like this:

Host: scsi3 Channel: 00 Id: 01 Lun: 32
  Vendor: m  m  m  Model: m  m  m m  m  m  Rev:
  Type:   Direct-Access                    ANSI SCSI revision: ffffffff

Luns 32-127 shouldn't be accessible from this machine.
I believe it's part of a SAN at OSDL.

All of cat /proc/scsi/scsi at:
http://home.earthlink.net/~rwhron/kernel/scsi.txt

Qlogic entries in lspci -vvv:

09:04.0 SCSI storage controller: QLogic Corp. QLA2200 (rev 05)
        Subsystem: QLogic Corp.: Unknown device 0002
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR+ FastB2B-
        Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 64 (16000ns min), cache line size 08
        Interrupt: pin A routed to IRQ 19
        Region 0: I/O ports at 9000 [size=256]
        Region 1: Memory at f6800000 (32-bit, non-prefetchable) [size=4K]
        Expansion ROM at <unassigned> [disabled] [size=128K]
        Capabilities: [44] Power Management version 1
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

09:05.0 SCSI storage controller: QLogic Corp. QLA2200 (rev 05)
        same as above except for:
        Interrupt: pin A routed to IRQ 18
        Region 0: I/O ports at 9400 [size=256]
        Region 1: Memory at f6801000 (32-bit, non-prefetchable) [size=4K]

All of lspci -vvv at:
http://home.earthlink.net/~rwhron/kernel/lspci.txt

> Does RAID-5 mean you have a storage array attached? 

Yes, hardware raid5.  It appears to the OS as /dev/sdc.

> It looks like the latest qlogic qla driver includes 2.5.x support
> http://download.qlogic.com/drivers/5639/qla2x00-v6.1b5-dist.tgz

Thanks.  The new driver appears to have 2.5 bits similar to
Lincoln Dale's patch for v6.1b2.

-- 
Randy Hron
http://home.earthlink.net/~rwhron/kernel/bigbox.html


^ permalink raw reply	[flat|nested] 10+ messages in thread
* Re: 2.5.31 qlogic error "this should not happen"
@ 2002-08-25 19:18 rwhron
  2002-08-26 19:36 ` Patrick Mansfield
  0 siblings, 1 reply; 10+ messages in thread
From: rwhron @ 2002-08-25 19:18 UTC (permalink / raw)
  To: ehw, dledford; +Cc: linux-kernel

> I occasionally saw that error on our 2.4 RAID system; it went away when I
> increased the size of the handles array in qlogicfc.h:

-#define QLOGICFC_REQ_QUEUE_LEN  127 /* must be power of two - 1 */
+#define QLOGICFC_REQ_QUEUE_LEN  255 /* must be power of two - 1 */

That change in addition to Doug's patch in 
http://marc.theaimsgroup.com/?l=linux-kernel&m=103005703808312&w=2
have done the trick. 2.5.31-mm1-dl-ew completed the 54 hour
benchmarathon. (first 2.5 kernel to finish). 

Details at:
http://home.earthlink.net/~rwhron/kernel/bigbox.html
-- 
Randy Hron


^ permalink raw reply	[flat|nested] 10+ messages in thread
* 2.5.31 qlogic error "this should not happen"
@ 2002-08-23 11:26 rwhron
  0 siblings, 0 replies; 10+ messages in thread
From: rwhron @ 2002-08-23 11:26 UTC (permalink / raw)
  To: dledford; +Cc: linux-kernel

> Try applying the attached patch and see if it helps you out any.

The box locked up while running bonnie++ with the patch.
One difference was without the patch, it printed the
"this should not happen" 9 times.  With the patch, it printed
54 times (6 times more), if that's any kind of clue.

I'm trying Eric's suggestion to change QLOGICFC_REQ_QUEUE_LEN
from 127 to 255 on top of your patch.

-- 
Randy Hron
http://home.earthlink.net/~rwhron/kernel/bigbox.html


^ permalink raw reply	[flat|nested] 10+ messages in thread
* Re: 2.5.31 qlogic error "this should not happen"
@ 2002-08-23  1:08 rwhron
  0 siblings, 0 replies; 10+ messages in thread
From: rwhron @ 2002-08-23  1:08 UTC (permalink / raw)
  To: dledford; +Cc: linux-kernel

> Try applying the attached patch and see if it helps you out any.

Thanks Doug.  I'm running your patch now.  It takes about 8-12 hours
to get past bonnie++.  So far, so good.

-- 
Randy Hron
http://home.earthlink.net/~rwhron/kernel/bigbox.html


^ permalink raw reply	[flat|nested] 10+ messages in thread
* Re: 2.5.31 qlogic error "this should not happen"
@ 2002-08-23  0:52 rwhron
  0 siblings, 0 replies; 10+ messages in thread
From: rwhron @ 2002-08-23  0:52 UTC (permalink / raw)
  To: ltd; +Cc: linux-kernel

> i forward-ported their (beta) driver to 2.5 and posted the diff to l-k at
> the time.

The qlogic (beta) driver is good for 10-20% throughput and lower latency
in the tests I run.  I'd love to see the qlogic patch + your
http://marc.theaimsgroup.com/?l=linux-kernel&m=102643109230093&w=2
patch in 2.5.

-- 
Randy Hron
http://home.earthlink.net/~rwhron/kernel/bigbox.html


^ permalink raw reply	[flat|nested] 10+ messages in thread
* Re: 2.5.31 qlogic error "this should not happen"
@ 2002-08-22 23:08 Eric Weigle
  0 siblings, 0 replies; 10+ messages in thread
From: Eric Weigle @ 2002-08-22 23:08 UTC (permalink / raw)
  To: rwhron; +Cc: Linux kernel mailing list (lkml)

[-- Attachment #1: Type: text/plain, Size: 549 bytes --]

FWIW-

I occasionally saw that error on our 2.4 RAID system; it went away when I
increased the size of the handles array in qlogicfc.h:

-#define QLOGICFC_REQ_QUEUE_LEN  127 /* must be power of two - 1 */
+#define QLOGICFC_REQ_QUEUE_LEN  255 /* must be power of two - 1 */


I know this probably isn't the ``right'' solution, but it worked for me...
your mileage may vary.

-Eric

-- 
------------------------------------------------
 Eric H. Weigle -- http://public.lanl.gov/ehw/ 
------------------------------------------------

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread
* 2.5.31 qlogic error "this should not happen"
@ 2002-08-22 22:39 rwhron
  2002-08-22 22:50 ` Lincoln Dale
  2002-08-22 22:54 ` Doug Ledford
  0 siblings, 2 replies; 10+ messages in thread
From: rwhron @ 2002-08-22 22:39 UTC (permalink / raw)
  To: linux-kernel

While running bonnie++ with 2.5.31 and 2.5.31-mm1,
a quad xeon with QLogic Corp. QLA2200 (rev 05)
stopped responding.  These were the last lines
in /var/log/messages before the box was rebooted.

kernel: qlogicfc0 : no handle slots, this should not happen.
kernel: hostdata->queued is 6, in_ptr: 7d
kernel: qlogicfc0 : no handle slots, this should not happen.
kernel: hostdata->queued is 6, in_ptr: 18
kernel: qlogicfc0 : no handle slots, this should not happen.
kernel: hostdata->queued is 6, in_ptr: 33
kernel: qlogicfc0 : no handle slots, this should not happen.
kernel: hostdata->queued is 6, in_ptr: 33
kernel: qlogicfc0 : no handle slots, this should not happen.
kernel: hostdata->queued is 6, in_ptr: 69
kernel: qlogicfc0 : no handle slots, this should not happen.
kernel: hostdata->queued is 6, in_ptr: 69
kernel: qlogicfc0 : no handle slots, this should not happen.
kernel: hostdata->queued is 6, in_ptr: 4
kernel: qlogicfc0 : no handle slots, this should not happen.
kernel: hostdata->queued is 6, in_ptr: 1f
kernel: qlogicfc0 : no handle slots, this should not happen.
kernel: hostdata->queued is 6, in_ptr: 3a

This is the qlogic config:
# CONFIG_SCSI_QLOGIC_FAS is not set
CONFIG_SCSI_QLOGIC_ISP=y
CONFIG_SCSI_QLOGIC_FC=y
# CONFIG_SCSI_QLOGIC_FC_FIRMWARE is not set
# CONFIG_SCSI_QLOGIC_1280 is not set

The same config works fine on 2.4.

Anyone know if the newer qlogic driver compatible with 2.5?
http://marc.theaimsgroup.com/?l=linux-kernel&m=102919565520122&w=2

-- 
Randy Hron
http://home.earthlink.net/~rwhron/kernel/bigbox.html


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2002-08-27 21:36 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-27 21:36 2.5.31 qlogic error "this should not happen" rwhron
  -- strict thread matches above, loose matches on Subject: below --
2002-08-25 19:18 rwhron
2002-08-26 19:36 ` Patrick Mansfield
2002-08-23 11:26 rwhron
2002-08-23  1:08 rwhron
2002-08-23  0:52 rwhron
2002-08-22 23:08 Eric Weigle
2002-08-22 22:39 rwhron
2002-08-22 22:50 ` Lincoln Dale
2002-08-22 22:54 ` Doug Ledford

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.