Re: [PATCH] [scsi]: Add offline state checking while dispatch a scsi cmd

From: Joe Jin
Date: Sun Mar 11 2007 - 21:05:32 EST


>
> This is a bug actually in the megaraid.

Aha, I'll track it.

>
> And this is a direct command submission path: it already passed both
> online check gates in this path *after* the device was offlined, so
> adding a third won't fix this.

Yeah, I have notice that, however, from the logs, the device have offline,
but why still can send cmd to device? isn't the sequences of printk suspectful?

> single disk, so the I/O was definitely bound for sda? Secondly, can you
> reproduce with a modern (2.6.20) kernel. Your trace strongly suggests
> that the device came back online for some reason and then the megaraid
> driver died.

It's hard to update the kernel for the system is a production system, and we
cannot debug it at the box :(

I dont know if you have notice, the logs come from diskdump, if it caused by
diskdump?

Thanks,
Joe
-
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/