Hi I am working on CAM Target Layer on Freebsd 11 Current. This project is about adding virtual CD drive and Tape drive features in CTL. I have installed Freebsd 11 Current ISO file on VM player.

REPORTS of Week 1:

I started my week installing freebsd and reading ctl code.

Few Problems which i faced in this whole week

1. Installation of Freebsd using bootable pen drive: I tried making USB bootable using ISO and memstick image of Freebsd 11 current using different software on windows and using dd command in linux. But i could not succeed. Then i realised that in dd command i am booting a partition of my USB (/dev/sdb1 in my system). So i tried with full USB memory (/dev/sdb) and i succeeded.

2. I am using freebsd 11 current as VM on ubuntu system using VM player also. I got stucked while checking out base/head/ from svn. But later i googled it and found that http proxy host and port has to be set in ~.subversion/servers file. And after setting these variables svn ran fine.

3. During make buildworld in head/, it threw some error :

make[1]: "/usr/home/neeraj/head/Makefile.inc1" line 1757: Malformed conditional (${MK_CRYPT} != "no") make[1]: "/usr/home/neeraj/head/Makefile.inc1" line 1782: Malformed conditional (${MK_KERBEROS} != "no") make[1]: "/usr/home/neeraj/head/Makefile.inc1" line 1802: Malformed conditional (${MK_GSSAPI} != "no") make[1]: "/usr/home/neeraj/head/Makefile.inc1" line 1806: Malformed conditional (${MK_KERBEROS} != "no")

This error came because Makefile includes from </usr/share/mk> With the help of mentor Edward, i was able to find the reason of this error. It was because there were some file missing in /usr/share/mk folder which Makefile includes in it. So i copied those files from head/share/mk/ to /usr/share/mk and then it ran fine.

I am reading CTL, CTLD, ISCSICTL code in head/ branch of freebsd.

NeerajRawat/Add_CD_ROM_To_CTL (last edited 2018-07-18T05:57:55+0000 by KubilayKocak)