Re: how to enable NCQ on Intel ESB2 AHCI SATA?controller/ST31000340NS
On Wed, 23 Mar 2011 16:37:11 -0500, Dan Nelson wrote: DN If you do a verbose boot, you should get a couple more lines printed: DN DN ahci0: Caps: 64bit NCQ SNTF AL CLO 3Gbps PM PMD SSC PSC 32cmd CCC EM 6ports DN ahci0: Caps2: DN ahci0: EM Caps: ALHD XMT SMB LED DN DN If you see NCQ in your Caps line, then queueing should be supported by the DN controller. Looking at the ahci.c source, there is a quirk AHCI_Q_NONCQ DN that disables NCQ, but it it only used for VIA VT8251 chips. It seems to be NCQ not supported by this controller: ahci0: AHCI v1.10 with 6 3Gbps ports, Port Multiplier supported ahci0: Caps: 64bit ALP AL 3Gbps PM SSC PSC 32cmd 6ports ahci0: Caps2: -- WBR, Anton Yuzhaninov ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: how to enable NCQ on Intel ESB2 AHCI SATA controller/ST31000340NS
In the last episode (Mar 22), Anton Yuzhaninov said: How to enable NCQ on this controller: ahci0@pci0:0:31:2: class=0x010601 card=0x808015d9 chip=0x26818086 rev=0x09 hdr=0x00 vendor = 'Intel Corporation' device = 'LSI LOGIC, 62089A2, LSISAS1068 B0, T 0620, WE 119200.1 (62089A2)' class = mass storage subclass = SATA bar [10] = type I/O Port, range 32, base 0x18a0, size 8, enabled bar [14] = type I/O Port, range 32, base 0x1874, size 4, enabled bar [18] = type I/O Port, range 32, base 0x1878, size 8, enabled bar [1c] = type I/O Port, range 32, base 0x1870, size 4, enabled bar [20] = type I/O Port, range 32, base 0x1880, size 32, enabled bar [24] = type Memory, range 32, base 0xd8700400, size 1024, enabled cap 01[70] = powerspec 2 supports D0 D3 current D0 cap 12[a8] = SATA Index-Data Pair dmesg: ahci0: Intel ESB2 AHCI SATA controller port 0x18a0-0x18a7,0x1874-0x1877,0x1878-0x187f,0x1870-0x1873,0x1880-0x189f mem 0xd8700400-0xd87007ff irq 19 at device 31.2 on pci0 ahci0: [ITHREAD] ahci0: AHCI v1.10 with 6 3Gbps ports, Port Multiplier supported If you do a verbose boot, you should get a couple more lines printed: ahci0: Caps: 64bit NCQ SNTF AL CLO 3Gbps PM PMD SSC PSC 32cmd CCC EM 6ports ahci0: Caps2: ahci0: EM Caps: ALHD XMT SMB LED If you see NCQ in your Caps line, then queueing should be supported by the controller. Looking at the ahci.c source, there is a quirk AHCI_Q_NONCQ that disables NCQ, but it it only used for VIA VT8251 chips. -- Dan Nelson dnel...@allantgroup.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
how to enable NCQ on Intel ESB2 AHCI SATA controller/ST31000340NS
How to enable NCQ on this controller: ahci0@pci0:0:31:2: class=0x010601 card=0x808015d9 chip=0x26818086 rev=0x09 hdr=0x00 vendor = 'Intel Corporation' device = 'LSI LOGIC, 62089A2, LSISAS1068 B0, T 0620, WE 119200.1 (62089A2)' class = mass storage subclass = SATA bar [10] = type I/O Port, range 32, base 0x18a0, size 8, enabled bar [14] = type I/O Port, range 32, base 0x1874, size 4, enabled bar [18] = type I/O Port, range 32, base 0x1878, size 8, enabled bar [1c] = type I/O Port, range 32, base 0x1870, size 4, enabled bar [20] = type I/O Port, range 32, base 0x1880, size 32, enabled bar [24] = type Memory, range 32, base 0xd8700400, size 1024, enabled cap 01[70] = powerspec 2 supports D0 D3 current D0 cap 12[a8] = SATA Index-Data Pair dmesg: ahci0: Intel ESB2 AHCI SATA controller port 0x18a0-0x18a7,0x1874-0x1877,0x1878-0x187f,0x1870-0x1873,0x1880-0x189f mem 0xd8700400-0xd87007ff irq 19 at device 31.2 on pci0 ahci0: [ITHREAD] ahci0: AHCI v1.10 with 6 3Gbps ports, Port Multiplier supported ... ada0 at ahcich0 bus 0 scbus0 target 0 lun 0 ada0: ST31000340NS SN05 ATA-8acd0: DVDROM DVD-ROM UJDA780/1.50 at ata0-slave UDMA33 ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) ada0: 953869MB (1953525168 512 byte sectors: 16H 63S/T 16383C) ada1 at ahcich1 bus 0 scbus1 target 0 lun 0 ada1: ST31000340NS SN05 ATA-8 SATA 2.x device ada1: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) ada1: 953869MB (1953525168 512 byte sectors: 16H 63S/T 16383C) There is no lines Command Queueing enabled # camcontrol tags ada0 (pass0:ahcich0:0:0:0): device openings: 2 camcontrol identify ada0 pass0: ST31000340NS SN05 ATA-8 SATA 2.x device pass0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) protocol ATA/ATAPI-8 SATA 2.x device model ST31000340NS firmware revision SN05 serial number 9QJ1L67B WWN 5000c500d902ea3 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 Enabled Value Vendor read ahead yes yes write cacheyes yes flush cacheyes yes overlapno Tagged Command Queuing (TCQ) no no Native Command Queuing (NCQ) yes 32 tags # uname -srp FreeBSD 8.2-STABLE-20110315 amd64 -- WBR, Anton Yuzhaninov ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
How to enable NCQ on freebsd 8.1 ?
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 SN11at scbus2 target 0 lun 0 (ada0,pass0) ST31000524NS SN11at scbus3 target 0 lun 0 (ada1,pass1) ST31000524NS SN11at scbus4 target 0 lun 0 (ada2,pass2) ST31000524NS SN11at 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_active0 (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 EnableValue Vendor read ahead yes yes write cacheyes yes flush cacheyes yes overlapno 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 Standbyno 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. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: How to enable NCQ on freebsd 8.1 ?
I believe you need to use AHCI. I recently moved a test system over to AHCI and this is what I see at boot time for my hard drive: ada0 at ahcich0 bus 0 scbus0 target 0 lun 0 ada0: ST31000528AS CC34 ATA-8 SATA 2.x device ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) ada0: Command Queueing enabled ada0: 953869MB (1953525168 512 byte sectors: 16H 63S/T 16383C) Regards, Jerry On 7/27/2010 12:47 PM, Nickolay Krylov wrote: Hi, all. I have enabled options ATA_CAM in the generic kernel and now can't understand NCQ works or not. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: How to enable NCQ on freebsd 8.1 ?
Hi. Nickolay Krylov wrote: I have enabled options ATA_CAM in the generic kernel and now can't understand NCQ works or not. options ATA_CAM enables wrapper for existing ata(4) controller drivers, that do not support command queuing. All this option give to you is switching to newer bus management and peripheral code. 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) If NCQ was supported, you would also see there lines: ada0: Command Queueing enabled This system installed on Tyan Tomcat K8E motherboard. To support MCQ you should use one of new drivers: ahci(4), siis(4) or mvs(4) on supported hardware. As I can see, your board is based on nForce4 chipset, which supports NCQ in own proprietary way, which is not supported at the moment and unlikely will be ever supported, as it is quite old already and all later chisets are AHCI compatible instead of it. -- Alexander Motin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: how to enable NCQ?
I believe the Raptor series is the only SATA version with NCQ. NForce 4 Ultra and certain high end raid controllers support it. a bit not understanding! does NCQ require some special hardware on motherboard?! isn't that just serial ATA? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: how to enable NCQ?
Wojciech Puchar schrieb: a bit not understanding! does NCQ require some special hardware on motherboard?! isn't that just serial ATA? NCQ is part of the SATA II specification and doesn't work with ATA controllers that can only deal with SATA devices of the first generation. Björn ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
how to enable NCQ?
my drive does have this, i selected it while buying. at least it's supposed to have? is something that must be done to enable NCQ, or this is not NCQ-capable drive? (i was cheated) Protocol Serial ATA v1.0 Serial ATA II device model WDC WD1600JS-60MHB1 serial number WD-WCANM1342924 firmware revision 10.02E02 cylinders 16383 heads 16 sectors/track 63 lba supported 268435455 sectors lba48 supported 312581808 sectors dma supported overlap not supported Feature Support EnableValue Vendor write cacheyes yes read ahead yes yes Native Command Queuing (NCQ) no- 0/0x00 Tagged Command Queuing (TCQ) no no 0/0x00 SMART yes yes microcode download yes yes security no no power management yes yes advanced power management no no 0/0x00 automatic acoustic management no no 0/0x00 0/0x00 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: how to enable NCQ?
At 05:32 PM 11/30/2005, Wojciech Puchar wrote: my drive does have this, i selected it while buying. at least it's supposed to have? is something that must be done to enable NCQ, or this is not NCQ-capable drive? (i was cheated) According to the western digital web site, the model you have does not support NCQ. -Glenn Protocol Serial ATA v1.0 Serial ATA II device model WDC WD1600JS-60MHB1 serial number WD-WCANM1342924 firmware revision 10.02E02 cylinders 16383 heads 16 sectors/track 63 lba supported 268435455 sectors lba48 supported 312581808 sectors dma supported overlap not supported Feature Support EnableValue Vendor write cacheyes yes read ahead yes yes Native Command Queuing (NCQ) no - 0/0x00 Tagged Command Queuing (TCQ) no no 0/0x00 SMART yes yes microcode download yes yes security no no power management yes yes advanced power management no no 0/0x00 automatic acoustic management no no 0/0x00 0/0x00 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: how to enable NCQ?
at least it's supposed to have? is something that must be done to enable NCQ, or this is not NCQ-capable drive? (i was cheated) According to the western digital web site, the model you have does not support NCQ. thank you very much -Glenn Protocol Serial ATA v1.0 Serial ATA II device model WDC WD1600JS-60MHB1 serial number WD-WCANM1342924 firmware revision 10.02E02 cylinders 16383 heads 16 sectors/track 63 lba supported 268435455 sectors lba48 supported 312581808 sectors dma supported overlap not supported Feature Support EnableValue Vendor write cacheyes yes read ahead yes yes Native Command Queuing (NCQ) no - 0/0x00 Tagged Command Queuing (TCQ) no no 0/0x00 SMART yes yes microcode download yes yes security no no power management yes yes advanced power management no no 0/0x00 automatic acoustic management no no 0/0x00 0/0x00 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: how to enable NCQ?
I believe the Raptor series is the only SATA version with NCQ. NForce 4 Ultra and certain high end raid controllers support it. On 11/30/05, Wojciech Puchar [EMAIL PROTECTED] wrote: my drive does have this, i selected it while buying. at least it's supposed to have? is something that must be done to enable NCQ, or this is not NCQ-capable drive? (i was cheated) Protocol Serial ATA v1.0 Serial ATA II device model WDC WD1600JS-60MHB1 serial number WD-WCANM1342924 firmware revision 10.02E02 cylinders 16383 heads 16 sectors/track 63 lba supported 268435455 sectors lba48 supported 312581808 sectors dma supported overlap not supported Feature Support EnableValue Vendor write cacheyes yes read ahead yes yes Native Command Queuing (NCQ) no- 0/0x00 Tagged Command Queuing (TCQ) no no 0/0x00 SMART yes yes microcode download yes yes security no no power management yes yes advanced power management no no 0/0x00 automatic acoustic management no no 0/0x00 0/0x00 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Do the actors on Unsolved Mysteries ever get arrested because they look just like the criminal they are playing? Christopher ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]