Ultra ATA card doesn't seem to provide Ultra speeds.

Buckie freebsd1 at centrum.cz
Thu Jul 31 03:54:41 PDT 2003


Hello again. Sorry I just forgot to provide at least a version number.
Stupid me. It's FreeBSD 5.1 RELEASE and here's a dmesg output.
Also, it's not that it 'doesn't work', it works, but I see no
difference in speed after changing transfer modes (from WDMA2 to
UDMA6)

Copyright (c) 1992-2003 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD 5.1-RELEASE #10: Wed Jul 30 12:18:51 MSD 2003
    root at Five.365:/usr/src/sys/i386/compile/KIT
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0465000.
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium Pro (200.46-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x619  Stepping = 9
  Features=0xfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV>
real memory  = 201326592 (192 MB)
avail memory = 190713856 (181 MB)
Programming 24 pins in IOAPIC #0
IOAPIC #0 intpin 2 -> irq 0
IOAPIC #0 intpin 16 -> irq 12
IOAPIC #0 intpin 17 -> irq 11
IOAPIC #0 intpin 18 -> irq 10
IOAPIC #0 intpin 19 -> irq 15
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): apic id:  0, version: 0x00040011, at 0xfee00000
 cpu1 (AP):  apic id:  1, version: 0x00040011, at 0xfee00000
 io0 (APIC): apic id:  2, version: 0x00170011, at 0xfec00000
Pentium Pro MTRR support enabled
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcibios: BIOS version 2.10
Using $PIR table, 7 entries at 0xc00fdd00
apm0: <APM BIOS> on motherboard
apm0: found APM BIOS v1.2, connected at v1.2
pcib0: <Host to PCI bridge> at pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX3 WDMA2 controller> port 0xf000-0xf00f at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: <Intel 82371SB (PIIX3) USB controller> port 0x9000-0x901f irq 15 at device 7.2 on pci0
usb0: <Intel 82371SB (PIIX3) USB controller> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ukbd0: vendor 0x099a USB Multimedia Keyboard, rev 1.10/1.01, addr 2, iclass 3/1
ums0: Kensington Kensington USB/PS2 Orbit, rev 1.10/4.00, addr 3, iclass 3/1
ums0: 2 buttons
drm0: <3dfx Voodoo3 3000> port 0x9400-0x94ff mem 0xe2000000-0xe3ffffff,0xe0000000-0xe1ffffff irq 11 at device 9.0 on pci0
info: [drm] Initialized tdfx 1.0.0 20010216 on minor 0
pcm0: <Creative CT5880-C> port 0x9800-0x983f irq 10 at device 10.0 on pci0
pcm0: <SigmaTel STAC9721/23 AC97 Codec>
ed0: <NE2000 PCI Ethernet (RealTek 8029)> port 0x9c00-0x9c1f irq 15 at device 11.0 on pci0
ed0: address 00:e0:4c:dd:23:1c, type NE2000 (16 bit) 
atapci1: <SiI 0680 UDMA133 controller> port 0xb000-0xb00f,0xac00-0xac03,0xa800-0xa807,0xa400-0xa403,0xa000-0xa007 mem 0xe4000000-0xe40000ff irq 12 at device 12.0 on pci0
ata2: at 0xa000 on atapci1
ata3: at 0xa800 on atapci1
orm0: <Option ROM> at iomem 0xc0000-0xc7fff on isa0
pmtimer0 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> at port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
unknown: <PNP0303> can't assign resources (port)
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0700> can't assign resources (port)
Timecounters tick every 10.000 msec
ad0: 9729MB <ST310215A> [19767/16/63] at ata0-master WDMA2
ad1: 117246MB <Maxtor 6Y120L0> [238216/16/63] at ata2-master UDMA133
acd0: CD-RW <PLEXTOR CD-R PX-W4824A> at ata3-master PIO4
SMP: AP CPU #1 Launched!
cd0 at ata3 bus 0 target 0 lun 0
cd0: <PLEXTOR CD-R   PX-W4824A 1.04> Removable CD-ROM SCSI-0 device 
cd0: 16.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present - tray closed
Mounting root from ufs:/dev/ad0s2a

----

I ran a dd:
dd if=/dev/ad1 of=/dev/zero ibs=8192
...and cancelled it after some amount of time:
2321+0 records in
37136+0 records out
19013632 bytes transferred in 27.876118 secs (682076 bytes/sec)

I don't use static2 ata device numbering hence Maxtor is assigned ad1,
but it would be ad4 if things were static.

Experiemnting with ibs value I can get speeds of up to 16MB per
second. But no more.

Z

SS> Possibly, but you need to give us info so we can try to diagnose the
SS> problem "it doesn't work" it not enough, so please provide at least:

SS> FreeBSD version (output of uname -a)
SS> Boot log (output of dmesg)

SS> -Søren




-- 
Best regards,
 Buckie                            mailto:freebsd1 at centrum.cz



More information about the freebsd-hackers mailing list