[#4616] XIP kernel can not boot up

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

[#4616] XIP kernel can not boot up

Submitted By: Vivi Li

Open Date

2008-11-06 05:53:02     Close Date

2009-01-13 06:46:05

Priority:

Medium High     Assignee:

Bernd Schmidt

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     Release:

Category:

N/A     Board:

N/A

Processor:

N/A     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

toolchain-2008_Oct_10

App binary format:

N/A     

Summary: XIP kernel can not boot up

Details:

 

On all platforms, XIP kernel crashed when boot up.

 

Bellow is the log:

--

Linux version 2.6.28-rc2-ADI-2009R1-pre-svn5580 (test@uclinux54-adv7393-ad1981-usb1362) (gcc version 4.1.2 (ADI svn)) #27 Thu Nov 6 08:46:35 CST 2008^M

Warning: limiting memory to 51MB due to hardware anomaly 05000263^M

Board Memory: 64MB^M

Kernel Managed Memory: 64MB^M

Memory map:^M

  fixedcode = 0x00000400-0x00000490^M

  text      = 0x00001000-0x0010c510^M

  rodata    = 0x0010c520-0x0015d2fc^M

  bss       = 0x0015d300-0x0016d284^M

  data      = 0x0016d284-0x0017e000^M

    stack   = 0x0017c000-0x0017e000^M

  init      = 0x0017e000-0x0019d000^M

  available = 0x0019d000-0x0334b000^M

  rootfs    = 0x0334b000-0x03800000^M

  DMA Zone  = 0x03f00000-0x04000000^M

Hardware Trace Active and Enabled^M

Reset caused by Software reset^M

Blackfin support (C) 2004-2008 Analog Devices, Inc.^M

Compiled for ADSP-BF537 Rev 0.2^M

Blackfin Linux support by   blackfin.uclinux.org/^M

Processor Speed: 500 MHz core clock and 100 MHz System Clock^M

NOMPU: setting up cplb tables for global access^M

Instruction Cache Enabled^M

Data Cache Enabled (write-through)^M

Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 13028^M

Kernel command line: root=mtd0 rootfstype=romfs ro^M

Configuring Blackfin Priority Driven Interrupts^M

PID hash table entries: 256 (order: 8, 1024 bytes)^M

bfin-rtc: invalid date; resetting^M

console [ttyBF0] enabled^M

Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)^M

Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)^M

Memory available: 50292k/65536k RAM, (124k init code, 1069k kernel code, 455k data, 1024k dma, 12572k reserved)^M

Calibrating delay loop... 995.32 BogoMIPS (lpj=1990656)^M

Security Framework initialized^M

Mount-cache hash table entries: 512^M

Blackfin Scratchpad data SRAM: 4 KB^M

Blackfin L1 Data A SRAM: 16 KB (15 KB free)^M

Blackfin L1 Data B SRAM: 16 KB (16 KB free)^M

Blackfin L1 Instruction SRAM: 48 KB (41 KB free)^M

net_namespace: 288 bytes^M

NET: Registered protocol family 16^M

Blackfin GPIO Controller^M

Blackfin DMA Controller^M

stamp_init(): registering device resources^M

NET: Registered protocol family 2^M

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

TCP established hash table entries: 2048 (order: 2, 16384 bytes)^M

TCP bind hash table entries: 2048 (order: 1, 8192 bytes)^M

TCP: Hash tables configured (established 2048 bind 2048)^M

TCP reno registered^M

NET: Registered protocol family 1^M

ROMFS MTD (C) 2006 Red Hat, Inc.^M

msgmni has been set to 98^M

io scheduler noop registered^M

io scheduler anticipatory registered (default)^M

io scheduler cfq registered^M

Serial: Blackfin serial driver^M

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

brd: module loaded^M

bfin_mac_mdio: probed^M

bfin_mac: attached PHY driver [SMSC LAN83C185] (mii_bus:phy_addr=0:01, irq=-1, mdc_clk=2500000Hz(mdc_div=19)@sclk=100MHz)^M

bfin_mac bfin_mac.0: Blackfin on-chip Ethernet MAC driver, Version 1.1^M

uclinux[mtd]: RAM probe address=0x334b000 size=0x4b47e0^M

Creating 1 MTD partitions on "RAM":^M

0x00000000-0x004b47e0 : "ROMfs"^M

bfin-spi bfin-spi.0: Blackfin BF5xx on-chip SPI Controller Driver, Version 1.0, regs_base@ffc00500, dma channel@7^M

rtc-bfin rtc-bfin: rtc core: registered rtc-bfin as rtc0^M

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

TCP cubic registered^M

NET: Registered protocol family 17^M

rtc-bfin rtc-bfin: setting system clock to 1970-01-01 00:00:01 UTC (1)^M

ROMFS: Mounting image 'rom 49123ffd'^M

NULL pointer access^M

Kernel OOPS in progress^M

Deferred Exception context^M

CURRENT PROCESS:^M

COMM=swapper PID=1^M

invalid mm^M

return address: [0xffa018dc]; contents of:^M

0xffa018b0:  0010  0000  3200  3212  50d0  0e3a  1818  4349 ^M

0xffa018c0:  601a  5490  0c02  1019  44d1  c682  8441  c402 ^M

0xffa018d0:  0411  c422  4411  3213  e0a2  1002 [9202] 0850 ^M

0xffa018e0:  1002  0010  3013  3058  529a  3212  0c42  1804 ^M

^M

SEQUENCER STATUS:               Not tainted^M

SEQSTAT: 00062027  IPEND: 8030  SYSCFG: 0006^M

  EXCAUSE   : 0x27^M

  physical IVG15 asserted : <0xffa00e08> { _evt_system_call + 0x0 }^M

  logical irq   6 mapped  : <0xffa003c8> { _timer_interrupt + 0x0 }^M

  logical irq  10 mapped  : <0x000b1cf8> { _bfin_rtc_interrupt + 0x0 }^M

  logical irq  24 mapped  : <0x000a8ad4> { _bfin_mac_interrupt + 0x0 }^M

RETE: <0x00000000> { _do_one_initcall + 0xfffff000 }^M

RETN: <0x00237ca0> /* kernel dynamic memory */^M

RETX: <0x00000480> /* Maybe fixed code section */^M

RETS: <0x0004ddaa> { _inode_init_once + 0x12 }^M

PC  : <0xffa018dc> { _memset + 0x28 }^M

DCPLB_FAULT_ADDR: <0x00000000> { _do_one_initcall + 0xfffff000 }^M

ICPLB_FAULT_ADDR: <0x0000ffff> { _wait_consider_task + 0x3 }^M

^M

PROCESSOR STATE:^M

R0 : 00000000    R1 : 00000000    R2 : 00000000    R3 : 00000120^M

R4 : 00000001    R5 : 000000d0    R6 : 002e6000    R7 : 00000000^M

P0 : 00000000    P1 : 00000048    P2 : 00000120    P3 : 002e601c^M

P4 : 002e6000    P5 : 00000000    FP : 0025d5a0    SP : 00237bc4^M

LB0: ffa018dc    LT0: ffa018dc    LC0: 00000048^M

LB1: 0003d6f8    LT1: 0003d6f2    LC1: 00000000^M

B0 : 00237e24    L0 : 00000000    M0 : 00000000    I0 : 00237c9c^M

B1 : 00237e20    L1 : 00000000    M1 : 00000000    I1 : 0334b040^M

B2 : 00237ddc    L2 : 00000000    M2 : 00000000    I2 : 3d08ff55^M

B3 : 00237e30    L3 : 00000000    M3 : 00000000    I3 : 00000000^M

A0.w: 00000000   A0.x: 00000000   A1.w: 00000000   A1.x: 00000000^M

USP : 00000000  ASTAT: 02002021^M

^M

Hardware Trace:^M

   0 Target : <0x00004954> { _trap_c + 0x0 }^M

     Source : <0xffa00738> { _exception_to_level5 + 0x9c } CALL pcrel^M

   1 Target : <0xffa0069c> { _exception_to_level5 + 0x0 }^M

     Source : <0xffa00526> { _bfin_return_from_exception + 0xe } RTX^M

   2 Target : <0xffa00518> { _bfin_return_from_exception + 0x0 }^M

     Source : <0xffa005f0> { _ex_trap_c + 0x6c } JUMP.S^M

   3 Target : <0xffa00584> { _ex_trap_c + 0x0 }^M

     Source : <0xffa00402> { _ex_workaround_261 + 0x22 } JUMP.S^M

   4 Target : <0xffa003e0> { _ex_workaround_261 + 0x0 }^M

     Source : <0xffa007ce> { _trap + 0x36 } JUMP (P4)^M

   5 Target : <0xffa007b4> { _trap + 0x1c }^M

     Source : <0xffa007b0> { _trap + 0x18 } IF !CC JUMP^M

   6 Target : <0xffa00798> { _trap + 0x0 }^M

     Source : <0xffa00526> { _bfin_return_from_exception + 0xe } RTX^M

   7 Target : <0xffa00518> { _bfin_return_from_exception + 0x0 }^M

     Source : <0xffa003f2> { _ex_workaround_261 + 0x12 } IF !CC JUMP^M

   8 Target : <0xffa003e0> { _ex_workaround_261 + 0x0 }^M

     Source : <0xffa007ce> { _trap + 0x36 } JUMP (P4)^M

   9 Target : <0xffa007b4> { _trap + 0x1c }^M

     Source : <0xffa007b0> { _trap + 0x18 } IF !CC JUMP^M

  10 Target : <0xffa00798> { _trap + 0x0 }^M

     Source : <0xffa018d8> { _memset + 0x24 } LSETUP^M

  11 Target : <0xffa018b4> { _memset + 0x0 }^M

     Source : <0x0004dda6> { _inode_init_once + 0xe } CALL pcrel^M

  12 Target : <0x0004dd98> { _inode_init_once + 0x0 }^M

     Source : <0x0007641a> { _romfs_i_init_once + 0x2 } JUMP.L^M

  13 Target : <0x00076418> { _romfs_i_init_once + 0x0 }^M

     Source : <0x0003d798> { _cache_alloc_refill + 0x364 } CALL (P2)^M

  14 Target : <0x0003d678> { _cache_alloc_refill + 0x244 }^M

     Source : <0x000343b0> { ___alloc_pages_internal + 0x1d4 } RTS^M

  15 Target : <0x000343a4> { ___alloc_pages_internal + 0x1c8 }^M

     Source : <0x00034244> { ___alloc_pages_internal + 0x68 } IF !CC JUMP^M

^M

Kernel Stack^M

Stack info:^M

SP: [0x00237ca0] <0x00237ca0> /* kernel dynamic memory */^M

FP: (0x00237d1c)^M

Memory from 0x00237ca0 to 00238000^M

00237ca0:[03312f20] 00000020  0000ffff <0003d79a> 00000000  00000000  00000000  00000000 ^M

00237cc0: 00000000  000000d0  00000000  03312f20  00000010  00237d98 <0003d42e> 0025d5a0 ^M

00237ce0: 00000010  002fe800  00000000  0000ffff  000000d0  00000001  0000000a  00000004 ^M

00237d00: 00000010 <00075d6a> 0022d548  00000000  00000020  002fe800  00000030 (00000000)^M

00237d20:<0004d976><0004dac6> 00000049  00000020  00000010 <0004e0c8> 0022d548  00000010 ^M

00237d40: fffffff0  00000000  00000000  00000010 <00075e92> 002fe800 <00075ea4> 002fe800 ^M

00237d60: 00000010  00000049  00000020  00000001  00172bf8  00075d04 <0010bb90> 00000010 ^M

00237d80: 00237d98  00237d88  49000000  20000000  00000000  97ffffd1  00000010  00000001 ^M

00237da0:<00076202> 002fe600  002fe800  002fe610  00000000  002fe800  0000002c  0023f2a0 ^M

00237dc0: 0023dcb0  0000000c  0000000c  002fe610  00237dd8  002fe600  00000200 <00076358>^M

00237de0: 0023f2a0  002f7000  00173930  00173930  00000000  00008001  0023f2a0  0023f300 ^M

00237e00: 00168bdc  00000000  002e0ea0  0023f2a0  0000000b  00168bdc  000000d0  00000001 ^M

00237e20:<0003d99c> 00000000  0017a54c  03343220 <00039bae> 0023f2a0  00000005  000000d0 ^M

00237e40: 002f7000  0023f2a0  0023f300  00168bf8 <00050a36> 00000000  002f7000  002f7000 ^M

00237e60: 002f7004 <00041acc> 0023f2a0  00173930  00008001  00173930  00000000  00000000 ^M

00237e80: 002f7000  0023f7a0 <0004f98e> 00008001  00000000  0023f2a0 <00041be4> 00008001 ^M

00237ea0: 00000000  00000000  00173930  00008001  002f7000  002fb000  001a7ee0  00000000 ^M

00237ec0: 03343220  00000000 <000512d6> 00008001  00000000  002f7000  002fb000  00000040 ^M

00237ee0: 00237f44  00136080  002f6000  00000000  00000000  00000005 <00046362> 001970b0 ^M

00237f00: 00000000  0023f7a0  0023c190  0015d328 <000514d0> 001970b0  00237f74  03313000 ^M

00237f20: 00000000  002f6000  0019706c  0019706c  002c8498  00237f58  00237f94  00008001 ^M

00237f40: 00000000  002f7000  002fb000  00000000 <0017e992> 03313000  00236000  00008001 ^M

00237f60: 00172b08  033174a0  00004000  00008001  00000000  00237f98  7fffff00 <0003ed0a>^M

00237f80: 00135de0  00000000  fffffffe  ffffffff  0019a3d0  00000000 <0017ec28> 00197068 ^M

00237fa0: 0019a3d0  0019a5f8  00000000  00000000  00000000  00000000  0015d318  0019a3d0 ^M

00237fc0: 0019a5f8  00000000  00000000 <0017e3e4> 0015d318  00000000  00000000  00000000 ^M

00237fe0: 00000001 <00001466> 00000000  00000000  00000000  00000000  ffffffff  00000006 ^M

00238000: 03343ee8 ^M

Return addresses in stack:^M

    address : <0x0003d79a> { _cache_alloc_refill + 0x366 }^M

    address : <0x0003d42e> { _kmem_cache_alloc + 0x6a }^M

    address : <0x00075d6a> { _romfs_alloc_inode + 0x16 }^M

   frame  1 : <0x0004d976> { _ifind_fast + 0xa }^M

    address : <0x0004dac6> { _alloc_inode + 0x12 }^M

    address : <0x0004e0c8> { _iget_locked + 0x3c }^M

    address : <0x00075e92> { _romfs_iget + 0x6a }^M

    address : <0x00075ea4> { _romfs_iget + 0x7c }^M

    address : <0x0010bb90> { _down_write + 0xc }^M

    address : <0x00076202> { _romfs_get_sb_mtd + 0x1fe }^M

    address : <0x00076358> { _romfs_get_sb + 0xd8 }^M

    address : <0x0003d99c> { ___kmalloc + 0x98 }^M

    address : <0x00039bae> { _kstrdup + 0x1e }^M

    address : <0x00050a36> { _alloc_vfsmnt + 0x62 }^M

    address : <0x00041acc> { _vfs_kern_mount + 0x40 }^M

    address : <0x0004f98e> { _get_fs_type + 0x1e }^M

    address : <0x00041be4> { _do_kern_mount + 0x24 }^M

    address : <0x000512d6> { _do_mount + 0x376 }^M

    address : <0x00046362> { _getname + 0x1e }^M

    address : <0x000514d0> { _sys_mount + 0x60 }^M

    address : <0x0017e992> { _mount_block_root + 0x9e }^M

    address : <0x0003ed0a> { _sys_faccessat + 0x52 }^M

    address : <0x0017ec28> { _prepare_namespace + 0x9c }^M

    address : <0x0017e3e4> { _kernel_init + 0xb4 }^M

    address : <0x00001466> { _kernel_thread_helper + 0x6 }^M

Modules linked in:^M

Kernel panic -

--

 

Follow-ups

No Messages Were Found

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

config.xip.shared-flat    application/octet-stream    32813    Vivi Li

Outcomes