All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] redirecting output from qemu window / busybox setup howto
@ 2008-06-12  2:01 Peter Teoh
  2008-06-12  2:59 ` Thiemo Seufer
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Teoh @ 2008-06-12  2:01 UTC (permalink / raw)
  To: qemu-devel

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

Does anybody have a short howto on setting up qemu with busybox as the
guest rootfs?


-- 
Regards,
Peter Teoh

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Qemu-devel] redirecting output from qemu window / busybox setup howto
  2008-06-12  2:01 [Qemu-devel] redirecting output from qemu window / busybox setup howto Peter Teoh
@ 2008-06-12  2:59 ` Thiemo Seufer
  0 siblings, 0 replies; 2+ messages in thread
From: Thiemo Seufer @ 2008-06-12  2:59 UTC (permalink / raw)
  To: Peter Teoh; +Cc: qemu-devel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-06-12  2:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-12  2:01 [Qemu-devel] redirecting output from qemu window / busybox setup howto Peter Teoh
2008-06-12  2:59 ` Thiemo Seufer

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.