VT8237 serial-ATA support, Promise ATA stalls, GEOM noise

Sean Hamilton sh at bel.bc.ca
Sat Jan 31 22:23:17 PST 2004


"Søren Schmidt" <sos at DeepCore.dk> wrote:
| These are not "hangs" these are "pauses" and happens because the
| kernel thinks there are devices on these channels (are there ? no
| dmesg provided) and waits for the 31secs the spec calls for. Now,
| I have one of those exact Promise controllers and there it works
| butifully, so your setup has to be special or wrong in some way
| since you see the delays (again no dmesg or anything provided so
| I cant tell)

There are no drives on the SATA interfaces, but there were at one point and
I don't remember if it stalled or not. However I do remember them being very
slow if I read them both in parallel (16 MB/sec each according to dd and
systat) but very fast if I read only one (60 MB/sec) despite the system load
being very low. In 5.1 I could only get 16 MB/sec even if I only read from a
single drive. I can probably get my hands on more drives if this needs to be
reproduced.

I attempted a verbose dmesg but the buffer filled up with

ata5-master: stat=0xa0 err=0xa0 lsb=0xa0 msb=0xa0
ata5-master: stat=0xa0 err=0xa0 lsb=0xa0 msb=0xa0
ata5-master: stat=0xa0 err=0xa0 lsb=0xa0 msb=0xa0
ata5-master: stat=0xa0 err=0xa0 lsb=0xa0 msb=0xa0
[...]
ata5: reset tp2 mask=00 stat0=a0 stat1=00 devices=0x0
ata5: at 0xec800000 on atapci0
ata5: [MPSAFE]

A non-verbose dmesg:

Preloaded elf kernel "/boot/kernel/kernel" at 0xc0682000.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0682244.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Athlon(TM) XP 2500+ (1833.13-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x6a0  Stepping = 0

Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,
CMOV,PAT,PSE36,MMX,FXSR,SSE>
  AMD Features=0xc0400000<AMIE,DSP,3DNow!>
real memory  = 268419072 (255 MB)
avail memory = 255393792 (243 MB)
Pentium Pro MTRR support enabled
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <ASUS   A7V8X   > on motherboard
pcibios: BIOS version 2.10
Using $PIR table, 12 entries at 0xc00f2080
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <32-bit timer at 3.579545MHz> port 0xe408-0xe40b on acpi0
acpi_cpu0: <CPU> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib0: slot 7 INTA is routed to irq 10
pcib0: slot 8 INTA is routed to irq 10
pcib0: slot 9 INTA is routed to irq 12
pcib0: slot 10 INTA is routed to irq 11
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pci0: <serial bus, FireWire> at device 7.0 (no driver attached)
atapci0: <Promise PDC20376 SATA150 controller> port
0xb800-0xb87f,0xd000-0xd00f,0xd400-0xd43f mem
0xec000000-0xec01ffff,0xec800000-0xec800fff irq 10 at device 8.0 on pci0
atapci0: [MPSAFE]
ata2: at 0xec800000 on atapci0
ata2: [MPSAFE]
ata3: at 0xec800000 on atapci0
ata3: [MPSAFE]
[stall here]
ata4: at 0xec800000 on atapci0
ata4: [MPSAFE]
[stall here]
ata5: at 0xec800000 on atapci0
ata5: [MPSAFE]
bfe0: <Broadcom BCM4401 Fast Ethernet> mem 0xeb800000-0xeb801fff irq 12 at
device 9.0 on pci0
bfe0: Ethernet address: 00:e0:18:ab:3b:b5
miibus0: <MII bus> on bfe0
bmtphy0: <BCM4401 10/100baseTX PHY> on miibus0
bmtphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pci0: <network, ethernet> at device 10.0 (no driver attached)
pci0: <display, VGA> at device 11.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 17.0 on pci0
isa0: <ISA bus> on isab0
atapci1: <VIA 8235 UDMA133 controller> port 0xa000-0xa00f at device 17.1 on
pci0
ata0: at 0x1f0 irq 14 on atapci1
ata0: [MPSAFE]
ata1: at 0x170 irq 15 on atapci1
ata1: [MPSAFE]
orm0: <Option ROM> at iomem 0xc0000-0xc7fff on isa0
Timecounter "TSC" frequency 1833134268 Hz quality 800
Timecounters tick every 10.000 msec
GEOM: create disk ad0 dp=0xc29c7760
ad0: 76319MB <ST380021A> [155061/16/63] at ata0-master UDMA100
GEOM: create disk ad1 dp=0xc29c7560
ad1: 76319MB <ST380021A> [155061/16/63] at ata0-slave UDMA100
acd0: CDRW <LITE-ON LTR-48246S> at ata1-slave PIO4
GEOM: create disk ar0 dp=0xc296c5e0
ar0: 152638MB <ATA SPAN array> [19458/255/63] status: READY subdisks:
 disk0 READY on ad0 at ata0-master
 disk1 READY on ad1 at ata0-slave
Mounting root from ufs:/dev/ar0a

-- 
Sean Hamilton <sh at bel.bc.ca>



More information about the freebsd-hackers mailing list