Home > Cannot Open > Qemu Cannot Open Root Device Nfs

Qemu Cannot Open Root Device Nfs

Contents

Thanks. Permission and everything is correct. If you'd like to contribute content, let us know. But I cannot. check over here

Thanks very much! Note that I haven't tried it. sam michael 2011/09/23 hi, qemu-system-arm -M versatilepb -m 128M -kernel zImage -append "root=/dev/nfs nfsroot=10.0.2.2:/srv/nfs/_install rw ip=10.0.2.15::10.0.2.1:255.255.255.0 init=/sbin/init" can u please throw me some light Kernel parameters are not related with loading kernel from the network, because once you pass the parameters to the kernel it means you already retrieved it. 3 Trackbacks For This Please use the latest processor SDK package for your platform (K2H,K2E,C665x,C667x etc.,) http://www.ti.com/lsds/ti/tools-software/processor_sw.page Reply Cancel Cancel Reply Suggest as Answer Use rich formatting Expert 2445 points Changsheng Li Mar 17, 2014

Cannot Open Root Device Nfs Or Unknown-block(0 0)

This was working for last couple of months, suddenly it starts giving this problem consistently. When creating zImgae, I followed the guideline but changed the target from versatile to realview-pbx-a9. Browse other questions tagged boot nfs pxe or ask your own question. Below the start up trace: U-Boot SPL 2011.09 (Feb 09 2012 - 15:38:59)Texas Instruments Revision detection unimplementedOMAP SD/MMC: 0reading u-boot.imgreading u-boot.imgU-Boot 2011.09 (Feb 09 2012 - 15:11:31)I2C: readyDRAM: 256 MiBWARNING: Caches

Regards, robert Balau 2010/05/11 The insecure option allows to use IP ports that are above 1024. Thanks & Regards, Velan Don't forget to verify answers to your forum questions by using the green "verify Answer" button. Try also to add the line "#!/bin/sh" at the beginning of rcS. Chai 2011/03/10 Hi Balau, Your tutorials are very intriguing . Kernel Panic - Not Syncing: Vfs: Unable To Mount Root Fs On Unknown-block(2,0) Please use the latest processor SDK package for your platform (K2H,K2E,C665x,C667x etc.,) http://www.ti.com/lsds/ti/tools-software/processor_sw.page Reply Cancel Cancel Reply Suggest as Answer Use rich formatting Expert 2445 points Changsheng Li Mar 17, 2014

i am not sure what this error code means. Configuring the network You need to configure a network interface so that you can communicate with the emulated target just as if it was a real board. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these https://bbs.archlinux.org/viewtopic.php?id=190019 It sounds like my EVM is dead exactly at write protect pin, Thanks & Regards Velan Don't forget to verify answers to your forum questions by using the green "verify Answer"

can u pls find the solution for this ASAP. Nfsroot You will have to make one small change because the Digi CCW9 target board we use for training has the serial console device as ttyS1 whereas on the Versatile it is Try appending the options "-net nic,model=ne2k_pci -net user" or "-net nic,model=pcnet -net user" or "-net nic,model=rtl8139 -net user" to QEMU command line. - is the directory really exported? For things to work properly, the /etc/exports should contain instead: /srv/nfs 127.0.0.1(rw,sync,no_subtree_check,no_root_squash,insecure) The no_root_squash option is needed to access these files as root from the NFS client.

Please Append A Correct Root= Boot Option

Not all devices are supported on all targets. Thinking about it a bit more, I realise that the situation is general and common enough to be useful to many people (or so I hope) and so I have written Cannot Open Root Device Nfs Or Unknown-block(0 0) I forgot to mount /dev as ramfs as you described, resulting failure while executing mdev command. Vfs: Cannot Open Root Device "nfs" Or Unknown-block(2,0) Thanks Steve reply Fri, 10/08/2010 - 00:32 — mustafa Qemu MIPS i have been trying to run qemu on linux to emulate mips architecture and install debian as os on mips,

Freeing init memory: 180K But the same nfsroot for kernel v3.7.5 is emulating the kernel properly. check my blog Could you please post the contents of your server's /etc/exports file (it shows what nfs shares are currently being exported by the server)? reply Thu, 09/30/2010 - 23:07 — Rao could not load kernel 'zImage' Hi Chris! Quoting: "Network options: ‘-net nic[,vlan=n][,macaddr=mac][,model=type][,name=name][,addr=addr][,vectors=v]’ Create a new Network Interface Card and connect it to VLAN n (n = 0 is the default). Unable To Mount Root Fs Via Nfs

reply Tue, 10/19/2010 - 07:47 — csimmonds RE: Qemu MIPS How far have you got? I am using the following command to launch: $ sudo qemu-system-arm -M vexpress-a9 -kernel arch/arm/boot/zImage -append "root=/dev/nfs nfsroot=10.0.2.2:/srv/nfs/_install rw ip=10.0.2.15::10.0.2.1:255.255.255.0 init=/sbin/init" Balau 2011/07/05 are you able to mount the nfs but no new debug messages appear. this content Reply Cancel Cancel Reply Suggest as Answer Use rich formatting > TI E2E™ Community Support Forums Blogs Videos Groups Site Support & Feedback Settings TI E2E™ Community Groups TI University Program

Try this "setenv bootargs 'console=tty2,115200n8 noinitrd rw rootfstype=ext3 root=/dev/mmcblk0p2 rootwait mem=64M" What about the results? Are you new to LinuxQuestions.org? Thanks for your clear and helpfull information. curious of embedded 2016/04/25 Does loading kernel from remote machine need any drastic changes in parameters for quemu or need any additional work

That's all.

It turned out that there is not support for nfs server v2 in kernel 3.15.6. Should I report it? I don't think root, nsfroot, ip and rinit options are the problem because the kernel is not giving you any messages from the beginning; although I don't understand rdinit without providing I updated the tcpdump above with information from the new test if you're willing to take a look. –johnmadrak Aug 23 '14 at 6:37 | show 2 more comments 1 Answer

It seems that Dwi Sasongko S got a console anyway afterward. done, booting the kernel. Not the answer you're looking for? http://amigasuperbit.com/cannot-open/powerpoint-cannot-open.html Install the uml-utilities package to get the tunctl command

sudo apt-get install uml-utilities 
Then configure device tap1
sudo tunctl -u $(whoami) -t tap1 sudo ifconfig tap1 192.168.1.1 sudo route add 

I am seen in darkness and in light, What am I? Please use the latest processor SDK package for your platform (K2H,K2E,C665x,C667x etc.,) http://www.ti.com/lsds/ti/tools-software/processor_sw.page Reply Cancel Cancel Reply Suggest as Answer Use rich formatting Expert 2445 points Changsheng Li Mar 17, 2014 It seems I have everything in place: the nfs server is running (and the export is working - checked with mount on localhost). DONEJumping to entry point at 0x81080000.U-Boot 2010.12-rc2 (Mar 24 2011 - 19:27:17)Cores: ARM 297 MHzDDR: 243 MHzI2C: readyDRAM: 128 MiBNAND: 2048 MiBMMC: davinci: 0, davinci: 1Bad block table found at page

Optionally, for PCI cards, you can specify the number v of MSI-X vectors that the card should have; this option currently only affects virtio cards; set v = 0 to disable The NIC is an e1000 by default on the PC target. Any clue,why is it so? Balau 2013/03/27 Maybe your cross-compiler has a libc that is tied to a newer kernel version and is incompatible with older kernels. Does Intel sell CPUs in ribbons?

one of these 2 actions probably fixed the problem. nfsd: request from insecure port (127.0.0.1:37844)! Balau 2010/05/12 Yes, it happens to me also: the message is written because 37844 > 1024. You can get the initrd.img after downloading the Base rootfs by using the command yum groupinstall base. You can also run QEMU with its -s option and then connecting with arm gdb to port 1234 and vmlinux as debugging file to check where the execution stopped. Raz