[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

kernel panic: Attempted to kill init!


Today I was creating a new image which seems to cause a kernel panic.

I worked for several weeks with Etrax and have never had problems creating and 
flashing images. 

Today's changes:
- adapted ptablespec to fit my requirements:

# name size     rw-options  type      image-file
rescue 0x010000 ro          rescue    rescue.img
flash1 0x1a0000 ro          kernel    flash1.img
flash2 0xe50000 rw          jffs      flash2.img

=> we have to 8Mb flash chips on board.

After this change i could successfully build new images. 

- replacing one of my files by a newer version ( as i did x times before)

now after flashing the image i get this messages (everything ok except the 
last 5 lines):

Linux version 2.4.14 (root@xxxxxxx.96 20000
427 (experimental)) #25 Wed Jan 29 11:09:58 CET 2003
ROM fs in RAM, size 1245184 bytes
Setting up paging and the MMU.
On node 0 totalpages: 4096
zone(0): 4096 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Linux/CRIS port on ETRAX 100LX (c) 2001 Axis Communications AB
Kernel command line:
Enabling watchdog...
Calibrating delay loop... 99.73 BogoMIPS
Memory: 30280k/32768k available (559k kernel code, 2488k reser
ved, 215k data, 32k init)
kmem_create: Forcing size word alignment - mm_struct
kmem_create: Forcing size word alignment - filp
Dentry-cache hash table entries: 4096 (order: 2, 32768 bytes)
Inode-cache hash table entries: 2048 (order: 1, 16384 bytes)
kmem_create: Forcing size word alignment - inode_cache
Mount-cache hash table entries: 1024 (order: 0, 8192 bytes)
kmem_create: Forcing size word alignment - bdev_cache
kmem_create: Forcing size word alignment - cdev_cache
Buffer-cache hash table entries: 2048 (order: 0, 8192 bytes)
Page-cache hash table entries: 4096 (order: 1, 16384 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
kmem_create: Forcing size word alignment - sock
Starting kswapd
kmem_create: Forcing size word alignment - file lock cache
JFFS version 1.0, (C) 1999, 2000  Axis Communications AB
kmem_create: Forcing size word alignment - jffs_node
kmem_create: Forcing size word alignment - blkdev_requests
block: 64 slots per queue, batch=16
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 bl
ETRAX 100LX 10/100MBit ethernet v2.0 (c) 2000-2001 Axis Commun
ications AB
eth0 initialized
eth0: changed MAC to 00:40:8C:CD:00:00
ETRAX 100LX serial-driver $Revision: 1.27 $, (c) 2000 Axis Com
munications AB
ttyS0 at 0xb0000060 is a builtin UART with DMA
Axis flash mapping: 8000000 at f0000000
Axis flash: Found 1 x16 devices at 0x4000000 in 16-bit mode
 Amd/Fujitsu Extended Query Table v1.3 at 0x0040
number of CFI chips: 2
 Found valid partition table at 0xF001000A-0xF0010056.
  /dev/flash1 at 0x10000, size 0x1a0000
  /dev/flash2 at 0x1b0000, size 0xe50000
Creating 3 MTD partitions on "Axis flash":
0x00000000-0x01000000 : "part0"
0x00010000-0x001b0000 : "part1"
0x001b0000-0x01000000 : "part2"
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
kmem_create: Forcing size word alignment - ip_dst_cache
IP: routing cache hash table of 1024 buckets, 8Kbytes
TCP: Hash tables configured (established 4096 bind 4096)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
Freeing unused kernel memory: 32k freed
jffs_scan_falsh():Free size accounting screwed
jfffs_scan_flash():free_chunk_size1 == 0x249704, free_chunk_si                                                               
ze2 == 0x0, fmc->free_size == 0xd07f94
JFFS: Failed to mount device 1f:02.
Kernel panic: Attempted to kill init!

What does this mean. Any hints to fix it?

Thanks a lot