From owner-freebsd-emulation@FreeBSD.ORG Sun Nov 12 00:42:20 2006 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E1E5916A40F for ; Sun, 12 Nov 2006 00:42:20 +0000 (UTC) (envelope-from freebsd-emulation@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id D0FE343D5D for ; Sun, 12 Nov 2006 00:42:18 +0000 (GMT) (envelope-from freebsd-emulation@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Gj3QK-0005zF-Qh for freebsd-emulation@freebsd.org; Sun, 12 Nov 2006 01:42:12 +0100 Received: from r5h168.net.upc.cz ([86.49.7.168]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 12 Nov 2006 01:42:12 +0100 Received: from gamato by r5h168.net.upc.cz with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 12 Nov 2006 01:42:12 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-emulation@freebsd.org From: martinko Date: Sun, 12 Nov 2006 01:42:06 +0100 Lines: 58 Message-ID: <45566DDE.5010102@users.sf.net> References: <45565C91.3020604@users.sf.net> <8cb6106e0611111601m9b123fbl784cc7efb506ffe1@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: r5h168.net.upc.cz User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.0.8) Gecko/20061111 SeaMonkey/1.0.6 In-Reply-To: <8cb6106e0611111601m9b123fbl784cc7efb506ffe1@mail.gmail.com> Sender: news Cc: freebsd-questions@freebsd.org Subject: Re: emulators/qemu: crashes with "Bad system call: 12" X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Nov 2006 00:42:21 -0000 Josh Carroll wrote: >> I'm trying to install Win2K but QEMU is constantly crashing with: >> >> Bad system call: 12 > > According to the qemu man page, there is an option you need when > installing windows 2000. I don't know if it'd cause the bad system > call message, but it's worth a shot. Also, I think the newer qemu port > require aio (kldload aio, if it's not built into your kernel). > > -win2k-hack > Use it when installing Windows 2000 to avoid a disk full > bug. After > Windows 2000 is installed, you no longer need this option (this > option slows down the IDE transfers). > > Give that a shot. > > Josh > >> >> The command line I'm using is a variation of the following: >> >> qemu -cdrom /opt/win2k.iso -hda /opt/c.img -m 256 -boot d -win2k-hack >> >> First I tried to boot directly from CD. Also I used QCOW disk image but >> QEMU crashed at a very early stage (before Win2K installer kicked in). >> Now I'm using RAW disk image and QEMU actually runs up to after initial >> Win2K installer reads device configuration files. >> >> What might be wrong and how to fix it please ? >> >> Cheers, >> >> Martin >> >> PS: QEMU is freshly installed from ports on FreeBSD 6.2-PRERELEASE. >> hi, i tried that win2k option and qemu still fails with or without it. :-/ i loaded up aio(4) module and while displaying the following ... Nov 12 01:24:38 mb-aw1n-bsd kernel: WARNING: Network stack Giant-free, but aio requires Giant. Nov 12 01:24:38 mb-aw1n-bsd kernel: Consider adding 'options NET_WITH_GIANT' or setting debug.mpsafenet=0 ... it actually helped my case and now i'm curiously installing winblows.. ;o) many thanks !! martin ps: i'm cc-ing the lists for archives.