Date: Mon, 16 Feb 2009 11:11:41 +0200 From: Kostik Belousov <kostikbel@gmail.com> To: Roman Divacky <rdivacky@freebsd.org> Cc: emulation@freebsd.org Subject: Re: qemu booting amd64 fbsd Message-ID: <20090216091141.GD41617@deviant.kiev.zoral.com.ua> In-Reply-To: <20090215214304.GA17635@freebsd.org> References: <20090215214304.GA17635@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--RYJh/3oyKhIjGcML Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Feb 15, 2009 at 10:43:04PM +0100, Roman Divacky wrote: > hi >=20 > I am trying to boot fbsd@amd64 7.1R in qemu-0.9.1_11 but it panics > early in the boot. usually. sometimes it gets upto the root mounting > but then hangs... >=20 > am I doing something wrong or is this just broken? >=20 > is there any other (reliable) way how to boot amd64 fbsd in sw? I use the patch below for the long time. Not sure whether this is your case. --- cpu-exec.c.orig 2008-02-16 18:23:53.134009488 +0200 +++ cpu-exec.c 2008-02-16 18:24:47.127662872 +0200 @@ -452,13 +452,15 @@ svm_check_intercept(SVM_EXIT_INTR); env->interrupt_request &=3D ~(CPU_INTERRUPT_HARD |= CPU_INTERRUPT_VIRQ); intno =3D cpu_get_pic_interrupt(env); - if (loglevel & CPU_LOG_TB_IN_ASM) { - fprintf(logfile, "Servicing hardware INT=3D0x%= 02x\n", intno); - } - do_interrupt(intno, 0, 0, 0, 1); - /* ensure that no TB jump will be modified as - the program flow was changed */ - BREAK_CHAIN; + if (intno !=3D -1) { + if (loglevel & CPU_LOG_TB_IN_ASM) { + fprintf(logfile, "Servicing hardware INT=3D0x%02x\n", intno); + } + do_interrupt(intno, 0, 0, 0, 1); + /* ensure that no TB jump will be modified as + the program flow was changed */ + BREAK_CHAIN; + } #if !defined(CONFIG_USER_ONLY) } else if ((interrupt_request & CPU_INTERRUPT_VIRQ) && (env->eflags & IF_MASK) && !(env->hflags & HF_INHI= BIT_IRQ_MASK)) { --RYJh/3oyKhIjGcML Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkmZLc0ACgkQC3+MBN1Mb4jfpACeJpLN7ABy1uHWpRPDP3ZoaprY dx4AnjEiiJQKq2rBSvgfbWWAIjWUiY5h =E5cF -----END PGP SIGNATURE----- --RYJh/3oyKhIjGcML--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090216091141.GD41617>