Re: extremely slow to get to loader

From: Boris Samorodov <bsam_at_passap.ru>
Date: Wed, 27 Apr 2016 17:35:45 +0300
27.04.16 16:30, Allan Jude пишет:
> On April 27, 2016 2:50:13 PM GMT+02:00, Boris Samorodov <bsam_at_passap.ru> wrote:
>> 24.04.16 20:46, Larry Rosenman пишет:
>>> On 2016-04-21 20:56, Johannes Dieterich wrote:
>>>> On Thu, Apr 21, 2016 at 12:16 PM, Allan Jude <allanjude_at_freebsd.org>
>>>> wrote:
>>>>> On 2016-04-21 10:46, Johannes Dieterich wrote:
>>>>>> Dear all,
>>>>>>
>>>>>> with r298385, I observe extremely long times from turning on my
>> laptop
>>>>>> to reach loader. This is a regression compared to a roughly 1 week
>> old
>>>>>> CURRENT.
>>>>>>
>>>>>> This is an AMD A12-8800B laptop booting in legacy mode into a
>>>>>> ZFS+GELI setup.
>>>>>>
>>>>>> Please let me know how I can help to solve this issue.
>>>>>>
>>>>>> Thanks,
>>>>>>
>>>>>> Johannes
>>>>>> _______________________________________________
>>>>>> freebsd-current_at_freebsd.org mailing list
>>>>>> https://lists.freebsd.org/mailman/listinfo/freebsd-current
>>>>>> To unsubscribe, send any mail to
>>>>>> "freebsd-current-unsubscribe_at_freebsd.org"
>>>>>>
>>>>>
>>>>> Can you describe where exactly it is slow?
>>>> Yes, it hangs after "BIOS drive C: is disk 0" for a good 3 minutes
>>>> before it eventually continues.
>>>>
>>>>> Once you get to the loader menu (the beastie menu), can you choose
>> the
>>>>> option to go to the loader prompt, and type:
>>>>> bcachestat
>>>>>
>>>>> And provide the output of that.
>>>> Here we go (w/o mistakes I hope...):
>>>> cache blocks: 32768
>>>> cache blocksz: 572
>>>> unit cache blocks: 32768
>>>> cached units: 1
>>>> 1162 ops 0 bypasses 12109 hits 739 misses
>>>>
>>>> Thanks so much for the response!
>>>>
>>>> Johannes
>>> I'm seeing similar, PLUS the kernel seems(!) to not continue on to
>> the
>>> RC scripts
>>> after mount root.
>>>
>>> (BIOS BOOT).
>>>
>>> I reverted to an older kernel and boot block and zfsloader to get up.
>>>
>>>
>> Seems, I'm at the same boat. The system is a remote Supermicro server:
>> --- ping after reboot ---
>> % ping -i 60 srv
>> PING srv (X.X.X.X): 56 data bytes
>> 64 bytes from X.X.X.X: icmp_seq=0 ttl=59 time=2.526 ms
>> 64 bytes from X.X.X.X: icmp_seq=14 ttl=59 time=2.735 ms
>> --- dmesg messages ---
>> [...]
>> Apr 27 14:59:34 srv shutdown: reboot by bsam:
>> Apr 27 14:59:35 srv kernel: .
>> Apr 27 14:59:56 srv syslogd: exiting on signal 15
>> Apr 27 15:12:33 srv syslogd: kernel boot file is /boot/kernel/kernel
>> Apr 27 15:12:33 srv kernel: Copyright (c) 1992-2016 The FreeBSD
>> Project.
>> Apr 27 15:12:33 srv kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988,
>> 1989, 1991, 1992, 1993, 1994
>> Apr 27 15:12:33 srv kernel: The Regents of the University of
>> California.
>> All rights reserved.
>> Apr 27 15:12:33 srv kernel: FreeBSD is a registered trademark of The
>> FreeBSD Foundation.
>> Apr 27 15:12:33 srv kernel: FreeBSD 11.0-CURRENT #41 r298696: Wed Apr
>> 27
>> 14:50:53 MSK 2016
>> [...]
>> ------
>>
>> This is a zfs-root system with geli-enabled swap partitions.
>> Other than boot the system seem to be fine.
> 
> Please try https://reviews.freebsd.org/D6109 and see if it fixes the problem.

Yep, fixed. Thank you!

-- 
WBR, Boris Samorodov (bsam)
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
Received on Wed Apr 27 2016 - 12:36:01 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:04 UTC