X-GM-THRID: 6396247239473233920 Date: Wed, 15 Mar 2017 07:58:30 -0700 (PDT) From: Varsha Rao To: outreachy-kernel Cc: rvarsha016@gmail.com Message-Id: <09641868-447c-4cfd-ab88-c33d932846ef@googlegroups.com> In-Reply-To: References: <1a480897-bdb9-4d3c-8143-d5347f67c2b6@googlegroups.com> Subject: Re: [Outreachy kernel] Re: Trouble with IIO dummy build. MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_4602_368408823.1489589910124" X-Google-Token: EJatpcYFBDz4qUph31Y0 X-Google-IP: 118.151.209.30 ------=_Part_4602_368408823.1489589910124 Content-Type: multipart/alternative; boundary="----=_Part_4603_93514740.1489589910124" ------=_Part_4603_93514740.1489589910124 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello, > > My first thought on this is to compile everything related to IIO as Y=20 > not m. Then we can see=20 > if there is some module dependency etc.=20 > =20 I have configured accordingly but few could not be set to Y, as they=20 were dependent on some other module. http://pastebin.com/49AvqiGP=20 =20 After setting to Y, I am no longer able to load the modules successfully= . Even though these commands execute with no errors. sudo modprobe iio_dummy_evgen sudo modprobe iio_dummy $ lsmod | grep "iio" does not give any output. =20 But I can mount the config directory. After mounting, I cannot create= =20 sub directory. =20 $ sudo mount -t configfs none /config $ sudo mkdir /config/conf1 mkdir: cannot create directory =E2=80=98/config/conf1=E2=80=99: Operati= on not permitted =20 Thanks, Varsha After we make everything work with module compiled in kernel image (y)=20 > we can go back and use your current config.=20 > > thanks,=20 > Daniel.=20 > =20 =20 ------=_Part_4603_93514740.1489589910124 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable

Hello,

My first thought on this is to compile everything related to IIO as Y
not m. Then we can see
if there is some module dependency etc.
=C2=A0
=C2=A0=C2=A0 I have configured accordingly= but few could not be set to Y, as they were dependent on some other module= .
=C2=A0=C2=A0 http://pastebin.com/49AvqiGP
=C2=A0=C2=A0
=C2=A0= =C2=A0 After setting to Y, I am no longer able to load the modules successf= ully.
=C2=A0=C2=A0 Even though these commands execute with no errors.
=C2=A0=C2=A0 sudo modprobe iio_dummy_evgen
=C2=A0=C2=A0 sudo modpro= be iio_dummy
=C2=A0=C2=A0 $ lsmod | grep "iio"=C2=A0 does not = give any output.
=C2=A0=C2=A0=C2=A0
=C2=A0=C2=A0=C2=A0 Bu= t I can mount the config directory. After mounting, I cannot create sub dir= ectory.
=C2=A0
=C2=A0 =C2=A0 $ sudo mount -t configfs none /config<= br>=C2=A0=C2=A0=C2=A0 $ sudo mkdir /config/conf1
=C2=A0=C2=A0=C2=A0 mkdi= r: cannot create directory =E2=80=98/config/conf1=E2=80=99: Operation not p= ermitted
=C2=A0
=C2=A0=C2=A0 Thanks,
=C2=A0=C2=A0 Varsha

After we make everything w= ork with module compiled in kernel image (y)
we can go back and use your current config.

thanks,
Daniel.
=C2=A0

=C2=A0
------=_Part_4603_93514740.1489589910124-- ------=_Part_4602_368408823.1489589910124--