Date: Fri, 1 Oct 2010 19:22:33 -0700 From: Garrett Cooper <gcooper@FreeBSD.org> To: David Wolfskill <david@catwhisker.org>, current@freebsd.org Subject: Re: Hang near end of kernel probes since r213267 (likely earlier) Message-ID: <AANLkTim8Fcv-BKRM5VJ=yhgYq8LVLevPieuWBX0V=7zN@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 6:33 PM, David Wolfskill <david@catwhisker.org> wrote:
> 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: I 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:
> Master: no device present
> Slave: no device present
> ATA channel 1:
> Master: no device present
> Slave: no device present
> ATA channel 2:
> Master: ad4 <ST9250421ASG/DE16> SATA revision 2.x
> Slave: no device present
> ATA channel 3:
> Master: no device present
> Slave: no device present
> ATA channel 4:
> Master: no device present
> Slave: no device present
> ATA channel 5:
> Master: no device present
> Slave: no device present
> g1-222# atacontrol detach ata3
> g1-222# atacontrol list
> ATA channel 0:
> Master: no device present
> Slave: no device present
> ATA channel 1:
> Master: no device present
> Slave: no device present
> ATA channel 2:
> Master: ad4 <ST9250421ASG/DE16> SATA revision 2.x
> Slave: no device present
> ATA channel 3:
> Master: no device present
> Slave: no device present
> ATA channel 4:
> Master: no device present
> Slave: no device present
> ATA channel 5:
> Master: no device present
> Slave: no device present
> g1-222# atacontrol attach ata3
> Master: acd0 <TSSTcorp DVD+/-RW TS-U633A/D200> SATA revision 1.x
> Slave: no device present
> g1-222# atacontrol list
> ATA channel 0:
> Master: no device present
> Slave: no device present
> ATA channel 1:
> Master: no device present
> Slave: no device present
> ATA channel 2:
> Master: ad4 <ST9250421ASG/DE16> SATA revision 2.x
> Slave: no device present
> ATA channel 3:
> Master: acd0 <TSSTcorp DVD+/-RW TS-U633A/D200> SATA revision 1.x
> Slave: no device present
> ATA channel 4:
> Master: no device present
> Slave: no device present
> ATA channel 5:
> Master: no device present
> Slave: no device present
> g1-222#
>
> This is running:
>
> FreeBSD g1-222.catwhisker.org. 9.0-CURRENT FreeBSD 9.0-CURRENT #1 r213322: Fri Oct 1 10:18:30 PDT 2010 root@g1-222.catwhisker.org.:/usr/obj/usr/src/sys/CANARY i386
>
> 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)?
Do you have boot -v output?
Thanks,
-Garrett
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTim8Fcv-BKRM5VJ=yhgYq8LVLevPieuWBX0V=7zN>
