Hi James, this is an updated version of the patch. As I suspected, the issue isn't quite as easy. Problem is that older SCSI-2 device have the habit for responding to LUN1 in addition to LUN0, even though only one device is attached. LUN1 has set PQ to 3 accordingly. And of course we _don't_ want those fake devices to stick around. So I've improved the logic to not register devices with LUN != 0 and a PQ of 1 or 3. All other devices are registered accordingly. I can't really see why we should register devices with PQ 1 and LUN != 0; if one wants to have them he still can do a REPORT LUN on LUN 0 and an explicit scan for the missing device. And I do think the locking is slightly wrong for the failure case; without this adaptecs have a habit of crashing when doing a rmmod. But again, comments etc are welcome. Cheers, Hannes -- Dr. Hannes Reinecke hare@suse.de SuSE Linux AG S390 & zSeries Maxfeldstraße 5 +49 911 74053 688 90409 Nürnberg http://www.suse.de