Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Feb 2011 01:45:55 -0500
From:      Xn Nooby <xnooby@gmail.com>
To:        Alexander Best <arundel@freebsd.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: delay in boot: ata2: <ATA channel 0> on atapci0
Message-ID:  <AANLkTi=fWHOGFxPa9dFM10ozJ-qqcGXobizDnO6B50Ff@mail.gmail.com>
In-Reply-To: <20110215040158.GA53728@freebsd.org>
References:  <AANLkTi=t%2BU5bEYu%2Br3_xNg9JE3RsZ09jB%2B7mt8%2BgzFqk@mail.gmail.com> <20110215040158.GA53728@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <arundel@freebsd.org> 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: <ATA channel 0> on atapci0
>> ata2: [ITHREAD]
>> ata3: <ATA channel 1> on atapci0
>>
>> Is there something I can define or disable to make these timeouts go fas=
ter?
>>
>> These lines get the delay:
>>
>> ata2: <ATA channel 0> on atapci0
>> ata3: <ATA channel 1> 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
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTi=fWHOGFxPa9dFM10ozJ-qqcGXobizDnO6B50Ff>