From owner-freebsd-current@FreeBSD.ORG Thu Dec 23 22:10:43 2004 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 4EB7116A4CE; Thu, 23 Dec 2004 22:10:43 +0000 (GMT) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7E64A43D45; Thu, 23 Dec 2004 22:10:42 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from localhost (rocky.ip.net.ua [82.193.96.2]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id iBNMAfZb066358; Fri, 24 Dec 2004 00:10:41 +0200 (EET) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua ([82.193.96.10]) by localhost (rocky.ipnet [82.193.96.2]) (amavisd-new, port 10024) with LMTP id 07669-17; Fri, 24 Dec 2004 00:10:40 +0200 (EET) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id iBNMAelP066355 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 24 Dec 2004 00:10:40 +0200 (EET) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.1/8.13.1) id iBNMAlWF018398; Fri, 24 Dec 2004 00:10:47 +0200 (EET) (envelope-from ru) Date: Fri, 24 Dec 2004 00:10:47 +0200 From: Ruslan Ermilov To: Soren Schmidt Message-ID: <20041223221047.GB6049@ip.net.ua> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="mojUlQ0s9EVzWg2t" Content-Disposition: inline User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new at ip.net.ua cc: current@FreeBSD.org Subject: ATA regression 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: Thu, 23 Dec 2004 22:10:43 -0000 --mojUlQ0s9EVzWg2t Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Soren, Finally, I had time today to track it down to a single commit. So, the following change breaks my Promise SATA150 controller: : sos 2004-12-08 10:02:41 UTC :=20 : FreeBSD src repository :=20 : Modified files: : sys/dev/ata ata-chipset.c ata-pci.h=20 : Log: : Add first shot on support for the new Promise SATAII chips. : =20 : HW donated by: pil.dk : =20 : Revision Changes Path : 1.93 +109 -49 src/sys/dev/ata/ata-chipset.c : 1.36 +10 -2 src/sys/dev/ata/ata-pci.h Here's the difference in "ata" output before and after this commit: --- ata.ok Thu Dec 23 23:52:37 2004 +++ ata.bad Fri Dec 24 00:01:53 2004 @@ -1,12 +1,14 @@ atapci0: port 0xffa0-0xffaf,0x376,0x17= 0-0x177,0x3f6,0x1f0-0x1f7 at device 8.0 on pci0 ata0: channel #0 on atapci0 ata1: channel #1 on atapci0 atapci1: port 0xd000-0xd07f,0xd400-0= xd40f,0xd800-0xd83f mem 0xfc960000-0xfc97ffff,0xfc99f000-0xfc99ffff irq 5 a= t device 8.0 on pci1 atapci1: failed: rid 0x20 is memory, requested 4 ata2: channel #0 on atapci1 ata3: channel #1 on atapci1 ata4: channel #2 on atapci1 ad0: 76319MB [155061/16/63] at ata0-master UDMA100 ata1-slave: DMA limited to UDMA33, non-ATA66 cable or device acd0: CDRW at ata1-slave UDMA33 -ad8: 76319MB [155061/16/63] at ata4-master UDMA100 +ata4-master: FAILURE - ATA_IDENTIFY timed out +ata4-master: FAILURE - ATA_IDENTIFY timed out +ata4-master: FAILURE - ATA_IDENTIFY timed out As others have pointed out already, the next commit : sos 2004-12-08 11:16:33 UTC :=20 : FreeBSD src repository :=20 : Modified files: : sys/dev/ata ata-queue.c=20 : Log: : Reset timeout when we are back from interrupt. : =20 : Revision Changes Path : 1.41 +3 -0 src/sys/dev/ata/ata-queue.c made things even worse (the system now panics). Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --mojUlQ0s9EVzWg2t Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBy0JnqRfpzJluFF4RAkjlAJsEnb9ahvxx74yCqGeFtUNADuhPSgCfQeS1 81k7+BK8qLO/4MZdw32zRX4= =KR6O -----END PGP SIGNATURE----- --mojUlQ0s9EVzWg2t--