qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Wesley Wu" <wesley.q.wu@gmail.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] QEMU console
Date: Sat, 17 Mar 2007 20:36:02 -0800	[thread overview]
Message-ID: <d2df75f0703172136t4d8c4b55o1a77549ea19a9c83@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1224 bytes --]

Hi all,

I'm running QEMU 0.9.0 under RHEL 4 (I SSH'ed to the Linux machine).

If I issue the following command, it boots up but it won't show the command
line prompt.

qemu-system-sparc -L ..*/qemu/pc-bios/* -kernel ../qemu/sparc-test/vmlinux-
2.6.11+tcx -initrd ../qemu/sparc-test/linux.img -append "root=/dev/ram
console=ttyS0 video=tcxfb:off" -nographic

The last line showed is "Freeing unused kernel memory: 156k freed".  I had
to kill the qemu
session from another terminal.  But I did see the following lines during its
boot-up:

Console: ttyS0 (SunZilog zs0)
ttyS0 at MMIO 0x0 (irq = 44) is a SunZilog
ttyS1 at MMIO 0x0 (irq = 44) is a SunZilog

However, if I remove "console=ttyS0" from the qemu command line, it boots up
and I can get the command line prompt as follows (I got the same "Console:
ttyS0 (SunZilog zs0)" message (listed above)):

...
Freeing unused kernel memory: 156k freed
sh: can't access tty; job control turned off
# ls /dev
console  ttyS0    ttyS1    ttyS2    ttyS3
#

Can someone tell me the reason?
Also how do I get rid of the message "sh: can't access tty; job control
turned off" (and what it means?) ?

Thanks in advance!
Wesley

P.S.  Please reply me directly as I am not in the alias.

[-- Attachment #2: Type: text/html, Size: 1555 bytes --]

                 reply	other threads:[~2007-03-18  4:37 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=d2df75f0703172136t4d8c4b55o1a77549ea19a9c83@mail.gmail.com \
    --to=wesley.q.wu@gmail.com \
    --cc=qemu-devel@nongnu.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;
as well as URLs for NNTP newsgroup(s).