Subject: DMA errors w/Sonnet Tempo Trio on 7300+G3/500
To: None <port-macppc@netbsd.org>
From: Cameron Kaiser <spectre@floodgap.com>
List: port-macppc
Date: 06/14/2003 20:48:54
Just got NetBSD 1.6.1 installed on my "old" Power Mac 7300 (Sonnet G3/500
with 1MB L2, Sonnet Tempo Trio ATA/133, Western Digital WD400JB ATA/100
main drive, 512MB RAM). Install was not exactly smooth, as I have to manually
provide it a boot path, and it forgets its root device on start up (I found
the PR, so I'll apply the fix; I'm not using -current ... yet). I still need
to manually boot it from OpenFirmware since both nvalias and setenv balk
at the long boot string.

There are some strange things during boot only that seem to go away -- first
there is a lot of "noise" when detecting SCSI devices. This may take up to
a minute to settle down during booting. It seems to be of little consequence
... ?

The other issue is more significant; immediately after I specify the root,
dump and fs parameters, it complains about a transfer error and downgrades
to Ultra-DMA 2. What gives? I looked in PR for any similar evidence but
didn't see anything too closely related to this.

Has anyone experienced any similar problems with the Tempo Trio?

The dmesg follows. Thanks for any suggestions. (The new kernel only has
changes in it to enable the L2 cache, and is otherwise the same as the
1.6.1 .iso GENERIC kernel.)

NetBSD 1.6.1 (HELSINKI) #0: Sat Jun 14 20:09:22 PDT 2003
    spectre@helsinki.floodgap.com:/usr/src/sys/arch/macppc/compile/HELSINKI
total memory = 512 MB
avail memory = 464 MB
using 2048 buffers containing 26316 KB of memory
mainbus0 (root)
cpu0 at mainbus0: 750 (Revision 3.0), ID 0 (primary)
cpu0: HID0 8290c0a4<EMCP,ECLK,DOZE,DPM,ICE,DCE,SGE,BTIC,BHT>
cpu0: 500.00 MHz
cpu0: 1MB backside cache
bandit0 at mainbus0
pci0 at bandit0 bus 0
pci0: i/o space, memory space enabled
pchb0 at pci0 dev 11 function 0
pchb0: Apple Computer Bandit Host-PCI Bridge (rev. 0x03)
tlp0 at pci0 dev 13 function 0: DECchip 21041 Ethernet, pass 2.1
tlp0: interrupting at irq 23
tlp0: Ethernet address 00:00:c5:0c:2f:85
tlp0: 10baseT, 10baseT-FDX
ppb0 at pci0 dev 15 function 0: unknown vendor 0x1668 product 0x0100 (rev. 0x11)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
ohci0 at pci1 dev 0 function 0: NEC USB Host Controller (rev. 0x41)
ohci0: interrupting at irq 25
ohci0: OHCI version 1.0
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1 at pci1 dev 0 function 1: NEC USB Host Controller (rev. 0x41)
ohci1: interrupting at irq 25
ohci1: OHCI version 1.0
usb1 at ohci1: USB revision 1.0
uhub1 at usb1
uhub1: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
NEC USB Host Controller (USB serial bus, interface 0x20, revision 0x02) at pci1 dev 0 function 2 not configured
fwohci0 at pci1 dev 1 function 0: Lucent Technologies product 0x5811 (rev. 0x04)
fwohci0: interrupting at irq 25
fwohci0: OHCI 1.0, 00:30:93:01:00:00:01:34, 400Mb/s, 1024 max_rec, 8 iso_ctx
pciide0 at pci1 dev 2 function 0: Promise Ultra133/ATA Bus Master IDE Accelerator (rev. 0x02)
pciide0: bus-master DMA support present
pciide0: primary channel configured to native-PCI mode
pciide0: using irq 25 for native-PCI interrupt
wd0 at pciide0 channel 0 drive 0: <WDC WD400JB-00ENA0>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 38166 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 78165360 sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA data transfers)
pciide0: secondary channel configured to native-PCI mode
obio0 at pci0 dev 16 function 0: addr 0xf3000000
esp0 at obio0 offset 0x10000 irq 12: NCR53C94, 25MHz, SCSI ID 7
scsibus0 at esp0: 8 targets, 8 luns per target
mc0 at obio0 offset 0x11000: irq 14,2,3: address 00:05:02:a8:e4:22
zsc0 at obio0 offset 0x13000: irq 15,16
zstty0 at zsc0 channel 0
zstty1 at zsc0 channel 1
awacs at obio0 offset 0x14000 not configured
swim3 at obio0 offset 0x15000 not configured
adb0 at obio0 offset 0x16000 irq 18: 2 targets
aed0 at adb0 addr 0: ADB Event device
akbd0 at adb0 addr 2: extended keyboard
wskbd0 at akbd0: console keyboard
ams0 at adb0 addr 3: 1-button, 100 dpi mouse
wsmouse0 at ams0 mux 0
mesh0 at obio0 offset 0x18000 irq 13: 50MHz, SCSI ID 7
scsibus1 at mesh0: 8 targets, 8 luns per target
nvram0 at obio0 offset 0x1d000
bandit1 at mainbus0
pci2 at bandit1 bus 2
pci2: i/o space, memory space enabled
ofb0 at pci2 dev 11 function 0: Apple Computer Control
ofb0: 640 x 480, 8bpp
wsdisplay0 at ofb0 kbdmux 1: console (std, vt100 emulation), using wskbd0
wsmux1: connecting to wsdisplay0
scsibus0: waiting 2 seconds for devices to settle...
cd0 at scsibus0 target 4 lun 0: <MATSHITA, CD-ROM CR-8012, 1.0f> SCSI2 5/cdrom removable
probe(esp0:0:4:1): esp0: timed out [ecb 0x11e28000 (flags 0x5, dleft 20, stat 2)], <state 2, nexus 0x11e28000, phase(l 12, c 100, p 3), resid 0, msg(q 0,o 0) DMA active>
probe(esp0:0:4:1): esp0: timed out [ecb 0x11e28000 (flags 0x45, dleft 20, stat 2)], <state 2, nexus 0x11e28000, phase(l 12, c 100, p 3), resid 0, msg(q 0,o 0) DMA active> AGAIN
cd0: async, 8-bit transfers
esp0: SCSI bus reset
probe(esp0:0:4:1): esp0: timed out [ecb 0x11e28000 (flags 0x5, dleft 20, stat 2)], <state 2, nexus 0x11e28000, phase(l 12, c 100, p 3), resid 0, msg(q 0,o 0) DMA active>
probe(esp0:0:4:1): esp0: timed out [ecb 0x11e28000 (flags 0x45, dleft 20, stat 2)], <state 2, nexus 0x11e28000, phase(l 12, c 100, p 3), resid 0, msg(q 0,o 0) DMA active> AGAIN
esp0: SCSI bus reset
cd0: sync (200.0ns offset 8), 8-bit (5.000MB/s) transfers
scsibus1: waiting 2 seconds for devices to settle...
fw0 at fwohci0: 00:30:93:01:00:00:01:34:09:02:20:00:00:00:00:00
boot device: <unknown>
root device: wd0a
dump device (default wd0b): 
file system (default generic): 
root on wd0a dumps on wd0b
wd0: transfer error, downgrading to Ultra-DMA mode 2
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data transfers)
wd0c: error reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wd0: (aborted command, interface CRC error)
wd0: soft error (corrected)
root file system type: ffs

-- 
----------------------------- personal page: http://www.armory.com/~spectre/ --
 Cameron Kaiser, Floodgap Systems Ltd * So. Calif., USA * ckaiser@floodgap.com
-- MOVIE IDEA: From Russia with E-mail Signature ------------------------------