All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jens Freimann <jfrei@linux.vnet.ibm.com>
To: Rob Landley <rob@landley.net>
Cc: "Suzuki K. Poulose" <suzuki@in.ibm.com>,
	Alexander Graf <agraf@suse.de>,
	qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Qemu s390x emulation
Date: Thu, 17 Jan 2013 12:24:18 +0100	[thread overview]
Message-ID: <20130117112418.GB9494@linux.vnet.ibm.com> (raw)
In-Reply-To: <1358265897.32505.29@driftwood>

On Tue, Jan 15, 2013 at 10:04:57AM -0600, Rob Landley wrote:
> On 01/15/2013 05:45:44 AM, Alexander Graf wrote:
> >On 15.01.2013, at 12:39, Suzuki K. Poulose wrote:
> >> On 01/15/2013 04:39 PM, Alexander Graf wrote:
> >>> On 15.01.2013, at 12:05, Suzuki K. Poulose wrote:
> > 
> >Does this one work for you?
> >
> >http://ftp.nl.debian.org/debian/dists/stable/main/installer-s390/current/images/generic/kernel.debian
> 
> I tried grabbing that and grabbing the initrd image in the same
> directory, booting them with:
> 
> qemu-system-s390x -kernel kernel.debian -nographic -m 1024 -initrd
> initrd.debian \
>  -append "rdinit=/bin/ash"
> 
> And it booted to a shell prompt... with a broken console. When I did
> "ls -l" at the resulting prompt it echoed back an ANSI escape
> sequence, one character at a time, which looks like the response to
> the ansi screen size probe busybox does (to query the display size
> of an xterm across a virtual serial console).

I get the same result with this combination of kernel and initrd. However,
with a more simple ramdisk (built by myself) that only has busybox in it
I could boot into a shell that worked just fine. It seems to me that something
in initrd.debian is not working well with qemu/virtio_console but I haven't 
debugged it further.

Jens

 
> I.E. qemu is getting deeply confused that what comes from stdin and
> what you type on the keyboard aren't quite the same thing. Some kind
> of strange ncurses hackage, looks like?
> 
> I tried sticking "cat |" in front of the above qemu pipeline and it
> got REALLY confused.
> 
> Rob

      reply	other threads:[~2013-01-17 11:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-15 11:05 [Qemu-devel] Qemu s390x emulation Suzuki K. Poulose
2013-01-15 11:09 ` Alexander Graf
2013-01-15 11:39   ` Suzuki K. Poulose
2013-01-15 11:45     ` Alexander Graf
2013-01-15 16:04       ` Rob Landley
2013-01-17 11:24         ` Jens Freimann [this message]

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=20130117112418.GB9494@linux.vnet.ibm.com \
    --to=jfrei@linux.vnet.ibm.com \
    --cc=agraf@suse.de \
    --cc=qemu-devel@nongnu.org \
    --cc=rob@landley.net \
    --cc=suzuki@in.ibm.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.