* mount rootfs over NFS problem
@ 2010-10-20 15:03 kerstin jonsson
2010-10-22 10:17 ` kerstin jonsson
0 siblings, 1 reply; 2+ messages in thread
From: kerstin jonsson @ 2010-10-20 15:03 UTC (permalink / raw)
To: linux-mmc
Hi,
I have a powerpc based platform and would like to have access to all the
latest
RapiodIO patches included in the mm-tree, but I fail to mount my rootfs
over nfs using the latest mm-kernel.
I can see that the code handling nfs mount in the mm-tree differs
significantly from the code in the kernel I used earlier (where nfs
mount of rootfs works for me - linux-2.6 currently 2.6.36-rc8).
I'm using the same default_config options as input to the mm-build as I
do for 2.6.36-rc8 and the same kernel cmdline options, the console log
from the boot show no significant deviation from the two kernels, not
until I reach the point init init/main.c:kernel_init() where
/dev/console is supposed to be opened. If it is helpfull in any way, the
nfs mount attempt fails at:
line 2131 of fs/namespace.c:do_mount()
I guess that there is something that I need to do different to make this
happen in the mm-tree - possibly something my platform init code should
have prepared or some extra kernel config option(s) that is/are needed
when building the mm kernel.
Please advice!
Kerstin
Kernel command line: root=/dev/nfs rw nfsroot=192.168.0.201:/srv/nfs
ip=192.168.0.142:192.168.0.201:192.168.0.1:255.255.255.0:unknown:eth0:off console=ttyS0,115200
riohdid=0 nfsrootdebug
console printout from mm-kernel:
...
IP-Config: Complete:
device=eth0, addr=192.168.0.142, mask=255.255.255.0, gw=192.168.0.1,
host=unknown, domain=, nis-domain=(none),
bootserver=192.168.0.201, rootserver=192.168.0.201, rootpath=
Warning: unable to open an initial console.
Root-NFS: nfsroot=/srv/nfs
VFS: Unable to mount root fs via NFS, trying floppy.
...
console printout from 2.6.36-rc8:
...
IP-Config: Complete:
device=eth0, addr=192.168.0.142, mask=255.255.255.0, gw=192.168.0.1,
host=unknown, domain=, nis-domain=(none),
bootserver=192.168.0.201, rootserver=192.168.0.201, rootpath=
Root-NFS: Mounting /srv/nfs on server 192.168.0.201 as root
Root-NFS: rsize = 4096, wsize = 4096, timeo = 0, retrans = 0
Root-NFS: acreg (min,max) = (3,60), acdir (min,max) = (30,60)
Root-NFS: nfsd port = -1, mountd port = 0, flags = 00000200
Looking up port of RPC 100003/2 on 192.168.0.201
PHY: mdio@fa724520:09 - Link is Up - 100/Full
Root-NFS: Portmapper on server returned 2049 as nfsd port
Looking up port of RPC 100005/1 on 192.168.0.201
Root-NFS: mountd port is 34144
VFS: Mounted root (nfs filesystem) on device 0:12.
...
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: mount rootfs over NFS problem
2010-10-20 15:03 mount rootfs over NFS problem kerstin jonsson
@ 2010-10-22 10:17 ` kerstin jonsson
0 siblings, 0 replies; 2+ messages in thread
From: kerstin jonsson @ 2010-10-22 10:17 UTC (permalink / raw)
To: linux-mmc@vger.kernel.org
As it turned out the PPC32 build was broken - due to changes in the
initramfs size calculation - I ended up with a __initramfs_size of zero,
after
which not much worked.
Sorry for cluttering the list with misleading information, however, no
one seem
to have taken any notice so I guess - no harm done.
Patch to follow...
Rgds,
Kerstin
On 10/20/2010 05:03 PM, kerstin jonsson wrote:
> Hi,
>
> I have a powerpc based platform and would like to have access to all the
> latest
> RapiodIO patches included in the mm-tree, but I fail to mount my rootfs
> over nfs using the latest mm-kernel.
>
> I can see that the code handling nfs mount in the mm-tree differs
> significantly from the code in the kernel I used earlier (where nfs
> mount of rootfs works for me - linux-2.6 currently 2.6.36-rc8).
>
> I'm using the same default_config options as input to the mm-build as I
> do for 2.6.36-rc8 and the same kernel cmdline options, the console log
> from the boot show no significant deviation from the two kernels, not
> until I reach the point init init/main.c:kernel_init() where
> /dev/console is supposed to be opened. If it is helpfull in any way, the
> nfs mount attempt fails at:
>
> line 2131 of fs/namespace.c:do_mount()
>
> I guess that there is something that I need to do different to make this
> happen in the mm-tree - possibly something my platform init code should
> have prepared or some extra kernel config option(s) that is/are needed
> when building the mm kernel.
>
> Please advice!
> Kerstin
>
> Kernel command line: root=/dev/nfs rw nfsroot=192.168.0.201:/srv/nfs
> ip=192.168.0.142:192.168.0.201:192.168.0.1:255.255.255.0:unknown:eth0:off console=ttyS0,115200
> riohdid=0 nfsrootdebug
>
> console printout from mm-kernel:
> ...
> IP-Config: Complete:
> device=eth0, addr=192.168.0.142, mask=255.255.255.0, gw=192.168.0.1,
> host=unknown, domain=, nis-domain=(none),
> bootserver=192.168.0.201, rootserver=192.168.0.201, rootpath=
> Warning: unable to open an initial console.
> Root-NFS: nfsroot=/srv/nfs
> VFS: Unable to mount root fs via NFS, trying floppy.
> ...
>
> console printout from 2.6.36-rc8:
>
> ...
> IP-Config: Complete:
> device=eth0, addr=192.168.0.142, mask=255.255.255.0, gw=192.168.0.1,
> host=unknown, domain=, nis-domain=(none),
> bootserver=192.168.0.201, rootserver=192.168.0.201, rootpath=
> Root-NFS: Mounting /srv/nfs on server 192.168.0.201 as root
> Root-NFS: rsize = 4096, wsize = 4096, timeo = 0, retrans = 0
> Root-NFS: acreg (min,max) = (3,60), acdir (min,max) = (30,60)
> Root-NFS: nfsd port = -1, mountd port = 0, flags = 00000200
> Looking up port of RPC 100003/2 on 192.168.0.201
> PHY: mdio@fa724520:09 - Link is Up - 100/Full
> Root-NFS: Portmapper on server returned 2049 as nfsd port
> Looking up port of RPC 100005/1 on 192.168.0.201
> Root-NFS: mountd port is 34144
> VFS: Mounted root (nfs filesystem) on device 0:12.
> ...
>
>
>
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-10-22 10:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-20 15:03 mount rootfs over NFS problem kerstin jonsson
2010-10-22 10:17 ` kerstin jonsson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox