[6863] in linux-scsi channel archive

home help back first fref pref prev next nref lref last post

Problem using "scsi add-single-device" >/proc/scsi/scsi

daemon@ATHENA.MIT.EDU (D. Lance Robinson)
Wed Jul 21 15:28:03 1999

Date:   Wed, 21 Jul 1999 11:46:53 -0700
From: "D. Lance Robinson" <lancer@airways.com>
Reply-To: lancer@airways.com
To: linux-scsi <linux-scsi@vger.rutgers.edu>,
        Gerard Roudier <groudier@club-internet.fr>

Hi Gerard & others,

Using a Symbios/LSI 53c895 chip and the sym53c8xx driver, I am trying to
scan the bus for newly added devices using the

   echo "scsi add-single-device 0 0 id 0 " >/proc/scsi/scsi

technique. This generally works on an idle bus (doesn't always see a
device), but bad things happen when there is activity on the bus when
the 'add' command is issued. A bus reset get generated when a device
reselects the bus. And this can happen several times when trying to
'add' (probe) a non-existant device.

Here is a scenario of what is happening (with the help of a SCSI
analyzer.)

1) One or more commands get queued up in device X.
2) The 'add-single-device' command is issued for non-existant device Y.
3)   Exactly what happens now is a bit fuzzy
4) Device X reselects the host, and sends the 0x80 Identify message
5) The SCSI Bus is RESET.
6) Loops back to 4 for zero or more times

NOTE: I am using Seagate Barracuda devices (ST39102LC) and this is on a
PowerPC system.

Any ideas ?

<>< Lance.

-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.rutgers.edu

home help back first fref pref prev next nref lref last post