Thread: [Embeddedxen-devel] Mounting root filesystem through NFS
Brought to you by:
rossierd
From: Salvatore C. <sal...@gm...> - 2010-11-09 16:15:42
|
Hi, I'm writing since I'm trying to run EmbeddedXen on top of QEMU. I have the root filesystem in /home/user/opt/boards/filesystem/rootfs-oabi/ and the machine where the NFS server is running has ip=10.0.2.15 I run qeum with the following command sudo qemu-system-arm -localtime -M mainstone -kernel xen/arch/arm/boot/zImage -append "root=/dev/nfs nfsroot=10.0.2.15:/home/user/opt/boards/filesystem/rootfs-oabi rw ip=dhcp" -pflash ./flash1 -pflash ./flash2 -s -m 256 -net nic -net tap,ifname=$iface,script=/etc/qemu-ifup -serial vc:1000x500 and before mounting the root filesystem it prints the following: OVERRUN done! [DOM0] IP-Config: Complete: device=eth0, addr=192.168.1.150, mask=255.255.55.0, gw=192.168.1.1 host=qemu0, domain=, nis-domani=(none) bootserver=192.168.1.1, rootserver=192.168.1.1, rootpath= [DOM0] <5> Looking up port of RPC 100003/2 on 192.168.1.1 [DOM0] <5> portmap: server 192.168.1.1 not responding, timed out [DOM0] <3> Root-NFS: Unable to get nfsd port number for server, using default ... It is clear that the ip address where the NFS server should be is not right... Is there any way to change the NFS configuration parameters in order to put the right values? Is there something wrong in the command line? I tryied to append the NFS parameters through the kernel command line but it lokks like it is not working. Any hint? Thanks, Salvatore |
From: Rossier D. <Dan...@he...> - 2010-11-17 06:43:52
|
Hi Salvatore, Sorry for my late answer. > -----Original Message----- > From: Salvatore Campagna [mailto:sal...@gm...] > Sent: mardi 9 novembre 2010 17:16 > To: emb...@li... > Subject: [Embeddedxen-devel] Mounting root filesystem through NFS > > Hi, I'm writing since I'm trying to run EmbeddedXen on top of QEMU. > I have the root filesystem in /home/user/opt/boards/filesystem/rootfs- > oabi/ > and the machine where the NFS server is running has ip=10.0.2.15 > > I run qeum with the following command > > sudo qemu-system-arm -localtime -M mainstone -kernel > xen/arch/arm/boot/zImage -append "root=/dev/nfs > nfsroot=10.0.2.15:/home/user/opt/boards/filesystem/rootfs-oabi rw > ip=dhcp" -pflash ./flash1 -pflash ./flash2 -s -m 256 -net nic -net > tap,ifname=$iface,script=/etc/qemu-ifup -serial vc:1000x500 > > and before mounting the root filesystem it prints the following: > > OVERRUN > done! > [DOM0] IP-Config: Complete: > device=eth0, addr=192.168.1.150, mask=255.255.55.0, gw=192.168.1.1 > host=qemu0, domain=, nis-domani=(none) > bootserver=192.168.1.1, rootserver=192.168.1.1, rootpath= [DOM0] <5> > Looking up port of RPC 100003/2 on 192.168.1.1 [DOM0] <5> portmap: server > 192.168.1.1 not responding, timed out [DOM0] <3> Root-NFS: Unable to get > nfsd port number for server, using default ... > > It is clear that the ip address where the NFS server should be is not right... > > Is there any way to change the NFS configuration parameters in order to put > the right values? > Is there something wrong in the command line? Indeed, you can edit .cmdline.h which is located in the root tree, and adapt the rootserver IP. > > I tryied to append the NFS parameters through the kernel command line but > it lokks like it is not working. No, in this version, the command line is not processed correctly. I will update a new release in the coming days, hopefully before end of December. Cheers Daniel |