From owner-freebsd-questions@FreeBSD.ORG Tue Feb 15 06:45:59 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A0E8E106564A for ; Tue, 15 Feb 2011 06:45:59 +0000 (UTC) (envelope-from xnooby@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 2BFAD8FC1B for ; Tue, 15 Feb 2011 06:45:58 +0000 (UTC) Received: by bwz12 with SMTP id 12so135866bwz.13 for ; Mon, 14 Feb 2011 22:45:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=Ylcojq/Pu57FWLDzPvuzfgcTihYbwDppwQinTxj3+VY=; b=ovCgQoF8+JE9xAbrph6wiSX3xiRwrjdVz6/4rU2g+CYRITizY85VUeGvnbj2TpZw/u qd+fnDIdHObwOGxIIb5SxsR6c3xP+lPlYPJZRDKhwDiUEOXETpqw/PHfoLIZf/EM4zDc jVXSSRAsaB1/WYrherEuZNghmaG3TG46Zq3XI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=tWHxFOJqbcSrFsDpO4Il50E/b4OFrT95FtPR0cIQK/DS1W/6dr70R6Y9/1JFoaXGe2 AU1oQCBMVaPD724xNKqv3TRxW2ZJkJTX24L1I442JBgy18rc4b8tfYLn8h30RrVT78eu EzSLq5r8B0z8T7PWu7zRNHIv3WixR03SZ9iKM= MIME-Version: 1.0 Received: by 10.204.101.133 with SMTP id c5mr21490006bko.124.1297752355952; Mon, 14 Feb 2011 22:45:55 -0800 (PST) Received: by 10.204.73.213 with HTTP; Mon, 14 Feb 2011 22:45:55 -0800 (PST) In-Reply-To: <20110215040158.GA53728@freebsd.org> References: <20110215040158.GA53728@freebsd.org> Date: Tue, 15 Feb 2011 01:45:55 -0500 Message-ID: From: Xn Nooby To: Alexander Best Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: delay in boot: ata2: on atapci0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Feb 2011 06:45:59 -0000 Hi Alex, I will double-check my BIOS, I thought I had unused ports disabled, but I might have missed some (it's a complex motherboard!). I probably wont recompile my kernel, because I think that would prohibit me from using the freebsd-update program. I can always just wait, it was a bigger problem when I had 6 drives in it. It almost seems to be pausing when it finds a drive, I have a CDROM and one HD in it now. On Mon, Feb 14, 2011 at 11:01 PM, Alexander Best wrot= e: > On Mon Feb 14 11, Xn Nooby wrote: >> I get about a 30 second delay during boot for each hard-drive >> connected to my PC. =A0I'm running FreeBSD 8.1 AMD64 on an ASUS >> Sabertooth X58 motherboard. >> >> atapci0: [ITHREAD] >> ata2: on atapci0 >> ata2: [ITHREAD] >> ata3: on atapci0 >> >> Is there something I can define or disable to make these timeouts go fas= ter? >> >> These lines get the delay: >> >> ata2: on atapci0 >> ata3: on atapci0 > > A) > you can rebuild your kernel with > > options =A0 =A0 =A0 =A0ATA_REQUEST_TIMEOUT=3D3 > > to reduce the timeout to 3 seconds. that should be enough for new > hdds/controllers. > > > B) > or you could try switching from ATA(4) to CAM(4) via the ATA_CAM kernel o= ption > (see ATA(4) for an explanation). since you're running pretty new hardware= and > a recent fbsd version you would defenately benefit from switching to CAM(= 4). it > has much better ahci support e.g. > > simply add > > options ATA_CAM > > to your kernel conf and your good to go after building installing the new > kernel. > > also the probelm might be in your BIOS. be sure to deactivate all ATA cha= nnels > which don't have a device connected to them. otherwise fbsd will look for= one > until the timeout gets hit (both in ATA(4) and CAM(4)). in fact you might= want > to check the bios before trying any of the steps A) or B), because this v= ery > likely seems to be the problem in your case. > > cheers. > alex > > -- > a13x >