LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-15-2003, 08:10 PM   #1
Leion
LQ Newbie
 
Registered: Mar 2003
Location: Linköping, Sweden
Distribution: RedHat 7.3
Posts: 3

Rep: Reputation: 0
Question Problem: hdd works when I'm not.


Hello
This is a somewhat peculiar problem, perhaps someone could help me.

When I log out, after about 10 minutes or so of not using the computer, the hard disk starts chewing like crazy. It doesn't stop until I either log in, or shut the machine off.

I thought perhaps using a graphical user interface (Gnome) was a bit too heavy for this old machine, so I changed runlevel to 3, so that x-server is off when I'm logged out, but that didn't help. I've also checked that the system use DMA for the hdd (hdparm). I've turned off every service I don't need (using the RH service configurator) but nothing seem to help.

I don't know what it could be. Why does it make noise only when I'm not using the computer? What programs/services/daemons could be running using the harddisk to that extent and at that time? What should I look for? What tools to use? Please don't get too linux-technical with me, I'm fairly new to this OS

Thanks for reading.
/Henrik Leion


Some system info:
RedHat 7.3 (2.4.18, rel 17.7.x)
Pentium 120 MHz
64M ram
what else do you want to know?
 
Old 03-15-2003, 08:28 PM   #2
rch
Member
 
Registered: Feb 2003
Location: Santa Clara,CA
Distribution: Mandriva
Posts: 909

Rep: Reputation: 48
Re: Problem: hdd works when I'm not.

Quote:
Originally posted by Leion
Hello
This is a somewhat peculiar problem, perhaps someone could help me.

When I log out, after about 10 minutes or so of not using the computer, the hard disk starts chewing like crazy. It doesn't stop until I either log in, or shut the machine off.

I thought perhaps using a graphical user interface (Gnome) was a bit too heavy for this old machine, so I changed runlevel to 3, so that x-server is off when I'm logged out, but that didn't help. I've also checked that the system use DMA for the hdd (hdparm). I've turned off every service I don't need (using the RH service configurator) but nothing seem to help.

I don't know what it could be. Why does it make noise only when I'm not using the computer? What programs/services/daemons could be running using the harddisk to that extent and at that time? What should I look for? What tools to use? Please don't get too linux-technical with me, I'm fairly new to this OS

Thanks for reading.
/Henrik Leion


Some system info:
RedHat 7.3 (2.4.18, rel 17.7.x)
Pentium 120 MHz
64M ram
what else do you want to know?
old harddisks usually make a lot of noise
the noise that you hear from harddisk is becoz of the platter that is spinning inside your harddisk
usually a bit of sound is considered ok
but if there is a lot of sound something may have gone wrong
does your harddisk support SMART
check it out
and see if there is anything wrong with harddisk
 
Old 03-20-2003, 02:24 PM   #3
Leion
LQ Newbie
 
Registered: Mar 2003
Location: Linköping, Sweden
Distribution: RedHat 7.3
Posts: 3

Original Poster
Rep: Reputation: 0
Well, actually, the sound I was trying to describe is the hdd r/w-ing, and it does that a LOT.
The hdd is a Seagate MedalistPro 2520, and is SMART. However it's not supported by my bios. Maybe I'll give it a try to update it if all else fails.

I think that the hdd is ok, but that some software is running accessing it all the time the computer is available (that is, when I'm not using it).

These are the processes running mentioned by pstree:
atd, bdflush, crond, gpm, 8*httpd, kapmd, keventd, 3*kjournald, klogd, ksofticqd_CPU0, kswapd, kupdated, login---bash---pstree, mdrecoveryd, 5*mingetty, portmap, rhnsd, rpc.statd, syslogd, xfs, xinetd

Does this seem normal? When this pstree was generated, I used the computer, which maybe could have influenced the eveidence.

What other tools can I use to unravel this mystery?

I'm using ext-3. Could it be the indexing that's going beserk?
Maybe it's a cron-job running or RHNetwork installing stuff? How do I find out?
 
Old 03-21-2003, 12:39 AM   #4
rch
Member
 
Registered: Feb 2003
Location: Santa Clara,CA
Distribution: Mandriva
Posts: 909

Rep: Reputation: 48
Quote:
Originally posted by Leion
Well, actually, the sound I was trying to describe is the hdd r/w-ing, and it does that a LOT.
The hdd is a Seagate MedalistPro 2520, and is SMART. However it's not supported by my bios. Maybe I'll give it a try to update it if all else fails.

I think that the hdd is ok, but that some software is running accessing it all the time the computer is available (that is, when I'm not using it).

These are the processes running mentioned by pstree:
atd, bdflush, crond, gpm, 8*httpd, kapmd, keventd, 3*kjournald, klogd, ksofticqd_CPU0, kswapd, kupdated, login---bash---pstree, mdrecoveryd, 5*mingetty, portmap, rhnsd, rpc.statd, syslogd, xfs, xinetd

Does this seem normal? When this pstree was generated, I used the computer, which maybe could have influenced the eveidence.

What other tools can I use to unravel this mystery?

I'm using ext-3. Could it be the indexing that's going beserk?
Maybe it's a cron-job running or RHNetwork installing stuff? How do I find out?
i don't think that the processes you have given can influence what is happening in your harddisk
instead the operating system driver may be responsible
type dmesg
it should contain a line something like this
hda:<your hard disk manufacturer>
it might also be hdb,hdc,hdd too
now if it is the correct driver the operating system is usually not
responsible for the extra noise
if your BIOS contains information about PC health check(it contains information about power ,voltage and speed)
whether everything is ok
and finally since you said that SMART is not supported by BIOS
it is a good idea of flashing and upgrading your bios
(this may also be a bad idea-make sure that you know what you are doing -there is no possibility of a power failure -and the correct bios)
keep posted
 
Old 03-22-2003, 07:44 AM   #5
Leion
LQ Newbie
 
Registered: Mar 2003
Location: Linköping, Sweden
Distribution: RedHat 7.3
Posts: 3

Original Poster
Rep: Reputation: 0
Thank you rch for helping me.

dmesg only outputs hundreds of lines that looks something like this:
<6> IN=eth0 OUT=MAC=[some mac-adress] SRC=[someone in my university subnet] DST=[broadcast adress in my student univ subnet] ...etc

I suppose it's a log of incoming broadcast messages. I tried to grep for 'hda', and similarities, but didn't find any.

BUT, I found in /proc/ide/ide0/hda a couple of interesting files. The file model contains "ST52520A", which i assume indicates that my system at least knows what harddisk it has. The file driver contains "ide-disk version 1.12".

So I guess next step is start looking for a new bios for the old mobo.

/Henrik
 
Old 03-22-2003, 09:14 AM   #6
wr3ck3d
Member
 
Registered: Dec 2002
Location: IL
Distribution: NetBSD, Slackware, Gentoo, Debian, FreeBSD
Posts: 444

Rep: Reputation: 31
go like this....

dmesg | grep hd
 
Old 03-22-2003, 09:16 AM   #7
rch
Member
 
Registered: Feb 2003
Location: Santa Clara,CA
Distribution: Mandriva
Posts: 909

Rep: Reputation: 48
Quote:
Originally posted by Leion
Thank you rch for helping me.

dmesg only outputs hundreds of lines that looks something like this:
<6> IN=eth0 OUT=MAC=[some mac-adress] SRC=[someone in my university subnet] DST=[broadcast adress in my student univ subnet] ...etc

I suppose it's a log of incoming broadcast messages. I tried to grep for 'hda', and similarities, but didn't find any.

BUT, I found in /proc/ide/ide0/hda a couple of interesting files. The file model contains "ST52520A", which i assume indicates that my system at least knows what harddisk it has. The file driver contains "ide-disk version 1.12".

So I guess next step is start looking for a new bios for the old mobo.

/Henrik
dmesg is the kernel boot message
since you have /proc/ide/blah .. blah
you have a devfsd system
even then while grepping you should have got your harddisk manufacturer name
well anyway it is clear that your bios is using the correct harddisk driver
the version is the general ide disk version(used by all ide device)
well if you have any other operating system -
does the amount of noise remain the same while using the other os?
i think you should try this
or you can try to install a minimum system in a small partition or floppy ,boot from there and see if the noise remains
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to add a third hard drive (hdd) and get Unable to open /dev/hdd MikeyCarter Linux - Hardware 4 12-26-2005 10:27 PM
Dual HDD Interface Problem, Linux on SATA, NTFS Part on IDE HDD LILO Not Loading Blade44 Linux - Hardware 2 02-01-2005 06:56 PM
How to make mirror image of linux partion to one1 HDD TO 2 HDD raj_1 Linux - General 2 11-04-2004 01:45 AM
HDD problem, scancode problem and grub EJ_INSIDE Debian 2 07-15-2004 09:36 AM
How to format & mount 2nd hdd after FedCor1 has been installed on 1st hdd? clay394 Fedora 1 05-18-2004 01:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:24 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
Open Source Consulting | Domain Registration