From owner-freebsd-questions@FreeBSD.ORG Tue Jul 27 17:17:08 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 450DB1065670 for ; Tue, 27 Jul 2010 17:17:08 +0000 (UTC) (envelope-from nickolay.krylov@gmail.com) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id 05E438FC21 for ; Tue, 27 Jul 2010 17:17:07 +0000 (UTC) Received: by yxe42 with SMTP id 42so702737yxe.13 for ; Tue, 27 Jul 2010 10:17:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=ZnbVW5FfuYx2WVkrs5WDN6pefR/yl9i/RXZVx7QhhqI=; b=IGA49odKgcQ8QJMDNG2/MVbNDZkOq9prfsmvFdJi+KHMv/kEdnaDQEf5zVUzCecaQV 92HgYUKb3e+LGrZZ9Ohw+E5jMlccUAWZWZYsPyV553tIBXzU9dcQ60gZJ26Yh25lvh7N YKtYpMO50JYeHbw+1EWO+RfKzs2/qsWASYEhk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=avisSDBLZ0BPDFWyLdGVC9Kxn+slZRV0UO8hLgl8TQdCt4SH1gBMI+/1z+IyoMlX+M IzVSDh4KmylHG+TAus1Jq3qF/DlyrBpxLl3ihMl4NyuwOcsU8ttuv41Rt9St2b6K6t1p Ky811kunedCUknWQT3ug5GB+NEHnV3/TePyLI= MIME-Version: 1.0 Received: by 10.150.58.20 with SMTP id g20mr10590083yba.83.1280249228892; Tue, 27 Jul 2010 09:47:08 -0700 (PDT) Received: by 10.151.50.21 with HTTP; Tue, 27 Jul 2010 09:47:08 -0700 (PDT) Date: Tue, 27 Jul 2010 20:47:08 +0400 Message-ID: From: Nickolay Krylov To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: How to enable NCQ on freebsd 8.1 ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jul 2010 17:17:08 -0000 Hi, all. I have enabled "options ATA_CAM" in the generic kernel and now can't understand NCQ works or not. There is some info. # uname -a FreeBSD 8.1-RELEASE FreeBSD 8.1-RELEASE #1: Mon Jul 26 11:58:32 UTC 2010 nk@:/usr/obj/usr/src/sys/BOOT81A amd64 # camcontrol devlist at scbus2 target 0 lun 0 (ada0,pass0) at scbus3 target 0 lun 0 (ada1,pass1) at scbus4 target 0 lun 0 (ada2,pass2) at scbus5 target 0 lun 0 (ada3,pass3) # camcontrol tags ada0 -v (pass0:ata2:0:0:0): dev_openings 1 (pass0:ata2:0:0:0): dev_active 0 (pass0:ata2:0:0:0): devq_openings 1 (pass0:ata2:0:0:0): devq_queued 0 (pass0:ata2:0:0:0): held 0 (pass0:ata2:0:0:0): mintags 32 (pass0:ata2:0:0:0): maxtags 32 # camcontrol identify ada0 pass0: ATA-8 SATA 2.x device pass0: 300.000MB/s transfers (SATA 2.x, UDMA5, PIO 8192bytes) protocol ATA/ATAPI-8 SATA 2.x device model ST31000524NS firmware revision SN11 serial number 9WK05TA2 WWN 5000c5001fe537d6 cylinders 16383 heads 16 sectors/track 63 sector size logical 512, physical 512, offset 0 LBA supported 268435455 sectors LBA48 supported 1953525168 sectors PIO supported PIO4 DMA supported WDMA2 UDMA6 media RPM 7200 Feature Support Enable 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 0/0x00 automatic acoustic management no no 0/0x00 254/0xFE media status notification no no power-up in Standby no no write-read-verify yes no 0/0x0 unload no no free-fall no no data set management (TRIM) no # cat /var/run/dmesg.boot | grep ada ipfw2 (+ipv6) initialized, divert loadable, nat loadable, rule-based forwarding enabled, default to accept, logging disabled ada0 at ata2 bus 0 scbus2 target 0 lun 0 ada0: ATA-8 SATA 2.x device ada0: 300.000MB/s transfers (SATA 2.x, UDMA5, PIO 8192bytes) ada0: 953869MB (1953525168 512 byte sectors: 16H 63S/T 16383C) ada1 at ata3 bus 0 scbus3 target 0 lun 0 ada1: ATA-8 SATA 2.x device ada1: 300.000MB/s transfers (SATA 2.x, UDMA5, PIO 8192bytes) ada1: 953869MB (1953525168 512 byte sectors: 16H 63S/T 16383C) ada2 at ata4 bus 0 scbus4 target 0 lun 0 ada2: ATA-8 SATA 2.x device ada2: 300.000MB/s transfers (SATA 2.x, UDMA5, PIO 8192bytes) ada2: 953869MB (1953525168 512 byte sectors: 16H 63S/T 16383C) ada3 at ata5 bus 0 scbus5 target 0 lun 0 ada3: ATA-8 SATA 2.x device ada3: 300.000MB/s transfers (SATA 2.x, UDMA5, PIO 8192bytes) ada3: 953869MB (1953525168 512 byte sectors: 16H 63S/T 16383C) Trying to mount root from ufs:/dev/ada0s1a This system installed on Tyan Tomcat K8E motherboard.