* [Qemu-devel] the problem of booting linux kernel from NFS
@ 2008-01-03 7:27 new bee
2008-01-03 9:55 ` Anton D Kachalov
0 siblings, 1 reply; 3+ messages in thread
From: new bee @ 2008-01-03 7:27 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 796 bytes --]
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^_^
[-- Attachment #2: Type: text/html, Size: 1142 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] the problem of booting linux kernel from NFS
2008-01-03 7:27 [Qemu-devel] the problem of booting linux kernel from NFS new bee
@ 2008-01-03 9:55 ` Anton D Kachalov
2008-01-03 10:30 ` new bee
0 siblings, 1 reply; 3+ messages in thread
From: Anton D Kachalov @ 2008-01-03 9:55 UTC (permalink / raw)
To: qemu-devel
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 <http://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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] the problem of booting linux kernel from NFS
2008-01-03 9:55 ` Anton D Kachalov
@ 2008-01-03 10:30 ` new bee
0 siblings, 0 replies; 3+ messages in thread
From: new bee @ 2008-01-03 10:30 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 923 bytes --]
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 <mouse@mayc.ru>:
>
> 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 <http://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
>
>
>
--
Mail:newbee1984@gmail.com
MSN:hanliang1984@hotmail.com
Keep Contact^_^
[-- Attachment #2: Type: text/html, Size: 1404 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-01-03 10:30 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-03 7:27 [Qemu-devel] the problem of booting linux kernel from NFS new bee
2008-01-03 9:55 ` Anton D Kachalov
2008-01-03 10:30 ` new bee
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).