Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Jun 2000 20:18:41 +0200 (CEST)
From:      "Bradley T. Hughes" <bhughes@trolltech.com>
To:        freebsd-stable@freebsd.org, freebsd-scsi@freebsd.org
Subject:   Problem with newer sym driver on a Tekram DC-390U2W controller
Message-ID:  <Pine.BSF.4.21.0006101956070.89051-300000@reticent.troll.no>

index | next in thread | raw e-mail

[-- Attachment #1 --]
My system at work has on of the mentioned controllers, which uses a
Symbios 53C895 chip.

I installed FreeBSD 4.0-RELEASE on the machine when I got the box, and was
happy to see that da0 reported 40mb/s transfer rates.

Soon after I cvsup'ed to -STABLE, which had an updated sym driver (1.5.3
from May 06), and my disk performance dropped dramatically.  Upon
investigation, I noticed that da0 was reporting only 6.6mb/s transfer
rates.

I began looking through mailing list archives and have found no posts even
resembling the problem that I have... so I decided to try something.  I
found sym driver 1.3.2, dropped it into /usr/src/sys/dev/sym and
recompiled my kernel.  Upon reboot, da0 reported 40mb/s xfer rates and my
disk performance came back to "normal" (read: what i was getting after
setting upthe machine)

I repeated this process for sym driver versions 1.4.1 and 1.5.0, both of
which work beautifully.  But driver 1.5.3 does not, and driver 1.6.1 from
-CURRENT does not.

Is there something I could add to my kernel config to get the original
performance out of the current driver in -STABLE?

I have attached a few dmesg logs, and will gladly provide other
information if necessary.

--
Bradley T. Hughes <bhughes@trolltech.com>
Waldemar Thranes gt. 98B N-0175 Oslo, Norway
Office: +47 21 60 48 92
Mobile: +47 92 01 97 81

[-- Attachment #2 --]
Copyright (c) 1992-2000 The FreeBSD Project.
Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California. All rights reserved.
FreeBSD 4.0-STABLE #5: Sat Jun 10 17:19:14 CEST 2000
    root@reticent.troll.no:/usr/src/sys/compile/reticent
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium III/Pentium III Xeon (651.48-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x681  Stepping = 1
  Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,XMM>
real memory  = 268423168 (262132K bytes)
avail memory = 258207744 (252156K bytes)
Programming 24 pins in IOAPIC #0
IOAPIC #0 intpin 2 -> irq 0
IOAPIC #0 intpin 16 -> irq 11
IOAPIC #0 intpin 17 -> irq 10
IOAPIC #0 intpin 18 -> irq 5
IOAPIC #0 intpin 19 -> irq 9
FreeBSD/SMP: Multiprocessor motherboard
 cpu0 (BSP): apic id:  1, version: 0x00040011, at 0xfee00000
 cpu1 (AP):  apic id:  0, version: 0x00040011, at 0xfee00000
 io0 (APIC): apic id:  2, version: 0x00170011, at 0xfec00000
Preloaded elf kernel "kernel" at 0xc02db000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc02db09c.
VESA: v2.0, 32768k memory, flags:0x1, mode table:0xc00c6974 (c0006974)
VESA: Matrox Graphics Inc.
Pentium Pro MTRR support enabled
npx0: <math processor> on motherboard
npx0: INT 16 interface
apm0: <APM BIOS> on motherboard
apm: found APM BIOS v1.2, connected at v1.2
pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <Matrox MGA G400 AGP graphics accelerator> at 0.0 irq 11
isab0: <Intel 82371AB PCI to ISA bridge> at device 4.0 on pci0
isa0: <ISA bus> on isab0
pci0: <Intel PIIX4 ATA controller> at 4.1
pci0: <Intel 82371AB/EB (PIIX4) USB controller> at 4.2 irq 9
Timecounter "PIIX"  frequency 3579545 Hz
intpm0: <Intel 82371AB Power management controller> port 0xe800-0xe80f irq 9 at device 4.3 on pci0
intpm0: I/O mapped e800
intpm0: intr IRQ 9 enabled revision 0
smbus0: <System Management Bus> on intsmb0
smb0: <SMBus general purpose I/O> on smbus0
intpm0: PM I/O mapped e400 
sym0: <895> port 0xd000-0xd0ff mem 0xdf800000-0xdf800fff,0xe0000000-0xe00000ff irq 9 at device 9.0 on pci0
sym0: Tekram NVRAM, ID 7, Fast-40, LVD, parity checking
pcm0: <Creative EMU10K1> port 0xb800-0xb81f irq 5 at device 10.0 on pci0
pci0: <unknown card> (vendor=0x1102, dev=0x7002) at 10.1
fxp0: <Intel EtherExpress Pro 10/100B Ethernet> port 0xb000-0xb03f mem 0xde800000-0xde8fffff,0xdf000000-0xdf000fff irq 10 at device 11.0 on pci0
fxp0: Ethernet address 00:d0:b7:25:3c:50
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model MouseMan+, device ID 0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> on isa0
sc0: VGA <16 virtual consoles, flags=0x200>
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: routing 8254 via IOAPIC #0 intpin 2
Waiting 2 seconds for SCSI devices to settle
SMP: AP CPU #1 Launched!
Mounting root from ufs:/dev/da0s1a
da0 at sym0 bus 0 target 6 lun 0
da0: <IBM DNES-309170W SA30> Fixed Direct Access SCSI-3 device 
da0: 40.000MB/s transfers (20.000MHz, offset 31, 16bit), Tagged Queueing Enabled
da0: 8748MB (17916240 512 byte sectors: 255H 63S/T 1115C)
cd0 at sym0 bus 0 target 4 lun 0
cd0: <SONY CD-RW  CRX140S 1.0e> Removable CD-ROM SCSI-4 device 
cd0: 10.000MB/s transfers (10.000MHz, offset 15)
cd0: Attempt to query device size failed: NOT READY, Medium not present

[-- Attachment #3 --]
Jun  1 13:25:17 reticent /kernel: Copyright (c) 1992-2000 The FreeBSD Project.
Jun  1 13:25:17 reticent /kernel: Copyright (c) 1982, 1986, 1989, 1991, 1993
Jun  1 13:25:17 reticent /kernel: The Regents of the University of California. All rights reserved.
Jun  1 13:25:17 reticent /kernel: FreeBSD 4.0-STABLE #0: Thu Jun  1 13:21:33 CEST 2000
Jun  1 13:25:17 reticent /kernel: root@reticent.troll.no:/usr/src/sys/compile/RETICENT
Jun  1 13:25:17 reticent /kernel: Timecounter "i8254"  frequency 1193182 Hz
Jun  1 13:25:17 reticent /kernel: CPU: Pentium III/Pentium III Xeon (651.48-MHz 686-class CPU)
Jun  1 13:25:17 reticent /kernel: Origin = "GenuineIntel"  Id = 0x681  Stepping = 1
Jun  1 13:25:17 reticent /kernel: Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,XMM>
Jun  1 13:25:17 reticent /kernel: real memory  = 268423168 (262132K bytes)
Jun  1 13:25:17 reticent /kernel: avail memory = 258551808 (252492K bytes)
Jun  1 13:25:17 reticent /kernel: Programming 24 pins in IOAPIC #0
Jun  1 13:25:17 reticent /kernel: IOAPIC #0 intpin 2 -> irq 0
Jun  1 13:25:17 reticent /kernel: IOAPIC #0 intpin 16 -> irq 11
Jun  1 13:25:17 reticent /kernel: IOAPIC #0 intpin 17 -> irq 10
Jun  1 13:25:17 reticent /kernel: IOAPIC #0 intpin 18 -> irq 5
Jun  1 13:25:17 reticent /kernel: IOAPIC #0 intpin 19 -> irq 9
Jun  1 13:25:17 reticent /kernel: FreeBSD/SMP: Multiprocessor motherboard
Jun  1 13:25:17 reticent /kernel: cpu0 (BSP): apic id:  1, version: 0x00040011, at 0xfee00000
Jun  1 13:25:17 reticent /kernel: cpu1 (AP):  apic id:  0, version: 0x00040011, at 0xfee00000
Jun  1 13:25:17 reticent /kernel: io0 (APIC): apic id:  2, version: 0x00170011, at 0xfec00000
Jun  1 13:25:17 reticent /kernel: Preloaded elf kernel "kernel" at 0xc0287000.
Jun  1 13:25:17 reticent /kernel: Preloaded userconfig_script "/boot/kernel.conf" at 0xc028709c.
Jun  1 13:25:17 reticent /kernel: Pentium Pro MTRR support enabled
Jun  1 13:25:17 reticent /kernel: npx0: <math processor> on motherboard
Jun  1 13:25:17 reticent /kernel: npx0: INT 16 interface
Jun  1 13:25:17 reticent /kernel: pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard
Jun  1 13:25:17 reticent /kernel: pci0: <PCI bus> on pcib0
Jun  1 13:25:17 reticent /kernel: pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on pci0
Jun  1 13:25:17 reticent /kernel: pci1: <PCI bus> on pcib1
Jun  1 13:25:17 reticent /kernel: pci1: <NVidia Riva Vanta TNT2 graphics accelerator> at 0.0 irq 11
Jun  1 13:25:17 reticent /kernel: isab0: <Intel 82371AB PCI to ISA bridge> at device 4.0 on pci0
Jun  1 13:25:17 reticent /kernel: isa0: <ISA bus> on isab0
Jun  1 13:25:17 reticent /kernel: pci0: <Intel PIIX4 ATA controller> at 4.1
Jun  1 13:25:17 reticent /kernel: pci0: <Intel 82371AB/EB (PIIX4) USB controller> at 4.2
Jun  1 13:25:17 reticent /kernel: Timecounter "PIIX"  frequency 3579545 Hz
Jun  1 13:25:17 reticent /kernel: intpm0: <Intel 82371AB Power management controller> port 0xe800-0xe80f irq 9 at device 4.3 on pci0
Jun  1 13:25:17 reticent /kernel: intpm0: I/O mapped e800
Jun  1 13:25:17 reticent /kernel: intpm0: intr IRQ 9 enabled revision 0
Jun  1 13:25:17 reticent /kernel: smbus0: <System Management Bus> on intsmb0
Jun  1 13:25:17 reticent /kernel: smb0: <SMBus general purpose I/O> on smbus0
Jun  1 13:25:17 reticent /kernel: intpm0: PM I/O mapped e400 
Jun  1 13:25:17 reticent /kernel: sym0: <895> port 0xd000-0xd0ff mem 0xdf000000-0xdf000fff,0xdf800000-0xdf8000ff irq 9 at device 9.0 on pci0
Jun  1 13:25:18 reticent /kernel: sym0: Tekram NVRAM, ID 7, Fast-40, LVD, parity checking
Jun  1 13:25:18 reticent /kernel: pci0: <unknown card> (vendor=0x1102, dev=0x0002) at 10.0 irq 5
Jun  1 13:25:18 reticent /kernel: pci0: <unknown card> (vendor=0x1102, dev=0x7002) at 10.1
Jun  1 13:25:18 reticent /kernel: fxp0: <Intel EtherExpress Pro 10/100B Ethernet> port 0xb000-0xb03f mem 0xde000000-0xde0fffff,0xde800000-0xde800fff irq 10 at device 11.0 on pci0
Jun  1 13:25:18 reticent /kernel: fxp0: Ethernet address 00:d0:b7:25:3c:50
Jun  1 13:25:18 reticent /kernel: fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
Jun  1 13:25:18 reticent /kernel: fdc0: FIFO enabled, 8 bytes threshold
Jun  1 13:25:18 reticent /kernel: fd0: <1440-KB 3.5" drive> on fdc0 drive 0
Jun  1 13:25:18 reticent /kernel: atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
Jun  1 13:25:18 reticent /kernel: atkbd0: <AT Keyboard> irq 1 on atkbdc0
Jun  1 13:25:18 reticent /kernel: psm0: <PS/2 Mouse> irq 12 on atkbdc0
Jun  1 13:25:18 reticent /kernel: psm0: model MouseMan+, device ID 0
Jun  1 13:25:18 reticent /kernel: vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Jun  1 13:25:18 reticent /kernel: sc0: <System console> on isa0
Jun  1 13:25:18 reticent /kernel: sc0: VGA <16 virtual consoles, flags=0x200>
Jun  1 13:25:18 reticent /kernel: APIC_IO: Testing 8254 interrupt delivery
Jun  1 13:25:18 reticent /kernel: APIC_IO: routing 8254 via IOAPIC #0 intpin 2
Jun  1 13:25:18 reticent /kernel: Waiting 2 seconds for SCSI devices to settle
Jun  1 13:25:18 reticent /kernel: SMP: AP CPU #1 Launched!
Jun  1 13:25:18 reticent /kernel: Mounting root from ufs:/dev/da0s1a
Jun  1 13:25:18 reticent /kernel: cd0 at sym0 bus 0 target 4 lun 0
Jun  1 13:25:18 reticent /kernel: cd0: <SONY CD-RW  CRX140S 1.0e> Removable CD-ROM SCSI-4 device 
Jun  1 13:25:18 reticent /kernel: cd0: 3.300MB/s transfers
Jun  1 13:25:18 reticent /kernel: cd0: Attempt to query device size failed: NOT READY, Medium not present
Jun  1 13:25:18 reticent /kernel: da0 at sym0 bus 0 target 6 lun 0
Jun  1 13:25:18 reticent /kernel: da0: <IBM DNES-309170W SA30> Fixed Direct Access SCSI-3 device 
Jun  1 13:25:18 reticent /kernel: da0: 6.600MB/s transfers (16bit), Tagged Queueing Enabled
Jun  1 13:25:18 reticent /kernel: da0: 8748MB (17916240 512 byte sectors: 255H 63S/T 1115C)
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0006101956070.89051-300000>