John S. Kallal on Mon, 29 Mar 1999 20:18:57 -0500 (EST) |
-----BEGIN PGP SIGNED MESSAGE----- At the February meeting someone asked about how to add SCSI devices after SCSI controller initialization. This was needed for devices that where powered on after the SCSI controller driver was started and SCSI file-systems mounted. I volunteered to look into the problem. I found a possible solution to the problem in a section of the 'The Linux SCSI programming HOWTO' v1.5 dated 7 May 1996. The HOWTO section of interest is 4.3.1 entitled 'Dynamically insert and remove SCSI devices'. The HOWTO section give the following: - ----------------------------------------------------------------- To remove a SCSI device: echo "SCSI remove-single-device a b c d" > /proc/scsi/scsi and similar, to add a SCSI device, do echo "scsi add-single-device a b c d" > /proc/scsi/scsi where a == host-adapter id (first one being 0) b == SCSI channel on host-adapter (first one being 0) c == ID d == LUN (first one being 0) - ------------------------------------------------------------------ I have tried to above with on my Linux system using both kernel 2.0.34 and kernel 2.2.2 with detecting any problems. However, my limited SCSI chain has just a SCANNER and an external CD-READER/WRITER. I do can NOT test the above method with a mounted root SCSI file system. Sorry about taking so long to find a possible solution. John Kallal -----BEGIN PGP SIGNATURE----- Version: 2.6.3a Charset: noconv iQCVAwUBNwAlWCJv6kqw5KfpAQGkNAP/fgDrjRqqtYZXzNZThe03u9xSBicZ39Mc wTvcXCmuhojoDZP2MDH1D05lE2nWGYszrjzbLsCmZyXjKqeOILAlH6h1PLLzSlK8 EKLI9HJWqg2rmCLEgm+OEuYM1gvUGyzGZMqGZpdSOkk+sU1lVud4yxNR3xCPng6t KJzVyE16Z1o= =OeAx -----END PGP SIGNATURE----- -- To unsubscribe, send a message with the word 'unsubscribe' in the subject or body of your message to plug-request@lists.nothinbut.net
|
|