From owner-freebsd-current@FreeBSD.ORG Tue Oct 25 20:17:56 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 041B21065670 for ; Tue, 25 Oct 2011 20:17:56 +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 BB7DF8FC18 for ; Tue, 25 Oct 2011 20:17:55 +0000 (UTC) X-BNL-policy-q: X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApMBAIkYp06Cx8Kg/2dsb2JhbAAMN6wQAQEBBAECLwEFKBQEARALGAkNAQgPCQMCAQIBFiEBDQYNAQUCAQGIBLRehUIBgxMEkW+UFQ X-IronPort-AV: E=Sophos;i="4.69,405,1315195200"; d="scan'208";a="149297517" 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 16:17:54 -0400 Message-ID: <4EA71997.3040508@bnl.gov> Date: Tue, 25 Oct 2011 16:18:31 -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: =?ISO-8859-1?Q?Vin=EDcius_Zavam?= References: <4EA63A1B.9040407@bnl.gov> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-current Subject: Re: 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 20:17:56 -0000 On 10/25/2011 08:15 AM, Vinícius Zavam wrote: > 2011/10/25 J. Kuczewski: >> 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 > i've got something like this. check it out: > http://lists.freebsd.org/pipermail/freebsd-stable/2010-January/054551.html > > i remembered this issue when reading your e-mail this morning. > unfortunately i couldn't fix the issue. > just saw the answer from Paulo[1] today (LOL).. but you, John, are > using "the same" entry with grub2.. so.... sadness ;-( > > nowadays i'm using 10.0current with my asus 1005pe (eeepc) and > everything runs like a charm. i still have the same pavilion; maybe > one day it will run freebsd again (even if it needs 30min to boot)<3 > > [1] http://lists.freebsd.org/pipermail/freebsd-stable/2010-March/055733.html > > Thanks for the links. I have a spare disk that I'll make just for FreeBSD, just to see if this is a partitioning problem with the BTX loader, or something BIOS related. Just to note, it doesn't matter if I use GRUB2 or FreeBSD's boot manager, both were tested. Thanks for the idea. Cheers, -John Kuczewski