Go to previous topic
Go to next topic
Last Post 23 Mar 2005 02:39 PM by  tozyagcilar
kernel panic: no init found...
 2 Replies
Author Messages
tozyagcilar
New Member
New Member
Posts:


--
23 Mar 2005 12:12 PM
    Hi,

    I think I have followed all the instructions on the "LH79520-10: Installing the Lineo BDK and Logic Linux Source Tree" document. However, when I try to boot from CompactFlash I get a kernel panic that tells me the following:

    RAMDISK: Couldn't find valid RAM disk image starting at 0.
    Freeing initrd memory: 16384K
    EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
    VFS: Mounted root (ext2 filesystem).
    Freeing init memory: 76K
    Warning: unable to open an initial console.
    Kernel panic: No init found. Try passing init= option to kernel.

    I am using the pre-compiled linux image and I think I have the CF partioned correctly. Any help is appreciated...
    Anonymous
    Posts:


    --
    23 Mar 2005 01:31 PM
    Hello,

    Have you tried refering to this thread?
    http://www.logicpd.com/su...g/viewtopic.php?t=35

    Are you sure that you're mounting the correct partition?

    Can you post more debug output?

    Thanks,
    tozyagcilar
    New Member
    New Member
    Posts:


    --
    23 Mar 2005 02:39 PM
    Hi Aaron,

    I have already looked at that thread. My partitions are the same as the ones in the document. Unless the device is mounted under a different name than hda, I think I am mounting the right partition. Folllowing is all the output I see plus some of my last commands before booting:

    losh> mount fatfs /f
    losh> cd /f
    losh> load elf VMLINUX
    loading from /f/VMLINUX:
    R...........
    elf file type : 0x0002
    machine type: 0028 version: 1
    prog start addr : 0x200c8000
    num prog headers: 1
    num sect headers: 10
    offset : 0x00008000 disk length: 0x00157c73 mem len: 0x0017f39c
    phyaddr: 0x200c8000 vaddr : 0x200c8000 dl addr: 0x200c8000
    losh> exec root=/dev/hda1
    kernel cmdline: 'root=/dev/hda1' at 200c0100
    jumping to: 200c8000...
    Linux version 2.4.17-rmk2-lineo5 (root@lpd079lnx.logicpd.com) (gcc version 2.953Processor: ARM ARM720T revision 3
    Architecture: LogicPD LH79520 Card Engine
    On node 0 totalpages: 8192
    zone(0): 8192 pages.
    zone(1): 0 pages.
    zone(2): 0 pages.
    Kernel command line: console=ttyAM1,115200 root=/dev/hda1
    setup_timer(): timerLoad=32256
    Console: colour dummy device 80x30
    Calibrating delay loop... 25.65 BogoMIPS
    Memory: 32MB = 32MB total
    Memory: 14288KB available (1206K code, 250K data, 76K init)
    Dentry-cache hash table entries: 4096 (order: 3, 32768 bytes)
    Inode-cache hash table entries: 2048 (order: 2, 16384 bytes)
    Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
    Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
    Page-cache hash table entries: 8192 (order: 3, 32768 bytes)
    POSIX conformance testing by UNIFIX
    Linux NET4.0 for Linux 2.4
    Based upon Swansea University Computer Society NET3.039
    Initializing RT netlink socket
    Starting kswapd
    ttyAM0 at MEM 0xfffc0000 (irq = 23) is a AMBA PrimeCell PL011
    ttyAM1 at MEM 0xfffc1000 (irq = 24) is a AMBA PrimeCell PL011
    ttyAM2 at MEM 0xfffc2000 (irq = 25) is a AMBA PrimeCell PL011
    Console: switching to colour frame buffer device 30x40
    LH79520 Watchdog Timer: timer margin 60 sec
    block: 64 slots per queue, batch=16
    RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
    hd: no drives specified - use hd=cyl,head,sectors on kernel command line
    hd?: check_status: status=0xd0 { Busy DriveReady SeekComplete }
    hda: 61MB, CHS=978/4/32
    Partition check:
    hda:hda: check_status: status=0xd0 { Busy DriveReady SeekComplete }
    hda1 hda2
    eth0: SMC91C11xFD(rev:1) at 0xf4800000 IRQ:4 DMA:0 (16-bit) MEM:8192b NOWAIT:1
    eth0: ADDR: 00:08:ee:00:12:1f
    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 2048 bind 2048)
    NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
    NetWinder Floating Point Emulator V0.95 (c) 1998-1999 Rebel.com
    RAMDISK: Couldn't find valid RAM disk image starting at 0.
    Freeing initrd memory: 16384K
    EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
    VFS: Mounted root (ext2 filesystem).
    Freeing init memory: 76K
    Warning: unable to open an initial console.
    Kernel panic: No init found. Try passing init= option to kernel.

    Thanks.

    Talat,


    ---