2010-10-16 22:21:51     Problem of " Kernel panic - not syncing: Out of memory and no killable processes. "

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

2010-10-16 22:21:51     Problem of " Kernel panic - not syncing: Out of memory and no killable processes. "

david zheng (CHINA)

Message: 94601   

 

U-Boot 2008.10 (ADI-2009R1.1-rc1) (Oct 16 2010 - 08:34:41)

 

CPU:   ADSP bf537-0.2 (Detected Rev: 0.2) (bypass boot)

Board: ADI BF537 stamp board

       Support:   blackfin.uclinux.org/

Clock: VCO: 500 MHz, Core: 500 MHz, System: 125 MHz

RAM:   16 MB

Flash:  4 MB

In:    serial

Out:   serial

Err:   serial

Net:   Blackfin EMAC

MAC:   22:FF:00:FF:01:FF

Hit any key to stop autoboot:  0

bfin> printenv

bootargs=root=/dev/mtdblock0 rw clkin_hz=25000000 earlyprintk=serial,uart1,57600 console=ttyBF0,57600

bootcmd=run ramboot

bootdelay=5

baudrate=57600

loads_echo=1

ipaddr=192.168.1.15

serverip=192.168.1.100

autoload=no

rootpath=/romfs

gatewayip=192.168.1.1

netmask=255.255.255.0

hostname=bf537-stamp

loadaddr=0x800000

ubootfile=u-boot.bin

update=tftp $(loadaddr) $(ubootfile);protect off 0x20000000 0x2003FFFF;erase 0x20000000 0x2003FFFF;cp.b $(loadaddr) 0x20000000 $(filesize)

addip=set bootargs $(bootargs) ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname):eth0:off

ramargs=set bootargs root=/dev/mtdblock0 rw clkin_hz=25000000 earlyprintk=serial,uart1,57600 console=ttyBF0,57600

ramboot=tftp $(loadaddr) uImage;run ramargs;run addip;bootm

nfsargs=set bootargs root=/dev/nfs rw nfsroot=$(serverip):$(rootpath),tcp,nfsvers=3

nfsboot=tftp $(loadaddr) vmImage;run nfsargs;run addip;bootm

flashboot=bootm 0x20100000

stdin=serial

stdout=serial

stderr=serial

ethact=Blackfin EMAC

ethaddr=22:FF:00:FF:01:FF

 

Environment size: 1011/8188 bytes

bfin> tftp 0x800000 uImage

Using Blackfin EMAC device

TFTP from server 192.168.1.100; our IP address is 192.168.1.15

Filename 'uImage'.

Load address: 0x800000

Loading: #################################################################

     #################################################################

     #################################################################

     #################################################################

     ###############################################################

done

Bytes transferred = 4732841 (4837a9 hex)

bfin> bootm

## Booting kernel from Legacy Image at 00800000 ...

   Image Name:   Linux-2.6.28.10-ADI-2009R1.1

   Created:      2010-10-17   2:03:26 UTC

   Image Type:   Blackfin Linux Kernel Image (gzip compressed)

   Data Size:    4732777 Bytes =  4.5 MB

   Load Address: 00001000

   Entry Point:  00188898

   Verifying Checksum ... OK

   Uncompressing Kernel Image ... OK

Starting Kernel at = 00188898

Starting make_command_lineffb00000,*dest=0x72 at

Linux version 2.6.28.10-ADI-2009R1.1 (zjp@zjp-desktop) (gcc version 4.1.2 (ADI svn)) #24 Sun Oct 17 10:03:13 CST 2010

bootconsole [early_shadow0] enabled

CONFIG_SERIAL_BFIN_UART1

bootconsole [early_BFuart0] enabled

early printk enabled on early_BFuart0

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

Board Memory: 16MB

Kernel Managed Memory: 16MB

Memory map:

  fixedcode = 0x00000400-0x00000490

  text      = 0x00001000-0x00105030

  rodata    = 0x00105030-0x001562d8

  bss       = 0x00157000-0x00168720

  data      = 0x00168720-0x0017a000

    stack   = 0x00178000-0x0017a000

  init      = 0x0017a000-0x008d4000

  available = 0x008d4000-0x00eff000

  DMA Zone  = 0x00f00000-0x01000000

Hardware Trace Active and Enabled

Boot Mode: 0

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

Compiled for ADSP-BF537 Rev 0.2

Blackfin Linux support by   blackfin.uclinux.org/

Processor Speed: 500 MHz core clock and 125 MHz System Clock

NOMPU: setting up cplb tables

Instruction Cache Enabled for CPU0

Data Cache Enabled for CPU0 (write-back)

Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 3809

Kernel command line: root=/dev/mtdblock0 rw clkin_hz=25000000 earlyprintk=serial,uart1,57600 console=ttyBF0,57600

Configuring Blackfin Priority Driven Interrupts

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

console [ttyBF0] enabled, bootconsole disabled

console [ttyBF0] enabled, bootconsole disabled

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

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

Memory available: 6040k/16384k RAM, (7528k init code, 1040k kernel code, 468k data, 1024k dma, 284k reserved)

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

Security Framework initialized

Mount-cache hash table entries: 512

Blackfin Scratchpad data SRAM: 4 KB

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

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

Blackfin L1 Instruction SRAM: 48 KB (36 KB free)

net_namespace: 288 bytes

NET: Registered protocol family 16

Blackfin DMA Controller

stamp_init(): registering device resources

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

NET: Registered protocol family 1

Kernel panic - not syncing: Out of memory and no killable processes...

 

 

 

 

What is wrong ?

 

config

QuoteReplyEditDelete

 

 

2010-10-16 23:59:34     Re: Problem of " Kernel panic - not syncing: Out of memory and no killable processes. "

Mike Frysinger (UNITED STATES)

Message: 94604   

 

the message already told you what's wrong: you're out of memory.  if you want to run with a rootfs out of initramfs, create a smaller rootfs.  you've got way too much stuff in your romfs/ tree.

 

or add more memory to your board.

QuoteReplyEditDelete

 

 

2010-10-17 09:21:48     Re: Problem of " Kernel panic - not syncing: Out of memory and no killable processes. "

david zheng (CHINA)

Message: 94637   

 

the message already told you what's wrong: you're out of memory.  if you want to run with a rootfs out of initramfs, create a smaller rootfs.  you've got way too much stuff in your romfs/ tree.

 

or add more memory to your board.

 

---

 

Hi, Mike ,Thank you for your replying

 

How to create a smaller rootfs?

QuoteReplyEditDelete

 

 

2010-10-17 14:21:42     Re: Problem of " Kernel panic - not syncing: Out of memory and no killable processes. "

Vlad Orlov (RUSSIAN FEDERATION)

Message: 94638   

 

I think the FAQ should help:    docs.blackfin.uclinux.org/doku.php?id=faq

 

Take a look at the section named "My uImage is too large to burn in my flash"

Attachments

Outcomes