Date: Mon, 11 Jul 2016 08:00:47 +0000 From: suraj ponugoti <surajponugoti@outlook.com> To: "soc-status@FreeBSD.org" <soc-status@FreeBSD.org> Subject: Fw: Adding SCSI Passthrough to CTL Message-ID: <SN1PR11MB07825CFEA68075F11DD13488B23F0@SN1PR11MB0782.namprd11.prod.outlook.com> In-Reply-To: <SN1PR11MB0782874263AA88640FE855AEB2270@SN1PR11MB0782.namprd11.prod.outlook.com> References: <SN1PR11MB07828C02676342B185F4370AB2590@SN1PR11MB0782.namprd11.prod.outlook.com>, <SN1PR11MB07825E3C08383C907207C79CB2520@SN1PR11MB0782.namprd11.prod.outlook.com>, <SN1PR11MB0782E41A5F9D2994F49E2670B2290@SN1PR11MB0782.namprd11.prod.outlook.com>, <SN1PR11MB07824A6652358F401A794623B2200@SN1PR11MB0782.namprd11.prod.outlook.com>, <SN1PR11MB0782874263AA88640FE855AEB2270@SN1PR11MB0782.namprd11.prod.outlook.com>
index | next in thread | previous in thread | raw e-mail
Hi, This project is about exporting physical SCSI devices over iSCSI through CTL as an actual SCSI target. Wiki Page: https://wiki.freebsd.org/SurajPonugoti Git Repo: https://github.com/suraj5/freebsd Weekly updates: I tried to fix mpt error, but I wasn't successful. I am hard coding ccb based on ctl_io in ctlpass peripheral driver, and then I am calling xpt_schedule to receive a ccb when a target device has more space. In ctlpassstart, I am copying all the contents to the new ccb and then I am calling xpt_action. In ctlpassdone I am copying status and data_buffer back to ctl_io and then I am passing this ctl_io to ctl_datamove function. For few commands mpt messages are showing up and sometimes it gets into a loop. I tried everything I can , I am struck. I don't know where I am going wrong. I need some help. Please. Attached are the screen shots. Thanks Surajhelp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?SN1PR11MB07825CFEA68075F11DD13488B23F0>
