Boot with NFS on MIPS32

View: New views
3 Messages — Rating Filter:   Alert me  

Boot with NFS on MIPS32

by mikezh :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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 <greearb@...>
All bugs added by David S. Miller <davem@...>
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@...
https://ozlabs.org/mailman/listinfo/linuxppc-embedded

.config (32K) Download Attachment

Re: Boot with NFS on MIPS32

by Chris Craig :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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 <greearb@...>
> All bugs added by David S. Miller <davem@...>
> 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@...
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded

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

Re: Boot with NFS on MIPS32

by mikezh :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

It is working now. Thanks Chris! :-)
_______________________________________________
Linuxppc-embedded mailing list
Linuxppc-embedded@...
https://ozlabs.org/mailman/listinfo/linuxppc-embedded