Re: Oops in scsi_send_eh_cmnd 2.6.21-rc5-git6,7,10,13

From: David Miller
Date: Fri Apr 06 2007 - 14:32:50 EST


From: James Bottomley <James.Bottomley@xxxxxxxxxxxx>
Date: Fri, 06 Apr 2007 10:27:57 -0500

> On Fri, 2007-04-06 at 08:12 -0700, Andrew Burgess wrote:
> > Yes. The 3w-xxxx.c driver changed between 2.6.18 and 2.6.20 but
> > nothing jumps out to my untrained eyes. Here's the diff:
> > Also, I should mention that the working kernel is a fedora
> > rpm (2.6.18-1.2798.fc6) so I don't know what patches are in it.
> > The vmlinuz is dated Oct 6 2006.
>
> It's actually a long standing bug in the 3w-xxxx driver. Apparently it
> assumes request sense is always the use_sg == 0 case. This is what it
> does on a request sense:

Thanks for figuring this out James. I was very worried there
was some bug in my scsi_send_eh_cmnd() fix :)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/