newbie: Kernel panic: No init found

From: Oliver Fuchs (olivers.lists_at_gmx.net)
Date: 06/18/04


Date: Fri, 18 Jun 2004 15:14:57 +0200

Hi all,

newbie needs help.

I try to get up a custom board (MPC857T; SDRAM 16MB; ttyS0:SMC1; eth0:SCC1).
I have ported U-Boot-1.1.1 and the kernel (2.4.20...) but the kernel
seems to fail mounting the RAM disk as rootfs.
Has anyone an idea what's wrong?

Thanks in advance
Oliver

some helpful prints:

---
U-Boot 1.1.1 (Jun 18 2004 - 11:44:16)
CPU:   unknown MPC86x (0x06000000) at 50 MHz: 4 kB I-Cache 4 kB D-Cache 
FEC present
          *** Warning: CPU Core has Silicon Bugs -- Check the Errata ***
ONU-S
I2C:   ready
DRAM:  16 MB RAM test passed
Top of RAM usable for U-Boot at: 01000000
Reserving 159k for U-Boot at: 00fd8000
Reserving 1028k for malloc() at: 00ed7000
Reserving 60 Bytes for Board Info at: 00ed6fc4
Reserving 48 Bytes for Global Data at: 00ed6f94
Stack Pointer at: 00ed6f78
New Stack Pointer is: 00ed6f78
relocate_code( 00ed6f78, 00ed6f94, 00fd8000
Now running in RAM - U-Boot at: 00fd8000
...
=> setenv serverip 192.168.156.22
=> setenv ipaddr 192.168.156.40
=> setenv bootargs root=/dev/ram0
=> tftpboot 00100000 oliver/uImage
Using SCC ETHERNET device
Load address: 0x100000
Loading:...done
=> tftpboot 00200000 oliver/rootfs
Using SCC ETHERNET device
Load address: 0x200000
Loading: ...done
=> bootm 00100000 00200000
## Booting image at 00100000 ...
    Image Name:   Linux-2.4.20-rthal5
    Image Type:   PowerPC Linux Kernel Image (gzip compressed)
    Data Size:    558103 Bytes = 545 kB
    Load Address: 00000000
    Entry Point:  00000000
    Verifying Checksum ... OK
    Uncompressing Kernel Image ... OK
## Loading RAMDisk Image at 00200000 ...
    Image Name:   Ramdisk image from eldk
    Image Type:   PowerPC Linux RAMDisk Image (gzip compressed)
    Data Size:    1459536 Bytes =  1.4 MB
    Load Address: 00000000
    Entry Point:  00000000
    Verifying Checksum ... OK
    Loading Ramdisk to 00d71000, end 00ed5550 ... OK
Linux version 2.4.20-rthal5 (oliver@r522susi) (gcc version 2.95.4 
20010319 (prerelease/franzo/20011204)) #13 Mo Jun 14 1
3:35:42 CEST 2004
On node 0 totalpages: 4096
zone(0): 4096 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/ram0
Decrementer Frequency = 187500000/60
Warning: real time clock seems stuck!
Calibrating delay loop... 49.76 BogoMIPS
Memory: 14764k available (1044k kernel code, 328k data, 44k init, 0k 
highmem)
...
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 1024 bind 1024)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
mounting empty RAMFS as root fs SUCCESS
VFS: Mounted root (ramfs filesystem).
Freeing unused kernel memory: 44k init
Warning: unable to open an initial console.
Kernel panic: No init found.  Try passing init= option to kernel.
  <0>Rebooting in 180 seconds..


Relevant Pages

  • Re: Newbie Setting up xserver
    ... Could be, but now that I know that low memory is causing the problem, I will ... The kernel gobbles up the rest of the physical memory huh. ... Actually my RAM is split into two ... >it could be that some of the processes related to setting the timezone ...
    (comp.os.linux.setup)
  • Re: PCMCIA: unable to map memory
    ... MB RAM. ... Linux conflicts here with the pcmcia-controller. ... - A patch for the kernel (2.2. ... BadRAM by Rick van Rein (and it's successor BadMEM ...
    (comp.os.linux.portable)
  • Re: [PATCH] reserve RAM below PHYSICAL_START
    ... The "reserved RAM" can be mapped by virtualization software with to ... You're right but the relocatable kernel only works if you relocate it ... only works up to address near 1G, we can't reserve more than 1G with ...
    (Linux-Kernel)
  • Re: [BUG] 2.6.26-rc1 lost half the RAM on UltraSPARC 5
    ... Top of RAM: 0x17f46000, Total RAM: 0xff40000 ... Memory hole size: 128MB ... Kernel: Using 1 locked TLB entries for main kernel image. ... Movable zone start PFN for each node ...
    (Linux-Kernel)
  • Re: After executing MDCreateThread data abort occurs
    ... This is almost always RAM configuration, memory map, or cache problems. ... target.The code under Startup and KernelStart routines are running fine ... So the Kernel is not letting this address 0xc2000000 to be programmed. ...
    (microsoft.public.windowsce.embedded)