From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HSn97-00054S-FC for qemu-devel@nongnu.org; Sun, 18 Mar 2007 00:37:29 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HSn95-00054G-1P for qemu-devel@nongnu.org; Sun, 18 Mar 2007 00:37:28 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HSn94-00054D-S3 for qemu-devel@nongnu.org; Sat, 17 Mar 2007 23:37:26 -0500 Received: from nf-out-0910.google.com ([64.233.182.190]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HSn7l-0000J0-HQ for qemu-devel@nongnu.org; Sun, 18 Mar 2007 00:36:06 -0400 Received: by nf-out-0910.google.com with SMTP id c31so1256506nfb for ; Sat, 17 Mar 2007 21:36:03 -0700 (PDT) Message-ID: Date: Sat, 17 Mar 2007 20:36:02 -0800 From: "Wesley Wu" MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_83818_29835261.1174192562894" Subject: [Qemu-devel] QEMU console Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org ------=_Part_83818_29835261.1174192562894 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline 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. ------=_Part_83818_29835261.1174192562894 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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.

------=_Part_83818_29835261.1174192562894--