From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:47143) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TvnaB-0003Of-W3 for qemu-devel@nongnu.org; Thu, 17 Jan 2013 06:24:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tvna7-0002SK-Ct for qemu-devel@nongnu.org; Thu, 17 Jan 2013 06:24:31 -0500 Received: from e31.co.us.ibm.com ([32.97.110.149]:37025) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tvna7-0002S2-71 for qemu-devel@nongnu.org; Thu, 17 Jan 2013 06:24:27 -0500 Received: from /spool/local by e31.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 17 Jan 2013 04:24:25 -0700 Received: from d03relay03.boulder.ibm.com (d03relay03.boulder.ibm.com [9.17.195.228]) by d03dlp03.boulder.ibm.com (Postfix) with ESMTP id 4626919D8045 for ; Thu, 17 Jan 2013 04:24:21 -0700 (MST) Received: from d03av02.boulder.ibm.com (d03av02.boulder.ibm.com [9.17.195.168]) by d03relay03.boulder.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id r0HBOLJp179522 for ; Thu, 17 Jan 2013 04:24:21 -0700 Received: from d03av02.boulder.ibm.com (loopback [127.0.0.1]) by d03av02.boulder.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id r0HBOKuP013311 for ; Thu, 17 Jan 2013 04:24:21 -0700 Date: Thu, 17 Jan 2013 12:24:18 +0100 From: Jens Freimann Message-ID: <20130117112418.GB9494@linux.vnet.ibm.com> References: <2EBDEAE4-3119-40B9-897C-1271DBD4F2E1@suse.de> <1358265897.32505.29@driftwood> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1358265897.32505.29@driftwood> Subject: Re: [Qemu-devel] Qemu s390x emulation List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Rob Landley Cc: "Suzuki K. Poulose" , Alexander Graf , qemu-devel@nongnu.org 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