From owner-freebsd-stable@FreeBSD.ORG Sat Feb 23 20:46:51 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 47BFFC08 for ; Sat, 23 Feb 2013 20:46:51 +0000 (UTC) (envelope-from amdmiek@gmail.com) Received: from mail-wg0-f45.google.com (mail-wg0-f45.google.com [74.125.82.45]) by mx1.freebsd.org (Postfix) with ESMTP id DE42F267 for ; Sat, 23 Feb 2013 20:46:50 +0000 (UTC) Received: by mail-wg0-f45.google.com with SMTP id dq12so1395635wgb.0 for ; Sat, 23 Feb 2013 12:46:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=XsFXgXEhMml91LYM4uc8JI6+5pxmGmGLAH7SCMEqboE=; b=ufw/qaOOAvs8H+qcRtlXslJmscB7YK1tIGYbD/Z6uAgCuTkYy+nib32XHrNb70RDhW N89axBB1BRNhpQPxoeCQ/4m/WuG/1eRWx9V9h5wQU0hH6EtsJSCQIie/YWFKWge1kdAv ErK4IEzSyAYTrKzLXAiq2BZfohxF4hetqNRJOymiufzFqzlSptAfvif5W6vaGKSd9Cj6 7JZPpHp8SLPJSTnM/D0MkPqRpHQOvWp5AlFJfp4B89y+AxJVbbS9qhZuucBxHamMfrex 3BtflpFMeogLckgZk/tj2qXiE1qSAa+vVg3Nwg9KI4pmEkQh/oJJKgk0SB+hTmPzhOj/ ReZQ== MIME-Version: 1.0 X-Received: by 10.180.94.135 with SMTP id dc7mr4088453wib.11.1361652403881; Sat, 23 Feb 2013 12:46:43 -0800 (PST) Received: by 10.180.91.168 with HTTP; Sat, 23 Feb 2013 12:46:43 -0800 (PST) Date: Sun, 24 Feb 2013 00:46:43 +0400 Message-ID: Subject: Old ICH7 SATA-2 question From: Michael BlackHeart To: freebsd-stable Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Feb 2013 20:46:51 -0000 Hello there, I've got a question about SATA. I've got ASUS P5GC-MX/1333 with ICH7. (SATA2 support) A few HDD with SATA2. system: uname -a FreeBSD diablo.miekoff.local 9.1-STABLE FreeBSD 9.1-STABLE #1 r246666: Tue Feb 12 00:19:07 MSK 2013 root@diablo.miekoff.local:/usr/obj/usr/src/sys/DIABLO64 amd64 camcontrol info camcontrol iden ada2 pass2: ATA-8 SATA 2.x device pass2: 150.000MB/s transfers (SATA, UDMA5, PIO 8192bytes) protocol ATA/ATAPI-8 SATA 2.x device model ST3500320AS firmware revision SD1A serial number 5QM3LB0N WWN 5000c50011db1e03 cylinders 16383 heads 16 sectors/track 63 sector size logical 512, physical 512, offset 0 LBA supported 268435455 sectors LBA48 supported 976773168 sectors PIO supported PIO4 DMA supported WDMA2 UDMA6 media RPM 7200 Feature Support Enabled Value Vendor read ahead yes yes write cache yes yes flush cache yes yes overlap no Tagged Command Queuing (TCQ) no no Native Command Queuing (NCQ) yes 32 tags SMART yes yes microcode download yes yes security yes no power management yes yes advanced power management no no automatic acoustic management no no media status notification no no power-up in Standby no no write-read-verify yes yes 2/0x2 unload no no free-fall no no data set management (TRIM) no smartmontools info smartctl -a /dev/ada2 | more smartctl 6.0 2012-10-10 r3643 [FreeBSD 9.1-STABLE amd64] (local build) Copyright (C) 2002-12, Bruce Allen, Christian Franke, www.smartmontools.org === START OF INFORMATION SECTION === Model Family: Seagate Barracuda 7200.11 Device Model: ST3500320AS Serial Number: 5QM3LB0N LU WWN Device Id: 5 000c50 011db1e03 Firmware Version: SD1A User Capacity: 500 107 862 016 bytes [500 GB] Sector Size: 512 bytes logical/physical Rotation Rate: 7200 rpm Device is: In smartctl database [for details use: -P show] ATA Version is: ATA8-ACS T13/1699-D revision 4 SATA Version is: SATA 2.6, 3.0 Gb/s Local Time is: Sun Feb 24 00:29:47 2013 MSK SMART support is: Available - device has SMART capability. SMART support is: Enabled At this point all seems SATA2 capatible. But at loading: atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 31.1 on pci0 ata0: at channel 0 on atapci0 atapci1: port 0xb800-0xb807,0xb400-0xb403,0xb000-0xb007,0xa800-0xa803,0xa400-0xa40f irq 23 at device 31.2 on pci0 ata2: at channel 0 on atapci1 ata3: at channel 1 on atapci1 Looks like it's also SATA2 (SATA300) But HDD says this: ada2 at ata2 bus 0 scbus1 target 0 lun 0 ada2: ATA-8 SATA 2.x device ada2: 150.000MB/s transfers (SATA, UDMA5, PIO 8192bytes) ada2: 476940MB (976773168 512 byte sectors: 16H 63S/T 16383C) ada2: Previously was known as ad2 At this point I've a quiestion - what's the real operation speed and why's that. And for the record - I can't switch ICH 7 to ahci due to bios limitations. And one more, I've got netbook with ICH7 (NM-10 mb). It uses achi driver, and HDD says it's ahci0: <...> ahic0: AHCI v1.10 with 4 3Gbs ports <...> <...> ada0: ATA-8 SATA 2.x device ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) ada0: Command Queueing enabled As far as I remember without AHCI there's no NCQ support. But why with SATA300 controller on P5GC-MX/1333 I've got only 150 transfers? Is it's a limitations of this driver for old chip?