From: Jens =?iso-8859-1?q?Pr=FCfer?= Subject: Possible NCQ problem with Seagate ST3250620NS/nForce 4 Date: Wed, 24 Oct 2007 20:33:53 +0200 Message-ID: <200710242033.53485.jens.pruefer@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from mail.gmx.net ([213.165.64.20]:47560 "HELO mail.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1755290AbXJXSeC convert rfc822-to-8bit (ORCPT ); Wed, 24 Oct 2007 14:34:02 -0400 Content-Disposition: inline Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: jgarzik@pobox.com Cc: linux-ide@vger.kernel.org Hi, I am experiencing reproducible timeout problems when using NCQ-enabled=20 kernels (tried various Debian and Ubuntu kernels as well as vanilla=20 2.6.23.1. It runs ok for a few minutes, but the first time there is any= =20 real load on the drive, it freezes (heaps of timeouts) until NCQ gets=20 switched off. --- snip --- [ 202.616000] ata1: EH in ADMA mode, notifier 0x0 notifier_error 0x0=20 gen_ctl 0x1501000 status 0x400 next cpb count 0x4 next cpb idx 0x0 [ 202.616000] ata1: CPB 0: ctl_flags 0x1f, resp_flags 0x0 [ 202.616000] ata1: CPB 1: ctl_flags 0x1f, resp_flags 0x0 [ 202.616000] ata1: CPB 2: ctl_flags 0x1f, resp_flags 0x0 [ 202.616000] ata1: CPB 3: ctl_flags 0x1f, resp_flags 0x0 [ 202.616000] ata1: CPB 4: ctl_flags 0x1f, resp_flags 0x0 [ 202.616000] ata1: timeout waiting for ADMA IDLE, stat=3D0x400 [ 202.616000] ata1: timeout waiting for ADMA LEGACY, stat=3D0x400 [ 202.616000] ata1.00: exception Emask 0x0 SAct 0x1f SErr 0x0 action 0= x2=20 frozen [ 202.616000] ata1.00: cmd 61/00:00:b5:d1:28/02:00:17:00:00/40 tag 0 c= db=20 0x0 data 262144 out [ 202.616000] res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0= x4=20 (timeout) [ 202.616000] ata1.00: cmd 61/78:08:b5:d3:28/01:00:17:00:00/40 tag 1 c= db=20 0x0 data 192512 out [ 202.616000] res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0= x4=20 (timeout) [ 202.616000] ata1.00: cmd 61/08:10:a5:45:27/00:00:17:00:00/40 tag 2 c= db=20 0x0 data 4096 out [ 202.616000] res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0= x4=20 (timeout) [ 202.616000] ata1.00: cmd 60/10:18:15:4e:b9/00:00:1a:00:00/40 tag 3 c= db=20 0x0 data 8192 in [ 202.616000] res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0= x4=20 (timeout) [ 202.616000] ata1.00: cmd 60/08:20:25:4a:df/00:00:1a:00:00/40 tag 4 c= db=20 0x0 data 4096 in [ 202.616000] res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0= x4=20 (timeout) [ 202.932000] ata1: soft resetting port [ 203.088000] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300) [ 203.248000] ata1.00: configured for UDMA/133 [ 203.248000] ata1: EH complete [ 203.248000] sd 0:0:0:0: [sda] 488397168 512-byte hardware sectors (2= 50059=20 MB) [ 203.248000] sd 0:0:0:0: [sda] Write Protect is off [ 203.248000] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00 [ 203.252000] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enab= led,=20 doesn't support DPO or FUA [ 233.248000] ata1: EH in ADMA mode, notifier 0x0 notifier_error 0x0=20 gen_ctl 0x1501000 status 0x400 next cpb count 0x4 next cpb idx 0x0 [ 233.248000] ata1: CPB 0: ctl_flags 0x1f, resp_flags 0x0 [ 233.248000] ata1: CPB 1: ctl_flags 0x1f, resp_flags 0x0 [ 233.248000] ata1: CPB 2: ctl_flags 0x1f, resp_flags 0x0 [ 233.248000] ata1: CPB 3: ctl_flags 0x1f, resp_flags 0x0 [ 233.248000] ata1: CPB 4: ctl_flags 0x1f, resp_flags 0x0 [ 233.248000] ata1: timeout waiting for ADMA IDLE, stat=3D0x400 [ 233.248000] ata1: timeout waiting for ADMA LEGACY, stat=3D0x400 [ 233.248000] ata1.00: NCQ disabled due to excessive errors --- snap --- The device is a Seagate ST3250620NS. Maybe it should be blacklisted as = well? Anyhow, I cannot find any boot parameter to switch off NCQ and circumve= nt=20 the freezing of the drive. Something like the "noacpi" option (maybe=20 noncq?) would be nice. Or am I missing something? Cheers, Jens Pr=FCfer