Bug 9446 - 2.6.24-rc2: NCQ disabled
Summary: 2.6.24-rc2: NCQ disabled
Status: RESOLVED CODE_FIX
Alias: None
Product: IO/Storage
Classification: Unclassified
Component: Serial ATA (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Tejun Heo
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-24 03:18 UTC by Rafael J. Wysocki
Modified: 2007-12-11 15:52 UTC (History)
1 user (show)

See Also:
Kernel Version: 2.6.24-rc2
Subsystem:
Regression: ---
Bisected commit-id:


Attachments

Description Rafael J. Wysocki 2007-11-24 03:18:42 UTC
Subject         : 2.6.24-rc2: NCQ disabled
Submitter       : Jan-Simon Möller <dl9pf@gmx.de>
References      : http://lkml.org/lkml/2007/11/13/361
Comment 1 Tejun Heo 2007-11-24 03:47:08 UTC
Please post the result of 'lspci -nn'.  Thanks.
Comment 2 Jan-Simon Möller 2007-11-24 10:35:40 UTC
lspci -nn
00:00.0 Host bridge [Class 0600]: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub [8086:2a00] (rev 03)
00:02.0 VGA compatible controller [Class 0300]: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller [8086:2a02] (rev 03)
00:02.1 Display controller [Class 0380]: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller [8086:2a03] (rev 03)
00:1a.0 USB Controller [Class 0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI Contoller #4 [8086:2834] (rev 03)
00:1a.1 USB Controller [Class 0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 [8086:2835] (rev 03)
00:1a.7 USB Controller [Class 0c03]: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 [8086:283a] (rev 03)
00:1b.0 Audio device [Class 0403]: Intel Corporation 82801H (ICH8 Family) HD Audio Controller [8086:284b] (rev 03)
00:1c.0 PCI bridge [Class 0604]: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 [8086:283f] (rev 03)
00:1c.1 PCI bridge [Class 0604]: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 [8086:2841] (rev 03)
00:1c.2 PCI bridge [Class 0604]: Intel Corporation 82801H (ICH8 Family) PCI Express Port 3 [8086:2843] (rev 03)
00:1c.3 PCI bridge [Class 0604]: Intel Corporation 82801H (ICH8 Family) PCI Express Port 4 [8086:2845] (rev 03)
00:1d.0 USB Controller [Class 0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 [8086:2830] (rev 03)
00:1d.1 USB Controller [Class 0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 [8086:2831] (rev 03)
00:1d.2 USB Controller [Class 0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 [8086:2832] (rev 03)
00:1d.7 USB Controller [Class 0c03]: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 [8086:2836] (rev 03)
00:1e.0 PCI bridge [Class 0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448] (rev f3)
00:1f.0 ISA bridge [Class 0601]: Intel Corporation 82801HEM (ICH8M) LPC Interface Controller [8086:2815] (rev 03)
00:1f.1 IDE interface [Class 0101]: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller [8086:2850] (rev 03)
00:1f.2 SATA controller [Class 0106]: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA AHCI Controller [8086:2829] (rev 03)
00:1f.3 SMBus [Class 0c05]: Intel Corporation 82801H (ICH8 Family) SMBus Controller [8086:283e] (rev 03)
02:00.0 Ethernet controller [Class 0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168] (rev 01)
08:00.0 Network controller [Class 0280]: Intel Corporation PRO/Wireless 4965 AG or AGN Network Connection [8086:4229] (rev 61)


FSC Esprimo Mobile V5505, btw.


hdparm -i /dev/sda

/dev/sda:

 Model=WDC WD2500BEVS-22UST0                   , FwRev=01.01A01, SerialNo=     WD-WXE807E07297
 Config={ HardSect NotMFM HdSw>15uSec SpinMotCtl Fixed DTR>5Mbs FmtGapReq }
 RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=50
 BuffType=unknown, BuffSize=8192kB, MaxMultSect=16, MultSect=?16?
 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=268435455
 IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes:  pio0 pio3 pio4
 DMA modes:  mdma0 mdma1 mdma2
 UDMA modes: udma0 udma1 udma2 udma3 udma4 udma5
 AdvancedPM=yes: disabled (255) WriteCache=enabled
 Drive conforms to: Unspecified:  ATA/ATAPI-1,2,3,4,5,6,7

 * signifies the current active mode
Comment 3 Jan-Simon Möller 2007-11-27 10:04:33 UTC
eek ... 

seem the issue is just triggered more often in recent kernels! look: 

dl9pf@legolas:~> uname -r
2.6.22.9-0.4-default-fujitsu
(default opensuse 10.3 with small patch in snd_hda)
dl9pf@legolas:~> dmesg | tail -n50
[...]
ata1.00: exception Emask 0x2 SAct 0x4 SErr 0x0 action 0x2 frozen
ata1.00: spurious completions during NCQ issue=0x0 SAct=0x4 FIS=004040a1:00000002
ata1.00: cmd 61/08:10:cc:d7:a6/00:00:07:00:00/40 tag 2 cdb 0x0 data 4096 out
         res 40/00:14:cc:d7:a6/00:00:07:00:00/40 Emask 0x2 (HSM violation)
ata1: soft resetting link
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata1.00: configured for UDMA/133
ata1: EH complete
sd 0:0:0:0: [sda] 488397168 512-byte hardware sectors (250059 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
ata1.00: exception Emask 0x2 SAct 0x787 SErr 0x0 action 0x2 frozen
ata1.00: spurious completions during NCQ issue=0x0 SAct=0x787 FIS=004040a1:00000040
ata1.00: cmd 60/10:00:14:63:ce/00:00:06:00:00/40 tag 0 cdb 0x0 data 8192 in
         res 40/00:54:2c:c8:76/00:00:04:00:00/40 Emask 0x2 (HSM violation)
ata1.00: cmd 60/08:08:34:63:ce/00:00:06:00:00/40 tag 1 cdb 0x0 data 4096 in
         res 40/00:54:2c:c8:76/00:00:04:00:00/40 Emask 0x2 (HSM violation)
ata1.00: cmd 60/08:10:64:e4:24/00:00:09:00:00/40 tag 2 cdb 0x0 data 4096 in
         res 40/00:54:2c:c8:76/00:00:04:00:00/40 Emask 0x2 (HSM violation)
ata1.00: cmd 60/18:38:cc:62:ce/00:00:06:00:00/40 tag 7 cdb 0x0 data 12288 in
         res 40/00:54:2c:c8:76/00:00:04:00:00/40 Emask 0x2 (HSM violation)
ata1.00: cmd 60/08:40:9c:43:39/00:00:09:00:00/40 tag 8 cdb 0x0 data 4096 in
         res 40/00:54:2c:c8:76/00:00:04:00:00/40 Emask 0x2 (HSM violation)
ata1.00: cmd 60/08:48:c4:43:39/00:00:09:00:00/40 tag 9 cdb 0x0 data 4096 in
         res 40/00:54:2c:c8:76/00:00:04:00:00/40 Emask 0x2 (HSM violation)
ata1.00: cmd 60/08:50:2c:c8:76/00:00:04:00:00/40 tag 10 cdb 0x0 data 4096 in
         res 40/00:54:2c:c8:76/00:00:04:00:00/40 Emask 0x2 (HSM violation)
ata1: soft resetting link
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata1.00: configured for UDMA/133
ata1: EH complete
sd 0:0:0:0: [sda] 488397168 512-byte hardware sectors (250059 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Comment 4 Rafael J. Wysocki 2007-11-27 10:11:42 UTC
This doesn't look like a recent regression, then.
Comment 5 Jan-Simon Möller 2007-12-11 14:32:49 UTC
Is this issue fixed with 459ad68893a84fb0881e57919340b97edbbc3dc7  ??
Comment 6 Tejun Heo 2007-12-11 15:52:09 UTC
Yes, this is.  Resolving as CODE_FIX.  Thanks.

Note You need to log in before you can comment on or make changes to this bug.