From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50285) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fYvhV-0005K1-3D for qemu-devel@nongnu.org; Fri, 29 Jun 2018 11:52:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fYvhS-0005st-0L for qemu-devel@nongnu.org; Fri, 29 Jun 2018 11:52:45 -0400 Received: from mout.kundenserver.de ([212.227.126.187]:53864) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fYvhR-0005rl-M0 for qemu-devel@nongnu.org; Fri, 29 Jun 2018 11:52:41 -0400 References: <20180626165658.31394-1-peter.maydell@linaro.org> <20180626165658.31394-24-peter.maydell@linaro.org> <50e46f22-1e3d-10ce-5b5b-a10af49a95f1@vivier.eu> <489d8470-c12f-a441-4e87-b2b3013a3ab8@vivier.eu> From: Laurent Vivier Message-ID: <1de8bd28-869b-49af-e877-6b8802d582b5@vivier.eu> Date: Fri, 29 Jun 2018 17:52:38 +0200 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] [PULL 23/32] tcg: Support MMU protection regions smaller than TARGET_PAGE_SIZE List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: QEMU Developers Le 29/06/2018 à 17:28, Peter Maydell a écrit : > On 28 June 2018 at 23:26, Laurent Vivier wrote: >> Le 28/06/2018 à 22:05, Peter Maydell a écrit : >>> Do you have a repro case (images, command line) that I can >>> use to investigate ? >> - checkout the branch q800-dev-part1 from >> git://github.com/vivier/qemu-m68k.git >> >> - configure and build >> >> './configure' '--target-list=m68k-softmmu' '--enable-debug' \ >> '--enable-debug-tcg' '--enable-debug-info' >> >> my gcc is from Fedora 27, version 7.3.1 20180303 (Red Hat 7.3.1-5) >> >> - get the kernel from the debian installer: >> >> wget >> https://cdimage.debian.org/mirror/cdimage/ports/9.0/m68k/iso-cd/debian-9.0-m68k-NETINST-1.iso >> >> guestfish --add debian-9.0-m68k-NETINST-1.iso --ro \ >> --mount /dev/sda:/ <<_EOF_ >> copy-out /install/kernels/vmlinux-4.15.0-2-m68k . >> _EOF_ >> >> - and run >> >> ./m68k-softmmu/qemu-system-m68k -M q800 \ >> -serial none -serial mon:stdio \ >> -kernel vmlinux-4.15.0-2-m68k \ >> -nographic > > What is this testcase supposed to print when it works? > I tried reverting 55df6fcf5476b44bc1b9, but that just prints > "ABCFGHIJK" and then nothing else. At this point, you can either remove the -nographic or add -append "console=ttyS0 vga=off" to have the kernel boot logs. If you want to have started an userspace command, add the initrd from the CD: guestfish --add debian-9.0-m68k-NETINST-1.iso --ro \ --mount /dev/sda:/ <<_EOF_ copy-out /install/cdrom/initrd.gz . _EOF_ Thanks, Laurent