From owner-freebsd-current@FreeBSD.ORG Sat Oct 2 02:19:21 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6B442106564A for ; Sat, 2 Oct 2010 02:19:21 +0000 (UTC) (envelope-from jamesbrandongooch@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 001918FC20 for ; Sat, 2 Oct 2010 02:19:20 +0000 (UTC) Received: by wyb29 with SMTP id 29so2310243wyb.13 for ; Fri, 01 Oct 2010 19:19:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=+Kmih2FcWAAbYnIcoVChs+MF2uFff5lhDXVKDmqWalQ=; b=QTe5TG2auDNh0IpNMVO488M+NrjXzPdfivSvapLLI92ATeq3FP4TUQLhnlgCvCZGix np9dsuT8kGgkOG7xRbulZsUE3c2LowKmt0BOP5vWq7a0H8oUruZFHZ049zvpnd9OSTGA ZDl6s7QZRHjOjc+iFJeAL3rqZhLgUWDdNYSY8= 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 :content-type:content-transfer-encoding; b=JgsoR3JzG0nJXRsF9QzICKeBJELAFj8yhSyNQgbvoxGk2SkhfyWvlugn9I26uOVG87 8ubKi/l6jNNDaSpbz7KWYhOXLUB9f+anx4ou+UqcZt3/PZXb2mpaJuQ98uiajcFXnyKx pRrpfR1dVZN6Vh08LzfqRIn4Z8eil1+3ajPk4= MIME-Version: 1.0 Received: by 10.216.203.71 with SMTP id e49mr5152142weo.60.1285984573864; Fri, 01 Oct 2010 18:56:13 -0700 (PDT) Received: by 10.216.133.133 with HTTP; Fri, 1 Oct 2010 18:56:13 -0700 (PDT) In-Reply-To: <20101002013344.GI1535@albert.catwhisker.org> References: <20101001212038.GE1535@albert.catwhisker.org> <20101001233001.GG1535@albert.catwhisker.org> <20101002013344.GI1535@albert.catwhisker.org> Date: Fri, 1 Oct 2010 20:56:13 -0500 Message-ID: From: Brandon Gooch To: David Wolfskill , current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Subject: Re: Hang near end of kernel probes since r213267 (likely earlier) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Oct 2010 02:19:21 -0000 On Fri, Oct 1, 2010 at 8:33 PM, David Wolfskill 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 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 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 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 SATA revision 2.x > =A0 =A0Slave: =A0 =A0 =A0 no device present > ATA channel 3: > =A0 =A0Master: acd0 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