Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Oct 2010 20:56:13 -0500
From:      Brandon Gooch <jamesbrandongooch@gmail.com>
To:        David Wolfskill <david@catwhisker.org>, current@freebsd.org
Subject:   Re: Hang near end of kernel probes since r213267 (likely earlier)
Message-ID:  <AANLkTiny8TxsT0jObNqF7Jnkp-wrPBSecp_Y3%2BnKazNg@mail.gmail.com>
In-Reply-To: <20101002013344.GI1535@albert.catwhisker.org>
References:  <20101001212038.GE1535@albert.catwhisker.org> <20101001233001.GG1535@albert.catwhisker.org> <20101002013344.GI1535@albert.catwhisker.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Oct 1, 2010 at 8:33 PM, David Wolfskill <david@catwhisker.org> wrot=
e:
> On Fri, Oct 01, 2010 at 04:30:01PM -0700, David Wolfskill wrote:
>> ...
>> I found the disabling the "Module Bay" appears to avoid the hang --
>> reliably.
>>
>> That appears to be the minimally-invasive change necessary to avoid the
>> hang.
>> ....
>
> Until I realized what was in the Modular Bay: the CD/CVD reader/burner.
>
> So I tried a variation on the theme: =A0I left all the devices enabled,
> but I physically removed the device from the bay before booting -- and
> was unable to get it to fail.
>
> And -- just now -- I disabled the channel (via atacontrol(8)), inserted
> the drive, and enabled the channel:
>
> g1-222# atacontrol list
> ATA channel 0:
> =A0 =A0Master: =A0 =A0 =A0no device present
> =A0 =A0Slave: =A0 =A0 =A0 no device present
> ATA channel 1:
> =A0 =A0Master: =A0 =A0 =A0no device present
> =A0 =A0Slave: =A0 =A0 =A0 no device present
> ATA channel 2:
> =A0 =A0Master: =A0ad4 <ST9250421ASG/DE16> SATA revision 2.x
> =A0 =A0Slave: =A0 =A0 =A0 no device present
> ATA channel 3:
> =A0 =A0Master: =A0 =A0 =A0no device present
> =A0 =A0Slave: =A0 =A0 =A0 no device present
> ATA channel 4:
> =A0 =A0Master: =A0 =A0 =A0no device present
> =A0 =A0Slave: =A0 =A0 =A0 no device present
> ATA channel 5:
> =A0 =A0Master: =A0 =A0 =A0no device present
> =A0 =A0Slave: =A0 =A0 =A0 no device present
> g1-222# atacontrol detach ata3
> g1-222# atacontrol list
> ATA channel 0:
> =A0 =A0Master: =A0 =A0 =A0no device present
> =A0 =A0Slave: =A0 =A0 =A0 no device present
> ATA channel 1:
> =A0 =A0Master: =A0 =A0 =A0no device present
> =A0 =A0Slave: =A0 =A0 =A0 no device present
> ATA channel 2:
> =A0 =A0Master: =A0ad4 <ST9250421ASG/DE16> SATA revision 2.x
> =A0 =A0Slave: =A0 =A0 =A0 no device present
> ATA channel 3:
> =A0 =A0Master: =A0 =A0 =A0no device present
> =A0 =A0Slave: =A0 =A0 =A0 no device present
> ATA channel 4:
> =A0 =A0Master: =A0 =A0 =A0no device present
> =A0 =A0Slave: =A0 =A0 =A0 no device present
> ATA channel 5:
> =A0 =A0Master: =A0 =A0 =A0no device present
> =A0 =A0Slave: =A0 =A0 =A0 no device present
> g1-222# atacontrol attach ata3
> Master: acd0 <TSSTcorp DVD+/-RW TS-U633A/D200> SATA revision 1.x
> Slave: =A0 =A0 =A0 no device present
> g1-222# atacontrol list
> ATA channel 0:
> =A0 =A0Master: =A0 =A0 =A0no device present
> =A0 =A0Slave: =A0 =A0 =A0 no device present
> ATA channel 1:
> =A0 =A0Master: =A0 =A0 =A0no device present
> =A0 =A0Slave: =A0 =A0 =A0 no device present
> ATA channel 2:
> =A0 =A0Master: =A0ad4 <ST9250421ASG/DE16> SATA revision 2.x
> =A0 =A0Slave: =A0 =A0 =A0 no device present
> ATA channel 3:
> =A0 =A0Master: acd0 <TSSTcorp DVD+/-RW TS-U633A/D200> SATA revision 1.x
> =A0 =A0Slave: =A0 =A0 =A0 no device present
> ATA channel 4:
> =A0 =A0Master: =A0 =A0 =A0no device present
> =A0 =A0Slave: =A0 =A0 =A0 no device present
> ATA channel 5:
> =A0 =A0Master: =A0 =A0 =A0no device present
> =A0 =A0Slave: =A0 =A0 =A0 no device present
> g1-222#
>
> This is running:
>
> FreeBSD g1-222.catwhisker.org. 9.0-CURRENT FreeBSD 9.0-CURRENT #1 r213322=
: Fri Oct =A01 10:18:30 PDT 2010 =A0 =A0 root@g1-222.catwhisker.org.:/usr/o=
bj/usr/src/sys/CANARY =A0i386
>
> Any ideas on what mught be causing CURRENT to hang -- sometimes
> -- given that it appears to involve the Modular Bay (or the specific
> device that is in the bay during the hang)?
>

If you haven't already, it may be worth trying 'options ATA_CAM' in
your kernel config.

-Brandon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTiny8TxsT0jObNqF7Jnkp-wrPBSecp_Y3%2BnKazNg>