public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
From: Mark Hatle <fray@mvista•com>
To: j.rakesh@gdatech•co.in
Cc: Linuxppc-Embedded <linuxppc-embedded@lists•linuxppc.org>
Subject: Re: Linux porting to IBM405 based board
Date: Thu, 19 Jun 2003 08:30:13 -0500	[thread overview]
Message-ID: <3EF1BAE5.8060004@mvista.com> (raw)
In-Reply-To: <8ghhrs77sa7f6mu.190620030917@gda-server>


Rakesh jagota wrote:
> Hi all,
> I am able to port linux in IBM based power pc 405. I have few issues. I am
> not able to kill the process using "ctrl-c". I am not able to use "backspace"
> key to delete the character. Can anyone help me out sort out these silly
> issues.

This problem comes up often.

You can NOT use /dev/console as your interactive login device without
first calling the ioctl to make it a "controlling tty".  (Sorry I don't
have which ioctl handy.)

The correct thing to do is use the serial port, or virtual TTY as your
console device.. i.e.:

/bin/sh < /dev/console > /dev/console   is _WRONG_.  It works for
testing, but you don't have a controlling terminal.

You need to do something like:

/bin/sh < /dev/ttyS0 > /dev/ttyS0

(and if you want to see error messages, redirect that as well)  :)

--Mark


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

  reply	other threads:[~2003-06-19 13:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-19  3:57 Linux porting to IBM405 based board Rakesh jagota
2003-06-19 13:30 ` Mark Hatle [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-06-19 15:46 Kerl, John

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=3EF1BAE5.8060004@mvista.com \
    --to=fray@mvista$(echo .)com \
    --cc=j.rakesh@gdatech$(echo .)co.in \
    --cc=linuxppc-embedded@lists$(echo .)linuxppc.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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