Re: qemu-system-sparc stays "parked"?

Julian Coleman <[email protected]>
Newsgroups gmane.os.netbsd.general
Message-ID <[email protected]>
Hi,

>                                      I would then shut the guest down
> and restart it with "-machine SS-20 -cpu TI-SuperSparc-61 -m 2048" (I
> wanted to use "-smp 4", but anything other than uniprocessor would hang
> after "waiting 2 seconds for SCSI busses to settle".

I had a look at this.  The hang is in our serial interrupt handling code -
we end up stuck in an interrupt loop as soon as we enable interrupts.
I didn't get very far with debugging it - on real hardware we ignore any
interrupts on other CPU's.  On qemu, that workaround doesn't work and when
we try to output a character on the console, we receive the constant stream
of interrupts [*].

However, if you start the VM with a graphical console, you can use 4 CPU's.

Regards,

Julian

[*] Obviously, it's not possible to output anything when trying to debug
what happens!

--
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.