Re: Hang near end of kernel probes since r213267 (likely earlier)

From: Brandon Gooch <jamesbrandongooch_at_gmail.com>
Date: Fri, 1 Oct 2010 20:56:13 -0500
On Fri, Oct 1, 2010 at 8:33 PM, David Wolfskill <david_at_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_at_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)?
>

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

-Brandon
Received on Sat Oct 02 2010 - 00:19:21 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:08 UTC