Strona 1 z 1

Aktualizacja Firmware Dysku Twardego spod Ubuntu 10.04

: 19 kwie 2011, 13:58
autor: heavymetal3
Witam po liczbie moich postów idzie zauważyć iż nie jestem doświadczony w pisaniu na forach i częściej uzywam "google" ale teraz jestem wręcz zmuszony napisać , więc do rzeczy , posiadam dysk twardy w laptopie evo n610c
dysk: mht2020at 20GB , problem polega na tym że przy kopiowaniu plików z partycji na partycje transfer nie przekracza 9 MegaBajtów/s (partycje obie są na EXT2)
chciałem zaktualizować firmware w nim , plik mam sciagnięty z firmware-m a moje pytanie polega na tym jak i czym mozna "przeflashowac" dysk dodam rowniez ze jestem troche kumaty w linux-ach i wystarczy jedno polecenie lub porada , czy to bezpieczne lub jak to zrobic z góry dziękuje za pomoc

Re: Aktualizacja Firmware Dysku Twardego spod Ubuntu 10.04

: 19 kwie 2011, 14:34
autor: pingwin114
na pewno nie zrobisz tego spod linux'a

takie rzeczy robi się jak upgrade biosu, czyli oprogramowaniem producenta odpalonym z CD / USB zaraz po uruchomieniu komputera

btw. myślisz, że upgrade firmware dysku zwiększy jego transfery ? heh...masz dysk na złączu ATA, więc nie oczekuj od niego cudów

Re: Aktualizacja Firmware Dysku Twardego spod Ubuntu 10.04

: 19 kwie 2011, 14:49
autor: pioruns
Fujitsu Mobile MHT2020AT - 20 gigowy dysk z około 2003 roku, a więc 8 (!) lat. To cud, że jeszcze Ci działa wogóle. Poza tym ten dysk ma 2MB bufor wewnętrzny oraz prędkość obrotową 4200 RPM. Podczas gdy współczesne dyski do laptopów mają po 32MB bufor i 5600-7200 RPM, do tego obsługują SATA i kolejkowanie rozkazów NCQ, dlatego można z nich wycisnąć nawet 50-100MB/s. Ty na takie rezultaty nie licz, twój dysk to technologia z poprzedniej epoki.
Dysk jest zajechany i pewnie ma bad sektory, albo sektory oczekujące na realokację. Wogóle ten model obsługuje technologię SMART? Zainstaluj program smartmontools i podaj wynik:

Kod: Zaznacz cały

sudo smartctl --all /dev/sda
Zmiana firmware nic nie da w kwestii prędkości, zapomnij o tym. Taki wiekowy model powinieneś traktować z namaszczeniem, robiąc pełne backupy co miesiąc i pełne skanowanie powierzchni co kilka miesięcy. Jeśli tego jeszcze nie robiłeś, to nawet nie wiadomo, jaka jest kondycja talerzy dysku.

Re: Aktualizacja Firmware Dysku Twardego spod Ubuntu 10.04

: 19 kwie 2011, 15:13
autor: heavymetal3
obsługuje smart , i moze jest wiekowy , i ku mojemu zdziwieniu nie ma bad sectorów , zaktualizowac firmware chcialem , bo jakby nie bylo po cos ta aktualizacja jest jakies zmiany , nie ma nigdzie "changelog-a" to i nie wiem co zmienili,
Z LOG-A PONIZEJ NIC NIE ROZUMIEM , MIALBYM PROSBE O PRZYBLIŻENIE CO O NIM MI WYŚWIETLIŁ

Kod: Zaznacz cały

=== START OF INFORMATION SECTION ===
Model Family:     Fujitsu MHT series
Device Model:     FUJITSU MHT2020AT
Serial Number:    NN11T51MLBGL
Firmware Version: 009B
User Capacity:    20,003,880,960 bytes
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   6
ATA Standard is:  ATA/ATAPI-6 T13 1410D revision 3a
Local Time is:    Tue Apr 19 15:12:55 2011 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:  (0x84)	Offline data collection activity
					was suspended by an interrupting command from host.
					Auto Offline Data Collection: Enabled.
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: 		 ( 146) seconds.
Offline data collection
capabilities: 			 (0x7b) SMART execute Offline immediate.
					Auto Offline data collection on/off support.
					Suspend Offline collection upon new
					command.
					Offline surface scan supported.
					Self-test supported.
					Conveyance Self-test supported.
					Selective Self-test supported.
SMART capabilities:            (0x0003)	Saves SMART data before entering
					power-saving mode.
					Supports SMART auto save timer.
Error logging capability:        (0x01)	Error logging supported.
					No General Purpose Logging support.
Short self-test routine 
recommended polling time: 	 (   2) minutes.
Extended self-test routine
recommended polling time: 	 (  20) minutes.
Conveyance self-test routine
recommended polling time: 	 (   2) minutes.

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     0x000f   100   100   046    Pre-fail  Always       -       257962
  2 Throughput_Performance  0x0005   100   100   030    Pre-fail  Offline      -       7471221
  3 Spin_Up_Time            0x0003   100   100   025    Pre-fail  Always       -       0
  4 Start_Stop_Count        0x0032   099   099   000    Old_age   Always       -       516
  5 Reallocated_Sector_Ct   0x0033   100   100   024    Pre-fail  Always       -       8589934592000
  7 Seek_Error_Rate         0x000f   100   100   047    Pre-fail  Always       -       1827
  8 Seek_Time_Performance   0x0005   100   100   019    Pre-fail  Offline      -       0
  9 Power_On_Seconds        0x0032   099   099   000    Old_age   Always       -       589h+58m+22s
 10 Spin_Retry_Count        0x0013   100   100   020    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       287
192 Power-Off_Retract_Count 0x0032   100   100   000    Old_age   Always       -       61
193 Load_Cycle_Count        0x0032   100   100   000    Old_age   Always       -       4124
194 Temperature_Celsius     0x0022   100   100   000    Old_age   Always       -       50 (Lifetime Min/Max 6/58)
195 Hardware_ECC_Recovered  0x001a   100   100   000    Old_age   Always       -       856
196 Reallocated_Event_Count 0x0032   100   100   000    Old_age   Always       -       287834112
197 Current_Pending_Sector  0x0012   100   100   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0010   099   099   000    Old_age   Offline      -       2
199 UDMA_CRC_Error_Count    0x003e   200   200   000    Old_age   Always       -       0
200 Multi_Zone_Error_Rate   0x000f   100   100   060    Pre-fail  Always       -       16894
203 Run_Out_Cancel          0x0002   100   100   000    Old_age   Always       -       1529080578502

SMART Error Log Version: 1
ATA Error Count: 23 (device log contains only the most recent five errors)
	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 23 occurred at disk power-on lifetime: 215 hours (8 days + 23 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
  -- -- -- -- -- -- --
  40 59 0c 2b 8f 99 e0  Error: UNC 12 sectors at LBA = 0x00998f2b = 10063659

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  c8 00 00 37 8e 99 e0 00      00:00:29.466  READ DMA
  c8 00 00 37 8d 99 e0 00      00:00:29.459  READ DMA
  c8 00 00 37 8c 99 e0 00      00:00:29.454  READ DMA
  c8 00 00 37 8b 99 e0 00      00:00:29.447  READ DMA
  c8 00 00 37 8a 99 e0 00      00:00:29.441  READ DMA

Error 22 occurred at disk power-on lifetime: 30 hours (1 days + 6 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
  -- -- -- -- -- -- --
  40 59 01 6e 20 84 e0  Error: UNC 1 sectors at LBA = 0x0084206e = 8659054

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  c8 d8 08 67 20 84 e0 00      00:12:48.037  READ DMA
  c8 d8 08 5f 20 84 e0 00      00:12:48.037  READ DMA
  c8 d8 08 57 20 84 e0 00      00:12:48.036  READ DMA
  c8 d8 08 4f 20 84 e0 00      00:12:48.036  READ DMA
  c8 d8 08 47 20 84 e0 00      00:12:48.036  READ DMA

Error 21 occurred at disk power-on lifetime: 30 hours (1 days + 6 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
  -- -- -- -- -- -- --
  40 59 01 6e 20 84 e0  Error: UNC 1 sectors at LBA = 0x0084206e = 8659054

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  c8 d8 00 6f 1f 84 e0 00      00:12:42.815  READ DMA
  c8 d8 00 6f 1e 84 e0 00      00:12:42.809  READ DMA
  c8 d8 00 6f 1d 84 e0 00      00:12:42.801  READ DMA
  c8 d8 90 e7 22 81 e0 00      00:12:42.794  READ DMA
  c8 d8 60 77 99 80 e0 00      00:12:42.774  READ DMA

Error 20 occurred at disk power-on lifetime: 30 hours (1 days + 6 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
  -- -- -- -- -- -- --
  40 59 33 67 20 84 e0  Error: UNC at LBA = 0x00842067 = 8659047

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  c4 ff 33 67 20 84 e0 00      00:08:58.923  READ MULTIPLE
  c6 ff 10 00 00 00 a0 00      00:08:58.923  SET MULTIPLE MODE
  10 ff 3f 01 00 00 ae 00      00:08:58.921  RECALIBRATE [OBS-4]
  91 ff 3f 01 00 00 ae 00      00:08:58.920  INITIALIZE DEVICE PARAMETERS [OBS-6]
  00 ff 01 01 00 00 a0 04      00:08:58.917  NOP [Reserved subcommand]

Error 19 occurred at disk power-on lifetime: 30 hours (1 days + 6 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
  -- -- -- -- -- -- --
  40 59 33 67 20 84 e0  Error: UNC at LBA = 0x00842067 = 8659047

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  c4 ff 33 67 20 84 e0 00      00:08:53.906  READ MULTIPLE
  c6 ff 10 00 00 00 a0 00      00:08:53.906  SET MULTIPLE MODE
  10 ff 3f 01 00 00 ae 00      00:08:53.904  RECALIBRATE [OBS-4]
  91 ff 3f 01 00 00 ae 00      00:08:53.903  INITIALIZE DEVICE PARAMETERS [OBS-6]
  00 ff 01 01 00 00 a0 04      00:08:53.900  NOP [Reserved subcommand]

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Completed without error       00%        17         -
# 2  Short offline       Completed without error       00%        17         -
# 3  Extended offline    Interrupted (host reset)      80%         8         -
# 4  Short offline       Aborted by host               90%         8         -
# 5  Short offline       Completed without error       00%         4         -

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
Selective self-test flags (0x0):
  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

Re: Aktualizacja Firmware Dysku Twardego spod Ubuntu 10.04

: 19 kwie 2011, 15:27
autor: pioruns
Start_Stop_Count - 516 razy był tylko włączany. Dysk przepracował tylko 24 doby. Czyli większość czasu przeleżał w szafie. Możesz go traktować w takim razie, jakby był nowy:)
Ale, niestety - w logu SMART są już raporty 24 zdarzeń błędów. READ DMA - błąd odczytu z powierzchni dysku. Nigdy nie robiłeś testu powierzchni w SMART - to skąd możesz wiedzieć, że nie ma bad sektorów? Samo skanowanie chkdsk czy fsck niewiele da, bo dysk może realokować bad sektory i ukryć je przed systemem operacyjnym. W tym przypadku wpisy dotyczące bad sektorów są nieczytelne:

Kod: Zaznacz cały

5 Reallocated_Sector_Ct   0x0033   100   100   024    Pre-fail  Always       -       8589934592000
196 Reallocated_Event_Count 0x0032   100   100   000    Old_age   Always       -       287834112
Pewnie wynika to z starej wersji SMART obsługiwanej przez firmware dysku.
Zrób teraz rozszerzony test powierzchni w SMART, może potrwać to około minimum 20 minut, komendą:

Kod: Zaznacz cały

sudo smartctl --test=long /dev/sda
Po tej operacji, zrestartuj komputer i ponownie podaj wynik:

Kod: Zaznacz cały

sudo smartctl --all /dev/sda
A odnośnie firmware, które ściągnąłeś - jaka jest to wersja, jak się nazywa plik, który ściągnałeś? Bo aktualnie dysk ma firmware o numerze 009B.

Re: Aktualizacja Firmware Dysku Twardego spod Ubuntu 10.04

: 19 kwie 2011, 15:43
autor: heavymetal3
VA009B - wiec to chyba bedzie to samo , a powiedz mi , czy da sie ten zlom jakos przyśpieszyć , czy to tylko do wyrzucenia jest , bo nie za bardzo wiem czy mozna do tego laptopa , wsadzić inny dysk , i pod jakim profilem tego szukac , bo szkoda kupić żeby leżał

Re: Aktualizacja Firmware Dysku Twardego spod Ubuntu 10.04

: 19 kwie 2011, 15:58
autor: pioruns
A więc aktualizacja firmware nie jest konieczna;)
Zrobiłeś ten test?
A ten dysk, to możesz sprzedać na Allegroszu. I kupić tam inny, większy dysk EIDE (czyli laptopowe ATA). Poszukaj w necie informacji o tym laptopie i płycie głównej, jaki maksymalnie duży dysk możesz tam włożyć.

Re: Aktualizacja Firmware Dysku Twardego spod Ubuntu 10.04

: 19 kwie 2011, 18:49
autor: heavymetal3
to nawet nie robie testu , tylko kopie zapasowa "dd" w manualu pisze za max60gb zas , na innym forum pisza ze jaki pasuje taki bedzie chodzic nawet do 100gb i teraz to juz sam nie wiem

Re: Aktualizacja Firmware Dysku Twardego spod Ubuntu 10.04

: 19 kwie 2011, 19:50
autor: pioruns
Zobacz czy nie ma aktualizacji do BIOSu. Bardziej się przyda, może obsłuży większe dyski.