Marc Espie wrote:
On Mon, Jul 26, 2010 at 10:23:33AM -0500, Vijay Sankar wrote:
Dawe wrote:
On Sun, 25 Jul 2010 14:58:57 +0100
Stuart Henderson <[email protected]> wrote:

anyone like to try this?

Thank you very much for this port. I tried it on OpenBSD 4.7 -stable
and got the following error

Ports-current is for OpenBSD-current.

Where have you been ? of course it won't work on 4.7-stable !

qemu is THE one port which is causing trouble with the compiler change...


Thanks again Stuart and Marc.

I installed

$ sysctl kern.version
kern.version=OpenBSD 4.8-beta (GENERIC.MP) #259: Mon Jul 26 16:48:06 MDT 2010 [email protected]:/usr/src/sys/arch/i386/compile/GENERIC.MP

on a new system. For whatever reason, I have had problems running previous snapshots on this server as the system would reboot after getting a DHCP address. But #259 works perfectly so I was finally able to build the port qemu 0.12.5

$ ls -l /home/ports/packages/i386/all/qemu-0.12.5.tgz
-rw-r--r-- 3 root wheel 12808304 Jul 27 12:33 /home/ports/packages/i386/all/qemu-0.12.5.tgz

I found the following small items.

1) On the same system, qemu-0.9.1p13.tgz allowed me to run an older vm guest (OpenBSD 4.6 i386 -stable) using the following command

sudo env ETHER=em2 qemu -m 384 -no-fd-bootchk -net nic,vlan=0,model=rtl8139,macaddr=AA:BB:CC:00:00:01 -net tap,vlan=0 -localtime -hda istable-4.7.img -nographic

If I use qemu-0.12.5.tgz, I get a core dump.

I am using standard settings on login.conf for a regular user, no changes to ulimits etc.


2) qemu -m 256 -monitor stdio -no-fd-bootchk -hda virtual.img -cdrom install48.iso -boot d

also created a core dump with qemu-0.12.5. But

But

qemu -m 128 -monitor stdio -no-fd-bootchk -hda virtual.img -cdrom install48.iso -boot d

worked and after the system was installed, I was able to do a

qemu -m 128 -nographic -no-fd-bootchk -hda virtual.img

3) I was trying to test other VM images that I had previously run on 4.6 -stable and 4.7 -stable. The guest OS'es for those are OpenBSD 4.6 -stable, OpenBSD 4.7 -stable, XP SP3, Windows 2000 SP4, and Windows 2003 R2. None of them worked on qemu-0.12.5 on 4.8 -beta. qemu crashed right away with a qemu.core file. I experimented with different -m settings (-m 128, -m 256 etc) while qemu-0.12.5 was installed and that did not help with these older images. But all of them do work OK on qemu-0.9.1p13.tgz on 4.8 -beta on the same server.

Not sure whether the following is of any use but here is the dmesg -- in case it explains why previous snapshots (before #259) did not work.

$ dmesg
OpenBSD 4.8-beta (GENERIC.MP) #259: Mon Jul 26 16:48:06 MDT 2010
    [email protected]:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Xeon(R) CPU X3430 @ 2.40GHz ("GenuineIntel" 686-class) 2.41 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT
real mem  = 3748814848 (3575MB)
avail mem = 3677503488 (3507MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 09/14/09, BIOS32 rev. 0 @ 0xf0010, SMBIOS rev. 2.6 @ 0x9f000 (68 entries)
bios0: vendor American Megatrends Inc. version "1.0a" date 09/14/2009
bios0: Supermicro X8SIL
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP APIC MCFG SLIC OEMB HPET GSCI SSDT EINJ BERT ERST HEST acpi0: wakeup devices P0P1(S4) P0P3(S4) P0P4(S4) P0P5(S4) P0P6(S4) BR1E(S4) PS2K(S4) PS2M(S4) EUSB(S4) USB0(S4) USB1(S4) USB2(S4) USB3(S4) USBE(S4) USB4(S4) USB5(S4) USB6(S4) GBE_(S4) BR20(S4) BR21(S4) BR22(S4) BR23(S4) BR24(S4) BR25(S4) BR26(S4) BR27(S4) SLPB(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 133MHz
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Xeon(R) CPU X3430 @ 2.40GHz ("GenuineIntel" 686-class) 2.40 GHz cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT
cpu2 at mainbus0: apid 4 (application processor)
cpu2: Intel(R) Xeon(R) CPU X3430 @ 2.40GHz ("GenuineIntel" 686-class) 2.40 GHz cpu2: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT
cpu3 at mainbus0: apid 6 (application processor)
cpu3: Intel(R) Xeon(R) CPU X3430 @ 2.40GHz ("GenuineIntel" 686-class) 2.40 GHz cpu3: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT
ioapic0 at mainbus0: apid 7 pa 0xfec00000, version 20, 24 pins
ioapic0: misconfigured as apic 1, remapped to apid 7
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (P0P3)
acpiprt2 at acpi0: bus 2 (P0P5)
acpiprt3 at acpi0: bus 8 (BR1E)
acpiprt4 at acpi0: bus 3 (BR20)
acpiprt5 at acpi0: bus 6 (BR24)
acpiprt6 at acpi0: bus 7 (BR25)
acpiprt7 at acpi0: bus -1 (BR26)
acpicpu0 at acpi0: PSS
acpicpu1 at acpi0: PSS
acpicpu2 at acpi0: PSS
acpicpu3 at acpi0: PSS
acpibtn0 at acpi0: SLPB
acpibtn1 at acpi0: PWRB
bios0: ROM list: 0xc0000/0x8000 0xc8000/0x1000 0xc9000/0x1000 0xca000/0x1200 0xcb800/0x1000 0xcc800/0x1000
ipmi at mainbus0 not configured
cpu0: Enhanced SpeedStep 2400 MHz: speeds: 2401, 2400, 2267, 2133, 2000, 1867, 1733, 1600, 1467, 1333, 1200 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel Core DMI" rev 0x11
ppb0 at pci0 dev 3 function 0 "Intel Core PCIE" rev 0x11: apic 7 int 16 (irq 10)
pci1 at ppb0 bus 1
em0 at pci1 dev 0 function 0 "Intel PRO/1000 PT (82575EB)" rev 0x02: apic 7 int 16 (irq 10), address 00:30:48:9e:e7:3c em1 at pci1 dev 0 function 1 "Intel PRO/1000 PT (82575EB)" rev 0x02: apic 7 int 17 (irq 11), address 00:30:48:9e:e7:3d ppb1 at pci0 dev 5 function 0 "Intel Core PCIE" rev 0x11: apic 7 int 16 (irq 10)
pci2 at ppb1 bus 2
"Intel Core Management" rev 0x11 at pci0 dev 8 function 0 not configured
"Intel Core Scratch" rev 0x11 at pci0 dev 8 function 1 not configured
"Intel Core Control" rev 0x11 at pci0 dev 8 function 2 not configured
"Intel Core Misc" rev 0x11 at pci0 dev 8 function 3 not configured
"Intel Core QPI Link" rev 0x11 at pci0 dev 16 function 0 not configured
"Intel Core QPI Routing" rev 0x11 at pci0 dev 16 function 1 not configured
ehci0 at pci0 dev 26 function 0 "Intel 3400 USB" rev 0x05: apic 7 int 16 (irq 10)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb2 at pci0 dev 28 function 0 "Intel 3400 PCIE" rev 0x05: apic 7 int 17 (irq 11)
pci3 at ppb2 bus 3
ppb3 at pci3 dev 0 function 0 "Intel IOP333 PCIE-PCIX" rev 0x00
pci4 at ppb3 bus 4
arc0 at pci4 dev 14 function 0 "Areca ARC-1210" rev 0x00: apic 7 int 18 (irq 7)
arc0: 4 ports, 256MB SDRAM, firmware V1.47 2009-12-29
scsibus0 at arc0: 16 targets
sd0 at scsibus0 targ 0 lun 0: <Seagate, ST3500320NS, R001> SCSI3 0/direct fixed
sd0: 476940MB, 512 bytes/sec, 976773168 sec total
sd1 at scsibus0 targ 1 lun 0: <Seagate, ST3500320NS, R001> SCSI3 0/direct fixed
sd1: 476940MB, 512 bytes/sec, 976773168 sec total
ppb4 at pci3 dev 0 function 2 "Intel IOP333 PCIE-PCIX" rev 0x00
pci5 at ppb4 bus 5
ppb5 at pci0 dev 28 function 4 "Intel 3400 PCIE" rev 0x05: apic 7 int 17 (irq 11)
pci6 at ppb5 bus 6
em2 at pci6 dev 0 function 0 "Intel PRO/1000 MT (82574L)" rev 0x00: apic 7 int 16 (irq 10), address 00:30:48:9f:2f:fe ppb6 at pci0 dev 28 function 5 "Intel 3400 PCIE" rev 0x05: apic 7 int 16 (irq 10)
pci7 at ppb6 bus 7
em3 at pci7 dev 0 function 0 "Intel PRO/1000 MT (82574L)" rev 0x00: apic 7 int 17 (irq 11), address 00:30:48:9f:2f:ff ehci1 at pci0 dev 29 function 0 "Intel 3400 USB" rev 0x05: apic 7 int 23 (irq 15)
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb7 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xa5
pci8 at ppb7 bus 8
vga1 at pci8 dev 3 function 0 "Matrox MGA G200eW" rev 0x0a
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pcib0 at pci0 dev 31 function 0 "Intel 3420 LPC" rev 0x05
pciide0 at pci0 dev 31 function 2 "Intel 3400 SATA" rev 0x05: DMA, channel 0 configured to native-PCI, channel 1 configured to native-PCI
pciide0: using apic 7 int 19 (irq 14) for native-PCI interrupt
ichiic0 at pci0 dev 31 function 3 "Intel 3400 SMBus" rev 0x05: apic 7 int 18 (irq 7)
iic0 at ichiic0
sdtemp0 at iic0 addr 0x18: stts424e02
sdtemp1 at iic0 addr 0x1a: stts424e02
spdmem0 at iic0 addr 0x50: 2GB DDR3 SDRAM ECC PC3-10600 with thermal sensor
spdmem1 at iic0 addr 0x52: 2GB DDR3 SDRAM ECC PC3-10600 with thermal sensor
pciide1 at pci0 dev 31 function 5 "Intel 3400 SATA" rev 0x05: DMA, channel 0 wired to native-PCI, channel 1 wired to native-PCI
pciide1: using apic 7 int 19 (irq 14) for native-PCI interrupt
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
com2 at isa0 port 0x3e8/8 irq 5: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
wbsio0 at isa0 port 0x2e/2: W83627DHG-P rev 0x73
lm1 at wbsio0 port 0xa10/8: W83627DHG
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
mtrr: Pentium Pro MTRR support
uhub2 at uhub0 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
uhub3 at uhub1 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
uhidev0 at uhub2 port 2 configuration 1 interface 0 "Winbond Electronics Corp Hermon USB hidmouse Device" rev 1.10/0.01 addr 3
uhidev0: iclass 3/1
ums0 at uhidev0
ums0: X report 0x0022 not supported
uhidev1 at uhub2 port 2 configuration 1 interface 1 "Winbond Electronics Corp Hermon USB hidmouse Device" rev 1.10/0.01 addr 3
uhidev1: iclass 3/1
ukbd0 at uhidev1: 8 modifier keys, 6 key codes
wskbd0 at ukbd0: console keyboard, using wsdisplay0
uhidev2 at uhub3 port 1 configuration 1 interface 0 "BTC USB Multimedia Keyboard" rev 1.10/1.00 addr 3
uhidev2: iclass 3/1
ukbd1 at uhidev2: 8 modifier keys, 6 key codes
wskbd1 at ukbd1 mux 1
wskbd1: connecting to wsdisplay0
uhidev3 at uhub3 port 1 configuration 1 interface 1 "BTC USB Multimedia Keyboard" rev 1.10/1.00 addr 3
uhidev3: iclass 3/0, 3 report ids
uhid0 at uhidev3 reportid 1: input=1, output=0, feature=0
uhid1 at uhidev3 reportid 2: input=3, output=0, feature=0
uhid2 at uhidev3 reportid 3: input=3, output=0, feature=8
uhidev4 at uhub3 port 2 configuration 1 interface 0 "Microsoft Microsoft 3-Button Mouse with IntelliEye(TM)" rev 1.10/3.00 addr 4
uhidev4: iclass 3/1
ums1 at uhidev4: 3 buttons, Z dir
wsmouse0 at ums1 mux 0
softraid0 at root
root on sd0a swap on sd0b dump on sd0b



--
Vijay Sankar, M.Eng., P.Eng.
ForeTell Technologies Limited
59 Flamingo Avenue, Winnipeg, MB, Canada R3J 0X6
Phone: (204) 885-9535, E-Mail: [email protected]

Reply via email to