[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080402173429.GS11237@mx01>
Date: Wed, 2 Apr 2008 19:34:30 +0200
From: Michael Stapelberg <michael+lkml@...pelberg.de>
To: Jeff Garzik <jeff@...zik.org>, linux-kernel@...r.kernel.org
Subject: WD SATA disk works on nv but not on ahci
Hi,
I recently bought an MSI 945GT Speedster-A4V which got an Intel 82801GR/GH
(ICH7 Family) SATA AHCI Controller onboard. The complete lspci-Output follows
below.
I also have a WD 250 GB SATA disk since about a year, it's an WDC
WD2500YD-01N. This disk ran on an ASUS A8N-SLI flawlessly for over a year. It
also works on an MSI K9N (also nvidia-chipset) flawlessy right now, I just
tested it.
When I use this disk on my MSI 945GT it throws SATA Exceptions like this on
nearly every access to the disk (reading via dd for example):
Apr 2 18:11:45 w ata5.00: exception Emask 0x52 SAct 0x1 SErr 0x1480c01 action 0x6 frozen
Apr 2 18:11:45 w ata5.00: irq_stat 0x08000000, interface fatal error
Apr 2 18:11:45 w ata5: SError: { RecovData Proto HostInt 10B8B Handshk TrStaTrns }
Apr 2 18:11:45 w ata5.00: cmd 60/00:00:10:90:0d/02:00:00:00:00/40 tag 0 ncq 262144 in
Apr 2 18:11:45 w res 40/00:04:10:90:0d/00:00:00:00:00/40 Emask 0x52 (ATA bus error)
Apr 2 18:11:45 w ata5.00: status: { DRDY }
Apr 2 18:11:45 w ata5: hard resetting link
Apr 2 18:11:51 w ata5: port is slow to respond, please be patient (Status 0x80)
Apr 2 18:11:56 w ata5: COMRESET failed (errno=-16)
Apr 2 18:11:56 w ata5: hard resetting link
Apr 2 18:11:56 w ata5: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
Apr 2 18:11:56 w ata5.00: configured for UDMA/133
Apr 2 18:11:56 w ata5: EH complete
Apr 2 18:11:56 w ata5.00: exception Emask 0x10 SAct 0x1 SErr 0x400100 action 0x2 frozen
Apr 2 18:11:56 w ata5.00: irq_stat 0x08000000, interface fatal error
Apr 2 18:11:56 w ata5: SError: { UnrecovData Handshk }
Apr 2 18:11:56 w ata5.00: cmd 61/08:00:20:28:00/00:00:00:00:00/40 tag 0 ncq 4096 out
Apr 2 18:11:56 w res 40/00:04:20:28:00/00:00:00:00:00/40 Emask 0x10 (ATA bus error)
Apr 2 18:11:56 w ata5.00: status: { DRDY }
Apr 2 18:11:56 w ata5: soft resetting link
Apr 2 18:11:57 w ata5: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
Apr 2 18:11:57 w ata5.00: configured for UDMA/133
Apr 2 18:11:57 w ata5: EH complete
Apr 2 18:11:57 w sd 5:0:0:0: [sdb] 490234752 512-byte hardware sectors (251000 MB)
Apr 2 18:11:57 w sd 5:0:0:0: [sdb] Write Protect is off
Apr 2 18:11:57 w sd 5:0:0:0: [sdb] Mode Sense: 00 3a 00 00
Apr 2 18:11:57 w sd 5:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Apr 2 18:11:57 w sd 5:0:0:0: [sdb] 490234752 512-byte hardware sectors (251000 MB)
Apr 2 18:11:57 w sd 5:0:0:0: [sdb] Write Protect is off
Apr 2 18:11:57 w sd 5:0:0:0: [sdb] Mode Sense: 00 3a 00 00
Apr 2 18:11:57 w sd 5:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
This is really annoying and so I tried debugging the problem... When attaching
my WD Raptor 74 GB (WDC WD740GD-00FL), there are no problems at all. I can
read the whole disk without a single error. This rules out problems with SATA
cables and power supply, I think. The cable is the same which I used the year
before.
I also tried switching between IDE/AHCI-mode in the BIOS, but neither works
correctly. IDE-mode just spits out error messages and doesn't work at all,
AHCI produces the errors I talked about above.
I'm using kernel 2.6.24.3 at the moment.
This is a really strange problem in my opinion, could it be an incompatibility
in the SATA protocol of this drive? Just to stress it, the drive works on an
nvidia chipset and another drive works on the ICH7R, just this very combination
got problems.
Please CC me as I'm not subscribed to the list.
Best regards,
Michael
dmesg and kernel configuration is attached
lspci:
00:1f.2 SATA controller: Intel Corporation 82801GR/GH (ICH7 Family) SATA AHCI Controller (rev 01) (prog-if 01 [AHCI 1.0])
Subsystem: Micro-Star International Co., Ltd. Unknown device 6320
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 217
I/O ports at fa00 [size=8]
I/O ports at f900 [size=4]
I/O ports at f800 [size=8]
I/O ports at f700 [size=4]
I/O ports at f600 [size=16]
Memory at fdffe000 (32-bit, non-prefetchable) [size=1K]
Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable+
Capabilities: [70] Power Management version 2
Kernel driver in use: ahci
Kernel modules: ahci
View attachment "cfg" of type "text/plain" (10184 bytes)
View attachment "dm" of type "text/plain" (42826 bytes)
Powered by blists - more mailing lists