somehow, your computer thinks C3_CPUID_HAS_RNG is valid, which would mean you 
are running the via_nano_setup routine, which means your cpu model is "VIA Nano 
processor", which is all just wrong. wtf?

LEVAI Daniel [l...@ecentrum.hu] wrote:
> Hi!
> 
> 
> I'm just curious if this is something that could get fixed (or maybe
> danced around):
> 
> @linux $ qemu-kvm -enable-kvm -cpu host -smp 2 -m 512 \
>   -hda openbsd-current.img \
>   -net nic,model=e1000,macaddr=52:54:00:12:34:56 \
>   -net tap,ifname=tap0,script=no,downscript=no -curses
> 
> iPXE v1.0.0-591-g7aee315
> iPXE (http://ipxe.org) 00:03.0 C900 PCI2.10 PnP PMM+1FFC82A0+1FF882A0 C900
> 
> 
> Booting from Hard Disk...
> Using drive 0, partition 3.
> Loading...
> probing: pc0 com0 apm pci mem[637K 510M a20=on]
> disk: hd0+
> >> OpenBSD/i386 BOOT 3.18
> boot>
> booting hd0a:/bsd: 8354720+1102340 [52+376992+363706]=0x9b9ca8
> entry point at 0x200120
> 
> [ using 741124 bytes of bsd ELF symbol table ]
> Copyright (c) 1982, 1986, 1989, 1991, 1993
>         The Regents of the University of California.  All rights reserved.
> Copyright (c) 1995-2012 OpenBSD. All rights reserved.  http://www.OpenBSD.org
> 
> OpenBSD 5.2-current (GENERIC.MP) #6: Mon Aug 27 20:40:45 MDT 2012
>         dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
> cpu0: AMD Phenom(tm) II X4 B50 Processor ("AuthenticAMD" 686-class, 512KB L2 
> cac
> he) 3.11 GHz
> cpu0: 
> FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CF
> LUSH,MMX,FXSR,SSE,SSE2,NXE,MMXX,FFXSR,3DNOW2,3DNOW,SSE3,CX16,POPCNT,LAHF,CMPLEG,
> SVM,AMCR8,ABM,SSE4A,MASSE,3DNOWP
> real mem  = 536395776 (511MB)
> avail mem = 516698112 (492MB)
> mainbus0 at root
> bios0 at mainbus0: AT/286+ BIOS, date 06/23/99, BIOS32 rev. 0 @ 0xff046, 
> SMBIOS
> rev. 2.4 @ 0xfd900 (11 entries)
> bios0: vendor Bochs version "Bochs" date 01/01/2007
> bios0: Bochs Bochs
> acpi0 at bios0: rev 0
> acpi0: sleep states S3 S4 S5
> acpi0: tables DSDT FACP SSDT APIC HPET
> acpi0: wakeup devices
> acpitimer0 at acpi0: 3579545 Hz, 24 bits
> acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
> acpihpet0 at acpi0: 100000000 Hz
> acpiprt0 at acpi0: bus 0 (PCI0)
> mpbios0 at bios0: Intel MP Specification 1.4
> cpu0 at mainbus0: apid 0 (boot processor)
> kernel: protection fault trap, code=0
> Stopped at      viac3_rnd+0x9f: rdmsr
> viac3_rnd(d0b025a0,d09e3268,d08f384b,3,4) at viac3_rnd+0x9f
> amd64_errata(d0b025a0,d0b025a0,d0bbbbf8,d078eb77,d0b025a0) at 
> amd64_errata+0xb9
> 
> cpu_init(d0b025a0,0,2000,0,d0bbbc04) at cpu_init+0x19
> cpu_attach(d164bfc0,d155e400,d0bbbc4c,d03ee29b,d078de30) at cpu_attach+0x297
> config_attach(d164bfc0,d09d45c0,d0bbbc4c,d078cb20,800,0,0,d08f3129,0,1,d09f21c0
> ,100f42,78bfbff) at config_attach+0x1bb
> mpbios_cpu(f51a5a9c,d16737c0,2,1,2) at mpbios_cpu+0x85
> mpbios_scan(d16737c0,d16737c0,d0bbbd60,d03ee29b,0) at mpbios_scan+0x2dc
> config_attach(d164bf80,d09d45a0,d0bbbd60,d0789d30,b) at config_attach+0x1bb
> biosattach(d164bfc0,d164bf80,d0bbbe58,d03ee29b,0) at biosattach+0x517
> config_attach(d164bfc0,d09d4560,d0bbbe58,d05afb60,30000000) at 
> config_attach+0x
> 1bb
> ddb{0}>
> 
> 
> The host has an AMD Phenom(tm) II X4 B50 Processor.
> The guest OpenBSD tries to boot a -current bsd.mp. This works with other
> cpu types specified (like kvm32, or qemu32...), I just wanted to try out
> if the guest would be faster with the 'phenom' or 'host' cpu type.
> 
> Has anyone experimented with this kind of or similar setup?
> 
> 
> Daniel
> 
> -- 
> L?VAI D?niel
> PGP key ID = 0x83B63A8F
> Key fingerprint = DBEC C66B A47A DFA2 792D  650C C69B BE4C 83B6 3A8F

-- 
Keep them laughing half the time, scared of you the other half. And always keep 
them guessing. -- Clair George

Reply via email to