Subject: aix7xxx problems with negotiating "Ultra" speeds....
To: NetBSD-current Discussion List <current-users@netbsd.org>
From: Greg A. Woods <woods@most.weird.com>
List: current-users
Date: 12/07/1998 15:59:49
I've recently acquired a nice new Pentium-II server with an on-board
Adaptec AIC-7880 chip.  I have attached a pair of Quantum Viking
UltraWide (SCA) drives to the machine and was surprised to see that even
under NetBSD-current (of approx. Dec 2, 1998) that they didn't negotiate
at 20MHz.  Just to be sure I booted FreeBSD-3.0-RELEASE, and sure enough
they did come up at 20MHz as I'd expected.

The benchmarks still aren't all that bad (fortunately):

              -------Sequential Output-------- ---Sequential Input-- --Random--
              -Per Char- --Block--- -Rewrite-- -Per Char- --Block--- --Seeks---
Machine    MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU  /sec %CPU
proven    100  4017 24.9  3988  9.5  2293  5.9  8197 53.5  9151 12.8  94.8  2.0

(I'm very curious to find out why the block writes are slower and the
rewrite is slower still....  And I thought these drives would be able to
get a slightly higher seeks/s too....)

IOZONE performance measurements:
        4175929 bytes/second for writing the file
        8977534 bytes/second for reading the file

(iozone was also run with a 100MB file)

[[ So, after reading through a bit of dev/ic/aic7xxx*, and then the new
version of the same from FreeBSD-3.0, I can only ask, again:  When is
NetBSD going to switch to the FreeBSD CAM stuff? ]]

The boot messages follow:

NetBSD 1.3I (GENERIC) #1: Thu Dec  3 16:23:20 EST 1998
    root@woffi.planix.com:/local1/netbsd/netbsd-current/src/sys/arch/i386/compile/GENERIC
cpu0: family 6 model 3 step 4
cpu0: Intel Pentium II (686-class)
real mem  = 66715648
avail mem = 58699776
using 840 buffers containing 3440640 bytes of memory
mainbus0 (root)
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o enabled, memory enabled
pchb0 at pci0 dev 0 function 0
pchb0: Intel 82441FX PCI and Memory Controller (PMC) (rev. 0x02)
S3 Trio32/64 (VGA display, revision 0x54) at pci0 dev 7 function 0 not configured
ppb0 at pci0 dev 11 function 0: IBM 82351 PCI-PCI Bridge (rev. 0x01)
pci1 at ppb0 bus 1
pci1: i/o enabled, memory enabled
ahc1 at pci1 dev 4 function 0
ahc1: interrupting at irq 15
ahc1: Using left over BIOS settings
ahc1: aic7880 Wide Channel, SCSI Id=7, 16 SCBs
scsibus0 at ahc1 channel 0: 16 targets
ahc1: target 0 using 16Bit transfers
ahc1: target 0 synchronous at 10.0MHz, offset = 0x8
sd0 at scsibus0 targ 0 lun 0: <QUANTUM, VIKING 4.5 SCA, 8600> SCSI2 0/direct fixed
sd0: 4345MB, 6144 cyl, 8 head, 181 sec, 512 bytes/sect x 8899737 sectors
ahc1: target 1 using 16Bit transfers
ahc1: target 1 synchronous at 10.0MHz, offset = 0x8
sd1 at scsibus0 targ 1 lun 0: <QUANTUM, VIKING 4.5 SCA, 8600> SCSI2 0/direct fixed
sd1: 4345MB, 6144 cyl, 8 head, 181 sec, 512 bytes/sect x 8899737 sectors
ahc1: target 6 synchronous at 10.0MHz, offset = 0xf
cd0 at scsibus0 targ 6 lun 0: <IBM, CDRM00203\\000\\000\\000\\000\\000!K, 1.01> SCSI2 5/cdrom removable
le0 at pci1 dev 5 function 0: PCnet-PCI Ethernet
le0: address 00:06:29:05:cf:8d
le0: 8 receive buffers, 2 transmit buffers
le0: interrupting at irq 14
pcib0 at pci0 dev 19 function 0
pcib0: Intel 82371SB PCI-to-ISA Bridge (PIIX3) (rev. 0x01)
pciide0 at pci0 dev 19 function 1: Intel 82371SB IDE Interface (PIIX3)
pciide0: bus-master DMA support present
pciide0: primary channel wired to compatibility mode
pciide0: primary channel ignored (disabled)
pciide0: secondary channel wired to compatibility mode
pciide0: secondary channel ignored (disabled)
uhci0 at pci0 dev 19 function 2: Intel 82371SB USB Host Controller (PIIX3) (rev. 0x01)
uhci0: interrupting at irq 10
uhci0: USB version 1.0
usb0 at uhci0
uhub0 at usb0
uhub0: Intel UHCI root hub (class 9/1) (rev 1.00/1.00), addr 1
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
lpt2 at isa0 port 0x3bc-0x3bf: polled
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff: using exception 16
pc0 at isa0 port 0x60-0x6f irq 1: color
pms0 at pc0 irq 12
pc0: console
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
isapnp0: no ISA Plug 'n Play devices found
biomask 8440 netmask c440 ttymask d442
WARNING: old BSD partition ID!
WARNING: old BSD partition ID!
boot device: sd0
root on sd0a dumps on sd0b

(A virtual high-5 to the first person to identify the make and model of
the machine!  ;-)

-- 
							Greg A. Woods

+1 416 218-0098      VE3TCP      <gwoods@acm.org>      <robohack!woods>
Planix, Inc. <woods@planix.com>; Secrets of the Weird <woods@weird.com>