mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Tom Strader" <tom.strader@xilinx.com>
To: "Jan Engelhardt" <jengelh@linux01.gwdg.de>
Cc: <linux-kernel@vger.kernel.org>
Subject: RE: kernel space to user space /bin/sh startup
Date: Wed, 11 Apr 2007 08:57:27 -0700	[thread overview]
Message-ID: <20070411155728.E46EAE8054@mail197-blu.bigfish.com> (raw)
In-Reply-To: <Pine.LNX.4.61.0704111747140.32056@yvahk01.tjqt.qr>

Nope.  Terminal is set correctly, the kernel is outputting messages, the
command line arguments sent to the kernel have 115200 set.  What would
happen if the getty was not started correctly?  Would the echoes in rcS
still appear?  I feel like it may be related to the getty and userspace
prints due to the fact the kernel is still printing and responding to
commands.
Tom

-----Original Message-----
From: Jan Engelhardt [mailto:jengelh@linux01.gwdg.de] 
Sent: Wednesday, April 11, 2007 8:48 AM
To: Tom Strader
Cc: linux-kernel@vger.kernel.org
Subject: Re: kernel space to user space /bin/sh startup


On Apr 10 2007 11:22, Tom Strader wrote:

>console::sysinit:/etc/init.d/rcS
>console::respawn:/sbin/getty -L 115200 /dev/ttyS0 vt100

>Now I can type on the console and characters are echoed back, pressing
>ctrl-c echoes: "uart_flush_buffer(0) called" so the code is still
>running, but I am not sure where I am or why I see no login prompt or
>shell command line.
>I never see the "mounting filesystems..." echoed to the screen, but the
>code does not stall and no errors are reported by the kernel.  Any help
>during the transition from init/main.c in kernel space to user space
>would be appreciated, so I could debug this further.
>I have looked around and have not seen a solution for my problem, most
>likely due to the fact that I am not entirely sure what the problem is.

Perhaps your terminal program is set to 9600 bps?



Jan
-- 



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

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-10 18:22 Tom Strader
2007-04-11 15:47 ` Jan Engelhardt
2007-04-11 15:57   ` Tom Strader [this message]
2007-04-11 16:25     ` Jan Engelhardt

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=20070411155728.E46EAE8054@mail197-blu.bigfish.com \
    --to=tom.strader@xilinx.com \
    --cc=jengelh@linux01.gwdg.de \
    --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

all inboxes | Powered by JetHome®