qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Qemu-devel] problem in ARM nfs boot


From: Wessel, Jason
Subject: RE: [Qemu-devel] problem in ARM nfs boot
Date: Sun, 20 Aug 2006 09:25:11 -0700

I suspect the lack of the file system for NFS root is your problem, but
you might consider trying

arm-system-arm -net nic -net tap -kernel zImage -append "root=nfs
nfsroot=192.168.2.182:/myfs,rsize=512,wsize=512"

Personally I just use user mode networking because I like to run
entirely as a user process.  I have even switch ed to user mode NFS as
well.  Let us say you don't have that.  Using the attached patch allows
you to boot with user mode network.

In /etc/exports on the host.
/space  127.0.0.1(rw,no_root_squash,async,insecure,insecure_locks) 

arm-system-arm -kernel zImage -append "ip=dhcp root=/dev/nfs
nfsroot=10.0.2.2:/space/myfs,udp rw console=ttyAMA0"

Jason.

> -----Original Message-----
> From: 
> address@hidden 
> [mailto:address@hidden
> rg] On Behalf Of Ahmad Shahzad
> Sent: Monday, March 06, 2006 8:03 AM
> To: address@hidden
> Subject: [Qemu-devel] problem in ARM nfs boot
> 
> hi,
> 
> i 'm trying to boot arm linux kernel while using nfs as my 
> root filesystem.But the kernel halts after mounting nfs as 
> root filesystem.Here is the output shown by QEMU. 
> IP route cache hash table entries: 2048 (order: 1,
> 8192 bytes)
> TCP established hash table entries: 8192 (order: 5,
> 131072 bytes)
> TCP bind hash table entries: 8192 (order: 5, 163840
> bytes)
> <6>TCP: Hash tables configured (established 8192 bind
> 8192)
> <6>TCP reno registered
> <6>TCP bic registered
> <6>NET: Registered protocol family 10
> <6>IPv6 over IPv4 tunneling driver
> <6>eth0: link up
> IP-Config: Guessing netmask 255.255.255.0
> IP-Config: Complete:
> device=eth0, addr=192.168.2.183, mask=255.255.255.0, 
> gw=255.255.255.255, host=192.168.2.183, domain=, 
> nis-domain=(none), bootserver=255.255.255.255, 
> rootserver=192.168.2.182, rootpath= inside init/do_mountfs.c 
> <5>Looking up port of RPC 100003/2 on 192.168.2.182 
> <5>Looking up port of RPC 100005/1 on 192.168.2.182
> hello-VFS: Mounted root (nfs filesystem).
> 
> Would u please tell me what might be the cause of this 
> problem and how to debug it.Here is my QEMU command 
> arm-system-arm -net nic -net tap -kernel zImage -append 
> "root=nfs nfsroot=192.168.2.182
> ip=192.168.2.183 "
> 
> shahzad ahmad
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection 
> around http://mail.yahoo.com 
> 
> 
> _______________________________________________
> Qemu-devel mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/qemu-devel
> 

Attachment: always_set_udp_faddr.patch
Description: always_set_udp_faddr.patch


reply via email to

[Prev in Thread] Current Thread [Next in Thread]