You are not logged in.
Hi guys,
I am a newbie. I got the message of kernel panic as attached in the image when I boot my Linux (sorry for not posting the text output directly, since I can't even enter the system so I can't copy the text). I have no idea why this happened and how I could fix the problem without losing data or reinstalling the Linux again. Thank you so much for helping.
https://drive.google.com/file/d/1VVWbxN … sp=sharing
Last edited by AKKTH0 (2022-07-27 10:54:45)
Offline
Did the initramfs not get written properly? How much space do you have left on your /boot? Boot a live disk, mount things as you think they should be correct and post
df -h
pacman -Qkk linux-lts
lsinitcpio /boot/initramfs-linux-lts
cat /var/log/pacman.logOffline
Did the initramfs not get written properly? How much space do you have left on your /boot? Boot a live disk, mount things as you think they should be correct and post
df -h pacman -Qkk linux-lts lsinitcpio /boot/initramfs-linux-lts cat /var/log/pacman.log
Thank you so much for replying. I have tried to boot with an USB, and do some mounting. I got the following results. But it returns an error when I tried
pacman -Qkk linux-lts
https://drive.google.com/file/d/15MGPuP … sp=sharing
https://drive.google.com/file/d/1FGx6wR … sp=sharing
Thank you.
Offline
I am not sure if I mounted to the wrong place in the previous reply. Here I tried again and got the following result, still returning the same error when
pacman -Qkk linux-ltsOffline
You need to arch-chroot into the system after mounting, for most of these to make sense, sorry didn't explicitly mention that. Also please see the links I posted which contain instructions to paste text as text rather than an image.
Last edited by V1del (2022-07-26 06:28:40)
Offline
Have you seen https://drive.google.com/file/d/1J6Vs-e … sp=sharing ?
I don't think this is a bus error, the disk is probably dying.
=> https://wiki.archlinux.org/title/SMART
And see to backup all your precious data (thesis draft, family pictures, every stuff that you cannot download from the internet. And maybe your porn collection) before using the drive even more.
That includes running any of the SMART tests beyond just querying the condition w/ "smartctl -a". You can post images of that, too and if smartctl isn't on the iso, try https://grml.org/
Online
Thank you all for replying. May I firstly confirm how could I safely backup only some specific important files in the current disk to some external drive, given the current situation that I boot in with a live USB?
Is it safe if I do something like: force the computer shut down, plug in the external drive (like another hard disk), then boot with live USB, then mount the current disk to /mnt, then just use cp to copy the file from /mnt to the target external drive?
Thank you.
Last edited by AKKTH0 (2022-07-26 14:09:58)
Offline
Thank you all for replying. May I firstly confirm how could I safely backup only some specific important files in the current disk to some external drive, given the current situation that I boot in with a live USB?
Is it safe if I do something like: force the computer shut down, plug in the external drive (like another hard disk), then boot with live USB, then mount the current disk to /mnt, then just use cp to copy the file from /mnt to the target external drive?
The full answer is yes. But, In my opinion, it would be better if you could perform an orderly shutdown. As to copying the import files, cp could work, but are the permissions important? What do you mean by important files? You may want to investigate rsync as an alternative to cp
You should also consider mounting the drive as read only.
You might need to fsck the disk before you mount it. If so, and fsck bails or wants to start repairing things, ask here first.
Then, keep the failing drive handy until your rebuilt system is up and you are happy with it.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
It doesn't really matter when you plug in the backup drive, but otherwise yes.
You can also use rsync and if some data cannot be correctly read, but you want to preserve as much as possible (for an easier reconstruction), dd_rescue.
Edit: F5…
Also nb. that cp will by default not preserve attributes, metadata or permissions, but that's be mostly relevant for backing up the OS - which is not valuable data.
(Esp. if it's corrupted, it'll be easier to re-install the OS than to un-corrupt the files)
Last edited by seth (2022-07-26 14:34:22)
Online
Thank you for the answers. I will try that. Thank you so much.
(By important, I just meant some data that I need, and that’s only for myself. So I guess permission would not matter so much).
Last edited by AKKTH0 (2022-07-26 14:45:15)
Offline
Have you seen https://drive.google.com/file/d/1J6Vs-e … sp=sharing ?
I don't think this is a bus error, the disk is probably dying.
=> https://wiki.archlinux.org/title/SMARTAnd see to backup all your precious data (thesis draft, family pictures, every stuff that you cannot download from the internet. And maybe your porn collection) before using the drive even more.
That includes running any of the SMART tests beyond just querying the condition w/ "smartctl -a". You can post images of that, too and if smartctl isn't on the iso, try https://grml.org/
Hi, I have made a backup and done some SMART tests. I did both the short and long ones as following, with the results:
Short one:
- smartctl -a output:
https://drive.google.com/file/d/1opjyv_ … sp=sharing
- smartctl -H output:
smartctl 7.2 2020-12-30 r5155 [x86_64-linux-5.14.15-arch1-1] (local build)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Western Digital Blue
Device Model: WDC WD10EZEX-75M2NA0
Serial Number: WD-WCC3F2865329
LU WWN Device Id: 5 0014ee 2b493e23f
Firmware Version: 01.01A01
User Capacity: 1,000,204,886,016 bytes [1.00 TB]
Sector Sizes: 512 bytes logical, 4096 bytes physical
Rotation Rate: 7200 rpm
Device is: In smartctl database [for details use: -P show]
ATA Version is: ACS-2, ACS-3 T13/2161-D revision 3b
SATA Version is: SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Wed Jul 27 04:57:58 2022 UTC
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: ( 118) The previous self-test completed having
the read element of the test failed.
Total time to complete Offline
data collection: (12000) 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: ( 124) minutes.
Conveyance self-test routine
recommended polling time: ( 5) minutes.
SCT capabilities: (0x3035) 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 200 051 Pre-fail Always - 1506
3 Spin_Up_Time 0x0027 175 169 021 Pre-fail Always - 2250
4 Start_Stop_Count 0x0032 100 100 000 Old_age Always - 317
5 Reallocated_Sector_Ct 0x0033 199 199 140 Pre-fail Always - 52
7 Seek_Error_Rate 0x002e 200 200 000 Old_age Always - 0
9 Power_On_Hours 0x0032 019 019 000 Old_age Always - 59344
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 100 100 000 Old_age Always - 316
192 Power-Off_Retract_Count 0x0032 200 200 000 Old_age Always - 99
193 Load_Cycle_Count 0x0032 123 123 000 Old_age Always - 231990
194 Temperature_Celsius 0x0022 102 096 000 Old_age Always - 41
196 Reallocated_Event_Count 0x0032 166 166 000 Old_age Always - 34
197 Current_Pending_Sector 0x0032 193 193 000 Old_age Always - 1177
198 Offline_Uncorrectable 0x0030 193 193 000 Old_age Offline - 1145
199 UDMA_CRC_Error_Count 0x0032 200 200 000 Old_age Always - 0
200 Multi_Zone_Error_Rate 0x0008 184 184 000 Old_age Offline - 6411
240 Head_Flying_Hours 0x0032 026 026 000 Old_age Always - 54607
241 Total_LBAs_Written 0x0032 200 200 000 Old_age Always - 120236349952
242 Total_LBAs_Read 0x0032 200 200 000 Old_age Always - 64784514199
SMART Error Log Version: 1
No Errors Logged
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 60% 59344 238080
# 2 Short offline Completed without error 00% 0 -
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.Long one:
- smartctl -a output:
https://drive.google.com/file/d/14OEnv0 … sp=sharing
- smartctl -H output:
smartctl 7.2 2020-12-30 r5155 [x86_64-linux-5.14.15-arch1-1] (local build)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Western Digital Blue
Device Model: WDC WD10EZEX-75M2NA0
Serial Number: WD-WCC3F2865329
LU WWN Device Id: 5 0014ee 2b493e23f
Firmware Version: 01.01A01
User Capacity: 1,000,204,886,016 bytes [1.00 TB]
Sector Sizes: 512 bytes logical, 4096 bytes physical
Rotation Rate: 7200 rpm
Device is: In smartctl database [for details use: -P show]
ATA Version is: ACS-2, ACS-3 T13/2161-D revision 3b
SATA Version is: SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Wed Jul 27 07:16:28 2022 UTC
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: ( 121) The previous self-test completed having
the read element of the test failed.
Total time to complete Offline
data collection: (12000) 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: ( 124) minutes.
Conveyance self-test routine
recommended polling time: ( 5) minutes.
SCT capabilities: (0x3035) 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 200 051 Pre-fail Always - 1506
3 Spin_Up_Time 0x0027 175 169 021 Pre-fail Always - 2250
4 Start_Stop_Count 0x0032 100 100 000 Old_age Always - 317
5 Reallocated_Sector_Ct 0x0033 199 199 140 Pre-fail Always - 52
7 Seek_Error_Rate 0x002e 200 200 000 Old_age Always - 0
9 Power_On_Hours 0x0032 019 019 000 Old_age Always - 59347
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 100 100 000 Old_age Always - 316
192 Power-Off_Retract_Count 0x0032 200 200 000 Old_age Always - 99
193 Load_Cycle_Count 0x0032 123 123 000 Old_age Always - 231991
194 Temperature_Celsius 0x0022 104 096 000 Old_age Always - 39
196 Reallocated_Event_Count 0x0032 166 166 000 Old_age Always - 34
197 Current_Pending_Sector 0x0032 193 193 000 Old_age Always - 1177
198 Offline_Uncorrectable 0x0030 193 193 000 Old_age Offline - 1145
199 UDMA_CRC_Error_Count 0x0032 200 200 000 Old_age Always - 0
200 Multi_Zone_Error_Rate 0x0008 200 184 000 Old_age Offline - 17
240 Head_Flying_Hours 0x0032 026 026 000 Old_age Always - 54607
241 Total_LBAs_Written 0x0032 200 200 000 Old_age Always - 120236349952
242 Total_LBAs_Read 0x0032 200 200 000 Old_age Always - 64784514231
SMART Error Log Version: 1
No Errors Logged
SMART Self-test log structure revision number 1
Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error
# 1 Extended offline Completed: read failure 90% 59344 238120
# 2 Short offline Completed: read failure 60% 59344 238080
# 3 Short offline Completed without error 00% 0 -
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.Offline
5 Reallocated_Sector_Ct 0x0033 199 199 140 Pre-fail Always - 52
196 Reallocated_Event_Count 0x0032 166 166 000 Old_age Always - 34
197 Current_Pending_Sector 0x0032 193 193 000 Old_age Always - 1177
198 Offline_Uncorrectable 0x0030 193 193 000 Old_age Offline - 1145
The temperature is fairly high, but not extreme and I can't say whether the heat is the cause or a symptom of the failing drive.
Check the environment (case) temperature before you replace it.
Online
Yes this doesn't read good at all. Self-tests couldn't complete because they ran into errors, reallocated sectors, pending sectors a large amount of uncorrectable errors. I wouldn't trust that drive anymore.
Offline
Got it. Thank you all for the helps! Thanks
Offline
Yes this doesn't read good at all. Self-tests couldn't complete because they ran into errors, reallocated sectors, pending sectors a large amount of uncorrectable errors. I wouldn't trust that drive anymore.
Not to mention 6.8 *years* of run time on that drive.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline