UbuntuThis forum is for the discussion of Ubuntu 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.
I have a dual boot AMD Turion laptop with 1.5 gb ram and 100 gb HD. When I boot into Ubuntu 8.04 the system seems to keep accessing the HD about every half second. Literally, it's just read/off read/off read/off showing on the HD light. GKRELLM shows at least 164k and occasionally more for disk activity, however, so I'm not sure what is going on. Any suggestions would be appreciated, as listening to it read and seeing the light flashing on and off constantly is driving me nuts. It doesn't seem to do this when I boot to the Windows XP side of the machine.
Thanks!
KP
Last edited by KPryor; 09-03-2008 at 10:28 AM.
Reason: Corrected a mistake
Thanks amani. I have to admit I'm not really sure what to check. I opened the services and don't see anything obvious that would be causing this, but will confess I don't know all that I need to in Linux yet. Thanks for you help!
KP
1) Enable laptop mode. This will ensure that the laptop-mode-tools program will actually be able to run.
Go to Applications -> Accessories -> Terminal and type in
"sudo gedit /etc/default/acpi-support", then your password when prompted. Search for where it says "ENABLE_LAPTOP_MODE" and set it from "ENABLE_LAPTOP_MODE=false" to "ENABLE_LAPTOP_MODE=true". Then save it and exit.
2) Get laptop-mode-tools and install it.
3) Set laptop-mode-tools to run even when on AC Power, otherwise you'll still have clicking when you're plugged in. Go back to the Terminal and type "sudo gedit /etc/laptop-mode/laptop-mode.conf" and give the password if prompted. In gedit, search for "ON_AC". You should change "ENABLE_LAPTOP_MODE_ON_AC=0" to "ENABLE_LAPTOP_MODE_ON_AC=1" so that laptop-mode-tools will work even when your laptop is on AC power. Save and quit.
4) Turn on laptop-mode-tools. Go back to the Terminal and type "sudo /etc/init.d/laptop-mode start". This should start up laptop-mode. You can check to make sure that laptop-mode is on by typing "sudo /etc/init.d/laptop-mode status". A nonzero value after where it says “/proc/sys/vm/laptop_mode” indicates that it's activated. Now, in my case the "start" command reassured me that laptop-mode was on, but then the "status" command gave me a 0 value. That was because I was on AC power, and I hadn't done step 3. Yours should be a nonzero value.
5) The clicking sound should have stopped by now. Now just set it so that laptop-mode will come on every time you boot. To do this, go to System -> Preferences -> Sessions, then click "Add" to add a new startup program. In the "Command" field, put "/etc/init.d/laptop-mode start". For "Name" or "Comment", put whatever you want.
Thanks amani! I followed the directions, but it's still doing it. My machine already had laptop-tools installed as it turned out, but I followed all other directions and it's still doing it. I'm just baffled as to what is causing this.
KP
Are you sure its not something indexing the hard disk? There are various programs (beagle/Kerry beagle/Updatedb/locate/slocate/...) that help you find files, but they have to index the disk first. What usually happens is that this settles down after a while if you let it run to completion.
You might want to look for which programs are using up lots of processor time and see if they seem to be doing this kind of thing. (Try top/ksysguard/...and I've forgotten what the gnome system monitor program is called. System Montor, maybe?)
Thanks for the suggestions, salasi. I thought about the indexing too, but can't imagine it needs to continue doing that for hours upon hours. I've had Ubuntu running on this machine for awhile now, so I wouldn't think indexing would still need go on that much, but I don't know. I'll take a look at top and see what it says.
Thanks!
KP
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.