2002-08-23 11:17:47

by Randy Hron

[permalink] [raw]
Subject: 2.5.31 qlogic error "this should not happen"

> 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


2002-08-25 19:10:23

by Randy Hron

[permalink] [raw]
Subject: Re: 2.5.31 qlogic error "this should not happen"

> 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

2002-08-26 19:32:51

by Patrick Mansfield

[permalink] [raw]
Subject: Re: 2.5.31 qlogic error "this should not happen"

On Sun, Aug 25, 2002 at 03:18:54PM -0400, [email protected] wrote:
> > 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

That's a huge amount of data. Can you show cat /proc/scsi/scsi of the machine
(as well as the lspci etc)?

Does RAID-5 mean you have a storage array attached? i.e. IBM 3542, fastt 200?

It looks like the latest qlogic qla driver includes 2.5.x support,
I haven't tried it but will at some time:

http://download.qlogic.com/drivers/5639/qla2x00-v6.1b5-dist.tgz

-- Patrick Mansfield