On Sun, 21 Jan 2007 15:29:32 +0100 Paolo Ornati wrote: > Sorry for starting a new thread, but I've deleted the messages from my > mail-box, and I'm sot sure it's the same problem as here: > http://lkml.org/lkml/2007/1/14/108 > > Today I've decided to try XFS... and just doing anything on it > (extracting a tarball, for example) make my SATA HD go crazy ;) > > I don't remember to have seen this using Ext3. > > [ 877.839920] ata1.00: exception Emask 0x0 SAct 0x1 SErr 0x0 action > 0x2 frozen [ 877.839929] ata1.00: cmd > 61/02:00:64:98:98/00:00:00:00:00/40 tag 0 cdb 0x0 data 1024 out > [ 877.839931] res 40/00:00:00:4f:c2/00:00:00:4f:c2/00 Emask > 0x4 (timeout) [ 878.142367] ata1: soft resetting port [ 878.351791] > ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300) [ 878.354384] > ata1.00: configured for UDMA/133 [ 878.354392] ata1: EH complete > [ 878.355696] SCSI device sda: 156301488 512-byte hdwr sectors > (80026 MB) [ 878.355716] sda: Write Protect is off > [ 878.355718] sda: Mode Sense: 00 3a 00 00 > [ 878.355745] SCSI device sda: write cache: enabled, read cache: > enabled, doesn't support DPO or FUA > > > It takes nothing to reproduce it. > > My hardware is: > > 00:00.0 Host bridge: Intel Corporation 82P965/G965 Memory Controller > Hub (rev 02) 00:02.0 VGA compatible controller: Intel Corporation > 82G965 Integrated Graphics Controller (rev 02) 00:03.0 Communication > controller: Intel Corporation 82P965/G965 HECI Controller (rev 02) > 00:19.0 Ethernet controller: Intel Corporation 82566DC Gigabit > Network Connection (rev 02) 00:1a.0 USB Controller: Intel Corporation > 82801H (ICH8 Family) USB UHCI #4 (rev 02) 00:1a.1 USB Controller: > Intel Corporation 82801H (ICH8 Family) USB UHCI #5 (rev 02) 00:1a.7 > USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI #2 > (rev 02) 00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) > HD Audio Controller (rev 02) 00:1c.0 PCI bridge: Intel Corporation > 82801H (ICH8 Family) PCI Express Port 1 (rev 02) 00:1c.1 PCI bridge: > Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 02) > 00:1c.2 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI > Express Port 3 (rev 02) 00:1c.3 PCI bridge: Intel Corporation 82801H > (ICH8 Family) PCI Express Port 4 (rev 02) 00:1c.4 PCI bridge: Intel > Corporation 82801H (ICH8 Family) PCI Express Port 5 (rev 02) 00:1d.0 > USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI #1 > (rev 02) 00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 > Family) USB UHCI #2 (rev 02) 00:1d.2 USB Controller: Intel > Corporation 82801H (ICH8 Family) USB UHCI #3 (rev 02) 00:1d.7 USB > Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI #1 (rev > 02) 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev f2) > 00:1f.0 ISA bridge: Intel Corporation 82801HB/HR (ICH8/R) LPC > Interface Controller (rev 02) 00:1f.2 SATA controller: Intel > Corporation 82801HB (ICH8) 4 port SATA AHCI Controller (rev 02) > 00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus > Controller (rev 02) 02:00.0 IDE interface: Marvell Technology Group > Ltd. Unknown device 6101 (rev b1) 06:00.0 Ethernet controller: > Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10) > > > with a Seagate Barracurda 7200rpm 80GB HD > > > I've so far tested these kernels: > 2.6.20-rc5 BAD > 2.6.20-rc4 BAD > 2.6.19 BAD > 2.6.18 BAD > 2.6.17 Good ! > > I'll start a git-bisection... > git-bisect points to this commit: ---------------------------------------------- 12fad3f965830d71f6454f02b2af002a64cec4d3 is first bad commit commit 12fad3f965830d71f6454f02b2af002a64cec4d3 Author: Tejun Heo Date: Mon May 15 21:03:55 2006 +0900 [PATCH] ahci: implement NCQ suppport Implement NCQ support. Original implementation is from Jens Axboe. Signed-off-by: Tejun Heo :040000 040000 be681c4b21f34da5241e72c97c6695d735e90771 3557b2db9d7c3d48a0408137b455ce12931bb18d M drivers ---------------------------------------------- Problem just reproduced on 2.6.20-rc5: [ 431.374421] ata1.00: exception Emask 0x0 SAct 0x1 SErr 0x0 action 0x2 frozen [ 431.374430] ata1.00: cmd 61/40:00:fe:aa:98/00:00:00:00:00/40 tag 0 cdb 0x0 data 32768 out [ 431.374432] res 40/00:00:9e:9c:bd/00:00:01:00:00/40 Emask 0x4 (timeout) [ 431.677154] ata1: soft resetting port [ 431.886700] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300) [ 431.889277] ata1.00: configured for UDMA/133 [ 431.889285] ata1: EH complete [ 431.890781] SCSI device sda: 156301488 512-byte hdwr sectors (80026 MB) [ 431.890854] sda: Write Protect is off [ 431.890858] sda: Mode Sense: 00 3a 00 00 [ 431.890903] SCSI device sda: write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 450.800490] XFS mounting filesystem sda1 [ 450.853731] Ending clean XFS mount for filesystem: sda1 [ 481.131888] ata1.00: exception Emask 0x0 SAct 0x1 SErr 0x0 action 0x2 frozen [ 481.131896] ata1.00: cmd 61/40:00:46:af:98/00:00:00:00:00/40 tag 0 cdb 0x0 data 32768 out [ 481.131898] res 40/00:00:9e:9c:bd/00:00:01:00:00/40 Emask 0x4 (timeout) [ 481.436015] ata1: soft resetting port [ 481.645237] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300) [ 481.647825] ata1.00: configured for UDMA/133 [ 481.647834] ata1: EH complete [ 481.649252] SCSI device sda: 156301488 512-byte hdwr sectors (80026 MB) [ 481.649295] sda: Write Protect is off [ 481.649298] sda: Mode Sense: 00 3a 00 00 [ 481.649358] SCSI device sda: write cache: enabled, read cache: enabled, doesn't support DPO or FUA Full dmesg attached. If you need more info, just ask. -- Paolo Ornati Linux 2.6.20-rc5 on x86_64