* [Qemu-devel] FreeBSD-amd64 guest, monitor does not respond
@ 2005-01-16 22:39 Juergen Lock
2005-01-16 23:38 ` Fabrice Bellard
0 siblings, 1 reply; 3+ messages in thread
From: Juergen Lock @ 2005-01-16 22:39 UTC (permalink / raw)
To: qemu-devel
I was curious today and tried the FreeBSD-amd64 install iso in qemu,
qemu-system-x86_64 -m 256 -monitor stdio -cdrom 5.3-RELEASE-amd64-bootonly.iso -boot d
and, (actually i tried miniinst first, but bootonly is smaller and shows
the same result) qemu hangs when starting the kernel, the monitor does not
respond, all I can do is ^c it. (the started kernel is supposed to print
messages starting with the copyright but it doesnt even get to that.)
So, question: what does it mean when the monitor doesnt respond?
infinite loop in the translated code?
Well, i just tried it in gdb and this is what i get when ^c'ing it:
Program received signal SIGINT, Interrupt.
[Switching to Thread 1077076096 (LWP 18901)]
0x080f00ee in do_interrupt64 (intno=13, is_int=0, error_code=0,
next_eip=4626569007820963840, is_hw=0) at softmmu_header.h:237
237 {
(gdb) bt
#0 0x080f00ee in do_interrupt64 (intno=13, is_int=0, error_code=0,
next_eip=4626569007820963840, is_hw=0) at softmmu_header.h:237
#1 0x080a85ae in cpu_x86_exec (env1=0x908b528)
at /home/knoppix/qemu/qemu/cpu-exec.c:199
#2 0x0804e5f1 in main_loop () at /home/knoppix/qemu/qemu/vl.c:2675
#3 0x0804f5cc in main (argc=161702, argv=0x0)
at /home/knoppix/qemu/qemu/vl.c:3671
(gdb)
so its processing interrupts apparently, but why does that `hang' qemu?
mirrors for bootonly and the other isos can be found here:
http://mirrorlist.freebsd.org/
for example:
ftp://ftp.fr.freebsd.org/pub/FreeBSD/releases/amd64/ISO-IMAGES/5.3/
(bootonly is some 20M, the others are larger)
Cheers,
Juergen
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] FreeBSD-amd64 guest, monitor does not respond
2005-01-16 22:39 [Qemu-devel] FreeBSD-amd64 guest, monitor does not respond Juergen Lock
@ 2005-01-16 23:38 ` Fabrice Bellard
2005-01-17 0:28 ` Juergen Lock
0 siblings, 1 reply; 3+ messages in thread
From: Fabrice Bellard @ 2005-01-16 23:38 UTC (permalink / raw)
To: qemu-devel
Juergen Lock wrote:
> I was curious today and tried the FreeBSD-amd64 install iso in qemu,
> qemu-system-x86_64 -m 256 -monitor stdio -cdrom 5.3-RELEASE-amd64-bootonly.iso -boot d
> and, (actually i tried miniinst first, but bootonly is smaller and shows
> the same result) qemu hangs when starting the kernel, the monitor does not
> respond, all I can do is ^c it. (the started kernel is supposed to print
> messages starting with the copyright but it doesnt even get to that.)
With my last patch the FreeBSD kernel boots, but user mode apps seem to
have problems.
Fabrice.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] FreeBSD-amd64 guest, monitor does not respond
2005-01-16 23:38 ` Fabrice Bellard
@ 2005-01-17 0:28 ` Juergen Lock
0 siblings, 0 replies; 3+ messages in thread
From: Juergen Lock @ 2005-01-17 0:28 UTC (permalink / raw)
To: fabrice; +Cc: qemu-devel
In article <41EAFAF7.5090108@bellard.org> you write:
>Juergen Lock wrote:
>> I was curious today and tried the FreeBSD-amd64 install iso in qemu,
>> qemu-system-x86_64 -m 256 -monitor stdio -cdrom 5.3-RELEASE-amd64-bootonly.iso -boot d
>> and, (actually i tried miniinst first, but bootonly is smaller and shows
>> the same result) qemu hangs when starting the kernel, the monitor does not
>> respond, all I can do is ^c it. (the started kernel is supposed to print
>> messages starting with the copyright but it doesnt even get to that.)
>
>With my last patch the FreeBSD kernel boots, but user mode apps seem to
>have problems.
Seems to be some tty problem: ^t says sysinstall is sleeping in ttyin,
if i hit return it comes up, but with garbled formatting. I can even
start a shell on ttyv4 (cursor right and return for no to the load kernel
modules question, return until the (also misformatted) main menu appears,
`f' and return for fixit, `4' and return for shell, then `sendkey alt-f4'
in the monitor.) The shell misses its prompt but other than that it
seems to work, at least I can do things like `pwd', `echo *', or `find .'
So apparently some bug in qemu makes the tty code misbehave...
Juergen
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-01-17 0:57 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-16 22:39 [Qemu-devel] FreeBSD-amd64 guest, monitor does not respond Juergen Lock
2005-01-16 23:38 ` Fabrice Bellard
2005-01-17 0:28 ` Juergen Lock
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.