From nobody@FreeBSD.org  Mon Feb  7 19:04:46 2011
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 542E6106564A
	for <freebsd-gnats-submit@FreeBSD.org>; Mon,  7 Feb 2011 19:04:46 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 295778FC1D
	for <freebsd-gnats-submit@FreeBSD.org>; Mon,  7 Feb 2011 19:04:46 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p17J4jfv018429
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 7 Feb 2011 19:04:45 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id p17J4j9p018428;
	Mon, 7 Feb 2011 19:04:45 GMT
	(envelope-from nobody)
Message-Id: <201102071904.p17J4j9p018428@red.freebsd.org>
Date: Mon, 7 Feb 2011 19:04:45 GMT
From: Harpal Singh <martin@ljuspunkt.se>
To: freebsd-gnats-submit@FreeBSD.org
Subject: BTX Loader hangs > 1,5 min after listing BIOS drives and before listing memory
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         154578
>Category:       i386
>Synopsis:       [boot] BTX Loader hangs > 1,5 min after listing BIOS drives and before listing memory
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-i386
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 07 19:10:08 UTC 2011
>Closed-Date:    Wed Jan 22 21:26:58 UTC 2014
>Last-Modified:  Wed Jan 22 21:26:58 UTC 2014
>Originator:     Harpal Singh
>Release:        FreeBSD 8.2-RC2 (PCBSD) and FreeBSD 8.2-RC3 (PCBSD)
>Organization:
>Environment:
FreeBSD pcbsd8dot2 8.2-RC3 FreeBSD 8.2-RC3 #6: Mon Jan 31 08:21:06 PST 2011     root@build8x32.pcbsd.org:/usr/obj/usr/local_storage/pcbsd-build82/fbsd-source/8.2/sys/PCBSD  i386
>Description:
Kris Moore (PC-BSD) suggested posting this here when i was asking about this on their forum site. Hardware: DELL Dimension 9150. BTX Loader first shows BIOS drives: 1 cd plus disk C: and D: (although i only have ONE hard disk). Then the process stops. The \|/-character stands still, the hard disk sounds rythmically asif something is reading /writing to it chunkwise. After >1,5 min the memory line showing the 640KB/3xxxx (3GB) -information is shown. Then the process goes on loading the modules. The hard disk is sounding as before whenever a module-line  appears on the screen.  This module loading process seems slow, too. Then comes Beastie and from there everythings works fine.

This is the case when booting from cd installation media and the hard disk.

Weird about this is that when i install FreeBSD from the PC-BSD-DVD everything is loading fast and fine although booting from the installation media has this problem, too. Booting the installed PC-BSD is the problem. 

I remember having had this problem with the BTX loader in the past too which was the reason why i found the system unusable. I read alot about hanging loaders and ahci and other stuff but nothing applied to my system since i cannot find a suitable SATA-mode in the Bios. The problem is all the same or even worse (the loader does not find any hard drive any more when RAID ON is activated).

The whole process of booting takes nearly 3 minutes. 

I just discovered that since i got a DVD in my DVD-drive while booting two boots ago the loader does not show the cd0-entry line any more, whether i boot with a disk in the drive or not!

Hoping this may be useful i will provide all information you ask for.


>How-To-Repeat:
If you have a Dimension 9150 from DELL you should have the same problem, i guess.
>Fix:
No idea.

>Release-Note:
>Audit-Trail:

From: Rob VanHooren <rob_vanhooren@mac.com>
To: bug-followup@FreeBSD.org, martin@ljuspunkt.se
Cc:  
Subject: Re: i386/154578: [boot] BTX Loader hangs &gt; 1,5 min after listing
 BIOS drives and before listing memory
Date: Sat, 15 Oct 2011 07:49:26 -0400

 hi,
 
 Has there been any progress on tshooting this over the last 8 months?
 
 Having similar issues on DIY system (original bug was specific to Dell). Specs: ASUS P6T7, 24GB-ECC, Xeon E5620.
 
 Of note, the 8.2 memstick.img does *not* have this issue with loader delay, but it does show up after a post-install rebuild of freshly csup'd -GENERIC.
 
 OP had ~90sec delay, I'm in the ~10min range for kernel to start loading (from USB stick).
 
 Bizarre.
 
 Thoughts?
 
 TIA.
 
 R.
 
State-Changed-From-To: open->feedback 
State-Changed-By: ae 
State-Changed-When: Wed Aug 22 04:48:30 UTC 2012 
State-Changed-Why:  
Do you still able reproduce this problem? 
Can you try loader(8) or zfsloader(8) from the FreeBSD-10.0? 
It has several changes in how disks and partition tables are handled. 
You can take one here: 
https://pub.allbsd.org/FreeBSD-snapshots/amd64-amd64/10.0-HEAD-20120822-JPSNAP/stage/trees/boot/ 


http://www.freebsd.org/cgi/query-pr.cgi?pr=154578 
State-Changed-From-To: feedback->closed 
State-Changed-By: remko 
State-Changed-When: Wed Jan 22 21:26:57 UTC 2014 
State-Changed-Why:  
Seems that no feedback had been received in several years. Close the PR 
accordingly. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=154578 
>Unformatted:
