[Midnightbsd-users] MirBSD-current/i386 in VirtualBox 3.0.0_BETA1 r48728

Thorsten Glaser tg at mirbsd.de
Thu Jun 18 09:37:45 EDT 2009


Hi folks,

this is the first time that MirBSD works in VirtualBox,
that is, the first time that VirtualBox emulates the i386
architecture instead of $something only closely resembling
it, good enough for Windows® and GNU/Linux, but not perfect.

dmesg of a VM with Vanderpool/Pacifica enabled:

MirBSD#10uA7 (GENERIC) #1198: Sat Apr 25 21:02:08 UTC 2009
        tg at tear.mirbsd.org:/usr/src/distrib/generic/obj/build/GENERIC
cpu0: Intel(R) Core(TM)2 Duo CPU E6750 @ 2.66GHz ("GenuineIntel" 686-class) 2.29 GHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,PNI,MWAIT
real mem  = 572043264 (558636K)
avail mem = 505454592 (493608K)
using 4278 buffers containing 40185856 bytes (39244K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(87) BIOS, date 06/23/99, BIOS32 rev. 0 @ 0xfc030
apm0 at bios0: Power Management spec V1.2
apm0: APM engage (device 1): unknown error code? (83)
apm0: AC on, battery charge unknown
apm0: flags 30102 dobusy 0 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xf0000/0x0
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfc380/192 (10 entries)
pcibios0: PCI Interrupt Router at 000:01:0 ("Intel 82371SB ISA" rev 0x00)
pcibios0: PCI bus #0 is the last bus
bios0: ROM list: 0xc0000/0x9000 0xe2000/0x1000
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel 82441FX" rev 0x02
pcib0 at pci0 dev 1 function 0 "Intel 82371SB ISA" rev 0x00
pciide0 at pci0 dev 1 function 1 "Intel 82371AB IDE" rev 0x01: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: <VBOX HARDDISK>
wd0: 128-sector PIO, LBA, 2048 MiB, CHS = 4161/16/63, 4194304 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
scsi_inqmatch: 2/5/1 <, , >
cd0 at scsibus0 targ 0 lun 0: <VBOX, CD-ROM, 1.0> SCSI0 5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
vga1 at pci0 dev 2 function 0 unknown vendor 0x80ee product 0xbeef rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-7 added (80x25, vt100 emulation)
le1 at pci0 dev 3 function 0 "AMD 79c970 PCnet-PCI" rev 0x40: irq 11
le1: address 08:00:27:8e:1f:ab
le1: 8 receive buffers, 2 transmit buffers
unknown vendor 0x80ee product 0xcafe (class system subclass miscellaneous, rev 0x00) at pci0 dev 4 function 0 not configured
auich0 at pci0 dev 5 function 0 "Intel 82801AA AC97" rev 0x01: irq 9, ICH AC97
ac97: codec id 0x83847600 (SigmaTel STAC9700)
audio0 at auich0
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pmsi0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pmsi0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
sysbeep0 at pcppi0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
fd1 at fdc0 drive 1: density unknown
biomask c040 netmask c840 ttymask d842
rd0: fixed, 8192 blocks
pctr: 686-class user-level performance counters enabled
mtrr: CPU supports MTRRs but not enabled
Kernelised RAIDframe activated
Searching for raid components...
cd0(atapiscsi0:0:0): Check Condition (error 0x70) on opcode 0x0
    SENSE KEY: Not Ready
     ASC/ASCQ: Medium Not Present
cd0(atapiscsi0:0:0): Check Condition (error 0x70) on opcode 0x1e
    SENSE KEY: Not Ready
     ASC/ASCQ: Medium Not Present
dkcsum: wd0 matches BIOS drive 0x80 (15A871ED)
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
auich0: measured ac97 link rate at 32117 Hz, will use 48000 Hz

More info:

machdep.bios.diskinfo.0=bootdev = 0xa0000202, cylinders = 80, heads = 2, sectors = 18

This is a little weird, the floppy isn't set up even.

machdep.bios.diskinfo.128=bootdev = 0xa0000200, cylinders = 520, heads = 128, sectors = 63
machdep.bios.diskinfo.129=bootdev = 0xa0000200, cylinders = 1024, heads = 256, sectors = 0
machdep.bios.diskinfo.130=bootdev = 0xa0000200, cylinders = 1024, heads = 256, sectors = 0
machdep.bios.diskinfo.131=bootdev = 0xa0000200, cylinders = 1024, heads = 256, sectors = 0
machdep.bios.diskinfo.132=bootdev = 0xa0000200, cylinders = 1024, heads = 256, sectors = 0
machdep.bios.diskinfo.133=bootdev = 0xa0000200, cylinders = 1024, heads = 256, sectors = 0
machdep.bios.diskinfo.134=bootdev = 0xa0000200, cylinders = 1024, heads = 256, sectors = 0
machdep.bios.diskinfo.135=bootdev = 0xa0000200, cylinders = 1024, heads = 256, sectors = 0

WTF? Hotplug, or what?

machdep.cpuvendor=GenuineIntel
machdep.cpuid=1787
machdep.cpufeature=126614463
machdep.osfxsr=1
machdep.sse=1
machdep.sse2=1
machdep.xcrypt=0
hw.model=Intel(R) Core(TM)2 Duo CPU E6750 @ 2.66GHz ("GenuineIntel" 686-class)

Probably the host CPU passed through.

hw.cpuspeed=330

Who cares, it can play MP3s (with OSSv4 on Kunterbunt
Hardon Heroin, which is what we have at work).

I've yet to try XFree86® inside, as well as a non-HVM
installation, but this looks better than ever before.

bye,
//mirabilos
-- 
“It is inappropriate to require that a time represented as
 seconds since the Epoch precisely represent the number of
 seconds between the referenced time and the Epoch.”
	-- IEEE Std 1003.1b-1993 (POSIX) Section B.2.2.2


More information about the Midnightbsd-users mailing list