Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Dec 2022 09:35:41 -1000
From:      "Anubhav/FreeBSD" <anubhav+freebsd@hawaii.edu>
To:        freebsd-questions@freebsd.org
Subject:   After 13.1 install, "panic: AP #1 (PHY #1) failed!" with SuperMicro X10SRL-F motherboard
Message-ID:  <CAPD2KN-KZcpWAAbnq62r7JhPOKv1nOQctbN24EKqp00pjzqWDw@mail.gmail.com>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
(Please email me too when you reply.)

Hi there,

The computer server with ...

SuperMicro X10SRL-F motherboard (LGA 2011-V3, C612 chipset),
Intel Xeon E5-1620 V3 CPU

... was working just fine with FreeBSD 12.x & 13.0. 13.0 was
installed from scratch with ZFS on root.

Two days ago I updated the OS to 13.1-p5 in a new boot environment
("freebsd-update -r 13.1-RELEASE upgrade"; "freebsd-update install";
reboot; "freebsd-update install"). I did so over ssh.

After a day, I could not connect to the computer via ssh. When I checked,
lots of error messages from sshd were *flying* on the console (failed to
take a photo). I could not do anything on the console. (The computer is
connected to video & keyboard via software KVM; there is no physical serial
connection.)

After reboot of 13.1-p5, a "panic" happens all the 3-4 times I tried ...

(transcribed from the photo of the screen after booting in verbose mode)
SMP: Added CPU 1 (AP)
MADT: Found CPU APIC ID 3 ACPI ID 3: enabled
SMP: Added CPU 3 (AP)
MADT: Found CPU APIC ID 5 ACPI ID 5: enabled
SMP: Added CPU 5 (AP)
MADT: Found CPU APIC ID 7 ACPI ID 7: enabled
SMP: Added CPU 7 (AP)
Event timer "LAPIC" quality 600
LAPIC: ipi_wait() us multiplier 64 (r 5400080 tsc 3500095930)
ACPI APIC Table: <SUPERM SMCI--MB>
Package ID shift: 4
L3 cache shift: 4
L2 cache shift: 1
L1 cache shift: 1
Core ID shift: 1
AP boot address: 0x98000
panic: AP #1 (PHY #1) failed!
cpuid = 0
time = 1
KDB: stack backtrace
#0 0xffffffff80c694a5 at kdb_backtrace+0x65
#1 0xffffffff80c1bb5f at vpanic+0x17f
#2 0xffffffff80c1b983 at panic+0x43
#3 0xffffffff81093633 at native_start_all_aps+0x633
#4 0xffffffff81092ce1 at cpu_mp_start+0x1a1
#5 0xffffffff80c7c32a at mp_start+0x9a
#6 0xffffffff80ba970f at mi_startup+0xdf
#7 0xffffffff80385022 at btext+0x22
Uptime: 1s


... What is going on here, or what had happened with 13.1 install
that the machine panics?

Booting with any of 13.0-p1[13] boot environments makes
no difference.

I found other instances of "panic: AP #1 (PHY #1) failed!"
c 2009 ...

  https://fa.freebsd.current.narkive.com/GzTK7nsD/ap-1-failed-panic-y-n

... where the workaround was to disable SMP. I have
not tried this, which is not really a solution.

- Anubhav

[-- Attachment #2 --]
<div dir="ltr"><div class="gmail_default" style="font-family:monospace">
<pre class="gmail-raw_message_text" id="gmail-raw_message_text">(Please email me too when you reply.)

Hi there,

The computer server with ...

SuperMicro X10SRL-F motherboard (LGA 2011-V3, C612 chipset),
Intel Xeon E5-1620 V3 CPU

... was working just fine with FreeBSD 12.x &amp; 13.0. 13.0 was
installed from scratch with ZFS on root.

Two days ago I updated the OS to 13.1-p5 in a new boot environment
(&quot;freebsd-update -r 13.1-RELEASE upgrade&quot;; &quot;freebsd-update install&quot;;
reboot; &quot;freebsd-update install&quot;). I did so over ssh.

After a day, I could not connect to the computer via ssh. When I checked,
lots of error messages from sshd were *flying* on the console (failed to
take a photo). I could not do anything on the console. (The computer is
connected to video &amp; keyboard via software KVM; there is no physical serial<br>connection.)

After reboot of 13.1-p5, a &quot;panic&quot; happens all the 3-4 times I tried ...

(transcribed from the photo of the screen after booting in verbose mode)
SMP: Added CPU 1 (AP)<br>MADT: Found CPU APIC ID 3 ACPI ID 3: enabled
SMP: Added CPU 3 (AP)
MADT: Found CPU APIC ID 5 ACPI ID 5: enabled
SMP: Added CPU 5 (AP)
MADT: Found CPU APIC ID 7 ACPI ID 7: enabled
SMP: Added CPU 7 (AP)
Event timer &quot;LAPIC&quot; quality 600
LAPIC: ipi_wait() us multiplier 64 (r 5400080 tsc 3500095930)
ACPI APIC Table: &lt;SUPERM SMCI--MB&gt;
Package ID shift: 4
L3 cache shift: 4
L2 cache shift: 1
L1 cache shift: 1
Core ID shift: 1
AP boot address: 0x98000
panic: AP #1 (PHY #1) failed!
cpuid = 0
time = 1
KDB: stack backtrace
#0 0xffffffff80c694a5 at kdb_backtrace+0x65
#1 0xffffffff80c1bb5f at vpanic+0x17f
#2 0xffffffff80c1b983 at panic+0x43
#3 0xffffffff81093633 at native_start_all_aps+0x633
#4 0xffffffff81092ce1 at cpu_mp_start+0x1a1
#5 0xffffffff80c7c32a at mp_start+0x9a
#6 0xffffffff80ba970f at mi_startup+0xdf
#7 0xffffffff80385022 at btext+0x22
Uptime: 1s


... What is going on here, or what had happened with 13.1 install
that the machine panics?

Booting with any of 13.0-p1[13] boot environments makes
no difference.

I found other instances of &quot;panic: AP #1 (PHY #1) failed!&quot;
c 2009 ...

  <a href="https://fa.freebsd.current.narkive.com/GzTK7nsD/ap-1-failed-panic-y-n">https://fa.freebsd.current.narkive.com/GzTK7nsD/ap-1-failed-panic-y-n</a>;

... where the workaround was to disable SMP. I have
not tried this, which is not really a solution.
<br>
- Anubhav</pre>

</div><div class="gmail_default" style="font-family:monospace"><br></div></div>

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPD2KN-KZcpWAAbnq62r7JhPOKv1nOQctbN24EKqp00pjzqWDw>