Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nj370-0003Ac-8Z for qemu-devel@nongnu.org; Sat, 20 Feb 2010 23:08:06 -0500 Received: from [199.232.76.173] (port=52048 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nj36z-0003AP-Lg for qemu-devel@nongnu.org; Sat, 20 Feb 2010 23:08:05 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Nj36v-0001B7-Sn for qemu-devel@nongnu.org; Sat, 20 Feb 2010 23:08:05 -0500 Received: from mail-vw0-f45.google.com ([209.85.212.45]:45506) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Nj36v-00013U-5Z for qemu-devel@nongnu.org; Sat, 20 Feb 2010 23:08:01 -0500 Received: by vws10 with SMTP id 10so507410vws.4 for ; Sat, 20 Feb 2010 20:05:59 -0800 (PST) Date: Sat, 20 Feb 2010 23:05:55 -0500 From: Kevin O'Connor Subject: Re: [Qemu-devel] SeaBIOS error with Juniper FreeBSD kernel Message-ID: <20100221040555.GA16455@morn.localdomain> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Brandon Bennett Cc: qemu-devel@nongnu.org On Sat, Feb 20, 2010 at 05:23:59PM -0700, Brandon Bennett wrote: > When booting a Juniper JunOS kernel (FreeBSD based) I am getting a > panic: unkown/reserved trap error immediately after the kernel loads. > If i use an older pc-bios with the '-bios' option everything works so > it seems to be an issue with the SeaBios. > > With #DEBUG_BIOS enabled in hw/pc.c here is what i am getting during boot. Thanks Brandon, I don't see anything in the log that looks suscpicious. Are these JunOS images available for download somewhere? > Any help or direction on where to look further or options to try would be great. Should a kernel fail during boot, I'd suspect it doesn't like one of the apm/pcibios callbacks, or it doesn't like one of the smbios/mptable/acpi tables. You could try compiling the SeaBIOS code (see http://seabios.org/Download ) and increasing the debugging by modifying src/config.h. Specifically, you could increase CONFIG_DEBUG_LEVEL, and set DEBUG_HDL_pcibios32 and DEBUG_HDL_apm to 1. Also, you could try disabling some of the features to see if that prevents the fault (eg, disabling CONFIG_ACPI / CONFIG_SMBIOS / CONFIG_MPTABLE). -Kevin