Discussion:
Freeze during boot process on Intel S1200RP Board
(too old to reply)
Vladislav Prodan
2016-09-03 18:47:03 UTC
Permalink
I encountered a similar problem on Intel S1200RP motherboard.

Attached is the output dmesg:
http://pastebin.com/raw/ut11rb2T

The problem is relevant to FreeBSD 10.3-STABLE (August 2016) and FreeBSD 11.0-PRERELEASE.

As a temporary measure helped:
sysctl kern.eventtimer.timer=HPET

Now, the system reboots normally.

Needless to spread acpidump and a resource?

Or is it to make out in the form of PR?

--
Vladislav V. Prodan
System & Network Administrator
support.od.ua
Vladislav Prodan
2016-09-03 18:50:22 UTC
Permalink
I encountered a similar problem on Intel S1200RP motherboard.

Attached is the output dmesg:
http://pastebin.com/raw/ut11rb2T



--
Vladislav V. Prodan
System & Network Administrator
support.od.ua
Konstantin Belousov
2016-09-03 19:10:19 UTC
Permalink
Post by Vladislav Prodan
I encountered a similar problem on Intel S1200RP motherboard.
http://pastebin.com/raw/ut11rb2T
Is this from a succesful boot ? I.e., userland did started normally.

Please use 11.0 and provide me with the verbose dmesg of both succesful
and hanging boot.

Most likely I will need to get the output from a series of the debugging
patches to see what is going on.
Post by Vladislav Prodan
The problem is relevant to FreeBSD 10.3-STABLE (August 2016) and FreeBSD 11.0-PRERELEASE.
sysctl kern.eventtimer.timer=HPET
Now, the system reboots normally.
Needless to spread acpidump and a resource?
Or is it to make out in the form of PR?
--
Vladislav V. Prodan
System & Network Administrator
support.od.ua
_______________________________________________
https://lists.freebsd.org/mailman/listinfo/freebsd-acpi
Vladislav Prodan
2016-09-03 20:09:06 UTC
Permalink
--- Original message ---
From: "Konstantin Belousov" <***@gmail.com>
Date: 3 September 2016, 22:10:13
Post by Vladislav Prodan
I encountered a similar problem on Intel S1200RP motherboard.
http://pastebin.com/raw/ut11rb2T
Is this from a succesful boot ? I.e., userland did started normally.
Yes.
Please use 11.0 and provide me with the verbose dmesg of both succesful
and hanging boot.
There is no opportunity and time to install FreeBSD 11.0.
C client approved installation FreeBSD 10.3-STABLE.

There is a screenshot at the time of freezing:
Loading Image...
Most likely I will need to get the output from a series of the debugging
patches to see what is going on.
Post by Vladislav Prodan
The problem is relevant to FreeBSD 10.3-STABLE (August 2016) and FreeBSD 11.0-PRERELEASE.
sysctl kern.eventtimer.timer=HPET
Now, the system reboots normally.
Needless to spread acpidump and a resource?
Or is it to make out in the form of PR?
--
Vladislav V. Prodan
System & Network Administrator
support.od.ua
--
Vladislav V. Prodan
System & Network Administrator
support.od.ua
Konstantin Belousov
2016-09-03 20:35:23 UTC
Permalink
Post by Vladislav Prodan
--- Original message ---
Date: 3 September 2016, 22:10:13
Post by Vladislav Prodan
I encountered a similar problem on Intel S1200RP motherboard.
http://pastebin.com/raw/ut11rb2T
Is this from a succesful boot ? I.e., userland did started normally.
Yes.
Please use 11.0 and provide me with the verbose dmesg of both succesful
and hanging boot.
There is no opportunity and time to install FreeBSD 11.0.
C client approved installation FreeBSD 10.3-STABLE.
It will be much less opportunity and much more time required to track it
down with debugging done on 10 and not HEAD or 11.

Also, there were some significant changes in 11/HEAD WRT LAPIC timer,
which might directly affect this machine. Note that you really do not
need to overwrite the 10.3 userspace, I only need 11 or HEAD kernel.
Post by Vladislav Prodan
http://s017.radikal.ru/i412/1609/cf/f24d5d5a61c0.jpg
So now I am confused. The system hangs at boot, according to the
screenshot. Also, you stated that changing eventtimer choice with sysctl
(from LAPIC ?) to HPET helps. Sysctl cannot be issued unless system
booted to at least single-user mode.
What is the exact scenario for the hang ?

Regardless of the answer to the question above, apply the following
debugging patch to the kernel and show the screenshot of the hang.

Index: sys/amd64/amd64/mp_machdep.c
===================================================================
--- sys/amd64/amd64/mp_machdep.c (revision 305361)
+++ sys/amd64/amd64/mp_machdep.c (working copy)
@@ -1007,6 +1007,7 @@ start_ap(int apic_id)
int vector, ms;
int cpus;

+printf("start_ap apic_id %d\n", apic_id);
/* calculate the vector */
vector = (boot_address >> 12) & 0xff;
Vladislav Prodan
2016-09-03 21:37:41 UTC
Permalink
--- Original message ---
From: "Konstantin Belousov" <***@gmail.com>
Date: 3 September 2016, 23:35:17
Post by Konstantin Belousov
Post by Vladislav Prodan
--- Original message ---
Date: 3 September 2016, 22:10:13
Post by Vladislav Prodan
I encountered a similar problem on Intel S1200RP motherboard.
http://pastebin.com/raw/ut11rb2T
Is this from a succesful boot ? I.e., userland did started normally.
Yes.
Please use 11.0 and provide me with the verbose dmesg of both succesful
and hanging boot.
There is no opportunity and time to install FreeBSD 11.0.
C client approved installation FreeBSD 10.3-STABLE.
It will be much less opportunity and much more time required to track it
down with debugging done on 10 and not HEAD or 11.
Also, there were some significant changes in 11/HEAD WRT LAPIC timer,
which might directly affect this machine. Note that you really do not
need to overwrite the 10.3 userspace, I only need 11 or HEAD kernel.
Post by Vladislav Prodan
http://s017.radikal.ru/i412/1609/cf/f24d5d5a61c0.jpg
So now I am confused. The system hangs at boot, according to the
screenshot. Also, you stated that changing eventtimer choice with sysctl
(from LAPIC ?) to HPET helps. Sysctl cannot be issued unless system
booted to at least single-user mode.
Yes you are right.
The system is loaded with LAPIC.
..
Event timer "LAPIC" quality 600
ACPI APIC Table: <INTEL DENLOW>
FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs
FreeBSD/SMP: 1 package(s) x 4 core(s) x 2 SMT threads
cpu0 (BSP): APIC ID: 0
cpu1 (AP): APIC ID: 1
cpu2 (AP): APIC ID: 2
cpu3 (AP): APIC ID: 3
cpu4 (AP): APIC ID: 4
cpu5 (AP): APIC ID: 5
cpu6 (AP): APIC ID: 6
cpu7 (AP): APIC ID: 7
..

But then, through the sysctl overridden in HPET.
Post by Konstantin Belousov
Post by Vladislav Prodan
Hello, All.
I have a problem on Intel S1200RP Board.
boot process is freeze on boot stage
how to repeat?
1. launch system reboot
2. wait to start kernel initialization stage
3. system freeze on kernel initialization stage
screenshot here
Loading Image...
please help me
P.S. - if i reset system and boot linux, freebsd start without freeze
Perhaps, ACPI motherboard has short-term memory :)
Post by Konstantin Belousov
Regardless of the answer to the question above, apply the following
debugging patch to the kernel and show the screenshot of the hang.
I'm not sure I can reproduce freeze.
Post by Konstantin Belousov
Index: sys/amd64/amd64/mp_machdep.c
===================================================================
--- sys/amd64/amd64/mp_machdep.c (revision 305361)
+++ sys/amd64/amd64/mp_machdep.c (working copy)
@@ -1007,6 +1007,7 @@ start_ap(int apic_id)
int vector, ms;
int cpus;
+printf("start_ap apic_id %d\n", apic_id);
/* calculate the vector */
vector = (boot_address >> 12) ΓΏ
--
Vladislav V. Prodan
System & Network Administrator
support.od.ua

Loading...