LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-22-2011, 03:22 AM   #1
gabytf
Member
 
Registered: Jun 2010
Location: Kota Kinabalu, Sabah, Malaysia
Distribution: Slackware64 14, -current. Slackware 14.1
Posts: 170

Rep: Reputation: 1
Angry How to kill task when Black Screen with HDD LED light blinking for hours


My notebook is now running black screen but only mouse pointer appearing freeze and unfreeze on screen. The HDD LED light keep blinking and i can hear the blinking sound of the HDD.

Problem is this had been going on for hours, i have been waited long tempted to just power off forcefuly, but i don't think this is a good idea.

How can i interrupt and stop the process. i tried with Crtl+Alt+Del but no respone.I am with 512RAM,swap partition about 10GB(Is memory setting is the culprit here).

Can't show you my Spec details from Terminal as i am now posting from another Notebook PC.
 
Old 09-22-2011, 03:41 AM   #2
cendryon
Member
 
Registered: Aug 2005
Location: France
Distribution: Slackware64 current
Posts: 82

Rep: Reputation: 30
Hi

Are you able to log into your freezing notebook from your second PC with SSH ?

If you can, log into it as a standard user.
Then you can either look for the process if you already know it in order to kill it
Code:
ps -eaf | grep <process_name>
or you can simply shutdown the notebook (as root)
Code:
shutdown -h now
Cheers
 
1 members found this post helpful.
Old 09-22-2011, 03:42 AM   #3
ozanbaba
Member
 
Registered: May 2003
Location: Tengiz
Distribution: Slackware64 14.1
Posts: 673

Rep: Reputation: 94
WHat's your distro? Some distros have access to text console via Ctrl-Alt-F1. And you can force a kill on X Server by Ctrl-Alt-Backspace. You can try to connect to it via ssh as well.
 
1 members found this post helpful.
Old 09-22-2011, 04:01 AM   #4
gabytf
Member
 
Registered: Jun 2010
Location: Kota Kinabalu, Sabah, Malaysia
Distribution: Slackware64 14, -current. Slackware 14.1
Posts: 170

Original Poster
Rep: Reputation: 1
Thanks guys, i managed to solved it with Ctrl-Alt-F1 mode, then Ctrl-Alt-Backspace.
Obviously it was memory issue here.
Can you guys please help me to diagnose and do some healing here, i am sure later it will happen again.

i am using Ubuntu 11.04.Thanks!

Below is my system details from Terminal:

gab@gab-Inspiron-700m:~$ df -hT
Filesystem Type Size Used Avail Use% Mounted on
/dev/sda6 ext4 11G 3.1G 6.7G 32% /
none devtmpfs 234M 680K 233M 1% /dev
none tmpfs 240M 840K 239M 1% /dev/shm
none tmpfs 240M 92K 240M 1% /var/run
none tmpfs 240M 0 240M 0% /var/lock
gab@gab-Inspiron-700m:~$

gab@gab-Inspiron-700m:~$ sudo fdisk -l
[sudo] password for gab:

Disk /dev/sda: 60.0 GB, 60011642880 bytes
255 heads, 63 sectors/track, 7296 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xd0f4738c

Device Boot Start End Blocks Id System
/dev/sda1 1 13 104391 6 FAT16
/dev/sda2 * 14 2039 16273845 7 HPFS/NTFS
/dev/sda3 2040 7296 42226790+ f W95 Ext'd (LBA)
/dev/sda5 2040 4669 21118976 7 HPFS/NTFS
/dev/sda6 4669 6026 10901504 83 Linux
/dev/sda7 6026 7296 10202112 82 Linux swap / Solaris
gab@gab-Inspiron-700m:~$


By the way: if my second PC is windows base, can i still log into my Ubuntu PC thru SSH? if can how?

Last edited by gabytf; 09-22-2011 at 04:09 AM. Reason: Added: By the way...
 
Old 09-22-2011, 04:11 AM   #5
cendryon
Member
 
Registered: Aug 2005
Location: France
Distribution: Slackware64 current
Posts: 82

Rep: Reputation: 30
If you suspect a memory size issue, use
Code:
free -m
(-m is for reporting sizes in megabytes)

If you're right, you will have low figures or even 0 in the "free", "buffers" and "cached" columns of the "Mem" line and a high figure in the "used" column of the "Swap" line.

Cheers
 
1 members found this post helpful.
Old 09-22-2011, 04:27 AM   #6
ozanbaba
Member
 
Registered: May 2003
Location: Tengiz
Distribution: Slackware64 14.1
Posts: 673

Rep: Reputation: 94
Quote:
Originally Posted by gabytf View Post

By the way: if my second PC is windows base, can i still log into my Ubuntu PC thru SSH? if can how?
You can use PuTTy
 
Old 09-22-2011, 04:30 AM   #7
gabytf
Member
 
Registered: Jun 2010
Location: Kota Kinabalu, Sabah, Malaysia
Distribution: Slackware64 14, -current. Slackware 14.1
Posts: 170

Original Poster
Rep: Reputation: 1
it can be sure now is memory problem.
It's show this output:

gab@gab-Inspiron-700m:~$ free -m
total used free shared buffers cached
Mem: 479 452 26 0 12 111
-/+ buffers/cache: 327 151
Swap: 0 0 0
gab@gab-Inspiron-700m:~$


And i do these commands too, are there anything wrong with the error i highlighted red below from last three line from bottom?:

gab@gab-Inspiron-700m:~$ cat /proc/swaps
Filename Type Size Used Priority

gab@gab-Inspiron-700m:~$ cat /proc/sys/vm/swappiness
60

gab@gab-Inspiron-700m:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda11 during installation
UUID=daa5a1bf-ac55-44ca-9e69-815717925690 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda12 during installation
UUID=caa40260-8d73-4e3f-8e62-c7365564899a none swap sw 0 0
 
Old 09-22-2011, 05:03 AM   #8
gabytf
Member
 
Registered: Jun 2010
Location: Kota Kinabalu, Sabah, Malaysia
Distribution: Slackware64 14, -current. Slackware 14.1
Posts: 170

Original Poster
Rep: Reputation: 1
How can i check if my swap partition is activated?
 
Old 09-22-2011, 05:47 AM   #9
ozanbaba
Member
 
Registered: May 2003
Location: Tengiz
Distribution: Slackware64 14.1
Posts: 673

Rep: Reputation: 94
Quote:
Originally Posted by gabytf View Post
How can i check if my swap partition is activated?
swapon
 
Old 09-22-2011, 06:48 AM   #10
fatmac
Senior Member
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: AntiX
Posts: 1,950

Rep: Reputation: Disabled
errors=remount

This is for the kernel on initial startup.

I believe it means that if it finds a fault in the filesystem, it will do a filesystem check, & then try to remount your root partition & continue with the boot process.
 
Old 09-22-2011, 06:53 AM   #11
ozanbaba
Member
 
Registered: May 2003
Location: Tengiz
Distribution: Slackware64 14.1
Posts: 673

Rep: Reputation: 94
man page says that if it finds an error then it will remount it as RO.
 
Old 09-22-2011, 07:17 AM   #12
gabytf
Member
 
Registered: Jun 2010
Location: Kota Kinabalu, Sabah, Malaysia
Distribution: Slackware64 14, -current. Slackware 14.1
Posts: 170

Original Poster
Rep: Reputation: 1
Thank you guys for the explanation.
Now when i use "swapon" commands, it shows below output:

gab@gab-Inspiron-700m:~$ swapon -a
swapon: cannot find the device for UUID=caa40260-8d73-4e3f-8e62-c7365564899a

gab@gab-Inspiron-700m:~$ swapon -s
Filename Type Size Used Priority
gab@gab-Inspiron-700m:~$

Is that mean my swap partition not activated?
 
Old 09-22-2011, 07:21 AM   #13
ozanbaba
Member
 
Registered: May 2003
Location: Tengiz
Distribution: Slackware64 14.1
Posts: 673

Rep: Reputation: 94
It does look like that. It can't find the swap device that is configured in fstab. fdisk -l shows that it is /dev/sda7. Chek if it's UUID is same one as in fstab. You can try using device name in fstab directly.
 
Old 09-22-2011, 08:11 AM   #14
gabytf
Member
 
Registered: Jun 2010
Location: Kota Kinabalu, Sabah, Malaysia
Distribution: Slackware64 14, -current. Slackware 14.1
Posts: 170

Original Poster
Rep: Reputation: 1
sorry, what is fstab?i mean how to make the UUID in fstab same as in fdisk?

Last edited by gabytf; 09-22-2011 at 08:14 AM.
 
Old 09-22-2011, 08:37 AM   #15
ozanbaba
Member
 
Registered: May 2003
Location: Tengiz
Distribution: Slackware64 14.1
Posts: 673

Rep: Reputation: 94
https://secure.wikimedia.org/wikipedia/en/wiki/Fstab
man fstab
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu 10.10 black screen and blinking cursor ! apanimesh061 Linux - Software 1 09-20-2011 04:17 PM
Black screen with blinking cursor immediately after installing Ubuntu 8.10 lazy_bones1987 Linux - Newbie 9 11-30-2008 11:19 AM
Black screen with blinking cursor mookini Linux - Newbie 4 09-25-2006 10:31 AM
Boot up with a black screen and the word 'GRUB' followed by blinking cusor davidas Debian 6 07-11-2004 03:29 PM
HDD Light always blinking? kalvnhobbz Fedora 5 01-25-2004 07:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration