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-- From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JAMnb-0000pX-0z for qemu-devel@nongnu.org; Thu, 03 Jan 2008 04:55:39 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JAMnZ-0000oV-83 for qemu-devel@nongnu.org; Thu, 03 Jan 2008 04:55:38 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JAMnX-0000oJ-RL for qemu-devel@nongnu.org; Thu, 03 Jan 2008 04:55:36 -0500 Received: from mail.hoster.ru ([195.128.50.33]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JAMnX-0001ke-De for qemu-devel@nongnu.org; Thu, 03 Jan 2008 04:55:35 -0500 Received: from [81.195.19.59] (helo=[192.168.1.2]) by mail.hoster.ru with esmtpa (Exim 4.67 (FreeBSD)) (envelope-from ) id 1JAMnR-000DTy-TJ for qemu-devel@nongnu.org; Thu, 03 Jan 2008 12:55:29 +0300 Message-ID: <477CB111.4080602@mayc.ru> Date: Thu, 03 Jan 2008 12:55:29 +0300 From: Anton D Kachalov MIME-Version: 1.0 Subject: Re: [Qemu-devel] the problem of booting linux kernel from NFS References: <5bde6f770801022327m7a22ceabrc50a7d0a86398042@mail.gmail.com> In-Reply-To: <5bde6f770801022327m7a22ceabrc50a7d0a86398042@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit 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 Hello¸ new bee wrote: ... > 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 reason that you kernel didn't contain right driver module for your network card. Rgds, Anton From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JANL1-0002qF-NI for qemu-devel@nongnu.org; Thu, 03 Jan 2008 05:30:12 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JANKz-0002kc-B7 for qemu-devel@nongnu.org; Thu, 03 Jan 2008 05:30:11 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JANKy-0002kI-3W for qemu-devel@nongnu.org; Thu, 03 Jan 2008 05:30:08 -0500 Received: from py-out-1112.google.com ([64.233.166.182]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JANKx-0008Ue-PI for qemu-devel@nongnu.org; Thu, 03 Jan 2008 05:30:07 -0500 Received: by py-out-1112.google.com with SMTP id u52so10409469pyb.10 for ; Thu, 03 Jan 2008 02:30:07 -0800 (PST) Message-ID: <5bde6f770801030230q3369271bm38391f2377333918@mail.gmail.com> Date: Thu, 3 Jan 2008 18:30:06 +0800 From: "new bee" Subject: Re: [Qemu-devel] the problem of booting linux kernel from NFS In-Reply-To: <477CB111.4080602@mayc.ru> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_18828_3086934.1199356206401" References: <5bde6f770801022327m7a22ceabrc50a7d0a86398042@mail.gmail.com> <477CB111.4080602@mayc.ru> 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_18828_3086934.1199356206401 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Yes, I just know the reason: The kernel cannot find the default netcard ne2k_pci although I have selected the driver module, when I use other card like rtl8139 or ne2k_isa, it works well. By the way, I use ubuntu 7.10 and the kernel is 2.6.22. Thank you very much Regards, Hanliang 2008/1/3, Anton D Kachalov : > > Hello=B8 > > new bee wrote: > ... > > 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 reason that you kernel didn't contain right driver module for your > network card. > > Rgds, > Anton > > > --=20 Mail:newbee1984@gmail.com MSN:hanliang1984@hotmail.com Keep Contact^_^ ------=_Part_18828_3086934.1199356206401 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Yes, I just know the reason:
The kernel cannot find the default netcard&= nbsp; ne2k_pci although I have selected the driver module, when I use other= card like rtl8139 or ne2k_isa, it works well.

By the way, I use ubu= ntu=20 7.10 and the kernel is 2.6.22.

Thank you very much

Regards,Hanliang

2008/1/3, Anton D Kachal= ov <mouse@mayc.ru>: Hello=B8

new bee wrote:
...
> when I boot the new kernel, t= here is the message :
> IP-Config: No network device available
>= ; Looking up port of RPC 100003/2 on 192.16= 8.15.1 <http://192.168.15.1>
>= ;
> and the kernel cannot mount the root fs.but the kernel has the ne= twork
> device driver.
>
> What is the reason? and What s= hould I solve it?
The reason that you kernel didn't contain right driver module for y= our
network card.

Rgds,
Anton




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