From owner-freebsd-current@FreeBSD.ORG Tue Oct 25 12:38: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 2571A106564A for ; Tue, 25 Oct 2011 12:38:38 +0000 (UTC) (envelope-from egypcio@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id E4C9D8FC12 for ; Tue, 25 Oct 2011 12:38:37 +0000 (UTC) Received: by iaky10 with SMTP id y10so771861iak.13 for ; Tue, 25 Oct 2011 05:38:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=hcxdxTVrn/AzgkZtK3RQ7Ztq0MSbfruYOtGQ8H/b6Q8=; b=fMrJlNk8LCLRem7KcBnQ9paLgfEiCHRxXKBEGX6ZPx7iCoEDZeh5AW//w1fFHjfJQ+ dv6CzSF8B2eXZxUZ/Uztk8nIskBSEM0MbNEZT5MibEU0+IBdBNObdMCG2RNvtv4c+7Ir ivNiBnaPSk/PwyxTrlXLsBh5zfFvdBJ59dL/w= MIME-Version: 1.0 Received: by 10.42.147.197 with SMTP id o5mr43981146icv.54.1319544903272; Tue, 25 Oct 2011 05:15:03 -0700 (PDT) Sender: egypcio@gmail.com Received: by 10.50.212.5 with HTTP; Tue, 25 Oct 2011 05:15:03 -0700 (PDT) In-Reply-To: <4EA63A1B.9040407@bnl.gov> References: <4EA63A1B.9040407@bnl.gov> Date: Tue, 25 Oct 2011 09:15:03 -0300 X-Google-Sender-Auth: YKqHqzTSEKDnYCmuCyFP8lBJ_8U Message-ID: From: =?ISO-8859-1?Q?Vin=EDcius_Zavam?= To: "J. Kuczewski" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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 12:38:38 -0000 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 Linu= x > 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 th= e > 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: > =A0 =A0o =A0dmesg output: > http://dl.dropbox.com/u/45307545/dmesg_logs/dmesg_ahci.log > =A0 =A0o =A0Timeline: > =A0 =A0 =A0 =A0~05 mins - Loading /boot/default/loader.conf appears. > =A0 =A0 =A0 =A0~16 mins - /boot/kernel/kernel displayed. > =A0 =A0 =A0 =A0~20 mins - Welcome to FreeBSD boot prompt. > > With IDE compatibility enabled: > =A0 =A0o =A0dmesg output: > http://dl.dropbox.com/u/45307545/dmesg_logs/dmesg_ide.log > =A0 =A0o =A0Timeline: > =A0 =A0 =A0 =A0~02 mins - Loading /boot/default/loader.conf and /boot/ker= nel/kernel > is displayed at once. > =A0 =A0 =A0 =A0~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 > =A0 =A0 =A0 =A0String 1: IBM ThinkPad Embedded Controller -[6QHT30WW-1.11= =A0 =A0]- > > --- > FreeBSD GRUB2 entry: > --- > menuentry "FreeBSD 9.0-RC1" { > =A0 =A0insmod ufs2 > =A0 =A0set root=3D(hd0,3) > =A0 =A0chainloader +1 > } > > Any guidance to determine the slow down of this loading problem would be > great. > > Thank you for your time... > > Cheers, > =A0 =A0-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.htm= l --=20 Vin=EDcius Zavam profiles.google.com/egypcio