Subject: Re: fixes for wdc_obio.c [3]
To: Manuel Bouyer <bouyer@antioche.lip6.fr>
From: =?ISO-8859-1?Q?Hans_H=FCbner?= <hans@Huebner.ORG>
List: port-macppc
Date: 07/29/2001 22:22:33
On Sun, 29 Jul 2001, Manuel Bouyer wrote:

> Testers, please report me the 'conf =' line printed after disks probe, if you
> can catch it; and also which modes are used for the drives (or the
> whole dmesg if you fear to forget something :)

This is what I get on my G3 PowerBook with FireWire (what's the proper
codename for this machine?):

wdc0 at obio0 offset 0x1f000 irq 19: DMA transfer
wd0 at wdc0 channel 0 drive 0: <IBM-DARA-206000>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 5729 MB, 12416 cyl, 15 head, 63 sec, 512 bytes/sect x 11733120 sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4 (Ultra/66)
conf = 0x11823, cyc = 4 (120 ns), act = 3 (70 ns), inact = 1
wd0(wdc0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 4
(Ultra/66) (using DMA data transfers)
wdc1 at mediabay0 offset 0x20000 irq 20
atapibus0 at wdc1 channel 0: 2 targets
cd0 at atapibus0 drive 0: <MATSHITADVD-ROM SR-8174, , C113> type 5 cdrom
removable
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
conf = 0x23, cyc = 4 (120 ns), act = 3 (70 ns), inact = 1
cd0(wdc1:0:0): using PIO mode 4
wdc2 at obio0 offset 0x21000 irq 21: DMA transfer
wdc0:0:0: lost interrupt
        type: ata tc_bcount: 512 tc_skip: 0
wdc0:0:0: intr with DRQ (st=0x58)
wd0: transfer error, downgrading to Ultra-DMA mode 2
ata4 conf = 0x10328ca, cyc = 8 (55 ns), act = 0 (0 ns), inact = 6
wd0(wdc0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 2
(Ultra/33) (using DMA data transfers)
wd0c: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wdc0:0:0: lost interrupt
        type: ata tc_bcount: 512 tc_skip: 0
wdc0:0:0: intr with DRQ (st=0x58)
wd0: transfer error, downgrading to Ultra-DMA mode 1
ata4 conf = 0x14328ca, cyc = 10 (75 ns), act = 0 (0 ns), inact = 6
wd0(wdc0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 1 (using DMA data
transfers)
wd0c: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wdc0:0:0: lost interrupt
        type: ata tc_bcount: 512 tc_skip: 0
wdc0:0:0: intr with DRQ (st=0x58)
wd0: transfer error, downgrading to DMA mode 2
ata4 conf = 0x328ca, cyc = 16 (120 ns), act = 10 (70 ns), inact = 6
wd0(wdc0:0:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)
wd0c: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wd0: soft error (corrected)
root file system type: ffs

-HAns

-- 
                                       finger hans@huebner.org for details