public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Tom Strader" <tom.strader@xilinx.com>
To: "young dave" <hidave.darkstar@gmail.com>
Cc: <linux-kernel@vger.kernel.org>
Subject: RE: Warning: unable to open an initial console.
Date: Thu, 5 Apr 2007 08:57:49 -0700	[thread overview]
Message-ID: <20070405155751.5C30ACD005F@mail79-sin.bigfish.com> (raw)
In-Reply-To: <a8e1da0704031853q3f36570ey864cf18126c90f4@mail.gmail.com>

The problem appears to be that the uart driver is not assigning the
port.  In uart_get() located in drivers/serial/serial_core.c the code
tries to access state->port but it does not appear to exist.  Where is
the port supposed to get added/setup?  Should this happen in the driver
init or does the kernel add the ports to the driver after init?

Uart_get knows the correct driver name drv->driver_name = "PXA serial"
and drv->dev_name = "ttyS", but the drv->state->port does not exist.
Where should the port be added?  The port info exists in
drivers/serial/pxa.c but I cant find where its initialized.  Any help
would be great.
Thanks,
Tom

-----Original Message-----
From: young dave [mailto:hidave.darkstar@gmail.com] 
Sent: Tuesday, April 03, 2007 6:54 PM
To: Tom Strader
Cc: linux-kernel@vger.kernel.org
Subject: Re: Warning: unable to open an initial console.

Hi;
The errno "-6" is defined as:
#define ENXIO            6      /* No such device or address*/

You can try to retrieve the rootfs and add the necessary device file
to it, then reflash the rootfs.

I'm Sorry, I  have no embedded environment to test.

Regards
dave



  reply	other threads:[~2007-04-05 15:57 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-02 19:04 Warning: unable to open an initial console Tom Strader
2007-04-02 22:49 ` Chris Wedgwood
2007-04-02 23:20   ` Tom Strader
2007-04-03  1:34     ` young dave
2007-04-03 18:35       ` Tom Strader
2007-04-04  1:53         ` young dave
2007-04-05 15:57           ` Tom Strader [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-09-30 17:05 Steven A. DuChene
2009-09-30 17:44 ` Arjan van de Ven
2009-09-30 17:24 Steven A. DuChene

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070405155751.5C30ACD005F@mail79-sin.bigfish.com \
    --to=tom.strader@xilinx.com \
    --cc=hidave.darkstar@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox