Boot with NFS on MIPS32

3 messages, 2 authors, 2008-12-05 · open the first message on its own page

Boot with NFS on MIPS32

From: mike zheng <hidden>
Date: 2008-12-03 21:06:14

Hi All,

I have one MIPS32 embedded system with Linux Kernel 2.6.23.17. Right
now, I have problem to boot from NFS. The NFS server works fine. I am
able to mount the directory from anther Linux work station. I attach
the .config file, there maybe some config flags I forget to open.

Thanks for your help,

Mike


Here is the kernel command line:
===========================
Kernel command line: root=/dev/nfs rw
nfsroot=47.1.1.108:/localdisk/rootfs/
ip=47.1.1.2:47.1.1.1:255.255.255.0:Min-MIPS:eth0:off

Here is the error:
===========================
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
IPv6 over IPv4 tunneling driver
sit0: Disabled Privacy Extensions
NET: Registered protocol family 17
802.1Q VLAN Support v1.8 Ben Greear [off-list ref]
All bugs added by David S. Miller [off-list ref]
VFS: Cannot open root device "nfs" or unknown-block(0,255)
Please append a correct "root=" boot option; here are the available partitions:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,255)

Re: Boot with NFS on MIPS32

From: Chris Craig <hidden>
Date: 2008-12-03 22:08:16

I believe you need to enable "Kernel level autoconfiguration" which is 
under Networking->Networking support->Networking options->TCP/IP 
networking (IP_PNP), and then you'll have a "Root file system on NFS" 
option (ROOT_NFS) available under Network File Systems.

-- 
Chris Craig
Microtronix Datacom Ltd.
9-1510 Woodcock Street
London ON  N6H 5S1
Canada
Toll-Free: (888) 690-0091 x253 (NA only)
Phone:     (519) 690-0091 x253
http://microtronix.com



mike zheng wrote:
Hi All,

I have one MIPS32 embedded system with Linux Kernel 2.6.23.17. Right
now, I have problem to boot from NFS. The NFS server works fine. I am
able to mount the directory from anther Linux work station. I attach
the .config file, there maybe some config flags I forget to open.

Thanks for your help,

Mike


Here is the kernel command line:
===========================
Kernel command line: root=/dev/nfs rw
nfsroot=47.1.1.108:/localdisk/rootfs/
ip=47.1.1.2:47.1.1.1:255.255.255.0:Min-MIPS:eth0:off

Here is the error:
===========================
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
IPv6 over IPv4 tunneling driver
sit0: Disabled Privacy Extensions
NET: Registered protocol family 17
802.1Q VLAN Support v1.8 Ben Greear [off-list ref]
All bugs added by David S. Miller [off-list ref]
VFS: Cannot open root device "nfs" or unknown-block(0,255)
Please append a correct "root=" boot option; here are the available partitions:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,255)


------------------------------------------------------------------------

_______________________________________________
Linuxppc-embedded mailing list
Linuxppc-embedded@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-embedded

Re: Boot with NFS on MIPS32

From: mike zheng <hidden>
Date: 2008-12-05 17:28:06

It is working now. Thanks Chris! :-)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help