Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Jul 2004 20:01:03 +0200
From:      =?ISO-8859-1?Q?S=F8ren_Schmidt?= <sos@DeepCore.dk>
To:        Antal Rutz <arutz@mimoza.pantel.net>
Cc:        sos@FreeBSD.ORG
Subject:   Re: FAILURE - ATAPI_RESET no interrupt in newer current
Message-ID:  <4103F55F.6000006@DeepCore.dk>
In-Reply-To: <20040725134142.GA28739@mimoza.pantel.net>
References:  <1090364563.728.3.camel@klamath.syndrom23.de> <38a23c3604072109046e63cdd9@mail.gmail.com> <20040725134142.GA28739@mimoza.pantel.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <TOSHIBA DVD-ROM SD-R2412> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4103F55F.6000006>