public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* Can not mount root on mtd block
@ 2005-03-16  4:08 mike
  2005-03-16  4:56 ` Aras Vaichas
  0 siblings, 1 reply; 4+ messages in thread
From: mike @ 2005-03-16  4:08 UTC (permalink / raw)
  To: linux-mtd

Dear all
    I am using kernel 2.6.10 with patched cvs mtd and my flash mapping 
driver. I also add debug msg on mount_block_root. The return value is 
ENXIO. I am really get mess , because the cfi proded the flash 
successfully, but final result is "no such a device". Does anyone have 
ideas on this?

NOR flash driver (size->0x800000 mem->0x10000000)
NOR Flash 1: Found 1 x8 devices at 0x0 in 8-bit bank
 Amd/Fujitsu Extended Query Table at 0x0040
NOR Flash 1: CFI does not contain boot bank location. Assuming top.
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
Creating 5 MTD partitions on "NOR Flash 1":
0x00000000-0x00100000 : "bootloader"
0x00100000-0x00300000 : "kernel"
0x00300000-0x00500000 : "System RFS"
0x00500000-0x00700000 : "User Application"
0x00700000-0x00800000 : "User Data"
mice: PS/2 mouse device common for all mice
NET: Registered protocol family 2
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 1024 bind 2048)
Initializing IPsec netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
*VFS: Tried fs_name = <cramfs> err = -6*
VFS: Cannot open root device "mtdblock2" or unknown-block(0,0)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on 
unknown-block(0,0)

Thanks for helping

best regard
Mike,Lee

^ permalink raw reply	[flat|nested] 4+ messages in thread
* Can not mount root on mtd block
@ 2005-04-15  9:10 Pawel Studencki
  0 siblings, 0 replies; 4+ messages in thread
From: Pawel Studencki @ 2005-04-15  9:10 UTC (permalink / raw)
  To: linux-mtd

hello Mike, 

I read your e-mails about problems with mounting ramfs
as root filesystem
and I wonder if you found a solution.
I'm trying the same thing with kernel 2.6.11 on ppc
processor. I've already
checked following:
- boot options: root=/dev/mtdblock1 ro
- debugging to/from do_mount_root function...
and slowly I'm loosing ideas...In my case function
path_lookup (in do_mount)
returns with error  -ENOENT, because there were no
inode found for "root".
It looks similar to your problem...

So if you have any hints, I will enjoy to check them
and perhaps together we
can solve this annoying problem  :) 

best regards
Pawel


		
__________________________________ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/ 

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

end of thread, other threads:[~2005-04-15  9:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-16  4:08 Can not mount root on mtd block mike
2005-03-16  4:56 ` Aras Vaichas
     [not found]   ` <4237CC0A.5090003@avantwave.com>
     [not found]     ` <4237CC31.6070409@magellan-technology.com>
     [not found]       ` <4237D666.1020302@avantwave.com>
     [not found]         ` <4237D78C.60506@magellan-technology.com>
2005-03-16 11:15           ` mike
  -- strict thread matches above, loose matches on Subject: below --
2005-04-15  9:10 Pawel Studencki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox