You are not logged in.

#1 2014-03-05 19:32:18

hariskar
Member
From: Greece/Kavala
Registered: 2012-10-16
Posts: 185

Major system problem...

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

#2 2014-03-05 19:36:40

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: Major system problem...

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

#3 2014-03-05 19:37:44

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Major system problem...

Anything interesting in the logs?
Are you drives OK, are they mounted properly etc.?

Offline

#4 2014-03-05 19:54:26

hariskar
Member
From: Greece/Kavala
Registered: 2012-10-16
Posts: 185

Re: Major system problem...

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

#5 2014-03-05 21:13:40

opt1mus
Member
From: UK
Registered: 2011-12-31
Posts: 212
Website

Re: Major system problem...

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

#6 2014-03-06 12:49:19

hariskar
Member
From: Greece/Kavala
Registered: 2012-10-16
Posts: 185

Re: Major system problem...

Εxtended smartctl finished without errors.
What should I do?
Thank you

Offline

#7 2014-03-06 13:23:14

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: Major system problem...

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

#8 2014-03-06 14:08:59

Kartious
Member
From: UK
Registered: 2013-03-23
Posts: 311

Re: Major system problem...

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

#9 2014-03-06 14:10:15

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,551

Re: Major system problem...

What did dmesg give?


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#10 2014-03-06 15:06:09

hariskar
Member
From: Greece/Kavala
Registered: 2012-10-16
Posts: 185

Re: Major system problem...

Several pages, I run it with arch boot disk, can I save it or find a log somewhere?

Offline

#11 2014-03-06 15:19:51

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Major system problem...

You can save it to a pendrive, or try to https://wiki.archlinux.org/index.php/Pa … in_clients

Offline

#12 2014-03-06 16:23:44

hariskar
Member
From: Greece/Kavala
Registered: 2012-10-16
Posts: 185

Re: Major system problem...

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

#13 2014-03-06 16:30:07

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,551

Re: Major system problem...

hariskar wrote:

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

#14 2014-03-06 16:33:23

hariskar
Member
From: Greece/Kavala
Registered: 2012-10-16
Posts: 185

Re: Major system problem...

The 1st Extended offline says completed without error. I did not abort it.

Offline

#15 2014-03-06 16:37:55

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: Major system problem...

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

#16 2014-03-06 16:39:58

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,551

Re: Major system problem...

hariskar wrote:

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.

Alphan iner wrote:

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=632758

Last 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

#17 2014-03-06 17:01:12

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: Major system problem...

nomorewindows wrote:

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 iso

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

#18 2014-03-06 17:19:21

hariskar
Member
From: Greece/Kavala
Registered: 2012-10-16
Posts: 185

Re: Major system problem...

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

#19 2014-03-06 17:27:38

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,551

Re: Major system problem...

What filesystem are you using?


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#20 2014-03-06 17:29:28

hariskar
Member
From: Greece/Kavala
Registered: 2012-10-16
Posts: 185

Re: Major system problem...

ext3

Offline

#21 2014-03-06 17:34:05

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,551

Re: Major system problem...

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

#22 2014-03-07 03:34:37

hariskar
Member
From: Greece/Kavala
Registered: 2012-10-16
Posts: 185

Re: Major system problem...

I updated f/w and the problem remains..

Offline

#23 2014-03-07 17:37:39

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,551

Re: Major system problem...

Try ext4.


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

Board footer

Powered by FluxBB