On Tue, 6 Jun 2006, Lev A. Melnikovsky wrote: > On Mon, 5 Jun 2006 at 12:58pm, Guennadi Liakhovetski wrote: > > > I would try raising it to the maximum ((1 << 30) - 1). The goal would be to > > try to see which command exactly leads to unexpected reselect. > OK, scsi_logging_level=4294967295 > > Now it was very difficult to reproduce the problem, probably due to different > timing. I have eventually managed to reproduce it, but the log size is over > 10MB. You can fetch the compressed file (~100KB) from > http://kapitza.ras.ru/~leva/dc395x.log.bz2 Great! Thanks for the effort! Now, I am very much hoping somebody more knowledgeable about SCSI, this driver and / or having the datasheet could have a look at the logs. I will do that too but it won't be easy for me to understand what's going wrong there. [skipped the log] > > > This scanner is the only device on the bus. My understanding is that I > > > don't > > > need to manually terminate anything, please correct me if I'm wrong. I can > > > not > > The bus has to be terminated on both ends. The HBA is, probably, > > terminating automatically, but the external end has to be terminated. > > Either with an external terminator or with a switch / jumper on your > > scanner. > OK, let's put it in the following way: I can find neither switches nor jumpers > in it. Do you have the manual for the scanner? I don't know, maybe it has an automatic internal terminator. If not, you need an external one. It has 2 SCSI connectors, right? Thanks Guennadi --- Guennadi Liakhovetski - : send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html