Hi Keith, I tried as per your suggestions but still I didn't get the positive result. I search for the driver and I found one node to which both mpt driver and sd driver is attached. For both prtconf -Dv | grep sd and prtconf -Dv | grep mpt I get same node. When I send the uscsi command to this node I get the error meassge "Inappropriate Ioctl for device".
What I have to do is to detect all SCSI devices on system attached to sd driver and communicate with all one by one using uscsi(fd,USCSICMD,..). As I am novice for soalris and working on solaris from last 40 days, I didn't reached at a proficient level yet and so having these queries. Can I get some answers to my queries from this forum? 1. How we can get the device name of the devices in /dev/rdsk/ or /dev/dsk without using ioctls. Is there any theory reference is there to crosscheck ? 2. what is difference in /dev/cfg and /dev/rdsk? 3. when I send uscsi(fd,USCSICMD,...) to devices in /dev/rdsk I get the proper result but not for devices in /dev/cfg. What should be the reason? 4. Where are the instances for device in /dev/cfg/ on system? 5. Is there any documentation on uscsi commands? 6. Is there any complete project instead of just source files on opensolaris source browser to check the uscsi functionality? If anyone have done same kind of work then please send your suggestion as it's now became a desperate worst condition over here for me. Thanks & regards, Aakash
_______________________________________________ opensolaris-code mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
