Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BUrcx-0006A0-UY for qemu-devel@nongnu.org; Mon, 31 May 2004 14:35:16 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BUrcw-00068d-8l for qemu-devel@nongnu.org; Mon, 31 May 2004 14:35:15 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BUrcw-00068Y-5O for qemu-devel@nongnu.org; Mon, 31 May 2004 14:35:14 -0400 Received: from [66.218.94.63] (helo=web90005.mail.scd.yahoo.com) by monty-python.gnu.org with smtp (Exim 4.34) id 1BUrcR-000714-Ew for qemu-devel@nongnu.org; Mon, 31 May 2004 14:34:43 -0400 Message-ID: <20040531183441.31974.qmail@web90005.mail.scd.yahoo.com> Date: Mon, 31 May 2004 11:34:41 -0700 (PDT) From: Brad Watson MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="0-218333533-1086028481=:31360" Subject: [Qemu-devel] success installing openbsd 3.5 in 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 --0-218333533-1086028481=:31360 Content-Type: text/plain; charset=us-ascii Content-Id: Content-Disposition: inline Hi All, I'm pleased to report the successful installation of OpenBSD 3.5 using QEMU compiled from the CVS source downloaded the morning of May 31, 2004. In order to get the OpenBSD GENERIC kernel to work with QEMUs emulated ne2000 without modifying the kernel, I made a simple change to QEMU hw/pc.c file (as shown in the attached patch file.) Note: a similar change was also needed in order to get emulated ne2000 to work with the GENERIC NetBSD kernel. Thanks for all the great work! Regards, Brad Watson __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ --0-218333533-1086028481=:31360 Content-Type: text/plain; name="openbsd-ne2000.patch.txt" Content-Description: openbsd-ne2000.patch.txt Content-Disposition: inline; filename="openbsd-ne2000.patch.txt" --- pc.c.orig 2004-05-31 10:14:57.000000000 -0700 +++ pc.c 2004-05-31 10:14:05.000000000 -0700 @@ -289,10 +289,10 @@ static const int ide_iobase2[2] = { 0x3f6, 0x376 }; static const int ide_irq[2] = { 14, 15 }; -#define NE2000_NB_MAX 6 +#define NE2000_NB_MAX 3 -static uint32_t ne2000_io[NE2000_NB_MAX] = { 0x300, 0x320, 0x340, 0x360, 0x280, 0x380 }; -static int ne2000_irq[NE2000_NB_MAX] = { 9, 10, 11, 3, 4, 5 }; +static uint32_t ne2000_io[NE2000_NB_MAX] = { 0x240, 0x300, 0x280 }; +static int ne2000_irq[NE2000_NB_MAX] = { 9, 10, 9 }; /* PC hardware initialisation */ void pc_init(int ram_size, int vga_ram_size, int boot_device, --0-218333533-1086028481=:31360--