Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Currently, as my computer sits in Gnome... or even KDE my hard drive light will come on... come off... come on... come off. It is in regular intervals and stays lit for only 1/2 a second, and then waits 2 seconds and comes on again. I have no programs running, and the screensaver is even off. The system monitor shows nothing running, and I have shut down all of my daemons. I had Redhat 9 installed and then switched to Fedora, but I am finding no relief from this problem. These are fresh installs after I installed all of the updates to each of the OSes... has anyone else had this problem... or does anyone know how to fix it?
My computer is:
Motherboard: Asus P4PE
CPU: Pentium-4 2.4ghz 512k cache
Memory: 512 mb pc2700
Hard Drive: 40gb... I think it is 100m/s
Okay, and here is what I have come up with so far. While I am in Gnome or KDE... if I su to root, and run /sbin/init 3 it will take me to a terminal only... and the hard drive light will stop consistently blinking. I think it might by an X-windows deal... not sure though. Oh, when I am in KDE the light blinks like twice as fast... instead of a 2 second interval, it's a 1 second interval.
I am going to list the services I have running, but keep in mind, these services are also running when I am in terminal mode (when the hard drive does not have this problem) I have also shut down each and everyone of these before with the same problem still resulting:
acpid - I didn't have this one running in RH9
anacron
atd
autofs
crond
cups
cups-lpd
gpm
hpoj
ip6tables
ipchains
iptables
irqbalance - I didn't have this one running in RH9
kudzu
mdmonitor
messagebus - I didn't have this one running in RH9
microcode_ctl
network
portmap
privoxy
random
rawdevices
sgi_fam
smartd - I didn't have this one running in RH9
syslog
xinetd
This is normal behavior by the disk cache routine. When you are doing nothing the cache catches up on writes that have not been written to disk to yet.
That seems funny to me however... Because it does it 24-7... I go to bed, and wake up in the morning and it is still blinking...
It also only happens in X-Windows... Whether in Gnome or KDE... and when in KDE it blinks faster than in Gnome... Does anyone know if X-Windows has weird disk caching operations going on in the background while I am logged in?
"That seems funny to me however... Because it does it 24-7..."
That is weird. If the machine is completely idle then the cache should catch up within a few minutes at most and then go idle.
Do you have some sort of crontab job that fails? This could be a problem that a crontab job fails and then is retried in a few minutes, fails again, etc.
Another possibility is swap. When you sit idle for a while swap will sometimes copy a large program to swap simply as a head start in case in the future you start to swap. You might see a little of this but not the pattern that you are seeing.
You could see if swap is the culprit by typing in the swapoff command. With 512M swapoff should have no effect on your system performance. If the disk activity stops then you could investigate swap further.
I can't figure this out... and you are right, the swap doesn't sound like my problem... because it does it all the time. While I am working, and as soon as I stop working with it.
I am completely bummed out about it too... because I like Redhat 9, Fedora C1... A fresh install of Redhat 9 won't do this, but after updating it it will... I can't remember about Fedora C1 because I updated it as soon as I installed it...
But, I resolved the matter in my own head, because I installed Mandrake 9.2 lastnight, and there is no longer a problem... no more flashing... I feel better now. It's not a big switch... but there is some weirdness after I have used Redhat for so long... :-)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.