Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[Bug 211548] [mps] Activating X2Apic Mode in BIOS results in "io_cmds_active is out of sync errors", won't boot

7 views
Skip to first unread message

bugzilla...@freebsd.org

unread,
Aug 3, 2016, 9:43:52 AM8/3/16
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211548

Bug ID: 211548
Summary: [mps] Activating X2Apic Mode in BIOS results in
"io_cmds_active is out of sync errors", won't boot
Product: Base System
Version: 11.0-BETA3
Hardware: amd64
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: kern
Assignee: freebs...@FreeBSD.org
Reporter: b...@FreeBSD.org
CC: freebs...@FreeBSD.org
CC: freebs...@FreeBSD.org

I'm installing FreeBSD (tried both 11-CURRENT, BETA-3) on a Dell C6320. When I
activate X2Apic Mode in the processor settings in the BIOS and boot FreeBSD, I
get the following error:
http://people.freebsd.org/~bcr/mps0_error.jpg

Deactivating the X2Apic option in the BIOS lets FreeBSD boot normally and the
mps0 controller can use the attached disks normally. I have several (12 in
total) systems like these, all exhibit the same behaviour.

I can provide more information on firmware versions and other details upon
request.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebs...@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs...@freebsd.org"

bugzilla...@freebsd.org

unread,
Aug 3, 2016, 2:35:36 PM8/3/16
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211548

Konstantin Belousov <k...@FreeBSD.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |k...@FreeBSD.org

--- Comment #1 from Konstantin Belousov <k...@FreeBSD.org> ---
(In reply to Benedict Reuschling from comment #0)
What exactly the statement 'won't boot' mean ? Does the machine enters
infinite
loop with the messages ?

I would like to see the verbose dmesg with the x2APIC option turned off and on
(can you capture using serial console ?).

Can you compile and boot kernel without mps(4) ? You probably would be not
able to mount local root, but I need messages and not the operational system.

I do not think IPIs are ever used at the device probe stage, so it might be
some pecularity in the BIOS resources allocation triggered by the option.

bugzilla...@freebsd.org

unread,
Aug 4, 2016, 3:30:46 AM8/4/16
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211548

--- Comment #2 from Benedict Reuschling <b...@FreeBSD.org> ---
Created attachment 173268
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=173268&action=edit
Verbose dmesg with x2apic disabled

bugzilla...@freebsd.org

unread,
Aug 4, 2016, 3:32:37 AM8/4/16
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211548

--- Comment #3 from Benedict Reuschling <b...@FreeBSD.org> ---
Created attachment 173269
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=173269&action=edit
Kernel with nodevice mps and x2apic disabled

bugzilla...@freebsd.org

unread,
Aug 4, 2016, 3:33:45 AM8/4/16
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211548

--- Comment #4 from Benedict Reuschling <b...@FreeBSD.org> ---
Created attachment 173270
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=173270&action=edit
Kernel with nodevice mps and x2apic enabled

bugzilla...@freebsd.org

unread,
Aug 4, 2016, 3:37:49 AM8/4/16
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211548

--- Comment #5 from Benedict Reuschling <b...@FreeBSD.org> ---
Created attachment 173271
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=173271&action=edit
Verbose booting with x2apic enabled

The usbd probes eventually time out after trying usbus0, usbus1, and usbus2 for
a while. Then the boot process stops entirely.

bugzilla...@freebsd.org

unread,
Aug 4, 2016, 3:41:05 AM8/4/16
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211548

--- Comment #6 from Benedict Reuschling <b...@FreeBSD.org> ---
I've attached the outputs and dmesg I was able to capture. Yes, "won't boot"
means the machine enters an infinite loop at that point.

The kernel config file I used without the mps device has these contents:

include GENERIC
nodevice mps

bugzilla...@freebsd.org

unread,
Aug 4, 2016, 4:46:45 AM8/4/16
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211548

--- Comment #7 from Konstantin Belousov <k...@FreeBSD.org> ---
(In reply to Benedict Reuschling from comment #6)
The data is not useful, obviously.

I want to see complete verbose dmesg from the boot with BIOS option x2APIC
enabled. You may either configure serial console or perhaps try NFS boot.

bugzilla...@freebsd.org

unread,
Aug 4, 2016, 8:11:58 AM8/4/16
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211548

--- Comment #8 from Benedict Reuschling <b...@FreeBSD.org> ---
OK, I've made a screen recording of the verbose boot process with x2apic
enabled and placed it in my home on freefall, filename:
mps_verbose_x2apic_enabled.mov .
Booting from NFS is not possible in the network where this server is located.
0 new messages