From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K6d2J-0005RH-H6 for qemu-devel@nongnu.org; Wed, 11 Jun 2008 22:59:39 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K6d2H-0005QL-5X for qemu-devel@nongnu.org; Wed, 11 Jun 2008 22:59:38 -0400 Received: from [199.232.76.173] (port=53418 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K6d2G-0005QI-WF for qemu-devel@nongnu.org; Wed, 11 Jun 2008 22:59:37 -0400 Received: from relay01.mx.bawue.net ([193.7.176.67]:45330) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K6d2G-0004vy-KE for qemu-devel@nongnu.org; Wed, 11 Jun 2008 22:59:36 -0400 Date: Thu, 12 Jun 2008 03:59:33 +0100 From: Thiemo Seufer Subject: Re: [Qemu-devel] redirecting output from qemu window / busybox setup howto Message-ID: <20080612025933.GC26942@networkno.de> References: <804dabb00806111901n27ad7e6cj51b1e20f6e586c81@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <804dabb00806111901n27ad7e6cj51b1e20f6e586c81@mail.gmail.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Teoh Cc: qemu-devel@nongnu.org Peter Teoh wrote: > My kernel crashed currently under qemu, but i have no way to > redirecting the output to a file or something like that. > > The options available to output via serial/tcp/udp port is all very > confusing here: > > http://bellard.org/qemu/qemu-doc.html > > I tried "-serial tcp::4444,server", but after connecting using nc or > telnet from another screen, the dmesg output from the startup is not > redirected there, why? > > my current command line is as follows: > > qemu -hda debian.cow -m 384 -localtime -cdrom /dev/cdrom -kernel > /boot/vmlinuz-2.6.26-rc5 -initrd /boot/initrd-2.6.26-rc5-1.img -append > root="/dev/nfs nfsroot=10.10.1.157:/mnt/hd1/download/busybox/_install/ > rw ip=dhcp" -net nic,vlan=0 -net > tap,vlan=0,ifname=tap0,script=./qemu-ifup I figure you missed to -append "console=ttyS0". Thiemo