Bootprobleme (möglicherweise im Zusammenhang mit Festplattentausch)

Hast Du Probleme mit Hardware, die durch die anderen Foren nicht abgedeckt werden? Schau auch in den "Tipps und Tricks"-Bereich.
Antworten
teleskopschere
Beiträge: 7
Registriert: 04.02.2014 20:09:06

Bootprobleme (möglicherweise im Zusammenhang mit Festplattentausch)

Beitrag von teleskopschere » 12.06.2019 12:34:32

Hallo allerseits!

Folgende Ausgangssituation: Ein älterer PC (noch mit BIOS) wurde mit einer neuen SSD versorgt. Debian Stretch wurde dabei von der alten Festplatte auf die SSD mittels CloneZilla kopiert. Grub sollte damit vollständig auf der SSD liegen. Im PC befindet sich außerdem noch eine Festplatte, auf der sich ein Windows XP aus alten Tagen befindet ;-).

Nun kommt es im Grub-Auswahlmenü und später zu Fehlermeldungen und Kernel-Panics. Häufig kann die initiale Ramdisk nicht geladen werden, wobei dieses Problem interessanterweise mit den neuesten Kernel (4.9.0-9) häufiger auftritt, als mit einem älteren Kernel (4.9.0-8). Kann Debian hochfahren, kommen beim Start immer wieder Festplattenfehler (siehe unten), die vor dem Umzug meines Erachtens auch nicht aufgetreten sind.

Ich komme hier nicht weiter - könnt ihr mir helfen?

Vielen Dank schon mal!

Aus dem Kernel-Log:

Code: Alles auswählen

[    3.577700] ata1.00: exception Emask 0x50 SAct 0x200 SErr 0x280900 action 0x6 frozen
[    3.577745] ata1.00: irq_stat 0x08000000, interface fatal error
[    3.577784] ata1: SError: { UnrecovData HostInt 10B8B BadCRC }
[    3.577823] ata1.00: failed command: READ FPDMA QUEUED
[    3.577863] ata1.00: cmd 60/00:48:00:0b:00/01:00:00:00:00/40 tag 9 ncq dma 131072 in
[    3.577863]          res 40/00:4c:00:0b:00/00:00:00:00:00/40 Emask 0x50 (ATA bus error)
[    3.577910] ata1.00: status: { DRDY }
[    3.577949] ata1: hard resetting link
[    4.053690] ata1: softreset failed (device not ready)
[    4.053734] ata1: applying PMP SRST workaround and retrying
[    4.213663] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[    4.214861] ata1.00: configured for UDMA/133
[    4.214871] ata1: EH complete
[    6.533675] ata1.00: exception Emask 0x50 SAct 0x780 SErr 0x280900 action 0x6 frozen
[    6.533824] ata1.00: irq_stat 0x08000000, interface fatal error
[    6.533930] ata1: SError: { UnrecovData HostInt 10B8B BadCRC }
[    6.534033] ata1.00: failed command: READ FPDMA QUEUED
[    6.534131] ata1.00: cmd 60/00:38:18:9d:44/01:00:00:00:00/40 tag 7 ncq dma 131072 in
[    6.534131]          res 40/00:4c:20:75:46/00:00:00:00:00/40 Emask 0x50 (ATA bus error)
[    6.534388] ata1.00: status: { DRDY }
[    6.534454] ata1.00: failed command: READ FPDMA QUEUED
[    6.534551] ata1.00: cmd 60/08:40:98:fa:0b/00:00:01:00:00/40 tag 8 ncq dma 4096 in
[    6.534551]          res 40/00:4c:20:75:46/00:00:00:00:00/40 Emask 0x50 (ATA bus error)
[    6.534803] ata1.00: status: { DRDY }
[    6.534869] ata1.00: failed command: READ FPDMA QUEUED
[    6.534965] ata1.00: cmd 60/00:48:20:75:46/01:00:00:00:00/40 tag 9 ncq dma 131072 in
[    6.534965]          res 40/00:4c:20:75:46/00:00:00:00:00/40 Emask 0x50 (ATA bus error)
[    6.535219] ata1.00: status: { DRDY }
[    6.535285] ata1.00: failed command: READ FPDMA QUEUED
[    6.535381] ata1.00: cmd 60/00:50:18:9e:44/01:00:00:00:00/40 tag 10 ncq dma 131072 in
[    6.535381]          res 40/00:4c:20:75:46/00:00:00:00:00/40 Emask 0x50 (ATA bus error)
[    6.535637] ata1.00: status: { DRDY }
[    6.535706] ata1: hard resetting link
[    7.009639] ata1: softreset failed (device not ready)
[    7.009745] ata1: applying PMP SRST workaround and retrying
[    7.169628] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[    7.170943] ata1.00: configured for UDMA/133
[    7.170970] ata1: EH complete
[    7.385636] ata1: limiting SATA link speed to 1.5 Gbps
[    7.385645] ata1.00: exception Emask 0x50 SAct 0xc000 SErr 0x280900 action 0x6 frozen
[    7.385791] ata1.00: irq_stat 0x08000000, interface fatal error
[    7.385895] ata1: SError: { UnrecovData HostInt 10B8B BadCRC }
[    7.385998] ata1.00: failed command: READ FPDMA QUEUED
[    7.386097] ata1.00: cmd 60/88:70:f8:74:35/00:00:02:00:00/40 tag 14 ncq dma 69632 in
[    7.386097]          res 40/00:74:f8:74:35/00:00:02:00:00/40 Emask 0x50 (ATA bus error)
[    7.386353] ata1.00: status: { DRDY }
[    7.386420] ata1.00: failed command: READ FPDMA QUEUED
[    7.386517] ata1.00: cmd 60/08:78:c8:1f:81/00:00:00:00:00/40 tag 15 ncq dma 4096 in
[    7.386517]          res 40/00:74:f8:74:35/00:00:02:00:00/40 Emask 0x50 (ATA bus error)
[    7.386770] ata1.00: status: { DRDY }
[    7.386840] ata1: hard resetting link
[    7.861594] ata1: softreset failed (device not ready)
[    7.861698] ata1: applying PMP SRST workaround and retrying
[    8.021690] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[    8.023006] ata1.00: configured for UDMA/133
[    8.023028] ata1: EH complete

Benutzeravatar
towo
Beiträge: 4403
Registriert: 27.02.2007 19:49:44
Lizenz eigener Beiträge: GNU Free Documentation License

Re: Bootprobleme (möglicherweise im Zusammenhang mit Festplattentausch)

Beitrag von towo » 12.06.2019 13:24:01

Diese Meldungen aus dem Log haben nix mit Grub oder sonstwas zu tun.
Die sind typisch für kaputtes/schlecht gestecktes SATA Kabel oder defekter Platte.
Alternativ kann sowas auch vorkommen, wenn man eine schnelle SATA3 Platte an einen langsamen SATA Port anstöpselt.

teleskopschere
Beiträge: 7
Registriert: 04.02.2014 20:09:06

Re: Bootprobleme (möglicherweise im Zusammenhang mit Festplattentausch)

Beitrag von teleskopschere » 12.06.2019 17:42:09

Das Kabel ist das gleiche, wie bei der vorherigen Festplatte. Allerdings unterstützt das Mainboard tatsächlich nur SATA 3GB/s. Auf der anderen Seite hat die alte Festplatte ebenfalls schon den neuen SATA-Standard unterstützt... Bis auf die eine Warnung ("Warning: ATA error count 0 inconsistent with error log pointer 2") sind die SMART-Werte der neuen SSD auch in Ordnung. Siehst du noch eine andere Lösung, außer Einbau in einen anderen PC?

Code: Alles auswählen

=== START OF INFORMATION SECTION ===
Model Family:     Crucial/Micron BX/MX1/2/3/500, M5/600, 1100 SSDs
Device Model:     CT480BX300SSD1
Serial Number:    1738E103E40C
Firmware Version: M2CR010
User Capacity:    480.103.981.056 bytes [480 GB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    Solid State Device
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ACS-2 (minor revision not indicated)
SATA Version is:  SATA 3.1, 6.0 Gb/s (current: 1.5 Gb/s)
Local Time is:    Wed Jun 12 17:38:46 2019 CEST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x03)	Offline data collection activity
					is in progress.
					Auto Offline Data Collection: Disabled.
Self-test execution status:      (   0)	The previous self-test routine completed
					without error or no self-test has ever 
					been run.
Total time to complete Offline 
data collection: 		(  163) seconds.
Offline data collection
capabilities: 			 (0x71) SMART execute Offline immediate.
					No Auto Offline data collection support.
					Suspend Offline collection upon new
					command.
					No Offline surface scan supported.
					Self-test supported.
					Conveyance Self-test supported.
					Selective Self-test supported.
SMART capabilities:            (0x0002)	Does not save SMART data before
					entering power-saving mode.
					Supports SMART auto save timer.
Error logging capability:        (0x01)	Error logging supported.
					General Purpose Logging supported.
Short self-test routine 
recommended polling time: 	 (   1) minutes.
Extended self-test routine
recommended polling time: 	 (   2) minutes.
Conveyance self-test routine
recommended polling time: 	 (   1) minutes.
SCT capabilities: 	       (0x0035)	SCT Status supported.
					SCT Feature Control supported.
					SCT Data Table supported.

SMART Attributes Data Structure revision number: 1
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x002f   100   100   000    Pre-fail  Always       -       0
  5 Reallocate_NAND_Blk_Cnt 0x0032   100   100   010    Old_age   Always       -       0
  9 Power_On_Hours          0x0032   100   100   000    Old_age   Always       -       834
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       327
171 Program_Fail_Count      0x0032   100   100   000    Old_age   Always       -       0
172 Erase_Fail_Count        0x0032   100   100   000    Old_age   Always       -       0
173 Ave_Block-Erase_Count   0x0032   100   100   000    Old_age   Always       -       2
174 Unexpect_Power_Loss_Ct  0x0032   100   100   000    Old_age   Always       -       23
180 Unused_Reserve_NAND_Blk 0x0033   100   100   000    Pre-fail  Always       -       65
183 SATA_Interfac_Downshift 0x0032   100   100   000    Old_age   Always       -       127
184 Error_Correction_Count  0x0032   100   100   000    Old_age   Always       -       0
187 Reported_Uncorrect      0x0032   100   100   000    Old_age   Always       -       0
194 Temperature_Celsius     0x0022   100   100   000    Old_age   Always       -       40
196 Reallocated_Event_Count 0x0032   100   100   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0032   100   100   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0030   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x0032   100   100   000    Old_age   Always       -       772
202 Percent_Lifetime_Remain 0x0030   100   100   001    Old_age   Offline      -       0
206 Write_Error_Rate        0x000e   100   100   000    Old_age   Always       -       0
210 Success_RAIN_Recov_Cnt  0x0032   100   100   000    Old_age   Always       -       0
246 Total_Host_Sector_Write 0x0032   100   100   000    Old_age   Always       -       865543800
247 Host_Program_Page_Count 0x0032   100   100   000    Old_age   Always       -       7656339
248 FTL_Program_Page_Count  0x0032   100   100   000    Old_age   Always       -       3274401

SMART Error Log Version: 1
Warning: ATA error count 0 inconsistent with error log pointer 2

ATA Error Count: 0
	CR = Command Register [HEX]
	FR = Features Register [HEX]
	SC = Sector Count Register [HEX]
	SN = Sector Number Register [HEX]
	CL = Cylinder Low Register [HEX]
	CH = Cylinder High Register [HEX]
	DH = Device/Head Register [HEX]
	DC = Device Command Register [HEX]
	ER = Error register [HEX]
	ST = Status register [HEX]
Powered_Up_Time is measured from power on, and printed as
DDd+hh:mm:SS.sss where DD=days, hh=hours, mm=minutes,
SS=sec, and sss=millisec. It "wraps" after 49.710 days.

Error -1 occurred at disk power-on lifetime: 0 hours (0 days + 0 hours)
  When the command that caused the error occurred, the device was in an unknown state.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  00 ec 00 00 00 00 00

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  ec 00 00 00 00 00 00 00      00:00:00.000  IDENTIFY DEVICE
  ec 00 00 00 00 00 00 00      00:00:00.000  IDENTIFY DEVICE
  ec 00 00 00 00 00 00 00      00:00:00.000  IDENTIFY DEVICE
  ec 00 00 00 00 00 00 00      00:00:00.000  IDENTIFY DEVICE
  c8 00 00 00 00 00 00 00      00:00:00.000  READ DMA

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Extended offline    Completed without error       00%        66         -
# 2  Offline             Completed without error       00%        66         -

SMART Selective self-test log data structure revision number 1
 SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Not_testing
    2        0        0  Not_testing
    3        0        0  Not_testing
    4        0        0  Not_testing
    5        0        0  Not_testing
    6        0    65535  Read_scanning is in progress
Selective self-test flags (0x18):
  After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.

teleskopschere
Beiträge: 7
Registriert: 04.02.2014 20:09:06

Re: Bootprobleme (möglicherweise im Zusammenhang mit Festplattentausch)

Beitrag von teleskopschere » 18.06.2019 17:55:45

So, ich wollte nochmal eine Rückmeldung geben, nachdem ich das Gehäuse dann doch aufgemacht habe. Alle SATA-Kabel ab und wieder angesteckt - fühlten sich zwar alle fest an, aber seit der Maßnahme läuft Grub problemlos durch. Lt. Kernellog kommt von der SSD nur noch ein (unwichtiger?) Fehler...

Also: Vielen Dank für die Hilfe!

Code: Alles auswählen

[    2.141629] ata3: softreset failed (device not ready)
[    2.141669] ata3: applying PMP SRST workaround and retrying
[    2.201715] firewire_core 0000:05:0e.0: created device fw0: GUID 00ef381b00001fd0, S400
[    2.301631] ata3: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[    2.302391] ata3.00: ATA-9: CT480BX300SSD1, M2CR010, max UDMA/133
[    2.302393] ata3.00: 937703088 sectors, multi 1: LBA48 NCQ (depth 31/32), AA
[    2.302810] ata3.00: configured for UDMA/133

Antworten