Re: qemu 0.12.5
Stuart Henderson wrote: I didn't try it with 0.12.4, but I accidentally tried user-mode networking on amd64 with 0.12.5 forgetting that it's not meant to work; and it did actually seem ok (I didn't get far due to an unrelated problem with the snap I tried to install, but still, interesting and I thought I'd mention it..) Thanks very much for this tip. All my testing was on i386 snapshot #259. I verified that the three test VMs (4.6 -stable, 4.7 -stable, and 4.8 -beta) created on .12.4 of qemu worked well on .12.5 and vice versa. I will run each of the old VMs I have (they were built using qemu 0.9x on OpenBSD 4.5 and 4.4) on .12.4, see if the behavior is the same on 0.12.5, and report back. -- Vijay Sankar, M.Eng., P.Eng. ForeTell Technologies Limited 59 Flamingo Avenue, Winnipeg, MB, Canada R3J 0X6 Phone: (204) 885-9535, E-Mail: vsan...@foretell.ca
Re: qemu 0.12.5
I didn't try it with 0.12.4, but I accidentally tried user-mode networking on amd64 with 0.12.5 forgetting that it's not meant to work; and it did actually seem ok (I didn't get far due to an unrelated problem with the snap I tried to install, but still, interesting and I thought I'd mention it..)
Re: qemu 0.12.5
On 2010/07/27 18:22, Vijay Sankar wrote: > $ 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 would expect some general brokenness with 0.12.x on OpenBSD, if something works with 0.12.4 but doesn't work with 0.12.5 that would be a problem for this update, but in general 0.9 (/usr/ports/emulators/qemu-old) is the version most people will want to use. Actually I think we should comment-out qemu from emulators/Makefile for release to avoid confusion for package users... > I am using standard settings on login.conf for a regular user, no > changes to ulimits etc. You might need to bump the relevant datasize-* variables (these are set at login so if you're in X you will usually need to restart to get the changed values to show up in ulimit -a / ulimit -d). > 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. There have been many changes recently to acpi (which affects many important things on all modern PCs, not just on laptops), you probably bumped into some kernel with a small problem. If it's gone now then ok, if it starts happening again please report to bugs@ with full details.
Re: qemu 0.12.5
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 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 2010dera...@i386.openbsd.org:/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 dera...@i386.openbsd.org:/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 0xfee0: 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 0xfec0, version 20, 24 pins ioapic0: misconfigured a
Re: qemu 0.12.5
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 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...
Re: qemu 0.12.5
Dawe wrote: On Sun, 25 Jul 2010 14:58:57 +0100 Stuart Henderson 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 gmake --no-print-directory -C pc-bios/optionrom V="" TARGET_DIR="optionrom/" cc -Wall -Wstrict-prototypes -Werror -fomit-frame-pointer -fno-builtin -I/home/ports/pobj/qemu-0.12.5/qemu-0.12.5 -fno-stack-protector -MMD -MP -MT multiboot.o -Wall -Wstrict-prototypes -Werror -fomit-frame-pointer -fno-builtin -I/home/ports/pobj/qemu-0.12.5/qemu-0.12.5 -fno-stack-protector -c -o multiboot.o multiboot.S ld -Ttext 0 -e _start -s -o multiboot.img multiboot.o objcopy -O binary -j .text multiboot.img multiboot.raw /bin/sh /home/ports/pobj/qemu-0.12.5/qemu-0.12.5/pc-bios/optionrom/signrom.sh multiboot.raw multiboot.bin od: unknown option -- A od: od(1) has been deprecated for hexdump(1). usage: od [-aBbcDdeFfHhIiLlOovXx] [-j offset] [-N length] [-t type_string] [[+]offset[.][Bb]] [file ...] /home/ports/pobj/qemu-0.12.5/qemu-0.12.5/pc-bios/optionrom/signrom.sh[31]: * 512 - 1 : unexpected `*' gmake[1]: *** [multiboot.bin] Error 1 rm multiboot.o multiboot.raw multiboot.img gmake: *** [romsubdir-optionrom] Error 2 *** Error code 2 Stop in /home/ports/emulators/qemu (line 2225 of /home/ports/infrastructure/mk/bsd.port.mk). *** Error code 1 Stop in /home/ports/emulators/qemu (line 1481 of /home/ports/infrastructure/mk/bsd.port.mk). *** Error code 1 Stop in /home/ports/emulators/qemu (line 2021 of /home/ports/infrastructure/mk/bsd.port.mk). I will try to set up a new system with the latest snapshot this week and report back. -- Vijay Sankar, M.Eng., P.Eng. ForeTell Technologies Limited 59 Flamingo Avenue, Winnipeg, MB, Canada R3J 0X6 Phone: (204) 885-9535, E-Mail: vsan...@foretell.ca
Re: qemu 0.12.5
On Sun, 25 Jul 2010 14:58:57 +0100 Stuart Henderson wrote: > anyone like to try this? > Successfully tried with some bsd guest systems on amd64.
qemu 0.12.5
anyone like to try this? Index: Makefile === RCS file: /cvs/ports/emulators/qemu/Makefile,v retrieving revision 1.52 diff -u -p -r1.52 Makefile --- Makefile23 Jul 2010 00:27:09 - 1.52 +++ Makefile25 Jul 2010 13:58:32 - @@ -5,8 +5,7 @@ ONLY_FOR_ARCHS =i386 amd64 sparc64 COMMENT = multi system emulator -DISTNAME = qemu-0.12.4 -REVISION = 0 +DISTNAME = qemu-0.12.5 CATEGORIES = emulators HOMEPAGE = http://www.qemu.org/ @@ -40,10 +39,10 @@ FLAVOR ?= .if ${FLAVOR:L:Mno_x11} CONFIGURE_ARGS += --disable-sdl .else -LIB_DEPENDS = SDL::devel/sdl +LIB_DEPENDS = ::devel/sdl USE_X11 = Yes -WANTLIB += X11 +WANTLIB += SDL X11 .endif .if ${FLAVOR:L:Mdebug} CONFIGURE_ARGS += --enable-debug Index: distinfo === RCS file: /cvs/ports/emulators/qemu/distinfo,v retrieving revision 1.11 diff -u -p -r1.11 distinfo --- distinfo8 Jun 2010 01:08:20 - 1.11 +++ distinfo25 Jul 2010 13:58:32 - @@ -1,5 +1,5 @@ -MD5 (qemu-0.12.4.tar.gz) = k+axNN/4myeZ9Xt9ng4PxQ== -RMD160 (qemu-0.12.4.tar.gz) = 2/XgKBKw3wduTsjCC3w4L3UHZF4= -SHA1 (qemu-0.12.4.tar.gz) = HMMgC/SWyDb3xCVsHRIUPaubgtw= -SHA256 (qemu-0.12.4.tar.gz) = GimltRURYtHeA1xJJtGh2//uShRe9h7oZda4Kq6gYC4= -SIZE (qemu-0.12.4.tar.gz) = 4697077 +MD5 (qemu-0.12.5.tar.gz) = HQLuCgTfriiUNAJzNywd5A== +RMD160 (qemu-0.12.5.tar.gz) = xOui5km0KOjdQycYRD6YYFfmktc= +SHA1 (qemu-0.12.5.tar.gz) = WWpnPzpml+qP2Q9PI5gSQcwTvcM= +SHA256 (qemu-0.12.5.tar.gz) = pqezC1NZHhYLXH/ZMZmFZzF06epHsYLb5jvJk1d0H1g= +SIZE (qemu-0.12.5.tar.gz) = 4291741 Index: patches/patch-net_h === RCS file: /cvs/ports/emulators/qemu/patches/patch-net_h,v retrieving revision 1.1 diff -u -p -r1.1 patch-net_h --- patches/patch-net_h 27 May 2010 17:55:05 - 1.1 +++ patches/patch-net_h 25 Jul 2010 13:58:32 - @@ -1,7 +1,7 @@ $OpenBSD: patch-net_h,v 1.1 2010/05/27 17:55:05 fgsch Exp $ net.h.orig Tue Feb 23 20:54:38 2010 -+++ net.h Mon Mar 22 20:26:50 2010 -@@ -172,7 +172,7 @@ void net_host_device_remove(Monitor *mon, const QDict +--- net.h.orig Thu Jul 22 13:39:04 2010 net.h Sat Jul 24 14:17:11 2010 +@@ -171,7 +171,7 @@ void net_host_device_remove(Monitor *mon, const QDict #ifdef __sun__ #define SMBD_COMMAND "/usr/sfw/sbin/smbd" #else