Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: VirtualBox and Current

On Wed, Oct 14, 2009 at 02:20:45PM +0200, Marcin M. Jessa wrote:
> Kurt Schreiner skrev:
>> Hi,
>> On Wed, Oct 14, 2009 at 12:23:36PM +0200, Marcin M. Jessa wrote:
>>> I've 5.0 RC4 running fine in VirtualBox 3.0.8 on Linux.
>>> It's working fine with both diasabled and enabled ACPI support.
>>> I tried 5.0, 5.0.1 and current and all of them get kernel panic (with 
>>> or  without ACPI).
>>> What's has changed and how to unbreak it?
>> Hm, here -current is working well as a guest on VirtualBox 3.0.{5,6,8}
>> hosted on (Open)Solaris. (3.0.5 is a special version of VBox for use
>> with SUN VDI). I started using a 5.0 release CD as the iso build form
>> -current didn't like to boot and upgraded to -current. The Operton 2222
>> system is quite slow (maybe there are some BIOS-switches to change this,
>> but haven't investigated yet), but on a new Xeon W3540 "PC" NetBSD on
>> VirtualBox is nearly as fast as running native on an AMD Phenom X4 9650.
>> I can provide more data (HW/SW/VM/NetBSD configuration, results of "time
>> ... distribution" etc.) if needed.
> How current is your CURRENT ?
Really current: ;-)
cvs update did run at Oct 14 19:43 MEST, here're the first lines of dmesg:

Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 5.99.20 (VNB99) #8: Wed Oct 14 19:48:11 CEST 2009
total memory = 2047 MB
avail memory = 1975 MB
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
innotek GmbH VirtualBox (1.2)
mainbus0 (root)
cpu0 at mainbus0 apid 0: Intel 686-class, 2943MHz, id 0x106a5
cpu1 at mainbus0 apid 1: Intel 686-class, 2943MHz, id 0x106a5
cpu2 at mainbus0 apid 2: Intel 686-class, 2943MHz, id 0x106a5
cpu3 at mainbus0 apid 3: Intel 686-class, 2943MHz, id 0x106a5
ioapic0 at mainbus0 apid 4: pa 0xfec00000, version 11, 24 pins
acpi0 at mainbus0: Intel ACPICA 20090730
acpi0: X/RSDT: OemId <VBOX  ,VBOXXSDT,00000001>, AslId <ASL ,00000061>
acpi0: SCI interrupting at int 9
acpi0: fixed-feature power button present
acpi0: fixed-feature sleep button present
timecounter: Timecounter "ACPI-Safe" frequency 3579545 Hz quality 900
ACPI-Safe 32-bit timer
pckbc0 at acpi0 (PS2K, PNP0303) (kbd port): io 0x60,0x64 irq 1
FDC0 (PNP0700) [PC standard floppy disk controller] at acpi0 not configured
pckbc1 at acpi0 (PS2M, PNP0F03) (aux port): io 0x60,0x64 irq 12
lpt0 at acpi0 (LPT, PNP0400): io 0x378-0x37f,0x778-0x77f irq 7
acpiacad0 at acpi0 (AC, ACPI0003-0): ACPI AC Adapter

> Do you use VT-x/AMD-V, SMP and or ACPI ?
Everything you mention, so to say. From the VBox config file:
      <CPU count="4">
        <HardwareVirtEx enabled="true"/>
        <HardwareVirtExNestedPaging enabled="true"/>
      <Memory RAMSize="2048"/>
        <Order position="1" device="DVD"/>
        <Order position="2" device="HardDisk"/>
      <Display VRAMSize="8" monitorCount="1" accelerate3D="false"/>
      <RemoteDisplay enabled="true" port="59916" authType="Null" 
        <ACPI enabled="true"/>
        <IOAPIC enabled="true"/>
        <Logo fadeIn="true" fadeOut="true" displayTime="0"/>
        <BootMenu mode="MessageAndMenu"/>
        <TimeOffset value="0"/>
        <PXEDebug enabled="false"/>
      <DVDDrive passthrough="false"/>
      <FloppyDrive enabled="true"/>
      <USBController enabled="false" enabledEhci="false"/>
        <Adapter slot="0" enabled="true" MACAddress="0800272CD076" cable="true" 
speed="0" type="82540EM">
          <BridgedInterface name="e1000g0 - Intel PRO/1000 Gigabit Ethernet"/>
        <Port slot="0" enabled="false" IOBase="0x3f8" IRQ="4" 
        <Port slot="1" enabled="false" IOBase="0x3f8" IRQ="4" 
        <Port slot="0" enabled="false" IOBase="0x378" IRQ="4"/>
        <Port slot="1" enabled="false" IOBase="0x378" IRQ="4"/>
      <AudioAdapter controller="AC97" driver="Null" enabled="true"/>
      <Clipboard mode="Bidirectional"/>
      <Guest memoryBalloonSize="0" statisticsUpdateInterval="0"/>
        <GuestProperty name="/VirtualBox/HostInfo/GUI/LanguageID" value="C" 
timestamp="1254516325020645000" flags=""/>
      <StorageController name="IDE" type="ICH6" PortCount="2"/>
      <StorageController name="SATA" type="AHCI" PortCount="2" 
IDE0MasterEmulationPort="0" IDE0SlaveEmulationPort="1" 
IDE1MasterEmulationPort="2" IDE1SlaveEmulationPort="3">
        <AttachedDevice type="HardDisk" port="0" device="0">
          <Image uuid="{e260781d-93d2-4c9b-9d4c-165c0be3e75c}"/>
        <AttachedDevice type="HardDisk" port="1" device="0">
          <Image uuid="{2985ff56-e274-453a-9374-a0cfa31a3c5b}"/>

Cpuctl run on the virtualized NetBSD system shows:

>-1003: sudo cpuctl identify 0
cpu0: Intel Core i7 (Nehalem) (686-class), 2943.52 MHz, id 0x106a5
cpu0: features  0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu0: features  0x178bfbff<PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2>
cpu0: features  0x178bfbff<HTT>
cpu0: features2 0x1<SSE3>
cpu0: features3 0x20100800<SYSCALL/SYSRET,XD,EM64T>
cpu0: features4 0x1<LAHF>
cpu0: "Intel(R) Xeon(R) CPU           W3540  @ 2.93GHz"
cpu0: I-cache 32KB 64B/line 4-way, D-cache 32KB 64B/line 8-way
cpu0: L2 cache 256KB 64B/line 8-way
cpu0: ITLB 64 4KB entries 4-way
cpu0: DTLB 64 4KB entries 4-way
cpu0: L3 cache 8MB 64B/line 16-way
cpu0: Initial APIC ID 0
cpu0: Cluster/Package ID 0
cpu0: Core ID 0
cpu0: family 06 model 0a extfamily 00 extmodel 01

>-1004: cpuctl list
Num  HwId Unbound LWPs Interrupts Last change              #Intr
---- ---- ------------ ---------- ------------------------ -----
0    0    online       intr       Wed Oct 14 19:49:09 2009 8
1    1    online       intr       Wed Oct 14 19:49:09 2009 0
2    2    online       intr       Wed Oct 14 19:49:09 2009 0
3    3    online       intr       Wed Oct 14 19:49:09 2009 0

I only use the system via ssh or rdesktop connecting to VirtualBox (to
get to the console), no X11 in the game...


Home | Main Index | Thread Index | Old Index