[prev in list] [next in list] [prev in thread] [next in thread] 

List:       uclinux-dev
Subject:    Re: [uClinux-dev] Rootfs /  jffs2 Problem
From:       Phil Wilshire <pwilshire () cox ! net>
Date:       2006-01-27 20:47:45
Message-ID: 43DA86F1.60604 () cox ! net
[Download RAW message or body]

Hi
Try adding "rootfstype=romfs" in the command line
Regards
   Phil Wilshire

Jakob Schiesser wrote:

> Hi all
> 
> As soon I enable the jffs2 filesystem (CONFIG_JFFS2_FS), VFS try to mount the \
> rootfs as jffs2 partition. Without JFFS2, the Kernel boots without a problem.
> 
> Did anybody have a hint?
> 
> Thanks, Jakob
> 
> 
> 
> Flat model support (C) 1998,1999 Kenneth Albanowski, D. Jeff Dionne                 \
>  Built 1 zonelists                 
> Kernel command line: root=1f05                              
> PID hash table entries: 64 (order: 6, 1024 bytes)                                   \
>  Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)                       \
>  Inode-cache hash table entries: 1024 (order:                                       \
>  Memory available: 5632k/8192k RAM, 0k/0k ROM (997k kernel code, 154k data)         \
>  Mount-cache hash table entries: 512                                   
> NET: Registered protocol family 16                                  
> JFFS2 version 2.2. (C) 2001-2003 Red Hat, Inc.                                      \
>  ColdFire internal UART serial driver version 1.00                                  \
>  ttyS0 at 0x40000200 (irq = 77) is a builtin ColdFire UART                          \
>  ttyS1 at 0x40000240 (irq = 78) is a builtin ColdFire UART                          \
>  io scheduler noop registered                            
> io scheduler cfq registered                           
> RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize               \
>  FEC ENET Version 0.2                    
> fec: PHY @ 0x1, ID 0x0022561b -- AM79C874                                         
> eth0: ethernet ea:bd:c7:c3:4f:81                                
> PPP generic driver version 2.4.2                                
> uclinux[mtd]: RAM probe address=0x130074 size=0x133000                              \
>  Creating 1 MTD partitions on "RAM":                                   
> 0x00000000-0x00133000 : "ROMfs"                               
> mtd: Giving out device 0 to ROMfs                                 
> uclinux[mtd]: set ROMfs to be root filesystem                                       \
>  SnapGear flash probe(0xffe00000,16777216,2): 1000000 at ffe00000                   \
>                 
> Flash: Found 1 x16 devices at 0x0 in 16-bit bank                                    \
>  Amd/Fujitsu Extended Query Table at 0x0040                                         \
>  number of CFI chips: 1                      
> cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.            \
>  Creating 4 MTD partitions on "Flash":                                     
> 0x00000000-0x00040000 : "coLilo (256K)"                                       
> mtd: Giving out device 1 to coLilo (256K)                                         
> 0x00040000-0x00140000 : "kernel (1024K)"                                        
> mtd: Giving out device 2 to kernel (1024K)                                          \
>  0x00140000-0x00200000 : "user   (768K)"                                       
> mtd: Giving out device 3 to user   (768K)                                         
> 0x00000000-0x00200000 : "Flash"                               
> mtd: Giving out device 4 to Flash                                 
> SnapGear ram probe(0x130074,1257472,4): 133000 at 130074                            \
>  Creating 1 MTD part                  
> 0x00000000-0x00133000 : "Romfs"                               
> mtd: Giving out device 5 to Romfs                                 
> NET: Registered protocol family 2                                 
> IP: routing cache hash table of 512 buckets, 4Kbytes                                \
>  TCP established hash table entries: 512 (order: 0, 4096 bytes)                     \
>  TCP bind hash table entries: 512 (order: 0, 4096 bytes)                            \
>                 
> TCP: Hash tables configured (established 512 bind 512)                              \
>                 
> NET: Registered protocol family 1                                 
> NET: Registered protocol family 17                                  
> VFS: Try mounting root (rootfs filesystem).                                         \
>  jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000000: 0x2d72      \
>  stead     
> jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000004: 0x3166 in    \
>                 
> ..
> ..
> ..
> jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00132024: 0x6420 in \
> stead Further such events for this erase block will not be printed
> Empty flash at 0x00132730 ends at 0x00132734
> Cowardly refusing to erase blocks on filesystem with no valid JFFS2 nodes
> empty_blocks 0, bad_blocks 0, c->nr_blocks 307
> VFS: Try mounting root (rootfs filesystem).
> VFS: Cannot open root device "1f05" or unknown-block(31,5)
> Please append a correct "root=" boot option
> Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,5)
> _______________________________________________
> uClinux-dev mailing list
> uClinux-dev@uclinux.org
> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> This message was resent by uclinux-dev@uclinux.org
> 
> 
> 

_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic