[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: Re: [BusyBox] no console found error
From: Frank <frannk_m1 () yahoo ! com>
Date: 2004-09-24 17:50:55
Message-ID: 20040924175056.99073.qmail () web13804 ! mail ! yahoo ! com
[Download RAW message or body]
Thanks,
I fixed the problem. I added "console=tty0,console=ttyS0" to the
cmdline args and that fixed the problem...
--- Rob Landley <rob@landley.net> wrote:
> On Wednesday 22 September 2004 20:48, Frank wrote:
> > I'm getting the following error when trying to boot the
> kernel
> > with BusyBox as my root filesystem:
> >
> > "Warning: unable to open an initial console."
> >
> > Anyone have any idea why this is hapenning.
>
> Busybox init's console finding logic is a bit strange (see
> init/init.c
> function "console_init"). It's probably looking for
> /dev/console, which is a
> character device major 5 minor 1, which is not the same as
> /dev/tty (major 5
> minor 0) which is not the same as /dev/tty0 (major 4 minor 0).
>
> It could be any of those. Or none. Maybe it's autodetected
> that you're
> using a serial console, or you're using a sparc, or devfs,
> or... :)
>
> You could always check and see what you've got, and then open
> whatever device
> you _can_ write to and stick fprintfs into the code to see
> what it's doing...
>
> Rob
> --
> www.linucon.org: Linux Expo and Science Fiction Convention
> October 8-10, 2004 in Austin Texas. (I'm the con chair.)
>
>
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com
_______________________________________________
busybox mailing list
busybox@mail.busybox.net
http://codepoet.org/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic