From owner-freebsd-hackers@FreeBSD.ORG Sat Jan 31 22:23:17 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1ACE016A4CE for ; Sat, 31 Jan 2004 22:23:17 -0800 (PST) Received: from priv-edtnes40.telusplanet.net (outbound05.telus.net [199.185.220.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id ED54543D39 for ; Sat, 31 Jan 2004 22:23:14 -0800 (PST) (envelope-from sh@bel.bc.ca) Received: from antalus ([216.232.203.85]) by priv-edtnes40.telusplanet.net (InterMail vM.6.00.05.02 201-2115-109-103-20031105) with SMTP id <20040201062314.GLRX2964.priv-edtnes40.telusplanet.net@antalus>; Sat, 31 Jan 2004 23:23:14 -0700 Message-ID: <000c01c3e88b$df3bc400$0300000a@slugabed.org> From: "Sean Hamilton" To: References: <200310060710.h967ApF0040748@spider.deepcore.dk> <001001c3e6e5$d1dda910$0300000a@slugabed.org> <4019FD5C.80003@DeepCore.dk> Date: Sat, 31 Jan 2004 22:23:13 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Mailman-Approved-At: Sun, 01 Feb 2004 05:14:59 -0800 cc: =?iso-8859-1?Q?S=F8ren_Schmidt?= Subject: Re: VT8237 serial-ATA support, Promise ATA stalls, GEOM noise X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Feb 2004 06:23:17 -0000 "Søren Schmidt" 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 AMD Features=0xc0400000 real memory = 268419072 (255 MB) avail memory = 255393792 (243 MB) Pentium Pro MTRR support enabled npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: 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: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: 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: at device 1.0 on pci0 pci1: on pcib1 pci0: at device 7.0 (no driver attached) atapci0: 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: mem 0xeb800000-0xeb801fff irq 12 at device 9.0 on pci0 bfe0: Ethernet address: 00:e0:18:ab:3b:b5 miibus0: on bfe0 bmtphy0: on miibus0 bmtphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pci0: at device 10.0 (no driver attached) pci0: at device 11.0 (no driver attached) isab0: at device 17.0 on pci0 isa0: on isab0 atapci1: 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: