Skocz do zawartości
Flik

Problem z rozruchem Minta.

Rekomendowane odpowiedzi

Witam wszystkich. ;)

 

Obecnie działam na Linux Mint 19.3 cinnamon 64 bit. Wcześniej Mint 19.1, a jeszcze wcześniej Mint 18.3 (także cinnamon 64 bit). Na wszystkich tych dystrybucjach mam ten sam problem. Ostatnio coraz częściej.

 

Po włączeniu komputera wyskakuje komunikat:BusyBox v1.27.2 (Ubuntu 1:1.27.2-ubuntu3) built-in shell (ash) (te cyferki mogą być nieco inne).

 

Enter "help" for a list od a built on commands"

(initramfs)

 

Radze sobie z tym komendą: fsck /dev/sda1

 

Wówczas system "coś tam robi" i Linux mi wstaje. Czasem jest tak, że z tego powodu zawiesza mi się już pracujący i odpalony system. Jak Mint mi

 

się odpali to pracuje ok, do nastepnego crashu. Chociaż zdarzają się przymulenia.

 

 

Mam kilka pytań do specjalistów od Linuxa.

 

1. Co przy tym problemie powoduje wpisanie powyższego polecenia? Co wówczas komputer sobie "naprawia"?

 

2. Wytłumaczcie mi prosze na czym polega ten problem z rozruchem i czemu tak się dzieje?

 

3. Czy jedną z przyczyn może być np awaria dysku (stary chyba sześcioletni talerzowiec)? Tak wyczytałem chyba na Elektrodzie. Jak potrzeba mogę dać

 

SMART dysku. Ja sam nie umiem tego interpretować.

 

Licze na Wasze odpowiedzi. ;)

Edytowane przez Flik

Udostępnij tę odpowiedź


Odnośnik do odpowiedzi
Udostępnij na innych stronach

Tak, najprawdopodobniej zdycha Ci dysk (trzeba by jeszcze przejrzeć logi (/var/log/messages, /var/log/syslog) bo przyczyna zwisu może być inna, a błąd przy starcie to tylko konsekwencja tego, że było załamanie systemu i partycje nie zostały "czysto" odmontowane. Fsck sprawdza i naprawia błędy na dyskach. Parametry SMART sobie wygooglaj, najważniejsze to coś w rodzaju: total reallocated i unrecoverable errors.

Udostępnij tę odpowiedź


Odnośnik do odpowiedzi
Udostępnij na innych stronach
Gość

Pokaż wynik poleceń z terminala/konsoli:

sudo journalctl -q -b -p 4

sudo smartctl -a /dev/sda

Udostępnij tę odpowiedź


Odnośnik do odpowiedzi
Udostępnij na innych stronach

No właśnie chciałem sobie zrobić SMART dysku wedłu g Twoich wskazówek. Po wpisaniu /var/log/messages Terminal wypluł mi komunikat Nie ma takiego pliku ani katalogu. Po wpisaniu /var/log/syslog mam: Brak dostępu. Także nic mi z

 

tego nie wyszło. Da się coś zrobić by te polecenia zadziałały? Jest jeszcze jakies inne polecenie do tego co chce zrobić, albo jakiś wiarygodny program na Linuxie do sprawdzania stanu dysku?

 

Poradźcie coś. ;)

Udostępnij tę odpowiedź


Odnośnik do odpowiedzi
Udostępnij na innych stronach
Gość

To co podałem wyłowi błędy między z dziennika systemowego (o ile jeszcze nie pozmieniali jest i syslog i journal).

 

Możesz jeszcze tak sprawdzić:

sudo dmesg -xl 3,4

 

Dziwne, że nie ma smart z standardowej instalacji:

sudo apt-get update
sudo apt-get install smartmontools

sudo systemctl start smartd

sudo smartctl -a /dev/sda

Udostępnij tę odpowiedź


Odnośnik do odpowiedzi
Udostępnij na innych stronach

Pokaż wynik poleceń z terminala/konsoli:

 

sudo journalctl -q -b -p 4

gru 27 15:40:07 wojtek-System-Product-Name kernel: core: PEBS disabled due to CP
gru 27 15:40:08 wojtek-System-Product-Name kernel: platform eisa.0: EISA: Cannot
gru 27 15:40:08 wojtek-System-Product-Name kernel: platform eisa.0: Cannot alloc
gru 27 15:40:08 wojtek-System-Product-Name kernel: platform eisa.0: Cannot alloc
gru 27 15:40:08 wojtek-System-Product-Name kernel: platform eisa.0: Cannot alloc
gru 27 15:40:08 wojtek-System-Product-Name kernel: platform eisa.0: Cannot alloc
gru 27 15:40:08 wojtek-System-Product-Name kernel: platform eisa.0: Cannot alloc
gru 27 15:40:08 wojtek-System-Product-Name kernel: platform eisa.0: Cannot alloc
gru 27 15:40:08 wojtek-System-Product-Name kernel: platform eisa.0: Cannot alloc
gru 27 15:40:08 wojtek-System-Product-Name kernel: platform eisa.0: Cannot alloc
gru 27 15:40:08 wojtek-System-Product-Name systemd[1]: Configuration file /lib/s
gru 27 15:40:25 wojtek-System-Product-Name kernel: ata3.00: exception Emask 0x0 
gru 27 15:40:25 wojtek-System-Product-Name kernel: ata3.00: BMDMA stat 0x65
gru 27 15:40:25 wojtek-System-Product-Name kernel: ata3.00: failed command: READ
gru 27 15:40:25 wojtek-System-Product-Name kernel: ata3.00: cmd c8/00:88:38:4d:1
                                                           res 51/40:07:ae:4d:1
gru 27 15:40:25 wojtek-System-Product-Name kernel: ata3.00: status: { DRDY ERR }
gru 27 15:40:25 wojtek-System-Product-Name kernel: ata3.00: error: { UNC }
gru 27 15:40:25 wojtek-System-Product-Name kernel: print_req_error: I/O error, d
gru 27 15:40:25 wojtek-System-Product-Name kernel: ata3.00: exception Emask 0x0 
gru 27 15:40:25 wojtek-System-Product-Name kernel: ata3.00: BMDMA stat 0x64
gru 27 15:40:25 wojtek-System-Product-Name kernel: ata3.00: failed command: READ
gru 27 15:40:25 wojtek-System-Product-Name kernel: ata3.00: cmd c8/00:08:a8:4d:1
lines 1-23

 

 

sudo smartctl -a /dev/sda

 

=== START OF INFORMATION SECTION ===
Model Family:     Western Digital Caviar Green
Device Model:     WDC WD5000AADS-00M2B0
Serial Number:    WD-WCAV5R624486
LU WWN Device Id: 5 0014ee 25b0c6a15
Firmware Version: 01.00A01
User Capacity:    500 107 862 016 bytes [500 GB]
Sector Size:      512 bytes logical/physical
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ATA8-ACS (minor revision not indicated)
SATA Version is:  SATA 2.6, 1.5 Gb/s
Local Time is:    Fri Dec 27 17:30:42 2019 CET
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:  (0x82)	Offline data collection activity
				was completed without error.
				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: 		(15000) 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.
				General Purpose Logging supported.
Short self-test routine 
recommended polling time: 	 (   2) minutes.
Extended self-test routine
recommended polling time: 	 ( 174) minutes.
Conveyance self-test routine
recommended polling time: 	 (   5) minutes.
SCT capabilities: 	       (0x3037)	SCT Status supported.
				SCT Feature Control supported.
				SCT Data Table supported.

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     0x002f   200   199   051    Pre-fail  Always       -       5596
 3 Spin_Up_Time            0x0027   253   172   021    Pre-fail  Always       -       2525
 4 Start_Stop_Count        0x0032   092   092   000    Old_age   Always       -       8615
 5 Reallocated_Sector_Ct   0x0033   200   200   140    Pre-fail  Always       -       0
 7 Seek_Error_Rate         0x002e   100   253   000    Old_age   Always       -       0
 9 Power_On_Hours          0x0032   026   026   000    Old_age   Always       -       54436
10 Spin_Retry_Count        0x0032   100   100   000    Old_age   Always       -       0
11 Calibration_Retry_Count 0x0032   100   100   000    Old_age   Always       -       0
12 Power_Cycle_Count       0x0032   092   092   000    Old_age   Always       -       8520
192 Power-Off_Retract_Count 0x0032   194   194   000    Old_age   Always       -       5026
193 Load_Cycle_Count        0x0032   001   001   000    Old_age   Always       -       3250444
194 Temperature_Celsius     0x0022   111   097   000    Old_age   Always       -       36
196 Reallocated_Event_Count 0x0032   200   200   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0032   200   200   000    Old_age   Always       -       46
198 Offline_Uncorrectable   0x0030   200   200   000    Old_age   Offline      -       41
199 UDMA_CRC_Error_Count    0x0032   200   200   000    Old_age   Always       -       2
200 Multi_Zone_Error_Rate   0x0008   200   200   000    Old_age   Offline      -       26

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

ATA Error Count: 31796 (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.

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Completed: read failure       90%     53545         6357803
# 2  Short offline       Completed: read failure       90%     53509         6357803
# 3  Conveyance offline  Completed: read failure       90%     53509         6357803
# 4  Short offline       Completed: read failure       90%     53509         6357803
# 5  Extended offline    Completed: read failure       90%     53509         6357803
# 6  Short offline       Completed without error       00%     29621         -

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.

 

 

Robiłem sobie SMART tym drugim poleceniem, ale jak mówiłem nie umiem tego interpretować. ;)

Udostępnij tę odpowiedź


Odnośnik do odpowiedzi
Udostępnij na innych stronach

To co podałem wyłowi błędy między z dziennika systemowego (o ile jeszcze nie pozmieniali jest i syslog i journal).

 

Możesz jeszcze tak sprawdzić:

sudo dmesg -xl 3,4

 

 

kern  :warn  : [    0.401022] core: PEBS disabled due to CPU errata
kern  :warn  : [    2.101699] platform eisa.0: EISA: Cannot allocate resource for mainboard
kern  :warn  : [    2.101702] platform eisa.0: Cannot allocate resource for EISA slot 1
kern  :warn  : [    2.101704] platform eisa.0: Cannot allocate resource for EISA slot 2
kern  :warn  : [    2.101706] platform eisa.0: Cannot allocate resource for EISA slot 3
kern  :warn  : [    2.101708] platform eisa.0: Cannot allocate resource for EISA slot 4
kern  :warn  : [    2.101710] platform eisa.0: Cannot allocate resource for EISA slot 5
kern  :warn  : [    2.101712] platform eisa.0: Cannot allocate resource for EISA slot 6
kern  :warn  : [    2.101714] platform eisa.0: Cannot allocate resource for EISA slot 7
kern  :warn  : [    2.101716] platform eisa.0: Cannot allocate resource for EISA slot 8
daemon:warn  : [   14.866387] systemd[1]: Configuration file /lib/systemd/system/esets.service is marked executable. Please remove executable permission bits. Proceeding anyway.
kern  :err   : [   25.390926] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
kern  :err   : [   25.390933] ata3.00: BMDMA stat 0x65
kern  :err   : [   25.390938] ata3.00: failed command: READ DMA
kern  :err   : [   25.390948] ata3.00: cmd c8/00:88:38:4d:1c/00:00:00:00:00/e1 tag 0 dma 69632 in
                                      res 51/40:07:ae:4d:1c/00:00:00:00:00/e1 Emask 0x9 (media error)
kern  :err   : [   25.390953] ata3.00: status: { DRDY ERR }
kern  :err   : [   25.390956] ata3.00: error: { UNC }
kern  :err   : [   25.419124] print_req_error: I/O error, dev sda, sector 18632110 flags 80700
kern  :err   : [   28.434927] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
kern  :err   : [   28.434933] ata3.00: BMDMA stat 0x64
kern  :err   : [   28.434938] ata3.00: failed command: READ DMA
kern  :err   : [   28.434948] ata3.00: cmd c8/00:08:a8:4d:1c/00:00:00:00:00/e1 tag 0 dma 4096 in
                                      res 51/40:00:ae:4d:1c/00:00:00:00:00/e1 Emask 0x9 (media error)
kern  :err   : [   28.434952] ata3.00: status: { DRDY ERR }
kern  :err   : [   28.434957] ata3.00: error: { UNC }
kern  :err   : [   28.463077] print_req_error: I/O error, dev sda, sector 18632110 flags 0
syslog:warn  : [   28.463534] systemd-journald[394]: /var/log/journal/ef635a010d284bc38d762d2b9f0e65ac/system.journal: IO error, rotating.
kern  :warn  : [   36.161589] ACPI Warning: SystemIO range 0x0000000000000828-0x000000000000082F conflicts with OpRegion 0x0000000000000800-0x000000000000084F (\PMRG) (20181213/utaddress-213)
kern  :warn  : [   36.162424] lpc_ich: Resource conflict(s) found affecting gpio_ich
kern  :warn  : [   36.612891] coretemp coretemp.0: Using relative temperature scale!
kern  :warn  : [   36.613773] coretemp coretemp.0: Using relative temperature scale!
kern  :warn  : [   37.627065] nvidia: loading out-of-tree module taints kernel.
kern  :warn  : [   37.627078] nvidia: module license 'NVIDIA' taints kernel.
kern  :warn  : [   37.627079] Disabling lock debugging due to kernel taint
kern  :warn  : [   37.649259] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  340.107  Thu May 24 21:54:01 PDT 2018
kern  :warn  : [   38.869071] resource sanity check: requesting [mem 0x000c0000-0x000fffff], which spans more than PCI Bus 0000:00 [mem 0x000d0000-0x000dffff window]
kern  :warn  : [   38.869256] caller os_map_kernel_space+0x8d/0xb0 [nvidia] mapping multiple BARs
kern  :warn  : [   39.877759] NVRM: Your system is not currently configured to drive a VGA console
kern  :warn  : [   39.877763] NVRM: on the primary VGA device. The NVIDIA Linux graphics driver
kern  :warn  : [   39.877764] NVRM: requires the use of a text-mode VGA console. Use of other console
kern  :warn  : [   39.877765] NVRM: drivers including, but not limited to, vesafb, may result in
kern  :warn  : [   39.877767] NVRM: corruption and stability problems, and is not supported.
kern  :warn  : [   48.565994] kauditd_printk_skb: 10 callbacks suppressed
kern  :err   : [   75.772107] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
kern  :err   : [   75.772520] ata3.00: BMDMA stat 0x65
kern  :err   : [   75.772737] ata3.00: failed command: READ DMA EXT
kern  :err   : [   75.773024] ata3.00: cmd 25/00:00:00:38:1d/00:0a:37:00:00/e0 tag 0 dma 1310720 in
                                      res 51/40:cf:26:38:1d/40:09:37:00:00/e0 Emask 0x9 (media error)
kern  :err   : [   75.773923] ata3.00: status: { DRDY ERR }
kern  :err   : [   75.774164] ata3.00: error: { UNC }
kern  :err   : [   75.804784] print_req_error: I/O error, dev sda, sector 924661798 flags 84700
kern  :err   : [   78.760743] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
kern  :err   : [   78.761155] ata3.00: BMDMA stat 0x64
kern  :err   : [   78.761372] ata3.00: failed command: READ DMA EXT
kern  :err   : [   78.761658] ata3.00: cmd 25/00:08:20:38:1d/00:00:37:00:00/e0 tag 0 dma 4096 in
                                      res 51/40:00:26:38:1d/40:00:37:00:00/e0 Emask 0x9 (media error)
kern  :err   : [   78.762542] ata3.00: status: { DRDY ERR }
kern  :err   : [   78.762783] ata3.00: error: { UNC }
kern  :err   : [   78.792610] print_req_error: I/O error, dev sda, sector 924661798 flags 0
kern  :err   : [   81.339835] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
kern  :err   : [   81.340246] ata3.00: BMDMA stat 0x64
kern  :err   : [   81.340463] ata3.00: failed command: READ DMA EXT
kern  :err   : [   81.340750] ata3.00: cmd 25/00:08:20:38:1d/00:00:37:00:00/e0 tag 0 dma 4096 in
                                      res 51/40:00:26:38:1d/40:00:37:00:00/e0 Emask 0x9 (media error)
kern  :err   : [   81.341634] ata3.00: status: { DRDY ERR }
kern  :err   : [   81.341875] ata3.00: error: { UNC }
kern  :err   : [   81.367789] print_req_error: I/O error, dev sda, sector 924661798 flags 0
kern  :warn  : [   95.693870] resource sanity check: requesting [mem 0x000c0000-0x000fffff], which spans more than PCI Bus 0000:00 [mem 0x000d0000-0x000dffff window]
kern  :warn  : [   95.694067] caller os_map_kernel_space+0x8d/0xb0 [nvidia] mapping multiple BARs
kern  :err   : [  136.706081] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
kern  :err   : [  136.706088] ata3.00: BMDMA stat 0x65
kern  :err   : [  136.706094] ata3.00: failed command: READ DMA EXT
kern  :err   : [  136.706104] ata3.00: cmd 25/00:00:00:c4:bd/00:01:37:00:00/e0 tag 0 dma 131072 in
                                      res 51/40:9f:57:c4:bd/40:00:37:00:00/e0 Emask 0x9 (media error)
kern  :err   : [  136.706108] ata3.00: status: { DRDY ERR }
kern  :err   : [  136.706112] ata3.00: error: { UNC }
kern  :err   : [  136.774321] print_req_error: I/O error, dev sda, sector 935183447 flags 80700
kern  :err   : [  139.437873] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
kern  :err   : [  139.437880] ata3.00: BMDMA stat 0x64
kern  :err   : [  139.437886] ata3.00: failed command: READ DMA EXT
kern  :err   : [  139.437896] ata3.00: cmd 25/00:08:50:c4:bd/00:00:37:00:00/e0 tag 0 dma 4096 in
                                      res 51/40:00:57:c4:bd/40:00:37:00:00/e0 Emask 0x9 (media error)
kern  :err   : [  139.437900] ata3.00: status: { DRDY ERR }
kern  :err   : [  139.437904] ata3.00: error: { UNC }
kern  :err   : [  139.466070] print_req_error: I/O error, dev sda, sector 935183447 flags 0
kern  :err   : [  168.188302] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
kern  :err   : [  168.188309] ata3.00: BMDMA stat 0x65
kern  :err   : [  168.188314] ata3.00: failed command: READ DMA EXT
kern  :err   : [  168.188324] ata3.00: cmd 25/00:00:38:67:66/00:04:36:00:00/e0 tag 0 dma 524288 in
                                      res 51/40:bf:6a:67:66/40:03:36:00:00/e0 Emask 0x9 (media error)
kern  :err   : [  168.188329] ata3.00: status: { DRDY ERR }
kern  :err   : [  168.188332] ata3.00: error: { UNC }
kern  :err   : [  168.240758] print_req_error: I/O error, dev sda, sector 912680810 flags 80700
kern  :err   : [  170.844420] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
kern  :err   : [  170.844427] ata3.00: BMDMA stat 0x64
kern  :err   : [  170.844433] ata3.00: failed command: READ DMA EXT
kern  :err   : [  170.844443] ata3.00: cmd 25/00:08:68:67:66/00:00:36:00:00/e0 tag 0 dma 4096 in
                                      res 51/40:00:6a:67:66/40:00:36:00:00/e0 Emask 0x9 (media error)
kern  :err   : [  170.844447] ata3.00: status: { DRDY ERR }
kern  :err   : [  170.844451] ata3.00: error: { UNC }
kern  :err   : [  170.892582] print_req_error: I/O error, dev sda, sector 912680810 flags 0
kern  :err   : [  173.400540] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
kern  :err   : [  173.400546] ata3.00: BMDMA stat 0x64
kern  :err   : [  173.400552] ata3.00: failed command: READ DMA EXT
kern  :err   : [  173.400562] ata3.00: cmd 25/00:08:68:67:66/00:00:36:00:00/e0 tag 0 dma 4096 in
                                      res 51/40:00:6a:67:66/40:00:36:00:00/e0 Emask 0x9 (media error)
kern  :err   : [  173.400566] ata3.00: status: { DRDY ERR }
kern  :err   : [  173.400570] ata3.00: error: { UNC }
kern  :err   : [  173.448719] print_req_error: I/O error, dev sda, sector 912680810 flags 0
kern  :err   : [  176.924638] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
kern  :err   : [  176.924645] ata3.00: BMDMA stat 0x64
kern  :err   : [  176.924650] ata3.00: failed command: READ DMA EXT
kern  :err   : [  176.924660] ata3.00: cmd 25/00:08:68:67:66/00:00:36:00:00/e0 tag 0 dma 4096 in
                                      res 51/40:00:6a:67:66/40:00:36:00:00/e0 Emask 0x9 (media error)
kern  :err   : [  176.924665] ata3.00: status: { DRDY ERR }
kern  :err   : [  176.924669] ata3.00: error: { UNC }
kern  :err   : [  176.968804] print_req_error: I/O error, dev sda, sector 912680810 flags 0
kern  :err   : [  179.488695] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
kern  :err   : [  179.488702] ata3.00: BMDMA stat 0x64
kern  :err   : [  179.488707] ata3.00: failed command: READ DMA EXT
kern  :err   : [  179.488717] ata3.00: cmd 25/00:08:68:67:66/00:00:36:00:00/e0 tag 0 dma 4096 in
                                      res 51/40:00:6a:67:66/40:00:36:00:00/e0 Emask 0x9 (media error)
kern  :err   : [  179.488722] ata3.00: status: { DRDY ERR }
kern  :err   : [  179.488726] ata3.00: error: { UNC }
kern  :err   : [  179.536917] print_req_error: I/O error, dev sda, sector 912680810 flags 0
kern  :err   : [  182.712775] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
kern  :err   : [  182.712782] ata3.00: BMDMA stat 0x64
kern  :err   : [  182.712787] ata3.00: failed command: READ DMA EXT
kern  :err   : [  182.712797] ata3.00: cmd 25/00:08:68:67:66/00:00:36:00:00/e0 tag 0 dma 4096 in
                                      res 51/40:00:6a:67:66/40:00:36:00:00/e0 Emask 0x9 (media error)
kern  :err   : [  182.712802] ata3.00: status: { DRDY ERR }
kern  :err   : [  182.712805] ata3.00: error: { UNC }
kern  :err   : [  182.760935] print_req_error: I/O error, dev sda, sector 912680810 flags 0
kern  :err   : [  185.300809] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
kern  :err   : [  185.300816] ata3.00: BMDMA stat 0x64
kern  :err   : [  185.300821] ata3.00: failed command: READ DMA EXT
kern  :err   : [  185.300831] ata3.00: cmd 25/00:08:68:67:66/00:00:36:00:00/e0 tag 0 dma 4096 in
                                      res 51/40:00:6a:67:66/40:00:36:00:00/e0 Emask 0x9 (media error)
kern  :err   : [  185.300835] ata3.00: status: { DRDY ERR }
kern  :err   : [  185.300839] ata3.00: error: { UNC }
kern  :err   : [  185.348992] print_req_error: I/O error, dev sda, sector 912680810 flags 0
kern  :err   : [  188.056857] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
kern  :err   : [  188.056863] ata3.00: BMDMA stat 0x64
kern  :err   : [  188.056869] ata3.00: failed command: READ DMA EXT
kern  :err   : [  188.056879] ata3.00: cmd 25/00:08:68:67:66/00:00:36:00:00/e0 tag 0 dma 4096 in
                                      res 51/40:00:6a:67:66/40:00:36:00:00/e0 Emask 0x9 (media error)
kern  :err   : [  188.056883] ata3.00: status: { DRDY ERR }
kern  :err   : [  188.056887] ata3.00: error: { UNC }
kern  :err   : [  188.105011] print_req_error: I/O error, dev sda, sector 912680810 flags 0
kern  :err   : [  190.512881] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
kern  :err   : [  190.512888] ata3.00: BMDMA stat 0x64
kern  :err   : [  190.512893] ata3.00: failed command: READ DMA EXT
kern  :err   : [  190.512903] ata3.00: cmd 25/00:08:68:67:66/00:00:36:00:00/e0 tag 0 dma 4096 in
                                      res 51/40:00:6a:67:66/40:00:36:00:00/e0 Emask 0x9 (media error)
kern  :err   : [  190.512908] ata3.00: status: { DRDY ERR }
kern  :err   : [  190.512912] ata3.00: error: { UNC }
kern  :err   : [  190.561072] print_req_error: I/O error, dev sda, sector 912680810 flags 0
kern  :err   : [  735.790988] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
kern  :err   : [  735.790995] ata3.00: BMDMA stat 0x64
kern  :err   : [  735.791001] ata3.00: failed command: READ DMA EXT
kern  :err   : [  735.791011] ata3.00: cmd 25/00:08:50:c4:bd/00:00:37:00:00/e0 tag 0 dma 4096 in
                                      res 51/40:00:57:c4:bd/40:00:37:00:00/e0 Emask 0x9 (media error)
kern  :err   : [  735.791015] ata3.00: status: { DRDY ERR }
kern  :err   : [  735.791019] ata3.00: error: { UNC }
kern  :err   : [  735.819157] print_req_error: I/O error, dev sda, sector 935183447 flags 0
kern  :err   : [  738.946938] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
kern  :err   : [  738.946945] ata3.00: BMDMA stat 0x64
kern  :err   : [  738.946950] ata3.00: failed command: READ DMA EXT
kern  :err   : [  738.946960] ata3.00: cmd 25/00:08:50:c4:bd/00:00:37:00:00/e0 tag 0 dma 4096 in
                                      res 51/40:00:57:c4:bd/40:00:37:00:00/e0 Emask 0x9 (media error)
kern  :err   : [  738.946965] ata3.00: status: { DRDY ERR }
kern  :err   : [  738.946969] ata3.00: error: { UNC }
kern  :err   : [  738.975107] print_req_error: I/O error, dev sda, sector 935183447 flags 0

 

Dziwne, że nie ma smart z standardowej instalacji:

 

sudo apt-get update

 

nie znaleziono polecenia

 

 

sudo apt-get install smartmontools

 

E: dpkg został przerwany, należy wykonać ręcznie "sudo dpkg --configure -a", aby naprawić problem.

 

sudo systemctl start smartd

 

Tutaj Terminal nie reaguje.

 

sudo smartctl -a /dev/sda

 

smartctl 7.0 2018-12-30 r4883 [x86_64-linux-5.0.0-32-generic] (local build)

Copyright © 2002-18, Bruce Allen, Christian Franke, www.smartmontools.org

 

Smartctl open device: /dev/sda[ failed: No such device

 

Udostępnij tę odpowiedź


Odnośnik do odpowiedzi
Udostępnij na innych stronach
Gość

Zajrzyj tutaj, atrybuty ID 197, 198:

https://www.elektroda.pl/rtvforum/topic965332.html .

 

Dysk jest uszkodzony i prędzej czy później padnie. Błędy przy starcie będą się nasilać, a parametry pogarszać. Kiedy padnie - tego nie da się jednoznacznie powiedzieć. Skopiuj dane na inny nośnik i tyle. Lepiej nie będzie :D Na dłuższą metę nie pomogą żadne tańce z zerowaniem, remapowaniem czy "formatowaniem" co drugi dzień...

Edytowane przez Gość

Udostępnij tę odpowiedź


Odnośnik do odpowiedzi
Udostępnij na innych stronach

sprawdz czy dysk nei ma bledow /bad sectorow

podepnij ten dysk do windowsa. i uruchom HDtune i daj w zakladce ERROR scan i ma to byc full scan nie quick scan(bo tma nigd ynic nie wykryje)

HD Tune ze strony producenta

Edytowane przez fic

Udostępnij tę odpowiedź


Odnośnik do odpowiedzi
Udostępnij na innych stronach

Nie mam dostepu do legalnego Windowsa. Obecność bad sectorów testowałem komendami tymi powyżej. Ostatniego dnia pokazywał mi 64. Tutaj jest coś koło 40 kilku.

 

Zresztą dysk już wymieniony. Teraz mam talerzowa Toshibę 500 GB 7200 rpm 64MB. Problemu z rozruchem nie mam. Ponadto system pracuje zauważalnie szybciej (choć wiadomo, że to nie SSD). Także zakup nowego dysku był

 

dobrą decyzją.

 

Jak już jestem przy głosie to mam pytanek kilka.

 

1. Czy istnieją na Linux Mint jakieś właśnie programy do diagnostyki dysku typu CristalDiscinfo (sorki, jeśli pokiełbasiła mi się pisownia), albo ten HD Tune? Mam GSmartControl ale nie wiem jak tam np wykonać test zapisu/ odczytu. Czy da się to zrobić w

 

terminalu? Nie testowałem tym programem starego dysku. Poszedł w kosz. Pod koniec sam rozruch Minta trwał chyba z pół godziny.

 

2. W samym systemie mam jakieś narzędzie do testowania prędkości odczytu/zapisu. Tylko przy próbie testowania prędkości zapisu coś się kaszani i test nie startuje. Czy prędkość odczytu na poziomie 152,3 MB/s (100 próbek) i prędkość dostępu 19,16 ms

 

(1000 próbek) są ok jak na talerzowy dysk? Są tutaj jakieś tzw normy? Dysk jest SATA 3, ale podłączony do płyty obsługującej tylko SATA2.

Edytowane przez Flik

Udostępnij tę odpowiedź


Odnośnik do odpowiedzi
Udostępnij na innych stronach

hdparm - tT /dev/xxxx

gdzie xxx to Twój dysk (np. sda, nvme0n1).

Udostępnij tę odpowiedź


Odnośnik do odpowiedzi
Udostępnij na innych stronach

Usage: hdparm [options] [device ...]

 

Options:

-a Get/set fs readahead

-A Get/set the drive look-ahead flag (0/1)

-b Get/set bus state (0 == off, 1 == on, 2 == tristate)

-B Set Advanced Power Management setting (1-255)

-c Get/set IDE 32-bit IO setting

-C Check drive power mode status

-d Get/set using_dma flag

-D Enable/disable drive defect management

-E Set cd/dvd drive speed

-f Flush buffer cache for device on exit

-F Flush drive write cache

-g Display drive geometry

-h Display terse usage information

-H Read temperature from drive (Hitachi only)

-i Display drive identification

-I Detailed/current information directly from drive

-J Get/set Western DIgital "Idle3" timeout for a WDC "Green" drive (DANGEROUS)

-k Get/set keep_settings_over_reset flag (0/1)

-K Set drive keep_features_over_reset flag (0/1)

-L Set drive doorlock (0/1) (removable harddisks only)

-m Get/set multiple sector count

-M Get/set acoustic management (0-254, 128: quiet, 254: fast)

-n Get/set ignore-write-errors flag (0/1)

-N Get/set max visible number of sectors (HPA) (VERY DANGEROUS)

-p Set PIO mode on IDE interface chipset (0,1,2,3,4,...)

-P Set drive prefetch count

-q Change next setting quietly

-Q Get/set DMA queue_depth (if supported)

-r Get/set device readonly flag (DANGEROUS to set)

-R Get/set device write-read-verify flag

-s Set power-up in standby flag (0/1) (DANGEROUS)

-S Set standby (spindown) timeout

-t Perform device read timings

-T Perform cache read timings

-u Get/set unmaskirq flag (0/1)

-U Obsolete

-v Use defaults; same as -acdgkmur for IDE drives

-V Display program version and exit immediately

-w Perform device reset (DANGEROUS)

-W Get/set drive write-caching flag (0/1)

-x Obsolete

-X Set IDE xfer mode (DANGEROUS)

-y Put drive in standby mode

-Y Put drive to sleep

-z Re-read partition table

-Z Disable Seagate auto-powersaving mode

--dco-freeze Freeze/lock current device configuration until next power cycle

--dco-identify Read/dump device configuration identify data

--dco-restore Reset device configuration back to factory defaults

--dco-setmax Use DCO to set maximum addressable sectors

--direct Use O_DIRECT to bypass page cache for timings

--drq-hsm-error Crash system with a "stuck DRQ" error (VERY DANGEROUS)

--fallocate Create a file without writing data to disk

--fibmap Show device extents (and fragmentation) for a file

--fwdownload Download firmware file to drive (EXTREMELY DANGEROUS)

--fwdownload-mode3 Download firmware using min-size segments (EXTREMELY DANGEROUS)

--fwdownload-mode3-max Download firmware using max-size segments (EXTREMELY DANGEROUS)

--fwdownload-mode7 Download firmware using a single segment (EXTREMELY DANGEROUS)

--fwdownload-modee Download firmware using mode E (min-size segments) (EXTREMELY DANGEROUS)

--fwdownload-modee-max Download firmware using mode E (max-size segments) (EXTREMELY DANGEROUS)

--idle-immediate Idle drive immediately

--idle-unload Idle immediately and unload heads

--Istdin Read identify data from stdin as ASCII hex

--Istdout Write identify data to stdout as ASCII hex

--make-bad-sector Deliberately corrupt a sector directly on the media (VERY DANGEROUS)

--offset use with -t, to begin timings at given offset (in GiB) from start of drive

--prefer-ata12 Use 12-byte (instead of 16-byte) SAT commands when possible

--read-sector Read and dump (in hex) a sector directly from the media

--repair-sector Alias for the --write-sector option (VERY DANGEROUS)

--sanitize-antifreeze-lock Block sanitize-freeze-lock command until next power cycle

--sanitize-block-erase Start block erase operation

--sanitize-crypto-scramble Change the internal encryption keys that used for used data

--sanitize-freeze-lock Lock drive's sanitize features until next power cycle

--sanitize-overwrite PATTERN Overwrite the internal media with constant PATTERN

--sanitize-status Show sanitize status information

--security-help Display help for ATA security commands

--trim-sector-ranges Tell SSD firmware to discard unneeded data sectors: lba:count ..

--trim-sector-ranges-stdin Same as above, but reads lba:count pairs from stdin

--verbose Display extra diagnostics from some commands

--write-sector Repair/overwrite a (possibly bad) sector directly on the media (VERY DANGEROUS)

 

 

Nie widzę tutaj prędkości odczyt/zapis mojej Toshiby. Nie wiem jak interpretować to co wypluł terminal po wpisaniu powyższej komendy.

Udostępnij tę odpowiedź


Odnośnik do odpowiedzi
Udostępnij na innych stronach

Usage: hdparm [options] [device ...]

 

Nie widzę tutaj prędkości odczyt/zapis mojej Toshiby. Nie wiem jak interpretować to co wypluł terminal po wpisaniu powyższej komendy.

Uruchom jeszcze raz:

 

hdparm -tT /dev/sda

Udostępnij tę odpowiedź


Odnośnik do odpowiedzi
Udostępnij na innych stronach

Jak wpisuje drugi raz to polecenie to mam: /dev/sda: Permission denied

 

Ponawiam pytania:

 

1. Czy sa jakieś programy do diagnostyki dysku HDD na Linuxa?

 

2. Czy prędkość odczytu dysku HDD na poziomie 152,3 MB/s (100 próbek) i prędkość dostępu 19,16 ms (1000 próbek) są ok jak na talerzowca?

 

Wiem, że to drugie pytanie to raczej do innego działu.

Udostępnij tę odpowiedź


Odnośnik do odpowiedzi
Udostępnij na innych stronach

sudo hdparm - tT /dev/hda

Ad. 1. fsck, smartctl, hddtemp

Ad. 2. Później podam Ci dane dla moich talerzowców.

 

Update:

[jenot@manjenot ~]$ sudo hdparm -tT /dev/sdc

/dev/sdc:
Timing cached reads:   28564 MB in  2.00 seconds = 14302.13 MB/sec
Timing buffered disk reads: 496 MB in  3.01 seconds = 165.00 MB/sec
[jenot@manjenot ~]$ sudo hdparm -i /dev/sdc

/dev/sdc:

Model=ST2000VX008-2E3164, FwRev=CV12, SerialNo=Z521R10R
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs RotSpdTol>.5% }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
BuffType=unknown, BuffSize=unknown, MaxMultSect=16, MultSect=16
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=3907029168
IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes:  pio0 pio1 pio2 pio3 pio4 
DMA modes:  mdma0 mdma1 mdma2 
UDMA modes: udma0 udma1 udma2 udma3 udma4 udma5 *udma6 
AdvancedPM=no WriteCache=enabled
Drive conforms to: Reserved:  ATA/ATAPI-4,5,6,7

* signifies the current active mode

Edytowane przez Jenot

Udostępnij tę odpowiedź


Odnośnik do odpowiedzi
Udostępnij na innych stronach

Nie mam dostepu do legalnego Windowsa.

 

nie wiem jak w Polsce ale wydawalo mi sie ze windows10 mozna uzywac bezplatnie nawet go nie aktywujac. po prostu bedzie non stop wyswietlal sie napis "windows not activated"

Udostępnij tę odpowiedź


Odnośnik do odpowiedzi
Udostępnij na innych stronach

Nie. Masz 30 dni na aktywację. Później przywita cię komunikat i nic w systemie nie zrobisz. Można tuż przed upływem przedłużyć ten okres o kolejne 30 dni poleceniem slmgr.vbs /rearm. I tak 4 razy można zrobić czyli jechać bez klucza przez 120 dni. Po tym okresie albo wpisujesz legalny klucz albo reinstalka od nowa.

Udostępnij tę odpowiedź


Odnośnik do odpowiedzi
Udostępnij na innych stronach

Nie. Masz 30 dni na aktywację.

no tak ale te 30 dni "testowania" wystarczy zeby sprawdzic dysk HDtune

 

najlepiej podpiac jakikolwiek stary nawet 40gb dysk. i to na ni mzainstalowac windowsa.

i po uruchomieniu z niego windowsa podpiac ten ktorego podejzewamy o bad sectory.

i wtedy przelecieg go full scanem programem HDtune.

Udostępnij tę odpowiedź


Odnośnik do odpowiedzi
Udostępnij na innych stronach

Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto

Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.

Zarejestruj nowe konto

Załóż nowe konto. To bardzo proste!

Zarejestruj się

Zaloguj się

Posiadasz już konto? Zaloguj się poniżej.

Zaloguj się

  • Ostatnio przeglądający   0 użytkowników

    Brak zarejestrowanych użytkowników przeglądających tę stronę.

×
×
  • Dodaj nową pozycję...