Freeze during boot process on Intel S1200RP Board
Vladislav Prodan
universite at ukr.net
Sat Sep 3 21:37:20 UTC 2016
--- Original message ---
From: "Konstantin Belousov" <kostikbel at gmail.com>
Date: 3 September 2016, 23:35:17
> On Sat, Sep 03, 2016 at 11:08:41PM +0300, Vladislav Prodan wrote:
> >
> >
> >
> > --- Original message ---
> > From: "Konstantin Belousov" <kostikbel at gmail.com>
> > Date: 3 September 2016, 22:10:13
> >
> >
> >
> > > On Sat, Sep 03, 2016 at 09:46:30PM +0300, Vladislav Prodan wrote:
> > > >
> > > > I encountered a similar problem on Intel S1200RP motherboard.
> > > >
> > > > Attached is the output dmesg:
> > > > 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.
>
> >
> > There is a screenshot at the time of freezing:
> > 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.
>On Sun, Aug 30, 2015 at 09:17:06AM +0300, Vladimir Laskov wrote:
>> 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
>> http://oi62.tinypic.com/33d8jz5.jpg
>>
>> please help me
>>
>> P.S. - if i reset system and boot linux, freebsd start without freeze
Perhaps, ACPI motherboard has short-term memory :)
>
> 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.
> 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
More information about the freebsd-hackers
mailing list