linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* qla1280 bugfix in limbo?
@ 2006-08-24 16:33 Bailey, Scott
  2006-08-24 17:28 ` Bug#366730: " Thiemo Seufer
  2006-08-25 11:14 ` qla1280 bugfix in limbo? Jes Sorensen
  0 siblings, 2 replies; 4+ messages in thread
From: Bailey, Scott @ 2006-08-24 16:33 UTC (permalink / raw)
  To: 366730; +Cc: Bailey, Scott, linux-scsi

Just tuning in briefly to report:

1. I have been running my 3-processor Alphaserver 4100 with Ian's patch
http://bugzilla.kernel.org/show_bug.cgi?id=6275 for a little over a
month now, first with 2.6.16 and now with 2.6.17, and it continues to
work like a champ. I very much would like to see this fix incorporated
into the Debian kernel or preferably upstream, since my DLT drive is
pretty much useless without it.

2. Unfortunately, I see no sign that anybody has looked at the kernel
bugzilla report above.

Is there anything I can do to help move things along?

Thanks,

Scott Bailey
scott.bailey@eds.com

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

* Re: Bug#366730: qla1280 bugfix in limbo?
  2006-08-24 16:33 qla1280 bugfix in limbo? Bailey, Scott
@ 2006-08-24 17:28 ` Thiemo Seufer
  2006-08-24 18:01   ` [SCSI] - eliminate hard-coded timeouts in qla1280.c Bailey, Scott
  2006-08-25 11:14 ` qla1280 bugfix in limbo? Jes Sorensen
  1 sibling, 1 reply; 4+ messages in thread
From: Thiemo Seufer @ 2006-08-24 17:28 UTC (permalink / raw)
  To: Bailey, Scott, 366730; +Cc: linux-scsi

Bailey, Scott wrote:
> Just tuning in briefly to report:
> 
> 1. I have been running my 3-processor Alphaserver 4100 with Ian's patch
> http://bugzilla.kernel.org/show_bug.cgi?id=6275 for a little over a
> month now, first with 2.6.16 and now with 2.6.17, and it continues to
> work like a champ. I very much would like to see this fix incorporated
> into the Debian kernel or preferably upstream, since my DLT drive is
> pretty much useless without it.
> 
> 2. Unfortunately, I see no sign that anybody has looked at the kernel
> bugzilla report above.
> 
> Is there anything I can do to help move things along?

Send the patch with description and Signed-Off-By: line to
linux-scsi@vger.kernel.org.


Thiemo

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

* [SCSI] - eliminate hard-coded timeouts in qla1280.c
  2006-08-24 17:28 ` Bug#366730: " Thiemo Seufer
@ 2006-08-24 18:01   ` Bailey, Scott
  0 siblings, 0 replies; 4+ messages in thread
From: Bailey, Scott @ 2006-08-24 18:01 UTC (permalink / raw)
  To: linux-scsi; +Cc: Thiemo Seufer, 366730, Bailey, Scott

Thanks are due to Ian Dall for the following patch. It replaces
hard-coded
30-second timeouts in qla1280.c, enabling tape operations that take
longer
than 30 seconds to work again. :-)

This patch applies cleanly to 2.6.17.11 with an offset of 1 line.

Signed-off-by: R. Scott Bailey <scott.bailey@eds.com>

--- qla1280.c	2006-03-20 16:23:29.000000000 +1030
+++ qla1280.c	2006-03-23 23:37:28.000000000 +1030
@@ -2886,7 +2886,7 @@
 	memset(((char *)pkt + 8), 0, (REQUEST_ENTRY_SIZE - 8));
 
 	/* Set ISP command timeout. */
-	pkt->timeout = cpu_to_le16(30);
+	pkt->timeout = cpu_to_le16(cmd->timeout_per_command/HZ);
 
 	/* Set device target ID and LUN */
 	pkt->lun = SCSI_LUN_32(cmd);
@@ -3185,7 +3185,7 @@
 	memset(((char *)pkt + 8), 0, (REQUEST_ENTRY_SIZE - 8));
 
 	/* Set ISP command timeout. */
-	pkt->timeout = cpu_to_le16(30);
+	pkt->timeout = cpu_to_le16(cmd->timeout_per_command/HZ);
 
 	/* Set device target ID and LUN */
 	pkt->lun = SCSI_LUN_32(cmd);

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

* Re: qla1280 bugfix in limbo?
  2006-08-24 16:33 qla1280 bugfix in limbo? Bailey, Scott
  2006-08-24 17:28 ` Bug#366730: " Thiemo Seufer
@ 2006-08-25 11:14 ` Jes Sorensen
  1 sibling, 0 replies; 4+ messages in thread
From: Jes Sorensen @ 2006-08-25 11:14 UTC (permalink / raw)
  To: Bailey, Scott; +Cc: 366730, linux-scsi

>>>>> "Scott" == Bailey, Scott <scott.bailey@eds.com> writes:

Scott> Just tuning in briefly to report: 1. I have been running my
Scott> 3-processor Alphaserver 4100 with Ian's patch
Scott> http://bugzilla.kernel.org/show_bug.cgi?id=6275 for a little
Scott> over a month now, first with 2.6.16 and now with 2.6.17, and it
Scott> continues to work like a champ. I very much would like to see
Scott> this fix incorporated into the Debian kernel or preferably
Scott> upstream, since my DLT drive is pretty much useless without it.

Scott> 2. Unfortunately, I see no sign that anybody has looked at the
Scott> kernel bugzilla report above.

The problem is that the person who submitted it didn't bother CC'ing
the driver maintainer so nobody was aware of the bug being in
bugzilla.

I just discovered it today and I just plan to test it before I push it
upstream.

Jes

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

end of thread, other threads:[~2006-08-25 11:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-24 16:33 qla1280 bugfix in limbo? Bailey, Scott
2006-08-24 17:28 ` Bug#366730: " Thiemo Seufer
2006-08-24 18:01   ` [SCSI] - eliminate hard-coded timeouts in qla1280.c Bailey, Scott
2006-08-25 11:14 ` qla1280 bugfix in limbo? Jes Sorensen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).