Date: Tue, 27 Jul 2010 20:47:08 +0400 From: Nickolay Krylov <nickolay.krylov@gmail.com> To: freebsd-questions@freebsd.org Subject: How to enable NCQ on freebsd 8.1 ? Message-ID: <AANLkTimpAm-QRUB7i1Nsdk9X=fq0xEmx_rqgFYznRbgH@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
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 <ST31000524NS SN11> at scbus2 target 0 lun 0 (ada0,pass0) <ST31000524NS SN11> at scbus3 target 0 lun 0 (ada1,pass1) <ST31000524NS SN11> at scbus4 target 0 lun 0 (ada2,pass2) <ST31000524NS SN11> 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: <ST31000524NS SN11> 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: <ST31000524NS SN11> 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: <ST31000524NS SN11> 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: <ST31000524NS SN11> 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: <ST31000524NS SN11> 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTimpAm-QRUB7i1Nsdk9X=fq0xEmx_rqgFYznRbgH>