VirtualBox

Ticket #10077 (closed defect: worksforme)

Opened 2 years ago

Last modified 17 months ago

APIC Bug?

Reported by: DasFox Owned by:
Priority: major Component: other
Version: VirtualBox 4.1.10 Keywords: Dmesg - APIC
Cc: Guest type: Linux
Host type: Linux

Description (last modified by frank) (diff)

I'm running Slackware 13.37 as a Guest in VB 4.1.4 and I noticed in /var/log/dmesg this:

weird, boot CPU (#0) not listed by the BIOS.
SMP motherboard not detected.
Enabling APIC mode:  Flat.  Using 0 I/O APICs
------------[ cut here ]------------
WARNING: at arch/x86/kernel/apic/apic.c:1299 setup_local_APIC+0x22c/0x2e2()
Hardware name: VirtualBox
Modules linked in:
Pid: 1, comm: swapper Not tainted 3.1.5 #1
Call Trace:
 [<c102fb37>] warn_slowpath_common+0x6a/0x7f
 [<c13119c9>] ? setup_local_APIC+0x22c/0x2e2
 [<c102fb60>] warn_slowpath_null+0x14/0x18
 [<c13119c9>] setup_local_APIC+0x22c/0x2e2
 [<c148fb2c>] APIC_init_uniprocessor+0x94/0xe9
 [<c148db9f>] native_smp_prepare_cpus+0x1d1/0x3b8
 [<c148569b>] ? start_kernel+0x2e3/0x2e3
 [<c14856d7>] kernel_init+0x3c/0xfd
 [<c13163fe>] kernel_thread_helper+0x6/0x10
---[ end trace a7919e7f17c0a725 ]---
APIC calibration not consistent with PM-Timer: 145ms instead of 100ms
APIC delta adjusted to PM-Timer: 6289924 (9125077)

So between also this 'weird, boot CPU' and the APIC warning I wanted to know if this is a bug?

I also don't like using the standard kernel in Linux, to make things that are not supported that you have to weed through all the messages to figure out what is going on, so I compile my own kernel.

These are some of the options I compiled in below. Also are there any other options I need to make sure I have support for in the kernel for VirtualBox, specific to it?

<*> Intel PIIX4 and compatible (ATI/AMD/Serverworks/Broadcom/SMSC)
<*>   EHCI HCD (USB 2.0) support
<*>   USB Mass Storage support 
[*] ISA support 

Processor type and features  --->
    [*] Tickless System (Dynamic Ticks)
    [ ] High Resolution Timer Support
    [X] Symmetric multi-processing support (keep this enabled for multiple cores, too!)
        Subarchitecture Type (PC-compatible)  --->
    [ ] Machine Check / overheating reporting
    [X] SMT (Hyperthreading) scheduler support (This too, for i7's)
Power management and ACPI options  --->
    [*] Power Management support
    [ ] Suspend to RAM and standby
    [ ] Hibernation (aka 'suspend to disk')
    [*] ACPI (Advanced Configuration and Power Interface) Support  --->
Device Drivers  --->
    < > ATA/ATAPI/MFM/RLL support
    <*> Serial ATA and Parallel ATA drivers
        <*> AHCI SATA Support
        [*] ATA SFF support
        <*> Intel ESB, ICH, PIIX3, PIIX4 PATA/SATA support
    [*] Network device support  --->
        [*] Ethernet (10 or 100Mbit)  --->
            [*] EISA, VLB, PCI and on board controllers
                <M>   AMD PCnet32 PCI support
        [*] Ethernet (1000 Mbit)  --->
            <M> Intel(R) PRO/1000 Gigabit Ethernet support
        [ ] Ethernet (10000 Mbit)  --->
    Input device support --->
        [*] Mice --->
           <*> PS/2 mouse
    Graphics support --->
        <*> Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)  --->
            < > all options can be empty
    <M> Sound card support --->
        <M> Advanced Linux Sound Architecture --->
            [*] PCI sound Devices --->
                <M> Intel/SiS/nVidia/AMD/ALi AC97 Controller

THANKS

Attachments

dmesg.log Download (887 bytes) - added by DasFox 2 years ago.
dmesg_2.log Download (1.1 KB) - added by DasFox 2 years ago.
base6-console.log Download (13.6 KB) - added by vStone 2 years ago.
console log apic and init_tsc_clocksource errors
base6-console.2.log Download (28.0 KB) - added by vStone 2 years ago.
console log apic with apic=debug
VBox.log Download (47.1 KB) - added by vStone 2 years ago.
VBox log
VBox.2.log Download (47.1 KB) - added by vStone 2 years ago.
VBox.log (vanilla/binary Virtualbox 4.1.10) (also produced errors)
bootstrap-console.log Download (13.5 KB) - added by vStone 2 years ago.
VirtualBox 4.1.14 - console log
VBox.3.log Download (49.1 KB) - added by vStone 2 years ago.
VirtualBox 4.1.14 - vbox log

Change History

Changed 2 years ago by DasFox

comment:1 Changed 2 years ago by DasFox

Sorry for pasting some of the dmesg output, I've attached a log...

THANKS

Changed 2 years ago by DasFox

comment:2 Changed 2 years ago by DasFox

SORRY guys, false alarm, I removed these;

Symmetric multi-processing support SMT (Hyperthreading) scheduler support

Now I'm no longer getting the warning.

I do see other possible issues, so please see attached file; dmesg_2.log

THANKS

comment:3 Changed 2 years ago by DasFox

Hi,

Sorry, don't mean to rush anyone, I just need to get a clean image with everything worked out for my business, so for the dmesg_2.log, the errors in it, I'd appreciate if it someone can tell me as soon as possible how I can correct those?

THANKS, I really appreciate it! :)

comment:4 Changed 2 years ago by DasFox

Hi,

I was able to recompile the kernel and figure out a few things, these are all that are left that I don't know;

  • Fast TSC calibration failed
  • TSC: Unable to calibrate against PIT
  • TSC: using PMTIMER reference calibration
  • Performance Events: Broken PMU hardware detected, using software events only.
  • Enabling APIC mode: Flat. Using 0 I/O APICs
  • APIC calibration not consistent with PM-Timer: 101ms instead of 100ms
  • APIC delta adjusted to PM-Timer: 6296145 (6368174)
  • platform rtc_cmos: registered platform RTC device (no PNP device found)
  • audit: initializing netlink socket (disabled)
  • type=2000 audit(1325101768.517:1): initialized
  • input: Unspecified device as /devices/virtual/input/input4

Again, I'd really appreciate some help here, I don't know if these are bugs, or something I can fix...

THANKS

comment:5 Changed 2 years ago by frank

  • Description modified (diff)

Changed 2 years ago by vStone

console log apic and init_tsc_clocksource errors

comment:6 Changed 2 years ago by vStone

I'm also getting this error on CentOS 6.2. Going to attach a console log with apic=debug enabled asap.

Version 0, edited 2 years ago by vStone (next)

Changed 2 years ago by vStone

console log apic with apic=debug

comment:7 Changed 2 years ago by frank

  • Description modified (diff)

First analysis: According to the debug log, that's a 'division by zero' error. 'div %esi => esi is 0'.

Changed 2 years ago by vStone

VBox log

comment:8 Changed 2 years ago by frank

  • Summary changed from Is This A APIC Bug? to APIC Bug?

comment:9 Changed 2 years ago by frank

  • Version changed from VirtualBox 4.1.4 to VirtualBox 4.1.10

Changed 2 years ago by vStone

VBox.log (vanilla/binary Virtualbox 4.1.10) (also produced errors)

Changed 2 years ago by vStone

VirtualBox 4.1.14 - console log

Changed 2 years ago by vStone

VirtualBox 4.1.14 - vbox log

comment:10 Changed 2 years ago by vStone

Still having the same problem on 4.1.14. This is not letting me boot vm's 1/5 times or so.

comment:11 Changed 23 months ago by vStone

This is still valid for 4.1.16. I'm no longer going to add log files until somebody specifly asks for them. There doesnt seem to be any progress here anyhow...

comment:12 Changed 20 months ago by frank

We just observed in #10837 that Gentoo uses its own compiler flags when compiling VirtualBox. In particular it adds -fomit-frame-pointer which makes the code invalid. So please check if the official VirtualBox package from this website (use one of the .run packages) shows the same behavior.

comment:13 Changed 17 months ago by frank

  • Status changed from new to closed
  • Resolution set to worksforme

No response, closing.

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use