You are not logged in.
Pages: 1
It seems almost nothing works...
$ sudo pacman -Syu
sudo: unable to write to /var/db/sudo/hk/0 : Read-only file system
sudo: unable to execute /usr/bin/pacman : input/output error
$ ls
/usr/bin/ls : Input/output error
$ cat comm
cat: comm: No such file or directory
With cd nothing happens, no keyboard shortcuts are working except the terminal shortcut..
Any help?
Offline
I'd guess filesystem or drive issues. You probably need to boot to a live environment to troubleshoot.
But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner
Offline
Anything interesting in the logs?
Are you drives OK, are they mounted properly etc.?
Offline
There are filesystem issues. With fsck /dev/sda5 i get
Error reading block xxxxxx (Attempt to read block from filesystem resulted in short read) Ignore error?
After I typed some y
ext.2fs-open2: Bad magic number in superblock
fsck.ext4: Superblock invalid trying backup blocks
fsck.ext4: Bad magic number in superblock while trying to open /dev/sda5
Now what??
Thank you
Offline
Boot from a live-environment/distro and copy/backup all your personal/important data --if you've not already-- and then use a tool such as SMART to test the drive, the Arch Wiki covers this well, from the sound of it you may need to do that from a live-environment/distro that includes SMART tools.
-- edited for clarity --
Last edited by opt1mus (2014-03-05 21:22:46)
Offline
Εxtended smartctl finished without errors.
What should I do?
Thank you
Offline
Don't rely too much on SMART scans. I suspect that your drive is on its way out.
Firstly, backup the data from the affected drive if possible. Then reformat the drive, and see if the problem persists. If it does, then replace the drive.
By the way, you might try changing the drive ports (if it is a desktop drive), and see if the problem goes away.
Last edited by x33a (2014-03-06 13:23:56)
Offline
You can also do physical surface scans of the disk which will show up any errors. But depending on the size of the disk it can take some time.
The UBCD provides excellent tools to diagnose these types of problems which you can burn onto a disk.
Offline
What did dmesg give?
I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.
Offline
Several pages, I run it with arch boot disk, can I save it or find a log somewhere?
Offline
You can save it to a pendrive, or try to https://wiki.archlinux.org/index.php/Pa … in_clients
Offline
this is smartctl -a
smartctl 5.43 2012-06-30 r3573 [i686-linux-3.5.5-1-ARCH] (local build)
Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net
=== START OF INFORMATION SECTION ===
Model Family: Seagate Barracuda 7200.11
Device Model: ST3500320AS
Serial Number: 9QM4XB4P
LU WWN Device Id: 5 000c50 00d8014cd
Firmware Version: SD15
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: 8
ATA Standard is: ATA-8-ACS revision 4
Local Time is: Thu Mar 6 16:07:39 2014 UTC
==> WARNING: There are known problems with these drives,
THIS DRIVE MAY OR MAY NOT BE AFFECTED,
see the following web pages for details:
http://knowledge.seagate.com/articles/en_US/FAQ/207931en
http://knowledge.seagate.com/articles/en_US/FAQ/207951en
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=632758
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: ( 642) 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: ( 1) minutes.
Extended self-test routine
recommended polling time: ( 119) minutes.
Conveyance self-test routine
recommended polling time: ( 2) minutes.
SCT capabilities: (0x103b) SCT Status supported.
SCT Error Recovery Control supported.
SCT Feature Control supported.
SCT Data Table supported.
SMART Attributes Data Structure revision number: 10
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 117 099 006 Pre-fail Always - 122128409
3 Spin_Up_Time 0x0003 095 094 000 Pre-fail Always - 0
4 Start_Stop_Count 0x0032 096 096 020 Old_age Always - 4322
5 Reallocated_Sector_Ct 0x0033 100 100 036 Pre-fail Always - 1
7 Seek_Error_Rate 0x000f 077 060 030 Pre-fail Always - 21803802600
9 Power_On_Hours 0x0032 082 082 000 Old_age Always - 15819
10 Spin_Retry_Count 0x0013 100 100 097 Pre-fail Always - 8
12 Power_Cycle_Count 0x0032 096 037 020 Old_age Always - 4315
184 End-to-End_Error 0x0032 100 100 099 Old_age Always - 0
187 Reported_Uncorrect 0x0032 100 100 000 Old_age Always - 0
188 Command_Timeout 0x0032 100 091 000 Old_age Always - 12885690315
189 High_Fly_Writes 0x003a 095 095 000 Old_age Always - 5
190 Airflow_Temperature_Cel 0x0022 068 054 045 Old_age Always - 32 (Min/Max 31/33)
194 Temperature_Celsius 0x0022 032 046 000 Old_age Always - 32 (0 10 0 0 0)
195 Hardware_ECC_Recovered 0x001a 039 028 000 Old_age Always - 122128409
197 Current_Pending_Sector 0x0012 100 100 000 Old_age Always - 0
198 Offline_Uncorrectable 0x0010 100 100 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x003e 200 200 000 Old_age Always - 2212
SMART Error Log Version: 1
ATA Error Count: 1
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 active or idle.
After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
08 51 00 00 00 00 00 Error:
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
3f 00 c8 ff ff ff 4f 00 00:00:59.998 WRITE LOG EXT
00 00 00 00 00 00 00 04 00:00:59.936 NOP [Abort queued commands]
00 00 00 00 00 00 00 ff 00:00:59.917 NOP [Abort queued commands]
00 00 00 00 00 00 00 ff 00:00:07.976 NOP [Abort queued commands]
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% 15810 -
# 2 Extended offline Aborted by host 70% 15809 -
# 3 Short offline Completed without error 00% 15808 -
# 4 Short offline Completed without error 00% 15808 -
# 5 Extended offline Aborted by host 90% 15808 -
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.Last edited by hariskar (2014-03-06 16:24:14)
Offline
this is smartctl -a
smartctl 5.43 2012-06-30 r3573 [i686-linux-3.5.5-1-ARCH] (local build) Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net === START OF INFORMATION SECTION === Model Family: Seagate Barracuda 7200.11 Device Model: ST3500320AS Serial Number: 9QM4XB4P LU WWN Device Id: 5 000c50 00d8014cd Firmware Version: SD15 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: 8 ATA Standard is: ATA-8-ACS revision 4 Local Time is: Thu Mar 6 16:07:39 2014 UTC ==> WARNING: There are known problems with these drives, THIS DRIVE MAY OR MAY NOT BE AFFECTED, see the following web pages for details: http://knowledge.seagate.com/articles/en_US/FAQ/207931en http://knowledge.seagate.com/articles/en_US/FAQ/207951en http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=632758 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: ( 642) 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: ( 1) minutes. Extended self-test routine recommended polling time: ( 119) minutes. Conveyance self-test routine recommended polling time: ( 2) minutes. SCT capabilities: (0x103b) SCT Status supported. SCT Error Recovery Control supported. SCT Feature Control supported. SCT Data Table supported. SMART Attributes Data Structure revision number: 10 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 117 099 006 Pre-fail Always - 122128409 3 Spin_Up_Time 0x0003 095 094 000 Pre-fail Always - 0 4 Start_Stop_Count 0x0032 096 096 020 Old_age Always - 4322 5 Reallocated_Sector_Ct 0x0033 100 100 036 Pre-fail Always - 1 7 Seek_Error_Rate 0x000f 077 060 030 Pre-fail Always - 21803802600 9 Power_On_Hours 0x0032 082 082 000 Old_age Always - 15819 10 Spin_Retry_Count 0x0013 100 100 097 Pre-fail Always - 8 12 Power_Cycle_Count 0x0032 096 037 020 Old_age Always - 4315 184 End-to-End_Error 0x0032 100 100 099 Old_age Always - 0 187 Reported_Uncorrect 0x0032 100 100 000 Old_age Always - 0 188 Command_Timeout 0x0032 100 091 000 Old_age Always - 12885690315 189 High_Fly_Writes 0x003a 095 095 000 Old_age Always - 5 190 Airflow_Temperature_Cel 0x0022 068 054 045 Old_age Always - 32 (Min/Max 31/33) 194 Temperature_Celsius 0x0022 032 046 000 Old_age Always - 32 (0 10 0 0 0) 195 Hardware_ECC_Recovered 0x001a 039 028 000 Old_age Always - 122128409 197 Current_Pending_Sector 0x0012 100 100 000 Old_age Always - 0 198 Offline_Uncorrectable 0x0010 100 100 000 Old_age Offline - 0 199 UDMA_CRC_Error_Count 0x003e 200 200 000 Old_age Always - 2212 SMART Error Log Version: 1 ATA Error Count: 1 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 active or idle. After command completion occurred, registers were: ER ST SC SN CL CH DH -- -- -- -- -- -- -- 08 51 00 00 00 00 00 Error: Commands leading to the command that caused the error were: CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name -- -- -- -- -- -- -- -- ---------------- -------------------- 3f 00 c8 ff ff ff 4f 00 00:00:59.998 WRITE LOG EXT 00 00 00 00 00 00 00 04 00:00:59.936 NOP [Abort queued commands] 00 00 00 00 00 00 00 ff 00:00:59.917 NOP [Abort queued commands] 00 00 00 00 00 00 00 ff 00:00:07.976 NOP [Abort queued commands] 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% 15810 - # 2 Extended offline Aborted by host 70% 15809 - # 3 Short offline Completed without error 00% 15808 - # 4 Short offline Completed without error 00% 15808 - # 5 Extended offline Aborted by host 90% 15808 - 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.
Just means you aborted the test.
I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.
Offline
The 1st Extended offline says completed without error. I did not abort it.
Offline
I've seen dozens of drives in the 7200.11 family. Numbers like you're seeing for Raw_Read_Error_Rate, Seek_Error_Rate, Command_Timeout, and Hardware_ECC_Recovered are a definite indication of problems.
But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner
Offline
The 1st Extended offline says completed without error. I did not abort it.
By following the lifetime hours in the next column, it reads from bottom to top.
I've seen dozens of drives in the 7200.11 family. Numbers like you're seeing for Raw_Read_Error_Rate, Seek_Error_Rate, Command_Timeout, and Hardware_ECC_Recovered are a definite indication of problems.
The output from smartctl shows that there is some known problem about these drives.
==> WARNING: There are known problems with these drives,
THIS DRIVE MAY OR MAY NOT BE AFFECTED,
see the following web pages for details:
http://knowledge.seagate.com/articles/en_US/FAQ/207931en
http://knowledge.seagate.com/articles/en_US/FAQ/207951en
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=632758Last edited by nomorewindows (2014-03-06 16:42:41)
I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.
Offline
The output from smartctl shows that there is some known problem about these drives.
I didn't even think to look at the drive f/w. It's recommended to update to SD1A, but I've never seen that fix issues like these.
But the f/w update is straightforward, and I've never bricked a drive doing it. Plus if you use syslinux, it's easy to boot to the ISO:
LABEL sd1a
MENU LABEL Seagate SD1A (500GB)
KERNEL memdisk
INITRD /bootdisk/Seagate-SD1A.iso
APPEND isoBut whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner
Offline
I will update f/w, but probably the problem will remain. What should I do next? Is there any possibility to save my linux installation?
Windows are installed on the same drive and work without problems.
Offline
What filesystem are you using?
I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.
Offline
Offline
You might be having the same problem.
I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.
Offline
I updated f/w and the problem remains..
Offline
Try ext4.
I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.
Offline
Pages: 1