From owner-freebsd-current@freebsd.org Wed Apr 27 12:50:20 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 2F8CFB1E165; Wed, 27 Apr 2016 12:50:20 +0000 (UTC) (envelope-from bsam@passap.ru) Received: from forward17j.cmail.yandex.net (forward17j.cmail.yandex.net [IPv6:2a02:6b8:0:1630::f4]) (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 A63291D16; Wed, 27 Apr 2016 12:50:19 +0000 (UTC) (envelope-from bsam@passap.ru) Received: from smtp14.mail.yandex.net (smtp14.mail.yandex.net [IPv6:2a02:6b8:0:801:1::13]) by forward17j.cmail.yandex.net (Yandex) with ESMTP id 036D1215DE; Wed, 27 Apr 2016 15:50:17 +0300 (MSK) Received: from smtp14.mail.yandex.net (localhost [127.0.0.1]) by smtp14.mail.yandex.net (Yandex) with ESMTP id F2B441B60F5E; Wed, 27 Apr 2016 15:50:14 +0300 (MSK) Received: by smtp14.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id ZlOmJZ4IFT-oENK4tls; Wed, 27 Apr 2016 15:50:14 +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: Larry Rosenman , Johannes Dieterich References: <5718FCD6.8020605@freebsd.org> <1d14fe66a00ef49e90defdf97cf89287@thebighonker.lerctr.org> Cc: Allan Jude , freebsd-current , owner-freebsd-current@freebsd.org From: Boris Samorodov Message-ID: Date: Wed, 27 Apr 2016 15:50:13 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.0 MIME-Version: 1.0 In-Reply-To: <1d14fe66a00ef49e90defdf97cf89287@thebighonker.lerctr.org> 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 12:50:20 -0000 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. -- WBR, Boris Samorodov (bsam) FreeBSD Committer, http://www.FreeBSD.org The Power To Serve