From owner-freebsd-current@freebsd.org Wed Apr 27 14:36:01 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6E36CB1DD49; Wed, 27 Apr 2016 14:36:01 +0000 (UTC) (envelope-from bsam@passap.ru) Received: from forward12o.cmail.yandex.net (forward12o.cmail.yandex.net [IPv6:2a02:6b8:0:1a72::1e2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "forwards.mail.yandex.net", Issuer "Yandex CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E321B150F; Wed, 27 Apr 2016 14:36:00 +0000 (UTC) (envelope-from bsam@passap.ru) Received: from smtp3o.mail.yandex.net (smtp3o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::27]) by forward12o.cmail.yandex.net (Yandex) with ESMTP id AF55E2188F; Wed, 27 Apr 2016 17:35:48 +0300 (MSK) Received: from smtp3o.mail.yandex.net (localhost [127.0.0.1]) by smtp3o.mail.yandex.net (Yandex) with ESMTP id 503811E00F9; Wed, 27 Apr 2016 17:35:47 +0300 (MSK) Received: by smtp3o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id ylJtsXfVyC-ZkDSGJsG; Wed, 27 Apr 2016 17:35:46 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) X-Yandex-ForeignMX: US X-Yandex-Suid-Status: 1 0,1 0,1 0,1 0,1 0 Subject: Re: extremely slow to get to loader To: Allan Jude , Larry Rosenman , Johannes Dieterich References: <5718FCD6.8020605@freebsd.org> <1d14fe66a00ef49e90defdf97cf89287@thebighonker.lerctr.org> Cc: freebsd-current , owner-freebsd-current@freebsd.org From: Boris Samorodov Message-ID: Date: Wed, 27 Apr 2016 17:35:45 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Apr 2016 14:36:01 -0000 27.04.16 16:30, Allan Jude пишет: > On April 27, 2016 2:50:13 PM GMT+02:00, Boris Samorodov 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 >>>> 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