From owner-freebsd-current@FreeBSD.ORG Wed Dec 24 11:34:46 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2EEB016A4CE; Wed, 24 Dec 2003 11:34:46 -0800 (PST) Received: from kanga.honeypot.net (kanga.honeypot.net [208.162.254.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6A50643D58; Wed, 24 Dec 2003 11:34:30 -0800 (PST) (envelope-from kirk@strauser.com) Received: from pooh.strauser.com (pooh.honeypot.net [10.0.5.128]) by kanga.honeypot.net (8.12.10/8.12.10) with ESMTP id hBOJYS34074763; Wed, 24 Dec 2003 13:34:28 -0600 (CST) (envelope-from kirk@strauser.com) To: Robert Watson References: From: Kirk Strauser Date: Wed, 24 Dec 2003 13:34:24 -0600 In-Reply-To: (Robert Watson's message of "Fri, 19 Dec 2003 19:17:00 -0500 (EST)") Message-ID: <87r7yut3gf.fsf@strauser.com> Lines: 31 X-Mailer: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" cc: freebsd-current@freebsd.org Subject: Re: ATA + DMA still giving repeatable freezes X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Wed, 24 Dec 2003 19:34:46 -0000 --=-=-= Content-Transfer-Encoding: quoted-printable At 2003-12-20T00:17:00Z, Robert Watson writes: > FYI, I had this problem on a notebook and foudn that disabling "device > apic" made things clear up. Try it and see if it helps, and if it does, > post as much. I'm busy testing to make sure my observation is right on my > system. I also saw fairly frequent hangs starting or leaving XWindows, > and John Baldwin hypothesized there was an interaction between DRM and the > interrupt code. Robert, I wanted to get in some more testing before reporting back. I cvsup'ed again and built world and kernel. This time, I started with plain GENERIC and made minor changes until I could reproduce the hangs. Basically, commenting out "options WITNESS" and "options WITNESS_SKIPSPIN" was enough to trigger the problem; I'm guessing that these options slow down the system enough that timing issues disappear. After adding this to my /boot/loader.conf.local: hw.ata.ata_dma=3D"0" hint.acpi.0.disabled=3D"1" I no longer get system hangs, although I do get these messages at random intervals during heavy ATA IO: ad0: TIMEOUT - READ_MUL retrying (2 retries left) ata0: resetting devices .. done =2D-=20 Kirk Strauser --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQA/6epE5sRg+Y0CpvERAstlAJ9saDm74bO4V4XDvPuri4oOHBvuHgCglwrU AV4DCGEPTjmeyjwCxLzxbxc= =CBKb -----END PGP SIGNATURE----- --=-=-=--