linux-mips
[Top] [All Lists]

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

To: "Jun Ma" <sync.jma@gmail.com>
Subject: Re: MIPS kernel hangs: Warning: unable to open an initial console. /sbin/init
From: abhiruchi.g@vaultinfo.com
Date: Wed, 28 May 2008 01:51:39 -0400 (EDT)
Cc: "linux-mips@linux-mips.org" <linux-mips@linux-mips.org>
Importance: Normal
Original-recipient: rfc822;linux-mips@linux-mips.org
Reply-to: abhiruchi.g@vaultinfo.com
Sender: linux-mips-bounce@linux-mips.org

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@gmail.com>
Sent: Tuesday, May 27, 2008 11:15pm
To: Manuel Lauss <mano@roarinelk.homelinux.net>
Cc: abhiruchi.g@vaultinfo.com, linux-kernel@vger.kernel.org, linux-mips@linux-mips.org <linux-mips@linux-mips.org>, kernel-testers <kernel-testers@vger.kernel.org>
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
wrote:
> On Thu, May 15, 2008 at 08:55:39AM -0400, abhiruchi.g@vaultinfo.com 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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
<Prev in Thread] Current Thread [Next in Thread>
  • Re: MIPS kernel hangs: Warning: unable to open an initial console. /sbin/init, abhiruchi . g <=