ts-7000
[Top] [All Lists]

[ts-7000] Re: TS7200, NFS boot

To:
Subject: [ts-7000] Re: TS7200, NFS boot
From: "mout551" <>
Date: Thu, 27 Mar 2008 16:33:19 -0000
Here is my /etc/exports file :

var/exports/nfsroot26
192.168.1.5/255.255.255.0(rw,no_root_squash,insecure)

Maybe it should be the problem ? :

Warning: unable to open an initial console.


Regards
Mout





--- In  "charliem_1216" <> wrote:
>
> Hi --
> 
> --- In  "mout551" <mout551@> wrote:
> >
> > Hey All,
> > 
> > I'm having trouble mounting a root NFS file system, where the kernel
> > claims it can't find 'init'. (the kernel is 2.6 and my board is
ts7200 )
> > I'm exporting the file system directory from the host. 
> 
> Can you paste your /etc/exports file from the server?
> 
> > 
> > I also updated 'fstab' within the exported file system to use the
> > nfsroot: (My host IP is 192.168.1.5)
> > 
> > proc             /proc         proc    defaults                 0    0
> > none            /dev/pts        devpts        gid=5,mode=620    0 0
> > sysfs           /sys            sysfs   default         0 0
> > 192.168.1.5:/var/exports/nfsroot26 / nfs exec,dev,suid 1 1
> > 
> > 
> > I have also restarted my nfsd.
> > 
> > I'm giving the correct nfsroot parameters in the RedBoot
> > exec command, and init is in the exported sbin directory:
> > 
> > exec -c "console=ttyAM0,115200 ip=192.168.1.2 root=/dev/nfs
> > nfsroot=192.168.1.5:/var/exports/nfsroot26 init=/sbin/init"
> 
> You shouldn't need to pass init=, unless you want to bypass running
> /sbin/init (like init=/bin/sh, for testing).
> 
> > 
> > Anyone have any ideas why this isn't working?
> > The following is the end of the boot log before it dies.
> > 
> > .
> > .
> > VFS: Mounted root (nfs filesystem).
> 
> Good, at least root is mounted.
> 
> > Freeing init memory: 92K
> > Warning: unable to open an initial console.
> > Failed to execute /sbin/init.  Attempting defaults...
> > Kernel panic - not syncing: No init found.  Try passing init= option
> > to kernel.
> >
> 
> I vote for a permission issue on the exported file.  Make sure you
> have rw, no_root_squash, and insecure options in your /etc/exports file.
> 
> Regards, .......... Charlie
>



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

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU