1

Sometimes, when I boot up my PC, I find that after the logo screen, an _ (underscore) is blinking and the machine does not boot. After that I have to unplug it from the mains and restart it and then it runs fine. So, Please tell me what has happened to my PC? My specifications are

Debian 7, 512 MB RAM 3 GHZ PENTIUM D PROCESSOR 256 MB GRAPHICS
terdon
  • 242,166

1 Answers1

3

This has nothing to do with Debian, the problem you are experiencing happens long before the operating system is started. What is strange is that it only happens sometimes.

One possibility is that you have a failing hard drive. Check the output of

sudo smartctl -a /dev/sda

You should see a line like this:

SMART overall-health self-assessment test result: PASSED

If your GRUB is not installed on /dev/sda, replace /dev/sda with the correct device. You may need to install smartctl:

sudo apt-get install smartmontools

UPDATE

The output you posted contains these lines:

 ATA Error Count: 1652 (device log contains only the most recent five errors)
[...]
 Error 1652 occurred at disk power-on lifetime: 5265 hours (219 days + 9 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 51 00 2d 51 60 e0 Error: UNC at LBA = 0x0060512d = 6312237

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 01 2d 51 60 00 00 00:16:03.660 READ DMA
27 00 00 00 00 00 00 00 00:16:03.660 READ NATIVE MAX ADDRESS EXT
ec 00 00 00 00 00 00 00 00:16:03.651 IDENTIFY DEVICE
ef 03 46 00 00 00 00 00 00:16:03.644 SET FEATURES [Set transfer mode]
27 00 00 00 00 00 00 00 00:16:03.643 READ NATIVE MAX ADDRESS EXT

Error 1651 occurred at disk power-on lifetime: 5265 hours (219 days + 9 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 51 00 2d 51 60 e0 Error: UNC at LBA = 0x0060512d = 6312237

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 01 2d 51 60 00 00 00:16:01.486 READ DMA
27 00 00 00 00 00 00 00 00:16:01.486 READ NATIVE MAX ADDRESS EXT
ec 00 00 00 00 00 00 00 00:16:01.477 IDENTIFY DEVICE
ef 03 46 00 00 00 00 00 00:16:01.470 SET FEATURES [Set transfer mode]
27 00 00 00 00 00 00 00 00:16:01.470 READ NATIVE MAX ADDRESS EXT

Error 1650 occurred at disk power-on lifetime: 5265 hours (219 days + 9 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 51 00 2d 51 60 e0 Error: UNC at LBA = 0x0060512d = 6312237

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 01 2d 51 60 00 00 00:15:59.544 READ DMA
27 00 00 00 00 00 00 00 00:15:59.544 READ NATIVE MAX ADDRESS EXT
ec 00 00 00 00 00 00 00 00:15:59.535 IDENTIFY DEVICE
ef 03 46 00 00 00 00 00 00:15:59.528 SET FEATURES [Set transfer mode]
27 00 00 00 00 00 00 00 00:15:59.528 READ NATIVE MAX ADDRESS EXT

Error 1649 occurred at disk power-on lifetime: 5265 hours (219 days + 9 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 51 00 2d 51 60 e0 Error: UNC at LBA = 0x0060512d = 6312237

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 01 2d 51 60 00 00 00:15:57.486 READ DMA
27 00 00 00 00 00 00 00 00:15:57.486 READ NATIVE MAX ADDRESS EXT
ec 00 00 00 00 00 00 00 00:15:57.478 IDENTIFY DEVICE
ef 03 46 00 00 00 00 00 00:15:57.478 SET FEATURES [Set transfer mode]
27 00 00 00 00 00 00 00 00:15:57.478 READ NATIVE MAX ADDRESS EXT

Error 1648 occurred at disk power-on lifetime: 5265 hours (219 days + 9 hours)
When the command that caused the error occurred, the device was active or idle.

So, it looks like you have problems reading from the drive. If this started recently, your drive has probably been damaged. I recommend you make a backup quickly and buy a new drive.

Before changing drives, make sure that your cables are correctly connected (the HDD cables) and try with a different cable just in case.

terdon
  • 242,166
  • wait let me do it –  Oct 17 '13 at 15:55
  • this is coming help please http://freetexthost.com/4z6lfhorpc –  Oct 17 '13 at 15:57
  • @user49418 see my updated answer. – terdon Oct 17 '13 at 16:46
  • YOU SAID "If this started recently, your drive has probably been damaged." Wha tdo this mean that it has started recently? –  Oct 18 '13 at 02:24
  • @user49418 I mean that if this did not happen before and is happening now, if something changed, then you probably have a hardware problem. – terdon Oct 18 '13 at 13:29
  • this happened earlier to me when i used to turn off my PC from the mains frequently. My HDD is just 6 years old. please tell me, is it really going to die? I store really, really, important data on it. should i start making backup from now onwards(:-( backup will cot me money and i am poor)? –  Oct 18 '13 at 15:08
  • @user49418 1) 6 years is OLD for an HDD 2) Turning the computer off from the mains is bad and can harm your HDD 3) You should ALWAYS have a backup. 4) yes, it sounds like your HDD has problems and you need to replace it. – terdon Oct 18 '13 at 15:13
  • Its a valuable HDD, because its the first HDD i have ever got!
  • 2)I did it earlier now i know 3)I cant have a backup! I am very much poor and also, how can i get a backup? It will cost me money which i am not having 4) is there any way to repair my HDD and not replacing?

    –  Oct 18 '13 at 15:23
  • @user49418 HDDs do not last for ever. 6 years is very very old for a cheap hard drive (server-grade can last longer). There are free solutions for a backup such as using online services like dropbox and google drive but it depends on how much data you want to store. It is unlikely that your drive can be repaired, at least not at home. Whatever you do, HDDs need to be replaced every few years, that's just the way it is, I'm sorry. – terdon Oct 18 '13 at 15:57
  • Is there any other way to test my HDD health? –  Oct 18 '13 at 16:10
  • @user49418 first check your cables, if possible change the cable you are using to connect the hard drive. If you are lucky, the errors are caused by bad cables and not a bad HDD. However, NOTHING you do will enable you to keep the same hard drive for years and years. Not unless it is a very high quality extremely expensive, server level piece of hardware. Consumer level hard drives simply do not last that long. Nothing you can do about that. – terdon Oct 18 '13 at 16:20
  • i have my 4 gb family photographs in my HDD :D so, i wanna know that should i back it up in a small card---> link ? will it be safe there? –  Oct 19 '13 at 02:05
  • also, should i have to run fsck command once? maybe that's the problem.please tell how to run fsck command –  Oct 19 '13 at 02:14
  • okay leave it! i will create a backup –  Oct 19 '13 at 12:45
  • -----------------the end----------------- –  Oct 19 '13 at 12:53