linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* No filesystem could mount root
@ 2008-07-18 14:00 mahendra varman
  2008-07-19 11:52 ` selvamuthukumar v
  0 siblings, 1 reply; 5+ messages in thread
From: mahendra varman @ 2008-07-18 14:00 UTC (permalink / raw)
  To: linuxppc-embedded

[-- Attachment #1: Type: text/plain, Size: 1038 bytes --]

Hi all

We are porting linux 2.6.24 on a board with powerpc processor and with AMD
79C972 ethernet chip

Thru ramdisk I can able to boot the board and i can do the ifconfig eth0
up..

When I try to boot the board with nfs iam getting the following

NET: Registered protocol family 1
NET: Registered protocol family 17
RPC: Registered udp transport module.
RPC: Registered tcp transport module
List of all partitions:
No filesystem could mount root, tried:  ext3 ext2 msdos ntfs
Kernel panic - not syncing: VFS: Unable to mount root fs on
unknown-block(1,0)
Rebooting in 180 seconds..

1. In the kernel the nfs related configs are enabled properly
2. The nfs server and file system is proper( I have mounted and checked the
nfs server & file system thru another working setup)
3. The ethernet driver  pcnet32.c  under drivers/net  is okkk it seems becaz
it is working when i boot the board thru ramdisk

Please shed me some light where to look and what may be the reason iam
getting the above error when i boot thru NFS

Thanks in advance

[-- Attachment #2: Type: text/html, Size: 1183 bytes --]

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

* Re: No filesystem could mount root
  2008-07-18 14:00 No filesystem could mount root mahendra varman
@ 2008-07-19 11:52 ` selvamuthukumar v
  2008-07-19 13:02   ` mahendra varman
  0 siblings, 1 reply; 5+ messages in thread
From: selvamuthukumar v @ 2008-07-19 11:52 UTC (permalink / raw)
  To: mahendra varman; +Cc: linuxppc-embedded

> NET: Registered protocol family 1
> NET: Registered protocol family 17
> RPC: Registered udp transport module.
> RPC: Registered tcp transport module
> List of all partitions:
> No filesystem could mount root, tried:  ext3 ext2 msdos ntfs

There are no messages from the kernel that it's trying NFS. You can
check the boot arguments you are passing to the kernel.

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

* Re: No filesystem could mount root
  2008-07-19 11:52 ` selvamuthukumar v
@ 2008-07-19 13:02   ` mahendra varman
  2008-07-21  7:18     ` Marco Stornelli
  2008-07-21 12:48     ` Jens Gehrlein
  0 siblings, 2 replies; 5+ messages in thread
From: mahendra varman @ 2008-07-19 13:02 UTC (permalink / raw)
  To: selvamuthukumar v; +Cc: linuxppc-embedded

[-- Attachment #1: Type: text/plain, Size: 400 bytes --]

> There are no messages from the kernel that it's trying NFS. You can
> check the boot arguments you are passing to the kernel.
>

The boot arguments are passed correctly only.

setenv bootargs console=ttyS0,57600 root=/dev/nfs
nfsroot=192.168.0.6:/root/FILESYSTEM/target/target-minimal
ip=192.168.0.200:192.168.0.6:192.168.0.1:255.255.255.0::eth0

still Iam getting the above said error

Any clue??

[-- Attachment #2: Type: text/html, Size: 639 bytes --]

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

* Re: No filesystem could mount root
  2008-07-19 13:02   ` mahendra varman
@ 2008-07-21  7:18     ` Marco Stornelli
  2008-07-21 12:48     ` Jens Gehrlein
  1 sibling, 0 replies; 5+ messages in thread
From: Marco Stornelli @ 2008-07-21  7:18 UTC (permalink / raw)
  To: mahendra varman; +Cc: selvamuthukumar v, linuxppc-embedded

mahendra varman ha scritto:
>> There are no messages from the kernel that it's trying NFS. You can
>> check the boot arguments you are passing to the kernel.
>>
> 
> The boot arguments are passed correctly only.
> 
> setenv bootargs console=ttyS0,57600 root=/dev/nfs
> nfsroot=192.168.0.6:/root/FILESYSTEM/target/target-minimal
> ip=192.168.0.200:192.168.0.6:192.168.0.1:255.255.255.0::eth0
> 
> still Iam getting the above said error
> 
> Any clue??
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
Sometimes ago I had the same problem, I don't exactly remember the 
problem, but it was related to the NFS server configuration. Check it out.

Regards,

-- 
Marco Stornelli
Embedded Software Engineer
CoRiTeL - Consorzio di Ricerca sulle Telecomunicazioni
http://www.coritel.it

marco.stornelli@coritel.it
+39 06 72582838

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

* Re: No filesystem could mount root
  2008-07-19 13:02   ` mahendra varman
  2008-07-21  7:18     ` Marco Stornelli
@ 2008-07-21 12:48     ` Jens Gehrlein
  1 sibling, 0 replies; 5+ messages in thread
From: Jens Gehrlein @ 2008-07-21 12:48 UTC (permalink / raw)
  To: mahendra varman; +Cc: selvamuthukumar v, linuxppc-embedded

Hi,

mahendra varman schrieb:
> setenv bootargs console=ttyS0,57600 root=/dev/nfs
> nfsroot=192.168.0.6:/root/FILESYSTEM/target/target-minimal
> ip=192.168.0.200:192.168.0.6:192.168.0.1:255.255.255.0::eth0

I had a similar problem. Setting the rw flag helped, e.g.
... root=/dev/nfs rw nfsroot ...
                   ^^
Kind regards,
Jens

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

end of thread, other threads:[~2008-07-21 13:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-18 14:00 No filesystem could mount root mahendra varman
2008-07-19 11:52 ` selvamuthukumar v
2008-07-19 13:02   ` mahendra varman
2008-07-21  7:18     ` Marco Stornelli
2008-07-21 12:48     ` Jens Gehrlein

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).