Hi,
I already added "console=ttyS0,115200" to the kernel command line.
Actually problem was with /sbin/init .
That got resolved.
Thanks for the reply.
-----Original Message-----
From: Jun Ma <sync.jma@xxxxxxxxx>
Sent: Tuesday, May 27, 2008 11:15pm
To: Manuel Lauss <mano@xxxxxxxxxxxxxxxxxxxxxxx>
Cc: abhiruchi.g@xxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, linux-mips@xxxxxxxxxxxxxx <linux-mips@xxxxxxxxxxxxxx>, kernel-testers <kernel-testers@xxxxxxxxxxxxxxx>
Subject: Re: MIPS kernel hangs: Warning: unable to open an initial console. /sbin/init
On Thu, May 15, 2008 at 9:38 PM, Manuel Lauss
> On Thu, May 15, 2008 at 08:55:39AM -0400, abhiruchi.g@xxxxxxxxxxxxx wrote:
>> Hi,
>>
>> My kernel hangs by initializing the system. My target is Alchemy DB1200. I use crosstool-ng to build MIPS cross toolchain and ptxdist to build ext2 filesystem.
>> kernel version:linux-2.6.22
>
> Try and add "console=ttyS0,115200" to the kernel commandline (either in
> yamon or kernel config).
>
>
And you must have a tty node in your /dev directory, e.g. /dev/ttyS0
--
FIXME if it is wrong.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/