From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JAKTy-0001gy-AU for qemu-devel@nongnu.org; Thu, 03 Jan 2008 02:27:14 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JAKTv-0001gX-OD for qemu-devel@nongnu.org; Thu, 03 Jan 2008 02:27:13 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JAKTv-0001gM-Gn for qemu-devel@nongnu.org; Thu, 03 Jan 2008 02:27:11 -0500 Received: from rv-out-0910.google.com ([209.85.198.186]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JAKTv-0004PU-2y for qemu-devel@nongnu.org; Thu, 03 Jan 2008 02:27:11 -0500 Received: by rv-out-0910.google.com with SMTP id g11so14617358rvb.22 for ; Wed, 02 Jan 2008 23:27:09 -0800 (PST) Message-ID: <5bde6f770801022327m7a22ceabrc50a7d0a86398042@mail.gmail.com> Date: Thu, 3 Jan 2008 15:27:09 +0800 From: "new bee" MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_18438_2709570.1199345229664" Subject: [Qemu-devel] the problem of booting linux kernel from NFS Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org ------=_Part_18438_2709570.1199345229664 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi,All: I want to boot kernel from NFS, so I compile a kernel supported NFS & TUN/TAP device and change the /etc/qemu-ifup like this: #!/bin/sh sudo -p "Password for $0:" /sbin/ifconfig $1 192.168.15.1 when I boot the new kernel, there is the message : IP-Config: No network device available Looking up port of RPC 100003/2 on 192.168.15.1 and the kernel cannot mount the root fs.but the kernel has the network device driver. What is the reason? and What should I solve it? the command is : qemu -net nic -net tap -kernel /usr/src/linux/arch/i386/boot/bzImage -hda /dev/zero -append "ip=192.168.15.110 root=/dev/nfs nfsroot= 192.168.15.1:/scratchbox/users/newbee/targets/ambition" Thanks Regards, HanLiang -- Mail:newbee1984@gmail.com MSN:hanliang1984@hotmail.com Keep Contact^_^ ------=_Part_18438_2709570.1199345229664 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi,All:

I want to boot kernel from NFS, so I compile a kernel supported  NFS & TUN/TAP device
and change the /etc/qemu-ifup like this:

#!/bin/sh
sudo -p "Password for $0:" /sbin/ifconfig $1 192.168.15.1

when I boot the new kernel, there is the message :
IP-Config: No network device available
Looking up port of RPC 100003/2 on 192.168.15.1

and the kernel cannot mount the root fs.but the kernel has the network device driver.

What is the reason? and What should I solve it?

the command is :
qemu -net nic -net tap -kernel /usr/src/linux/arch/i386/boot/bzImage  -hda /dev/zero  -append "ip=192.168.15.110  root=/dev/nfs nfsroot=192.168.15.1:/scratchbox/users/newbee/targets/ambition"

Thanks

Regards,
HanLiang



--
Mail:newbee1984@gmail.com
MSN:hanliang1984@hotmail.com
Keep Contact^_^ ------=_Part_18438_2709570.1199345229664--