Re: FAILURE - ATAPI_RESET no interrupt in newer current

From: Antal Rutz <arutz_at_mimoza.pantel.net>
Date: Sun, 25 Jul 2004 15:41:42 +0200
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?

-- 
 
 
--rutz
Received on Sun Jul 25 2004 - 11:41:44 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:03 UTC