Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Apr 2016 17:35:45 +0300
From:      Boris Samorodov <bsam@passap.ru>
To:        Allan Jude <allanjude@FreeBSD.org>, Larry Rosenman <ler@lerctr.org>, Johannes Dieterich <dieterich.joh@gmail.com>
Cc:        freebsd-current <freebsd-current@freebsd.org>, owner-freebsd-current@freebsd.org
Subject:   Re: extremely slow to get to loader
Message-ID:  <a3d8b790-2b60-3fe2-f886-94e80a6fca3d@passap.ru>
In-Reply-To: <BB1E3A49-C17E-412B-BEEA-93C96EF0F732@FreeBSD.org>
References:  <CABquGzUUDKEC2fahS0nwsJ1L1QGhg6pjFUdanh3woTn6eDCiUg@mail.gmail.com> <5718FCD6.8020605@freebsd.org> <CABquGzXPvpM4OAQhy36-QCZGPEDqYP%2B0%2BqS2occjxcOPF1Vm0g@mail.gmail.com> <1d14fe66a00ef49e90defdf97cf89287@thebighonker.lerctr.org> <eff0a288-7b28-3bac-b2d1-8ebb3b5d9129@passap.ru> <BB1E3A49-C17E-412B-BEEA-93C96EF0F732@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
27.04.16 16:30, Allan Jude пишет:
> On April 27, 2016 2:50:13 PM GMT+02:00, Boris Samorodov <bsam@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@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@freebsd.org mailing list
>>>>>> https://lists.freebsd.org/mailman/listinfo/freebsd-current
>>>>>> To unsubscribe, send any mail to
>>>>>> "freebsd-current-unsubscribe@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a3d8b790-2b60-3fe2-f886-94e80a6fca3d>