qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] SMP Question
@ 2006-12-17 15:37 maple Chou
  2006-12-17 17:03 ` Jonathan Phenix
  0 siblings, 1 reply; 2+ messages in thread
From: maple Chou @ 2006-12-17 15:37 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 515 bytes --]

Dear All,
 I just doing my floppy toy-os project(include little bootloader). And test
with qemu.
The Floppy Image is here  http://file.maple.tw/mapleos/floppy.img

My problem is when I turn on the SMP option. (qemu -fda floppy.img -smp 2)
The system will hang on bootsector (i just watch qemu monitor hang on
0x7eca)

And some problem with Grub+floppy image.
Grub+HD image boot successful, but can't capture the keyboard.

What's problem!?? i only run SMP case successful with linux kernel.

Best Regards

  ~maple

[-- Attachment #2: Type: text/html, Size: 724 bytes --]

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

* Re: [Qemu-devel] SMP Question
  2006-12-17 15:37 [Qemu-devel] SMP Question maple Chou
@ 2006-12-17 17:03 ` Jonathan Phenix
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Phenix @ 2006-12-17 17:03 UTC (permalink / raw)
  To: qemu-devel

maple Chou wrote:
> Dear All,
>  I just doing my floppy toy-os project(include little bootloader). And 
> test with qemu.
> The Floppy Image is here  http://file.maple.tw/mapleos/floppy.img
>
> My problem is when I turn on the SMP option. (qemu -fda floppy.img -smp 2)
> The system will hang on bootsector (i just watch qemu monitor hang on 
> 0x7eca)
>
> And some problem with Grub+floppy image.
> Grub+HD image boot successful, but can't capture the keyboard.
>
> What's problem!?? i only run SMP case successful with linux kernel.
For your project, qemu should be considered a _tool_. Like all tools, 
you must know it's usefulness (it's easier to debug your OS on an 
emulator) but you must be very well aware that all emulators are 
accurate only up to a certain point of the actual system emulated. This 
is not to mention that qemu is not yet complete (latest official release 
is 0.8.2), there are known bugs and unimplemented features that could 
always be the source of the problem. Finally, even if qemu is able to 
boot many common SMP enabled OSes, it's not a guarantee that everything 
is perfect related to SMP in qemu.

If you believe that your code is correct and this is a bug in qemu, 
which is always possible, try with different PC emulators to see if 
there is a difference. The best thing to do is to actually test on a 
real SMP system, real hardware have a final say on what should work and 
what doesn't.

Finally, developing an OS is not a small task, perhaps you should focus 
on single processor systems first which are a lot easier to design and 
debug for and then focus on SMP systems later on.

Regards,

- Jonathan
>
> Best Regards
>
>   ~maple
> ------------------------------------------------------------------------
>
> _______________________________________________
> Qemu-devel mailing list
> Qemu-devel@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/qemu-devel
>   

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

end of thread, other threads:[~2006-12-17 17:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-17 15:37 [Qemu-devel] SMP Question maple Chou
2006-12-17 17:03 ` Jonathan Phenix

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).