From owner-freebsd-current@FreeBSD.ORG Tue Oct 25 04:53:38 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CCA1E106564A for ; Tue, 25 Oct 2011 04:53:38 +0000 (UTC) (envelope-from jkuczewski@bnl.gov) Received: from smtpgw.bnl.gov (smtpgw.bnl.gov [130.199.3.132]) by mx1.freebsd.org (Postfix) with ESMTP id 939518FC08 for ; Tue, 25 Oct 2011 04:53:38 +0000 (UTC) X-BNL-policy-q: X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApIBAJw4pk6Cx8Kg/2dsb2JhbAAMN6xIKBQEPQ0BCBgDAgECATcBFAwIAQGIBLRehS8BgxMEpgI X-IronPort-AV: E=Sophos;i="4.69,402,1315195200"; d="scan'208";a="149167571" Received: from blc.nsls.bnl.gov (HELO [127.0.0.1]) ([130.199.194.160]) by smtpgw.sec.bnl.local with ESMTP; 25 Oct 2011 00:24:22 -0400 Message-ID: <4EA63A1B.9040407@bnl.gov> Date: Tue, 25 Oct 2011 00:24:59 -0400 From: "J. Kuczewski" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20111001 Thunderbird/7.0.1 MIME-Version: 1.0 To: freebsd-current@freebsd.org, eadler@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Slow load time to /boot/loader (3rd stage loader) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Tue, 25 Oct 2011 04:53:38 -0000 Hi all, I have recently installed 9.0-RC1 on my Thinkpad X201 and have noticed severe (~20 mins) latency to get to the third stage bootloader (/boot/loader). This is system triple booted with Windows 7 and Arch Linux using the GRUB 2 bootmanager. FreeBSD is not on a extended partition, if it matters. I have tested two BIOS disk configurations, one with AHCI and the other with IDE compatibility mode. IDE mode is comparatively faster, but still slower than expected (~3 mins). To see if this was a regression, I installed 8.2, and it has the same exact effect. Booting off of USB stick loads fine (e.g. the installer). The following is my notes with the different BIOS configurations with a link to the verbose dmesgs for each... With AHCI enabled: o dmesg output: http://dl.dropbox.com/u/45307545/dmesg_logs/dmesg_ahci.log o Timeline: ~05 mins - Loading /boot/default/loader.conf appears. ~16 mins - /boot/kernel/kernel displayed. ~20 mins - Welcome to FreeBSD boot prompt. With IDE compatibility enabled: o dmesg output: http://dl.dropbox.com/u/45307545/dmesg_logs/dmesg_ide.log o Timeline: ~02 mins - Loading /boot/default/loader.conf and /boot/kernel/kernel is displayed at once. ~03 mins - Welcome to FreeBSD boot prompt is displayed. After the boot prompt, startup is normal with no slowdowns to the login prompt. --- Current BIOS and ECP versions (output from Linux): --- # dmidecode -s bios-version 6QET52WW (1.22) # dmidecode -t 11 # dmidecode 2.11 SMBIOS 2.6 present. Handle 0x0027, DMI type 11, 5 bytes OEM Strings String 1: IBM ThinkPad Embedded Controller -[6QHT30WW-1.11 ]- --- FreeBSD GRUB2 entry: --- menuentry "FreeBSD 9.0-RC1" { insmod ufs2 set root=(hd0,3) chainloader +1 } Any guidance to determine the slow down of this loading problem would be great. Thank you for your time... Cheers, -John Kuczewski