Skip to contentSkip to conversation

success installing openbsd 3.5 in

Qemu-devel Brad Watson 1 participant 1 message May 31, 2004

lore
Share & tools
lore
#0 lore raw

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/

pc.c renamed from pc.c.orig +1 -2
@@ -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,