Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Jul 2004 15:41:42 +0200
From:      Antal Rutz <arutz@mimoza.pantel.net>
To:        current@freebsd.org
Cc:        sos@freebsd.org
Subject:   Re: FAILURE - ATAPI_RESET no interrupt in newer current
Message-ID:  <20040725134142.GA28739@mimoza.pantel.net>
In-Reply-To: <38a23c3604072109046e63cdd9@mail.gmail.com>
References:  <1090364563.728.3.camel@klamath.syndrom23.de> <38a23c3604072109046e63cdd9@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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