From owner-freebsd-current@freebsd.org Wed Apr 27 13:31:04 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 41C38B1E963; Wed, 27 Apr 2016 13:31:04 +0000 (UTC) (envelope-from allanjude@FreeBSD.org) Received: from mx1.scaleengine.net (mx1.scaleengine.net [209.51.186.6]) by mx1.freebsd.org (Postfix) with ESMTP id 075B61127; Wed, 27 Apr 2016 13:31:03 +0000 (UTC) (envelope-from allanjude@FreeBSD.org) Received: from [10.25.2.205] (unknown [46.189.28.208]) (Authenticated sender: allanjude.freebsd@scaleengine.com) by mx1.scaleengine.net (Postfix) with ESMTPSA id 07AF6DEF8; Wed, 27 Apr 2016 13:30:55 +0000 (UTC) User-Agent: K-9 Mail for Android In-Reply-To: References: <5718FCD6.8020605@freebsd.org> <1d14fe66a00ef49e90defdf97cf89287@thebighonker.lerctr.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Subject: Re: extremely slow to get to loader From: Allan Jude Date: Wed, 27 Apr 2016 15:30:53 +0200 To: Boris Samorodov , Larry Rosenman , Johannes Dieterich CC: freebsd-current , owner-freebsd-current@freebsd.org Message-ID: 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 13:31:04 -0000 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. -- Allan Jude