LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   System hangs while booting (https://www.linuxquestions.org/questions/linux-software-2/system-hangs-while-booting-736366/)

divyashree 06-29-2009 06:18 AM

System hangs while booting
 
While booting it's saying starting smartd and the system hangs for ever.So what I do is to boot the system in single user mode,then start the service smartd manually by
Code:

service smartd start
,them init 5,then continue as normal...What should I do to fix this..

kirukan 06-29-2009 06:43 AM

The information that you have given not enough to short-out problem, do you really need smartd daemon for hard disk health monitoring?

Febi881 06-29-2009 07:08 AM

Are you enabled hardisk 32/16-bit mod?
Dma is on/off?


check dma with following command
hdparm -d /dev/sda (/dev/sda is your harddisk drive)
also check which operatioal mod the hdd is, using the following command
hdparm -c /dev/sda

please give me the O/P

divyashree 06-29-2009 07:15 AM

Quote:

Originally Posted by kirukan (Post 3589890)
The information that you have given not enough to short-out problem, do you really need smartd daemon for hard disk health monitoring?

I dont know what the smartd daemon does,actually 2 days before I was outside and my system was running as some downlod works were going on.When I returned there was no power and my system was shutted down as all backups of my UPS were also finished .After then this problem has arised...

Febi881 06-29-2009 07:19 AM

Quote:

Originally Posted by divyashree (Post 3589919)
I dont know what the smartd daemon does,actually 2 days before I was outside and my system was running as some downlod works were going on.When I returned there was no power and my system was shutted down as all backups of my UPS were also finished .After then this problem has arised...



Go to single user mod and run a fsck manually

divyashree 06-29-2009 07:21 AM

Quote:

Originally Posted by Febi881 (Post 3589912)
Are you enabled hardisk 32/16-bit mod?
Dma is on/off?


check dma with following command
hdparm -d /dev/sda (/dev/sda is your harddisk drive)
also check which operatioal mod the hdd is, using the following command
hdparm -c /dev/sda

please give me the O/P

Code:

[root@PDK ~]# hdparm -d /dev/hdc

/dev/hdc:
 using_dma    =  1 (on)
[root@PDK ~]# hdparm -c /dev/hdc

/dev/hdc:
 IO_support  =  0 (default 16-bit)


kirukan 06-29-2009 07:26 AM

if you are not using smartd daemon then just turn off it from your all runlevels

Febi881 06-29-2009 07:32 AM

Quote:

Originally Posted by divyashree (Post 3589938)
Code:

[root@PDK ~]# hdparm -d /dev/hdc

/dev/hdc:
 using_dma    =  1 (on)
[root@PDK ~]# hdparm -c /dev/hdc

/dev/hdc:
 IO_support  =  0 (default 16-bit)




Hdd Parameters are seems to be fine.
To check the file system errors do a fsck manually from init 1

divyashree 07-04-2009 12:48 PM

Quote:

Originally Posted by Febi881 (Post 3589930)
Go to single user mod and run a fsck manually

Thanks ,now it worked well..


All times are GMT -5. The time now is 07:27 PM.