Subject: Re: pciide problems in 1.5Q on Toshiba Dynabook SS 3380V
To: Manuel Bouyer <bouyer@antioche.lip6.fr>
From: None <dme@dme.org>
List: current-users
Date: 01/20/2001 17:29:27
* bouyer@antioche.lip6.fr [2001-01-20 14:08:01]
> Could you try to revert (using anoncvs) pciide.c to before additition
> of UltraDMA 100 ?

I'm having some difficulty figuring exactly how far back in pciide.c
to go.  If you can indicate a revision number I can take it from
there.

Thanks for the help.

While I'm here, on the basis that my disk may actually be going bad, I
decided to read every block:
        # dd if=/dev/wd0d of=/dev/null
At the end of the run (i.e. after reading each block) I get the stuff
following.  It's fine that attempting to read past the end of the disk
fails, but it seems odd that it triggers the code that reduces the way
that we talk to the disk (i.e. UDMA2->UDMA1->DMA2->PIO4).

wd0d: id not found reading fsbn 23579136 of 23579136-23579139 (wd0 bn 23579136; cn 23392 tn 0 sn 0), retrying
wd0d: id not found reading fsbn 23579136 of 23579136-23579139 (wd0 bn 23579136; cn 23392 tn 0 sn 0), retrying
wd0d: id not found reading fsbn 23579136 of 23579136-23579139 (wd0 bn 23579136; cn 23392 tn 0 sn 0), retrying
wd0: transfer error, downgrading to Ultra-DMA mode 1
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 1 (using DMA data transfers)
wd0d: id not found reading fsbn 23579136 of 23579136-23579139 (wd0 bn 23579136; cn 23392 tn 0 sn 0), retrying
wd0d: id not found reading fsbn 23579136 of 23579136-23579139 (wd0 bn 23579136; cn 23392 tn 0 sn 0), retrying
wd0d: id not found reading fsbn 23579136 of 23579136-23579139 (wd0 bn 23579136; cn 23392 tn 0 sn 0)
wd0: transfer error, downgrading to DMA mode 2
wd0(pciide0:0:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)
wd0d: id not found reading fsbn 23579136 of 23579136-23579139 (wd0 bn 23579136; cn 23392 tn 0 sn 0), retrying
wd0: transfer error, downgrading to PIO mode 4
wd0(pciide0:0:0): using PIO mode 4
wd0d: id not found reading fsbn 23579136 of 23579136-23579139 (wd0 bn 23579136; cn 23392 tn 0 sn 0), retrying
wd0d: id not found reading fsbn 23579136 of 23579136-23579139 (wd0 bn 23579136; cn 23392 tn 0 sn 0), retrying
wd0d: id not found reading fsbn 23579136 of 23579136-23579139 (wd0 bn 23579136; cn 23392 tn 0 sn 0), retrying
wd0d: id not found reading fsbn 23579136 of 23579136-23579139 (wd0 bn 23579136; cn 23392 tn 0 sn 0), retrying
wd0d: id not found reading fsbn 23579136 of 23579136-23579139 (wd0 bn 23579136; cn 23392 tn 0 sn 0)
wd0d: id not found reading fsbn 23579140 of 23579140-23579143 (wd0 bn 23579140; cn 23392 tn 0 sn 4), retrying
wd0d: id not found reading fsbn 23579140 of 23579140-23579143 (wd0 bn 23579140; cn 23392 tn 0 sn 4), retrying
wd0d: id not found reading fsbn 23579140 of 23579140-23579143 (wd0 bn 23579140; cn 23392 tn 0 sn 4), retrying
wd0d: id not found reading fsbn 23579140 of 23579140-23579143 (wd0 bn 23579140; cn 23392 tn 0 sn 4), retrying
wd0d: id not found reading fsbn 23579140 of 23579140-23579143 (wd0 bn 23579140; cn 23392 tn 0 sn 4), retrying
wd0d: id not found reading fsbn 23579140 of 23579140-23579143 (wd0 bn 23579140; cn 23392 tn 0 sn 4)

dme.