Subject: Success story with Sonnet Tempo Ultra ATA 66 and macppc-current
To: None <port-macppc@netbsd.org>
From: Monroe Williams <monroe@pobox.com>
List: port-macppc
Date: 06/15/2001 01:08:19
After supping -current on June 13 and building a kernel with

options PCIIDE_ACARD_ENABLE

in the config, I just completed upgrading the machine from 1.5 to -current
from a source tree on a drive on the IDE card.  (Thanks to Xavier Humbert
for the instructions posted to this list recently!  They surely saved me
much grief.)  'make build' completed successfully in about 7 hours.

Transfer rates aren't quite what I was expecting.  Using a pretty
brain-damaged throughput test (running 'iostat -w 1' in one window and 'cat
/dev/zero >foo' or 'cat foo >/dev/null' in another), I see write rates
approaching 6M/sec and read rates approaching 9M/sec on a relatively modern
20G WDC drive.  I'm sure I've seen better throughput with this drive in
another machine.

The machine is a 7500 with a 300 MHz G3 upgrade.  dmesg output is attached
below.

I see from the CVS logs that the ACARD support in the pciide driver is
disabled in GENERIC because someone was having trouble with it on macppc.
Does my datapoint mean that these problems might have gone away?

BTW, this machine isn't booting from the IDE drive -- there's still a SCSI
drive on mesh0 for boot & root.  (Before the upgrade I had the IDE card
sorta-kinda working with a hacked 1.5 kernel that timed out several times
and fell back to polled I/O mode, but I wasn't about to root on _that_...)

-- monroe
------------------------------------------------------------------------
Monroe Williams                                         monroe@pobox.com

dmesg output follows:

NetBSD 1.5W (MBW) #35: Wed Jun 13 18:51:11 PDT 2001
    monroe@macppc:/mnt/ide/netbsd/src/sys/arch/macppc/compile/MBW
total memory = 160 MB
avail memory = 140 MB
using 2048 buffers containing 8292 KB of memory
mainbus0 (root)
cpu0 at mainbus0: 750 (Revision 202), ID 0 (primary)
cpu0: L2 cache not enabled
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)
pciide0 at pci0 dev 13 function 0: Acard ATP860-A Ultra66 IDE Controller
(rev. 0x01)
pciide0: bus-master DMA support present
pciide0: primary channel wired to native-PCI mode
pciide0: using irq 23 for native-PCI interrupt
wd0 at pciide0 channel 0 drive 0: <WDC WD205BA>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 19574 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 40088160 sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4 (Ultra/66)
wd0(pciide0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 4 (Ultra/66)
(using DMA data transfers)
pciide0: secondary channel wired to native-PCI mode
tlp0 at pci0 dev 14 function 0: DECchip 21140A Ethernet, pass 2.2
tlp0: interrupting at irq 24
tlp0: Ethernet address 00:00:94:a1:68:f1
tlp0: 10baseT, 100baseTX, 10baseT-FDX, 100baseTX-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
fwohci0 at pci1 dev 12 function 0: NEC uPD72870 IEEE 1394 OHCI Host
Controller (rev. 0x01)
fwohci0: interrupting at irq 25
fwohci0: OHCI 1.0, 00:d0:f5:20:00:00:1e:64, 400Mb/s, 1024 max_rec, 4 iso_ctx
ohci0 at pci1 dev 13 function 0: Opti RM861HA (rev. 0x10)
ohci0: interrupting at irq 25
ohci0: OHCI version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: Opti OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
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 08:00:07:7f:b8:f7
zsc0 at obio0 offset 0x13000: irq 15,16
zstty0 at zsc0 channel 0
zstty1 at zsc0 channel 1
awacs0 at obio0 offset 0x14000: irq 17,8,9
audio0 at awacs0: full duplex
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
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: console (std, vt100 emulation), using wskbd0
Apple Computer PlanB (undefined subclass 0x00, revision 0x01) at pci2 dev 13
function 0 not configured
scsibus0: waiting 2 seconds for devices to settle...
scsibus1: waiting 2 seconds for devices to settle...
sd0 at scsibus1 target 1 lun 0: <QUANTUM, FIREBALL_TM1280S, 300N> SCSI2
0/direct fixed
sd0: 1222 MB, 6810 cyl, 2 head, 183 sec, 512 bytes/sect x 2503872 sectors
cd0 at scsibus1 target 3 lun 0: <MATSHITA, CD-ROM CR-8005, 1.0m> SCSI2
5/cdrom removable
Kernelized RAIDframe activated
IPsec: Initialized Security Association Processing.
fw0 at fwohci0: 00:d0:f5:20:00:00:1e:64:09:02:20:00:00:00:00:00
boot device: sd0
root on sd0a dumps on sd0b
root file system type: ffs