|
|
|
Re: kernel panic after VFS mount in FPGA board | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
On 2012-04-11 19:03:42 (+0530), pcuser p <pcuser.mails@xxxxxxxxx> wrote:
> I'm getting kernel panic after cramfs root file system is mounted,I am
> expecting to enter login prompt after root file system is mounted.
>
> Kernel cmd line : mem=32M console=ttySAC0,115200 root=/dev/ram0> *linuxrc init script*
> rootfstype=cramfs init=/linuxrc initrd=0x80800000,8M user_debug=31
>
> #!/bin/sh**
> /bin/echo "mount /etc as ramfs"Init isn't allowed to exit.
> /bin/mount -n -t ramfs ramfs /etc
> /bin/mount -n -t tmpfs tmpfs /tmp
> exec /sbin/init
>
> I tried with this init script,but kernel is hanging without any message..
> I changed it a bit as below, to see if it reads the init script
>
> #!/bin/sh
> /bin/echo "Entering Init script"
>
That's probably why you're seeing the panic. Try starting a shell after
the /bin/echo, or just using /bin/sh as init.
Probably because the system panics before the stdout buffers make it to
> with this changes,I am expect to get print message "Entering Init script"
> after cramfs is mounted,but I am getting panic message which is attached
> below.
>
the console.
Regards,
Kristof
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
[Newbies FAQ] [Linux Kernel Development] [IETF Annouce] [Git] [Networking] [Security] [Bugtraq] [Photo] [Yosemite] [MIPS Linux] [ARM Linux] [Linux Security] [Linux Networking] [Linux RAID] [Linux SCSI] [Linux ACPI]
![]() |
![]() |