From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GvzQH-000875-6d for qemu-devel@nongnu.org; Sun, 17 Dec 2006 12:03:37 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GvzQE-000858-7V for qemu-devel@nongnu.org; Sun, 17 Dec 2006 12:03:35 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GvzQD-000850-UK for qemu-devel@nongnu.org; Sun, 17 Dec 2006 12:03:34 -0500 Received: from [24.201.245.36] (helo=relais.videotron.ca) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GvzQD-0005x6-DD for qemu-devel@nongnu.org; Sun, 17 Dec 2006 12:03:33 -0500 Received: from [192.168.0.253] ([74.56.26.189]) by VL-MH-MR002.ip.videotron.ca (Sun Java System Messaging Server 6.2-2.05 (built Apr 28 2005)) with ESMTP id <0JAF00AXIGPWHH40@VL-MH-MR002.ip.videotron.ca> for qemu-devel@nongnu.org; Sun, 17 Dec 2006 12:03:32 -0500 (EST) Date: Sun, 17 Dec 2006 12:03:32 -0500 From: Jonathan Phenix Subject: Re: [Qemu-devel] SMP Question In-reply-to: Message-id: <45857864.7060302@videotron.ca> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT References: Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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 >