Aboo Valappil wrote: > Hi All, > > I have tried this before but I guess I was unsuccessful in presenting it > properly in the mailing list. I think it is really useful especially for > prototyping and also for people who wants to develop their own scsi > targets and transports. > There are few people told me about the SCSI target and initiator > implementation of XEN. But I do not think it is this simple and might > take a while to port it to normal linux kernel. At the moment, there is > nothing like this available in a simplest form. > > Please visit this site http://vscsihba.aboo.org. I put a complete > description of the project and the source code. I appreciate if you > could go through it and put your thoughts.... This is my final attempt > in this mailing list before I throw away whole of my work. Throwing it away sounds a bit drastic. It tooks me a while finding the tarball on your site. Perhaps you could put it in a table under a "Downloads" section. The table would be for different versions as it looks like you may need a new one for bleeding edge kernels. I didn't get far trying to build the kernel module against lk 2.6.20-rc5: # make make -C /lib/modules/2.6.20-rc5/build M=/home/upgrades/apps/vscsihba1/vscsihba1/kernel modules make[1]: Entering directory `/usr/src/linux-2.6.19' CC [M] /home/upgrades/apps/vscsihba1/vscsihba1/kernel/hba.o /home/upgrades/apps/vscsihba1/vscsihba1/kernel/hba.c:26: warning: ‘kmem_cache_t’ is deprecated CC [M] /home/upgrades/apps/vscsihba1/vscsihba1/kernel/device.o /home/upgrades/apps/vscsihba1/vscsihba1/kernel/device.c:263:51: error: macro "INIT_WORK" passed 3 arguments, but takes just 2 /home/upgrades/apps/vscsihba1/vscsihba1/kernel/device.c: In function ‘scsitap_ctl_ioctl’: /home/upgrades/apps/vscsihba1/vscsihba1/kernel/device.c:263: error: ‘INIT_WORK’ undeclared (first use in this function) /home/upgrades/apps/vscsihba1/vscsihba1/kernel/device.c:263: error: (Each undeclared identifier is reported only once /home/upgrades/apps/vscsihba1/vscsihba1/kernel/device.c:263: error: for each function it appears in.) make[2]: *** [/home/upgrades/apps/vscsihba1/vscsihba1/kernel/device.o] Error 1 make[1]: *** [_module_/home/upgrades/apps/vscsihba1/vscsihba1/kernel] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.19' make: *** [modules] Error 2 Doug Gilbert - To unsubscribe from this list: 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