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

Re: [microblaze-uclinux] Kernel panic - not syncing: No init found



Hey,
i've encountered the same error a few days ago, after adding some special hardware ipcore to my hardware project. the fix was to just enable ZFLAT support in the Kernel (as well as ZFLAT Binary support).
I'm not sure if this will fix your problems, just give it a try and maybe do some make clean first.
Hope this can help you out.
chris

2008/10/8 Jakob Anders <jakob_anders@xxxxxxxx>
Hi everyone,

I am encountering a strange error while booting the 2.6 kernel of petalinux v0.30 rc1 on a Spartan 3E500 RevD.

As I found out in similar requests on this list, this particular kernel panic is usually accompanied by other errors regarding failed reallocations. In my case, this doesn't seem to be the case, so the solutions given on these problems are not working for me (as I found out trying them).

Any help would be greatly appreciated, I'm really out of ideas where that error might be coming from. The only hint I found was that it could be a problem with memory allocation in EDK. But to me, everything seems to be just fine. The Flash starts at 21000000 and the RAM at 24000000. Is this correct?

I'm appending the complete log.

A big "Thank You" in advance,

 Jakob

-------------------------------------------------------------------------------

## Booting image at 210c0000 ...
  Image Name:   PetaLinux Kernel 2.6
  Image Type:   Microblaze Linux Kernel Image (uncompressed)
  Data Size:    4722723 Bytes =  4.5 MB
  Load Address: 24000000
  Entry Point:  24000000
  Verifying Checksum ... OK
OK
Found romfs @ 0x24225000 (0x0025c000)
#### klimit 2423d000 ####
Moving 0x0025c000 bytes from 0x24225000 to 0x2423c34c
New klimit: 0x24499000
Linux version 2.6.20-uc0 (anders@semele) (gcc version 3.4.1 ( PetaLinux 0.20 Build -rc1 050607 )) #6 Wed Oct 8 14:53:19 CEST 2008
setup_cpuinfo: initialising
setup_cpuinfo: No PVR support in CPU.  Using static compile-time info
set_cpuinfo_static: Using static CPU info.
setup_memory: max_mapnr: 0x27fff
setup_memory: min_low_pfn: 0x24000
setup_memory: max_low_pfn: 0x4000
On node 0 totalpages: 16384
 DMA zone: 128 pages used for memmap
 DMA zone: 0 pages reserved
 DMA zone: 16256 pages, LIFO batch:3
 Normal zone: 0 pages used for memmap
Built 1 zonelists.  Total pages: 16256
Kernel command line: mtdparts=physmap-flash.0:256K(boot),256K(bootenv),256K(config),5M(image),10M(spare) macaddr=00:0a:35:00:22:01
OPB INTC #0 at 0x41200000
PID hash table entries: 256 (order: 8, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 60200k/65536k available
Calibrating delay loop... 24.72 BogoMIPS (lpj=123648)
Mount-cache hash table entries: 512
NET: Registered protocol family 16
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 2048 bind 1024)
TCP reno registered
JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc.
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
xgpio0 #0 at 0x40000000 mapped to 0x40000000 device: 10,185 not using IRQ
xgpio1 #1 at 0x40020000 mapped to 0x40020000 device: 10,186 not using IRQ
uartlite.0: ttyS0 at MMIO 0x40600000 (irq = 2) is a uartlite
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
eth0: using fifo mode.
eth0: No PHY detected.  Assuming a PHY at address 0.
eth0: Xilinx EMACLite #0 at 0x40E00000 mapped to 0x40E00000, irq=1
physmap platform flash device: 01000000 at 21000000
physmap-flash.0: Found 1 x16 devices at 0x0 in 8-bit bank
 Intel/Sharp Extended Query Table at 0x0031
Using buffer write method
cfi_cmdset_0001: Erase suspend on write enabled
erase region 0: offset=0x0,size=0x20000,blocks=128
5 cmdlinepart partitions found on MTD device physmap-flash.0
Creating 5 MTD partitions on "physmap-flash.0":
0x00000000-0x00040000 : "boot"
0x00040000-0x00080000 : "bootenv"
0x00080000-0x000c0000 : "config"
0x000c0000-0x005c0000 : "image"
0x005c0000-0x00fc0000 : "spare"
uclinux[mtd]: RAM probe address=0x2423c34c size=0x25c000
Creating 1 MTD partitions on "RAM":
0x00000000-0x0025c000 : "ROMfs"
uclinux[mtd]: set ROMfs to be root filesystem index=5
i8042.c: i8042 controller self test timeout.
input: Button Keypad as /class/input/input0
Directional Button & Rotary Encoder Driver
(c) 2007 PetaLogix
TCP cubic registered
NET: Registered protocol family 1
VFS: Mounted root (cramfs filesystem) readonly.
Freeing unused kernel memory: 92k freed
Kernel panic - not syncing: No init found.  Try passing init= option to kernel.
 <0>Rebooting in 120 seconds..Machine restart...

Stack:
 27fe3f20 00000000 00000000 0001bd10 27fe2000 24017738 241ba154 0000000b
 0000000b 00000000 ffffccf4 00000cf4 24008ba0 2412afa0 800000a4 800000a4
 800000a4 800000a4 00000001 2400038c 241bafdc 00000078 24226520 00000000
Call Trace:
[<24017738>] emergency_restart+0xc/0x20
[<24008ba0>] panic+0x118/0x144
[<2412afa0>] i8042_panic_blink+0x54/0x108
[<2400038c>] init+0x2c0/0x348
[<24001164>] kernel_thread_helper+0xc/0x20
[<24001158>] kernel_thread_helper+0x0/0x20





___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/