DMA bei Festplatte aktivieren?
N'abend,
ich habe hier eine Hitachi Deskstar 7K500, die mir ein bißchen
Bauchschmerzen bereitet.
Sie ist recht neu, aber der DMA Modus läßt sich einfach nicht
aktivieren:
,----
| # hdparm -d1 /dev/hdc
|
| /dev/hdc:
| setting using_dma to 1 (on)
| using_dma = 1 (on)
| # hdparm -t /dev/hdc
|
| /dev/hdc:
| Timing buffered disk reads: read() failed: Input/output error
`----
Bereit beim Booten wirft der Kernel mit Meldungen um sich:
,----
| Jul 1 13:21:19 xxxx kernel: usb 1-2: new full speed USB device using uhc+i_hcd and address 2
| Jul 1 13:21:19 xxxx kernel: ide1: reset: success
| Jul 1 13:21:19 xxxx kernel: hdc: dma_intr: status=0x51 { DriveReady Seek+Complete Error }
| Jul 1 13:21:19 xxxx kernel: hdc: dma_intr: error=0x84 { DriveStatusError+ BadCRC }
| Jul 1 13:21:19 xxxx kernel: ide: failed opcode was: unknown
| Jul 1 13:21:19 xxxx kernel: hdc: dma_intr: status=0x51 { DriveReady Seek+Complete Error }
| Jul 1 13:21:19 xxxx kernel: hdc: dma_intr: error=0x84 { DriveStatusError+ BadCRC }
`----
Jedoch Smart ist unauffällig:
,----
| # smartctl -a /dev/hdc
| === START OF READ SMART DATA SECTION ===
| SMART overall-health self-assessment test result: PASSED
`----
[....]
,----
| SMART Attributes Data Structure revision number: 16
| Vendor Specific SMART Attributes with Thresholds:
| ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
| 1 Raw_Read_Error_Rate 0x000b 100 100 016 Pre-fail Always - 1
| 2 Throughput_Performance 0x0005 160 160 050 Pre-fail Offline - 201
| 3 Spin_Up_Time 0x0007 113 113 024 Pre-fail Always - 652 (Average 583)
| 4 Start_Stop_Count 0x0012 100 100 000 Old_age Always - 73
| 5 Reallocated_Sector_Ct 0x0033 100 100 005 Pre-fail Always - 0
| 7 Seek_Error_Rate 0x000b 100 100 067 Pre-fail Always - 0
| 8 Seek_Time_Performance 0x0005 100 100 020 Pre-fail Offline - 0
| 9 Power_On_Hours 0x0012 100 100 000 Old_age Always - 111
| 10 Spin_Retry_Count 0x0013 100 100 060 Pre-fail Always - 0
| 12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 71
| 192 Power-Off_Retract_Count 0x0032 100 100 050 Old_age Always - 74
`----
Nur die Fehlermeldungen, die deuten darauf hin, dass etwas nicht stimmt:
,----
| Error 620 occurred at disk power-on lifetime: 111 hours (4 days + 15 hours)
| When the command that caused the error occurred, the device was active or idle.
|
| After command completion occurred, registers were:
| ER ST SC SN CL CH DH
| -- -- -- -- -- -- --
| 84 51 00 ff 01 00 e0 Error: ICRC, ABRT at LBA = 0x000001ff = 511
|
| Commands leading to the command that caused the error were:
| CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
| -- -- -- -- -- -- -- -- ---------------- --------------------
| 25 00 f0 10 00 00 e0 00 00:11:07.400 READ DMA EXT
| 25 00 f0 10 00 00 e0 00 00:11:07.400 READ DMA EXT
| 10 00 3f 00 00 00 e0 00 00:11:07.400 RECALIBRATE [OBS-4]
| 25 00 f0 10 00 00 e0 00 00:11:07.400 READ DMA EXT
| 25 00 f0 10 00 00 e0 00 00:11:07.300 READ DMA EXT
|
| Error 619 occurred at disk power-on lifetime: 111 hours (4 days + 15 hours)
| When the command that caused the error occurred, the device was active or idle.
|
| After command completion occurred, registers were:
| ER ST SC SN CL CH DH
| -- -- -- -- -- -- --
| 84 51 00 ff 01 00 e0 Error: ICRC, ABRT at LBA = 0x000001ff = 511
|
| Commands leading to the command that caused the error were:
| CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
| -- -- -- -- -- -- -- -- ---------------- --------------------
| 25 00 f0 10 00 00 e0 00 00:11:07.400 READ DMA EXT
| 10 00 3f 00 00 00 e0 00 00:11:07.400 RECALIBRATE [OBS-4]
| 25 00 f0 10 00 00 e0 00 00:11:07.400 READ DMA EXT
| 25 00 f0 10 00 00 e0 00 00:11:07.300 READ DMA EXT
| ef 03 40 ff 01 00 e0 04 00:11:07.300 SET FEATURES [Set transfer mode]
`----
Wie gesagt, ansonsten verhält sich die Festplatte unaufällig. Badblocks
ergibt keinerlei Fehler und auch das Drive Fitness Tool von Hitachi
meint, es wäre alles ok.
Bereits gewechselt habe ich:
IDE-Controller
IDE-Kabel
Testweise habe ich auch probiert ein Dateisystem (ext3) auf der
Festplatte anzulegen und die Festplatte per dd if=/dev/zero
of=./big_file vollzuschreiben.
Das ergab aber auch keine Fehler. Nur das Dateisystem wurde nach dem
nächsten Boot nicht mehr erkannt:
,----
| /dev/hdc1 is not a valid block
`----
Hat jemand Ideen, was ich mit dieser Platte anstelle? Ich kann leider
Tipps erst nächstes Wochenende ausprobieren, da ich unter der Woche
immer unterwegs bin.
Danke.
Grüße,
Christian
--
hundred-and-one symptoms of being an internet addict:
153. You find yourself staring at your "inbox" waiting for new e-mail
to arrive.
Reply to: