2008-03-06 00:44:20     Enabling jffs2 as rootfs crashs kernel

Document created by Aaronwu Employee on Aug 5, 2013
Version 1Show Document
  • View in full screen mode

2008-03-06 00:44:20     Enabling jffs2 as rootfs crashs kernel

new kernel (CHINA)

Message: 52138    I compiled 2008R1-RC2 for my BF536 board.  I enabled jffs2 as root fs corresponding "enable jffs2 " on document.

But the kernel boots :

 

    Starting Kernel at = 1a6000

Linux version 2.6.22.16-ADI-2008R1-svn (josh@linux-9t2n) (gcc version 4.1.2 (ADI svn)) #42 PREEMPT Thu Mar 6 13:31:24 CST 2008

Hardware Trace Off and Disabled

Warning: limiting memory to 15MB due to hardware anomaly 05000263

Blackfin support (C) 2004-2007 Analog Devices, Inc.

Compiled for ADSP-BF537 Rev 0.2

Blackfin Linux support by http://blackfin.uclinux.org/

Processor Speed: 300 MHz core clock and 100 MHz System Clock

Board Memory: 16MB

Kernel Managed Memory: 16MB

Memory map:

  text      = 0x00001000-0x00149920

  rodata    = 0x0014a000-0x00194980

  data      = 0x00195000-0x001a6000

    stack   = 0x00196000-0x00198000

  init      = 0x001a6000-0x001b9000

  bss       = 0x001b9000-0x001d85f0

  available = 0x001d85f0-0x00eff000

  DMA Zone  = 0x00f00000-0x01000000

Instruction Cache Enabled

Data Cache Enabled (write-through)

Built 1 zonelists.  Total pages: 3810

Kernel command line: root=/dev/mtdblock2 rw rootfstype=jffs2 console=ttyBF0,115200

Configuring Blackfin Priority Driven Interrupts

PID hash table entries: 64 (order: 6, 256 bytes)

I-pipe 1.7-00: pipeline enabled.

Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)

Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)

Memory available: 13180k/16384k RAM, (76k init code, 1314k kernel code, 495k data, 1024k dma, 296k reserved)

Blackfin Scratchpad data SRAM: 4 KB

Blackfin Data A SRAM: 16 KB (9 KB free)

Blackfin Data B SRAM: 16 KB (16 KB free)

Blackfin Instruction SRAM: 48 KB (39 KB free)

Security Framework v1.0.0 initialized

Mount-cache hash table entries: 512

NET: Registered protocol family 16

Blackfin GPIO Controller

Blackfin DMA Controller

stamp_init(): registering device resources

Generic PHY: Registered new driver

NET: Registered protocol family 2

�IP route cache hash table entries: 1024 (order: 0, 4096 bytes)

TCP established hash table entries: 512 (order: 0, 4096 bytes)

TCP bind hash table entries: 512 (order: -1, 2048 bytes)

TCP: Hash tables configured (established 512 bind 512)

TCP reno registered

I-pipe: Domain Xenomai registered.

Xenomai: hal/blackfin started.

Xenomai: real-time nucleus v2.4.0 (Bells Of Lal) loaded.

Xenomai: starting native API services.

Xenomai: starting RTDM services.

JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.

io scheduler noop registered (default)

Dynamic Power Management Controller Driver v0.1: major=10, minor = 254

bfin-wdt: initialized: timeout=20 sec (nowayout=0)

Serial: Blackfin serial driver

bfin-uart.1: ttyBF0 at MMIO 0xffc00400 (irq = 18) is a BFIN-UART

RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize

SMSC LAN83C185: Registered new driver

bfin_mac_mdio: probed

bfin_mac: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:00, irq=-1, mdc_clk=2500000Hz(mdc_div=19)@sclk=100MHz)

bfin_mac: Version 1.1, Blackfin BF53[67] BF527 on-chip Ethernet MAC driver

physmap platform flash device: 01000000 at 20000000

physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank

Amd/Fujitsu Extended Query Table at 0x0040

physmap-flash.0: 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.

RedBoot partition parsing not available

Using physmap partition information

Creating 3 MTD partitions on "physmap-flash.0":

0x00000000-0x00080000 : "Bootloader"

0x00080000-0x00180000 : "Kernel1"

0x00180000-0x00e80000 : "JFFS2"

TCP cubic registered

NET: Registered protocol family 1

NET: Registered protocol family 17

Data access CPLB miss

- Used by the MMU to signal a CPLB miss on a data access.

Kernel OOPS in progress

Defered Exception context

 

No Valid process in current context

return address: [0xffa0207c]; contents of:

0xffa02050: <0>

Double Fault

Kernel OOPS in progress

Defered Exception context

 

No Valid process in current context

return address: [0x00003852]; contents of:

0x00003830:  5999  6380  5404  3220  3038  6707  6d04  3044

0x00003840:  0987  1057  326e  6803  6c65  2025  3217  e141

0x00003850:  0016 [9510] 42c5  3030  e101  efb4  3045  3015

0x00003860:  e305  cd8e  083c  183d  e140  0016  e100  efc4

 

SEQUENCER STATUS:               Not tainted

SEQSTAT: 00060023  IPEND: ffa0207c  SYSCFG: 0006

  HWERRCAUSE: 0x18

  EXCAUSE   : 0x23

  physical IVG6 asserted : <0xffa00da0> { _evt_timer + 0x0 }

  physical IVG13 asserted : <0xffa00e48> { _evt_evt13 + 0x0 }

  logical irq  24 mapped  : <0x000db9c8> { _bf537mac_interrupt + 0x0 }

  logical irq  26 mapped  : <0xffa001a8> { _timer_interrupt + 0x0 }

RETE: <0x00000000> /* Maybe null pointer? */

RETN: <0x0022b8fc> /* unknown address */

RETX: <0x00003852> { _dump_bfin_mem + 0x46 }

RETS: <0x000038aa> { _dump_bfin_mem + 0x9e }

PC  : <0xffa0207c> { _memcpy + 0x38 }

DCPLB_FAULT_ADDR: <0xffa02050> { _memcpy + 0xc }

ICPLB_FAULT_ADDR: <0x00003852> { _dump_bfin_mem + 0x46 }

 

PROCESSOR STATE:

R0 : 00000010    R1 : 00160064    R2 : 00000000    R3 : 0000001e

R4 : ffa0207c    R5 : 0000100d    R6 : ff8016a8    R7 : ffa02050

P0 : 0019d500    P1 : 001c6920    P2 : ffa02050    P3 : 00000000

P4 : ffa02090    P5 : 0022b908    FP : 0022b9e8    SP : 0022b820

LB0: ffa0207e    LT0: ffa0207e    LC0: 000000ff

LB1: 000bcd32    LT1: 000bcd24    LC1: 00000000

B0 : 0022bd6c    L0 : 00000000    M0 : 00000000    I0 : 0022bcc8

B1 : 0022bd68    L1 : 00000000    M1 : 00000000    I1 : 20400000

B2 : 00000000    L2 : 00000000    M2 : 00000000    I2 : 0022bd74

B3 : 00000000    L3 : 00000000    M3 : 00000000    I3 : 0022bd70

A0.w: 0000000c   A0.x: 00000000   A1.w: 0000000c   A1.x: 00000000

USP : 00000000  ASTAT: 02002000

 

Kernel panic - not syncing: Double Fault - unrecoverable event

QuoteReplyEditDelete

 

 

2008-03-06 01:09:28     Re: Enabling jffs2 as rootfs crashs kernel

Mike Frysinger (UNITED STATES)

Message: 52139    posting the crash message is useless if you turn off the hardware trace buffer ... either turn it back on (there's no point in turning it off in the first place), or you'll have to hook up a debugger and figure out where it's crashing

QuoteReplyEditDelete

 

 

2008-03-06 04:17:46     Re: Enabling jffs2 as rootfs crashs kernel

new kernel (CHINA)

Message: 52147    The above problem is that I modified mtd parts in the mach-bf537/board/stamp.c,so I return to  the original stamp.c, it's Ok.

As last question: http://blackfin.uclinux.org/gf/project/uclinux-dist/forum/?action=ForumBrowse&forum_id=39&_forum_action=ForumMessageBrowse&thread_id=26189

   I wrote my flash driver(flash_test.c) which I refered to bf5xx_flash.c and compiled it. I checked flash_test.o in the directory.

 

My questions:

  Why my flash driver doesn't execute the flash probe,even I add testing prink in the function?

  When I selected physmap-flash.0 for my flash driver, why it only have 4M?

 

 

 

(1)

  mtdparts=BF5xx-Flash:512k(uboot),1024k(kernel),-(jffs2)

 

Starting Kernel at = 1a8000

Linux version 2.6.22.16-ADI-2008R1-svn (josh@linux-9t2n) (gcc version 4.1.2 (ADI svn)) #64 PREEMPT Thu Mar 6 16:50:08 CST 2008

Hardware Trace Off and Disabled

Warning: limiting memory to 15MB due to hardware anomaly 05000263

Blackfin support (C) 2004-2007 Analog Devices, Inc.

Compiled for ADSP-BF537 Rev 0.2

Blackfin Linux support by http://blackfin.uclinux.org/

Processor Speed: 300 MHz core clock and 100 MHz System Clock

Board Memory: 16MB

Kernel Managed Memory: 16MB

Memory map:

  text      = 0x00001000-0x0014b2d0

  rodata    = 0x0014c000-0x00196bf0

  data      = 0x00197000-0x001a8000

    stack   = 0x00198000-0x0019a000

  init      = 0x001a8000-0x001bb000

  bss       = 0x001bb000-0x001da610

  available = 0x001da610-0x00eff000

  DMA Zone  = 0x00f00000-0x01000000

Instruction Cache Enabled

Data Cache Enabled (write-through)

Built 1 zonelists.  Total pages: 3810

Kernel command line: root=/dev/mtdblock2 rw rootfstype=jffs2 console=ttyBF0,115200 mtdparts=BF5xx-Flash:512k(uboot),1024k(kernel),-(jffs2)

Configuring Blackfin Priority Driven Interrupts

PID hash table entries: 64 (order: 6, 256 bytes)

I-pipe 1.7-00: pipeline enabled.

Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)

Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)

Memory available: 13172k/16384k RAM, (76k init code, 1320k kernel code, 497k data, 1024k dma, 296k reserved)

Blackfin Scratchpad data SRAM: 4 KB

Blackfin Data A SRAM: 16 KB (9 KB free)

Blackfin Data B SRAM: 16 KB (16 KB free)

Blackfin Instruction SRAM: 48 KB (39 KB free)

Security Framework v1.0.0 initialized

Mount-cache hash table entries: 512

NET: Registered protocol family 16

Blackfin GPIO Controller

Blackfin DMA Controller

stamp_init(): registering device resources

Generic PHY: Registered new driver

NET: Registered protocol family 2

IP route cache hash table entries: 1024 (order: 0, 4096 bytes)

TCP established hash table entries: 512 (order: 0, 4096 bytes)

TCP bind hash table entries: 512 (order: -1, 2048 bytes)

TCP: Hash tables configured (established 512 bind 512)

TCP reno registered

I-pipe: Domain Xenomai registered.

Xenomai: hal/blackfin started.

Xenomai: real-time nucleus v2.4.0 (Bells Of Lal) loaded.

Xenomai: starting native API services.

Xenomai: starting RTDM services.

JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.

io scheduler noop registered (default)

Dynamic Power Management Controller Driver v0.1: major=10, minor = 254

bfin-wdt: initialized: timeout=20 sec (nowayout=0)

Serial: Blackfin serial driver

bfin-uart.1: ttyBF0 at MMIO 0xffc00400 (irq = 18) is a BFIN-UART

RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize

SMSC LAN83C185: Registered new driver

bfin_mac_mdio: probed

bfin_mac: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:00, irq=-1, mdc_clk=2500000Hz(mdc_div=19)@sclk=100MHz)

bfin_mac: Version 1.1, Blackfin BF53[67] BF527 on-chip Ethernet MAC driver

physmap platform flash device: 00400000 at 20000000

physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank

NOR chip too large to fit in mapping. Attempting to cope...

Amd/Fujitsu Extended Query Table at 0x0040

physmap-flash.0: 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.

Reducing visibility of 16384KiB chip to 4096KiB

RedBoot partition parsing not available

Using physmap partition information

Creating 4 MTD partitions on "physmap-flash.0":

0x00000000-0x00020000 : "Bootloader"

0x00020000-0x00100000 : "Kernel"

0x00100000-0x003f0000 : "RootFS"

0x003f0000-0x00400000 : "MAC Address"

TCP cubic registered

NET: Registered protocol family 1

NET: Registered protocol family 17

VFS: Mounted root (jffs2 filesystem).

Freeing unused kernel memory: 76k freed

Warning: unable to open an initial console.

JFFS2 warning: (90) jffs2_do_read_inode_internal: Truncating ino #242 to 235544 bytes failed because it only had 154516 bytes to start with!

 

 

///////////////////////////////////////////////////////////////

(2)

 

mtdparts=physmap-flash.0:512k(uboot),1024k(kernel),-(jffs2)

 

 

Starting Kernel at = 1a8000

Linux version 2.6.22.16-ADI-2008R1-svn (josh@linux-9t2n) (gcc version 4.1.2 (ADI svn)) #64 PREEMPT Thu Mar 6 16:50:08 CST 2008

Hardware Trace Off and Disabled

Warning: limiting memory to 15MB due to hardware anomaly 05000263

Blackfin support (C) 2004-2007 Analog Devices, Inc.

Compiled for ADSP-BF537 Rev 0.2

Blackfin Linux support by http://blackfin.uclinux.org/

Processor Speed: 300 MHz core clock and 100 MHz System Clock

Board Memory: 16MB

Kernel Managed Memory: 16MB

Memory map:

  text      = 0x00001000-0x0014b2d0

  rodata    = 0x0014c000-0x00196bf0

  data      = 0x00197000-0x001a8000

    stack   = 0x00198000-0x0019a000

  init      = 0x001a8000-0x001bb000

  bss       = 0x001bb000-0x001da610

  available = 0x001da610-0x00eff000

  DMA Zone  = 0x00f00000-0x01000000

Instruction Cache Enabled

Data Cache Enabled (write-through)

Built 1 zonelists.  Total pages: 3810

Kernel command line: root=/dev/mtdblock2 rw rootfstype=jffs2 console=ttyBF0,115200 mtdparts=physmap-flash.0:512k(uboot),1024k(kernel),-(jffs2)

Configuring Blackfin Priority Driven Interrupts

PID hash table entries: 64 (order: 6, 256 bytes)

I-pipe 1.7-00: pipeline enabled.

Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)

Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)

Memory available: 13172k/16384k RAM, (76k init code, 1320k kernel code, 497k data, 1024k dma, 296k reserved)

Blackfin Scratchpad data SRAM: 4 KB

Blackfin Data A SRAM: 16 KB (9 KB free)

Blackfin Data B SRAM: 16 KB (16 KB free)

Blackfin Instruction SRAM: 48 KB (39 KB free)

Security Framework v1.0.0 initialized

Mount-cache hash table entries: 512

NET: Registered protocol family 16

Blackfin GPIO Controller

Blackfin DMA Controller

stamp_init(): registering device resources

Generic PHY: Registered new driver

NET: Registered protocol family 2

IP route cache hash table entries: 1024 (order: 0, 4096 bytes)

TCP established hash table entries: 512 (order: 0, 4096 bytes)

TCP bind hash table entries: 512 (order: -1, 2048 bytes)

TCP: Hash tables configured (established 512 bind 512)

TCP reno registered

I-pipe: Domain Xenomai registered.

Xenomai: hal/blackfin started.

Xenomai: real-time nucleus v2.4.0 (Bells Of Lal) loaded.

Xenomai: starting native API services.

Xenomai: starting RTDM services.

JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.

io scheduler noop registered (default)

Dynamic Power Management Controller Driver v0.1: major=10, minor = 254

bfin-wdt: initialized: timeout=20 sec (nowayout=0)

Serial: Blackfin serial driver

bfin-uart.1: ttyBF0 at MMIO 0xffc00400 (irq = 18) is a BFIN-UART

RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize

SMSC LAN83C185: Registered new driver

bfin_mac_mdio: probed

bfin_mac: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:00, irq=-1, mdc_clk=2500000Hz(mdc_div=19)@sclk=100MHz)

bfin_mac: Version 1.1, Blackfin BF53[67] BF527 on-chip Ethernet MAC driver

physmap platform flash device: 00400000 at 20000000

physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank

NOR chip too large to fit in mapping. Attempting to cope...

Amd/Fujitsu Extended Query Table at 0x0040

physmap-flash.0: 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.

Reducing visibility of 16384KiB chip to 4096KiB

3 cmdlinepart partitions found on MTD device physmap-flash.0

Creating 3 MTD partitions on "physmap-flash.0":

0x00000000-0x00080000 : "uboot"

0x00080000-0x00180000 : "kernel"

0x00180000-0x00400000 : "jffs2"

TCP cubic registered

NET: Registered protocol family 1

NET: Registered protocol family 17

VFS: Mounted root (jffs2 filesystem).

Freeing unused kernel memory: 76k freed

Warning: unable to open an initial console.

JFFS2 warning: (85) jffs2_do_read_inode_internal: Truncating ino #242 to 235544 bytes failed because it only had 154516 bytes to start with!

QuoteReplyEditDelete

 

 

2008-03-06 12:32:11     Re: Enabling jffs2 as rootfs crashs kernel

Mike Frysinger (UNITED STATES)

Message: 52168    the mapping driver is only for the BF533-STAMP, not BF537-STAMP ... so none of the default resources in the BF537-STAMP refer to the bf5xx-flash mapping driver

QuoteReplyEditDelete

 

 

2008-03-06 23:04:38     Re: Enabling jffs2 as rootfs crashs kernel

new kernel (CHINA)

Message: 52180    Hi Mike,

     With your help, my board can detect the BF5xx_flash now ,but the rootfs -jffs2 still has a problem.

  I'm sure that rootfs-jffs2 is  written  at the right position.

 

 

   Starting Kernel at = 1a4000

Linux version 2.6.22.16-ADI-2008R1-svn (josh@linux-9t2n) (gcc version 4.1.2 (ADI svn)) #73 PREEMPT Fri Mar 7 11:19:01 CST 2008

Hardware Trace Off and Disabled

Warning: limiting memory to 15MB due to hardware anomaly 05000263

Blackfin support (C) 2004-2007 Analog Devices, Inc.

Compiled for ADSP-BF537 Rev 0.2

Blackfin Linux support by http://blackfin.uclinux.org/

Processor Speed: 300 MHz core clock and 100 MHz System Clock

Board Memory: 16MB

Kernel Managed Memory: 16MB

Memory map:

  text      = 0x00001000-0x00148cf0

  rodata    = 0x00149000-0x00193430

  data      = 0x00194000-0x001a4000

    stack   = 0x00194000-0x00196000

  init      = 0x001a4000-0x001b7000

  bss       = 0x001b7000-0x001d6630

  available = 0x001d6630-0x00eff000

  DMA Zone  = 0x00f00000-0x01000000

Instruction Cache Enabled

Data Cache Enabled (write-through)

Built 1 zonelists.  Total pages: 3810

Kernel command line: root=/dev/mtdblock2 rw rootfstype=jffs2 console=ttyBF0,115200 mtdparts=BF5xx-Flash:512k(uboot),1024k(kernel),-(jffs2) ip=172.26.10.235:172.26.10.50:172.26.10.1:255.255.255.0:EMERALD:eth0:on

Configuring Blackfin Priority Driven Interrupts

PID hash table entries: 64 (order: 6, 256 bytes)

I-pipe 1.7-00: pipeline enabled.

Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)

Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)

Memory available: 13188k/16384k RAM, (76k init code, 1311k kernel code, 490k data, 1024k dma, 296k reserved)

Blackfin Scratchpad data SRAM: 4 KB

Blackfin Data A SRAM: 16 KB (9 KB free)

Blackfin Data B SRAM: 16 KB (16 KB free)

Blackfin Instruction SRAM: 48 KB (39 KB free)

Security Framework v1.0.0 initialized

Mount-cache hash table entries: 512

NET: Registered protocol family 16

Blackfin GPIO Controller

Blackfin DMA Controller

stamp_init(): registering device resources

Generic PHY: Registered new driver

NET: Registered protocol family 2

IP route cache hash table entries: 1024 (order: 0, 4096 bytes)

TCP established hash table entries: 512 (order: 0, 4096 bytes)

TCP bind hash table entries: 512 (order: -1, 2048 bytes)

TCP: Hash tables configured (established 512 bind 512)

TCP reno registered

I-pipe: Domain Xenomai registered.

Xenomai: hal/blackfin started.

Xenomai: real-time nucleus v2.4.0 (Bells Of Lal) loaded.

Xenomai: starting native API services.

Xenomai: starting RTDM services.

JFFS2 version 2.2. © 2001-2006 Red Hat, Inc.

io scheduler noop registered (default)

Dynamic Power Management Controller Driver v0.1: major=10, minor = 254

bfin-wdt: initialized: timeout=20 sec (nowayout=0)

Serial: Blackfin serial driver

bfin-uart.1: ttyBF0 at MMIO 0xffc00400 (irq = 18) is a BFIN-UART

RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize

SMSC LAN83C185: Registered new driver

bfin_mac_mdio: probed

bfin_mac: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:00, irq=-1, mdc_clk=2500000Hz(mdc_div=19)@sclk=100MHz)

bfin_mac: Version 1.1, Blackfin BF53[67] BF527 on-chip Ethernet MAC driver

BF5xx-Flash: Found 1 x16 devices at 0x0 in 16-bit bank

Amd/Fujitsu Extended Query Table at 0x0040

BF5xx-Flash: 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.

GHS FLASH was initalized already

3 cmdlinepart partitions found on MTD device BF5xx-Flash

BF5xx-Flash: Using commandline partition definition

Creating 3 MTD partitions on "BF5xx-Flash":

0x00000000-0x00080000 : "uboot"

0x00080000-0x00180000 : "kernel"

0x00180000-0x01000000 : "jffs2"

TCP cubic registered

NET: Registered protocol family 1

NET: Registered protocol family 17

IP-Config: Complete:

      device=eth0, addr=172.26.10.235, mask=255.255.255.0, gw=172.26.10.1,

     host=EMERALD, domain=, nis-domain=(none),

     bootserver=172.26.10.50, rootserver=172.26.10.50, rootpath=

JFFS2 notice: (1) jffs2_get_inode_nodes: Node header CRC failed at 0x1d7a60. {ffff,ffff,ffffffff,ffffffff}

Node totlen on flash (0xffffffff) != totlen from node ref (0x0000002c)

JFFS2 notice: (1) jffs2_get_inode_nodes: Node header CRC failed at 0x000e40. {ffff,ffff,ffffffff,ffffffff}

Node totlen on flash (0xffffffff) != totlen from node ref (0x0000002c)

JFFS2 notice: (1) jffs2_get_inode_nodes: Node header CRC failed at 0x000dd0. {ffff,ffff,ffffffff,ffffffff}

Node totlen on flash (0xffffffff) != totlen from node ref (0x0000002c)

JFFS2 notice: (1) jffs2_get_inode_nodes: Node header CRC failed at 0x000d60. {ffff,ffff,ffffffff,ffffffff}

Node totlen on flash (0xffffffff) != totlen from node ref (0x0000002c)

JFFS2 notice: (1) jffs2_get_inode_nodes: Node header CRC failed at 0x000c08. {ffff,ffff,ffffffff,ffffffff}

Node totlen on flash (0xffffffff) != totlen from node ref (0x0000002c)

JFFS2 notice: (1) jffs2_get_inode_nodes: Node header CRC failed at 0x000b98. {ffff,ffff,ffffffff,ffffffff}

Node totlen on flash (0xffffffff) != totlen from node ref (0x0000002c)

JFFS2 notice: (1) jffs2_get_inode_nodes: Node header CRC failed at 0x0008f8. {ffff,ffff,ffffffff,ffffffff}

Node totlen on flash (0xffffffff) != totlen from node ref (0x0000002c)

JFFS2 notice: (1) jffs2_get_inode_nodes: Node header CRC failed at 0x000888. {ffff,ffff,ffffffff,ffffffff}

Node totlen on flash (0xffffffff) != totlen from node ref (0x0000002c)

JFFS2 notice: (1) jffs2_get_inode_nodes: Node header CRC failed at 0x000818. {ffff,ffff,ffffffff,ffffffff}

Node totlen on flash (0xffffffff) != totlen from node ref (0x0000002c)

JFFS2 notice: (1) jffs2_get_inode_nodes: Node header CRC failed at 0x0007a8. {ffff,ffff,ffffffff,ffffffff}

Node totlen on flash (0xffffffff) != totlen from node ref (0x0000002c)

JFFS2 notice: (1) jffs2_get_inode_nodes: Node header CRC failed at 0x000238. {ffff,ffff,ffffffff,ffffffff}

Node totlen on flash (0xffffffff) != totlen from node ref (0x0000002c)

JFFS2 notice: (1) jffs2_get_inode_nodes: Node header CRC failed at 0x000070. {ffff,ffff,ffffffff,ffffffff}

Node totlen on flash (0xffffffff) != totlen from node ref (0x0000002c)

JFFS2 notice: (1) jffs2_get_inode_nodes: Node header CRC failed at 0x000000. {ffff,ffff,ffffffff,ffffffff}

Node totlen on flash (0xffffffff) != totlen from node ref (0x0000002c)

VFS: Mounted root (jffs2 filesystem).

Freeing unused kernel memory: 76k freed

Warning: unable to open an initial console.

Kernel panic - not syncing: No init found.  Try passing init= option to kernel

QuoteReplyEditDelete

 

 

2008-03-06 23:29:08     Re: Enabling jffs2 as rootfs crashs kernel

Mike Frysinger (UNITED STATES)

Message: 52182    the error messages indicate things are not right ... 0xff bytes are erased bytes

 

verify that you erased the whole partition and wrote the proper jffs2 image to the right offset

Attachments

    Outcomes