linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* mvme2604 - using Gabriel's patches. NFS questions.
@ 2000-11-08 22:29 jlhagen
  0 siblings, 0 replies; 3+ messages in thread
From: jlhagen @ 2000-11-08 22:29 UTC (permalink / raw)
  To: linuxppc-embedded


Hi,

I have two mvme2604 boards that are up and running with root mounted NFS
using Gabriel's patches against 2.2.12 kernel. The boot messages for the
boards always report " VFS: Mounted root (NFS filesystem) read-only".  Not
knowing NFS that well, is there a way I can change it so the boards mount
the file system as read/write? I do have the nfs sever /etc/exports file
set for "  /tftpboot/192.168.1.5      vme(rw, no_root_squash)"  read/write
as I understand it. Might be a stupid question but I need to be
enlightened.

With this same set up I have been playing with Gabriel's patches against
2.4-test series kernels and I usually get the following result from the
boot messages:

kmem_create: Forcing size alignment - nfs_fh
VFS: Cannot open root device "" or 08:01
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 08:01
Rebooting in 180 seconds

I'm passing the root=/tftpboot/<IP address> in on the "Load:" line. This
works just fine for the 2.2.12 Gabriel patched kernels. The NFS server is
an intel running a  fresh 2.2.17 kernel that I built, it's not running the
provided Redhat patched kernels. Is this an NFS compatibility problem
between the 2.4 series kernels and the 2.2 series???? I'm at a loss???

Thanks
John

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: mvme2604 - using Gabriel's patches. NFS questions.
       [not found] <OFEA5E744C.0F7B4EBE-ON86256991.007989AD@collins.rockwell.c om>
@ 2000-11-08 22:48 ` Jerry Van Baren
  2000-11-08 23:19   ` diekema_jon
  0 siblings, 1 reply; 3+ messages in thread
From: Jerry Van Baren @ 2000-11-08 22:48 UTC (permalink / raw)
  To: linuxppc-embedded


Root is initially mounted RO on power up.  Are you remounting it RW?
# mount -n -o remount,rw /

 From /etc/rc.d/rc.sysinit:
action "Remounting root filesystem in read-write mode" mount -n -o
remount,rw /

gvb


At 04:29 PM 11/8/00 -0600, jlhagen@collins.rockwell.com wrote:

>Hi,
>
>I have two mvme2604 boards that are up and running with root mounted NFS
>using Gabriel's patches against 2.2.12 kernel. The boot messages for the
>boards always report " VFS: Mounted root (NFS filesystem) read-only".  Not
>knowing NFS that well, is there a way I can change it so the boards mount
>the file system as read/write? I do have the nfs sever /etc/exports file
>set for "  /tftpboot/192.168.1.5      vme(rw, no_root_squash)"  read/write
>as I understand it. Might be a stupid question but I need to be
>enlightened.
[snip]


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: mvme2604 - using Gabriel's patches. NFS questions.
  2000-11-08 22:48 ` mvme2604 - using Gabriel's patches. NFS questions Jerry Van Baren
@ 2000-11-08 23:19   ` diekema_jon
  0 siblings, 0 replies; 3+ messages in thread
From: diekema_jon @ 2000-11-08 23:19 UTC (permalink / raw)
  To: linuxppc-embedded


> The boot messages for the boards always report " VFS: Mounted root
> (NFS filesystem) read-only".  Not knowing NFS that well, is there a
> way I can change it so the boards mount the file system as
> read/write?

You want to add "rw" to the boot arguments to mount the file system
read/write.  Here is an example:

Attached TCP/IP interface to motfcc0.
Attaching network interface lo0... done.
Loading... 45684 + 452802
Starting at 0x400000...

CPU/CPM/BUS: 198/132/33 Mhz

Ethernet (in decimal): 0:160:30:75:228:193

loaded at:     00400000 0040B274
board data at: 00FFFFC0 00FFFFEC
relocated to:  00200100 0020012C
zimage at:     0040B274 00479B36
avail ram:     0047A000 01000000

Linux/PPC load: root=/dev/nfs rw nfsroot=207.75.228.195:/target nfsaddrs=207.75.228.193:207.75.228.195
Uncompressing Linux...done.
Now booting the kernel
Total memory = 16MB; using 0kB for hash table (at 00000000)
Linux version 2.4.0-test10 (diekema@dell) (gcc version 2.95.2 19991030 (2.95.3 prerelease/franzo)) #38 Wed Nov 8 17:05:16 EST 2000
Boot arguments: root=/dev/nfs rw nfsroot=207.75.228.195:/target nfsaddrs=207.75.228.193:207.75.228.195

------------------\\----------------------\\----------------------------
Jon Diekema        |                       | Smiths Industries
(616) 241-8310     |                       | 3290 Patterson Avenue, SE
diekema_jon@si.com \\                      \\  Grand Rapids, MI 49512-1991

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2000-11-08 23:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <OFEA5E744C.0F7B4EBE-ON86256991.007989AD@collins.rockwell.c om>
2000-11-08 22:48 ` mvme2604 - using Gabriel's patches. NFS questions Jerry Van Baren
2000-11-08 23:19   ` diekema_jon
2000-11-08 22:29 jlhagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).