From owner-freebsd-current@FreeBSD.ORG Sun Jul 25 18:01:13 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 EA16E16A4CE; Sun, 25 Jul 2004 18:01:13 +0000 (GMT) Received: from spider.deepcore.dk (cpe.atm2-0-53484.0x50a6c9a6.abnxx9.customer.tele.dk [80.166.201.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4A5A243D39; Sun, 25 Jul 2004 18:01:13 +0000 (GMT) (envelope-from sos@DeepCore.dk) Received: from [192.168.0.132] ([192.168.0.132]) by spider.deepcore.dk (8.12.11/8.12.10) with ESMTP id i6PI154L050040; Sun, 25 Jul 2004 20:01:10 +0200 (CEST) (envelope-from sos@DeepCore.dk) Message-ID: <4103F55F.6000006@DeepCore.dk> Date: Sun, 25 Jul 2004 20:01:03 +0200 From: =?ISO-8859-1?Q?S=F8ren_Schmidt?= User-Agent: Mozilla Thunderbird 0.7.1 (X11/20040711) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Antal Rutz References: <1090364563.728.3.camel@klamath.syndrom23.de> <38a23c3604072109046e63cdd9@mail.gmail.com> <20040725134142.GA28739@mimoza.pantel.net> In-Reply-To: <20040725134142.GA28739@mimoza.pantel.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-mail-scanned: by DeepCore Virus & Spam killer v1.4 cc: current@FreeBSD.ORG cc: sos@FreeBSD.ORG Subject: Re: FAILURE - ATAPI_RESET no interrupt in newer current 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: Sun, 25 Jul 2004 18:01:14 -0000 Antal Rutz wrote: > On Wed, Jul 21, Joseph Peterson wrote: > >>I have the same issue, err well similar.... >>ata1-master: FAILURE - ATAPI_RESET no interrupt >>acd0: CDRW at ata1-master PIO4 >>This is on a Toshiba Satelite A25-S279. > > > I've got a compaq nx9005, the same thing here. but it worked form me a > week ago. > > now it panics in ata_generic_transaction (ata-lowlevel.c). > I have to do 2 things to make it work: > Either: boot without acpi > Or: remove the following code from ata-lowlevel.c (committed on 24th > Juli) > > > /* device reset doesn't interrupt */ > if (request->u.ata.command == ATA_ATAPI_RESET) { > int timeout = 1000000; > do { > DELAY(10); > request->status = ATA_IDX_INB(ch, ATA_STATUS); > } while (request->status & ATA_S_BUSY && timeout--); > if (timeout) > printf("ATAPI_RESET time = %dus\n", (1000000-timeout)*10); > else > printf("ATAPI_RESET timeout\n"); > > if (request->status & ATA_S_ERROR) { > request->error = ATA_IDX_INB(ch, ATA_ERROR); > //request->result = EIO; > } > break; > } > > > How can I help further to analize the problem? Could you get me the output from the boot that fails ? backtrace ? Also a complete dmesg from the working kernel and the output from pciconf -l would be helpfull. Without any of the above I have nothing to go by to help you.. -Søren