Re: MIPS kernel hangs: Warning: unable to open an initial console. /sbin/init

From: Jun Ma
Date: Tue May 27 2008 - 23:15:47 EST


On Thu, May 15, 2008 at 9:38 PM, Manuel Lauss
<mano@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
> 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/