From: Zhang Shukun Subject: Error 2 opening /bin/ls in domU? Date: Wed, 3 Jun 2009 17:34:28 +0800 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1823576728==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org --===============1823576728== Content-Type: multipart/alternative; boundary=001636283644d1c403046b6e5eab --001636283644d1c403046b6e5eab Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: quoted-printable hi, i want to open /bin/ls file in domU kernel, so i put filp_open("/bin/ls",O_RDONLY,0) into the talk_to_backend funtion. but after compile the xen to boot up domU. error happened: Error 2 opening /bin/ls i guess this time ,the domU filesystem have not been mounted yet, but which function should i put filp_open in is right? many thanks for your reply! --=20 Best regards, =D5=C5=CA=F7=C0=A4 =B1=B1=BE=A9=C0=ED=B9=A4=B4=F3=D1=A7=A3=AC=BC=C6=CB=E3=BB=FA=BF=C6=D1=A7=BC= =BC=CA=F5=D1=A7=D4=BA Sucan Computer Department,Beijing Institute of Technology,China --001636283644d1c403046b6e5eab Content-Type: text/html; charset=GB2312 Content-Transfer-Encoding: quoted-printable hi,

i want  to open /bin/ls file in domU kernel, so i put
<= br>filp_open("/bin/ls",O_RDONLY,0)

into the talk_to_backe= nd funtion.  but after compile the xen to  boot up domU.

e= rror happened:  Error 2 opening /bin/ls

i guess this time ,the domU filesystem have not been mounted yet, but w= hich  function should i put filp_open in is right?
many thanks for your reply!
--
Best regards,
=D5=C5=CA=F7=C0= =A4
=B1=B1=BE=A9=C0=ED=B9=A4=B4=F3=D1=A7=A3=AC=BC=C6=CB=E3=BB=FA=BF=C6= =D1=A7=BC=BC=CA=F5=D1=A7=D4=BA
Sucan
Computer Department,Beijing Institute of Technology,China
--001636283644d1c403046b6e5eab-- --===============1823576728== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1823576728==--