Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Jun 2015 15:14:29 +0530
From:      Neeraj Rawat <neerajrawat2011@gmail.com>
To:        soc-status@FreeBSD.org
Subject:   weekly report-1 "Add cd emulation in CTL"
Message-ID:  <CAHW0WqD_-5ukFLVfaqqJ7fzjF1VHp81benKM6PJUCsexdk1_Qg@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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.


regards
Neeraj



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHW0WqD_-5ukFLVfaqqJ7fzjF1VHp81benKM6PJUCsexdk1_Qg>