Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Why does my ibook clicks constantly?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
tchick
n00b
n00b


Joined: 12 Jun 2004
Posts: 43

PostPosted: Fri Mar 04, 2005 7:20 am    Post subject: Why does my ibook clicks constantly? Reply with quote

Hi *,

appropriately every 3 seconds a harddisk access takes place on my ibook, the typical clicking sound and the sleep LED reveals this. How can I find out what process is responsible for this? The log demon (metalog) is producing no output and deactivating it does not change anything.

Any ideas?
_________________
The only intuitive interface is the nipple. After that, it's all learned.
Back to top
View user's profile Send private message
ruben
Guru
Guru


Joined: 04 Jul 2003
Posts: 462

PostPosted: Mon Mar 07, 2005 12:03 pm    Post subject: Re: Why does my ibook clicks constantly? Reply with quote

Are you using a journaling file system ? If so, i think that's the reason, there are regular writes to the filesystem log.
Back to top
View user's profile Send private message
tchick
n00b
n00b


Joined: 12 Jun 2004
Posts: 43

PostPosted: Mon Mar 07, 2005 2:33 pm    Post subject: Reply with quote

Yes, I am using ext3. But if no program accesses the disk, what has to be written to the log? Could this be switched off? Could the whole disk be switched off? This would also save power, wouldn't it?
_________________
The only intuitive interface is the nipple. After that, it's all learned.
Back to top
View user's profile Send private message
ruben
Guru
Guru


Joined: 04 Jul 2003
Posts: 462

PostPosted: Mon Mar 07, 2005 2:56 pm    Post subject: Reply with quote

I don't know that much about journaling filesystems, but i know it's an issue. Read the manpage from mount and then you'll see in the section "Mount options for ext3", that you can change the commit interval for the log like this:
Code:
commit=nrsec
    Sync all data and metadata every nrsec seconds.
     The default value is 5 seconds. Zero means default.

I assume you use a laptop since you talk about saving power? Then you might be interested in the 'laptopmode'. If you have a kernel source somewhere on your filesystem, then you can read more about it in Documentation/laptop-mode.txt. With the laptop mode, you should be able to let the harddisk spin down to save power.
Back to top
View user's profile Send private message
Motomouse
n00b
n00b


Joined: 28 Nov 2003
Posts: 56

PostPosted: Mon Mar 07, 2005 6:28 pm    Post subject: Reply with quote

shut down your system logger :wink: (if you do not need it)

https://forums.gentoo.org/viewtopic-t-219497-highlight-click+ibook.html

regards
ralph
Back to top
View user's profile Send private message
tchick
n00b
n00b


Joined: 12 Jun 2004
Posts: 43

PostPosted: Tue Mar 08, 2005 2:10 pm    Post subject: Reply with quote

Shutting down the system logger does not change anything, as mentioned in the initial posting :(
_________________
The only intuitive interface is the nipple. After that, it's all learned.
Back to top
View user's profile Send private message
tchick
n00b
n00b


Joined: 12 Jun 2004
Posts: 43

PostPosted: Wed Apr 13, 2005 7:48 am    Post subject: Reply with quote

(couldn't spend too much time for this in the last weeks but now I solved this:)

Three things seems to be done:
- kernel's laptop mode must be used to switch off "unnecessary" hard disk activity. I suppose this is filesystem specific behaviour, such as logging, but correct me if this is not true.
- the harddisk spin down timeout should be set (see hdparm man-page). This could be done with the powerprefs package.
- this should be done also if the system is running on AC. (as it worked in battery mode already, what I found out in the meantime)

To enable this, all I had to to is set the "onAC_policy" configuration field of pbbuttons to "custom". And now I can work with my ibook in completely silence, aah :-)
_________________
The only intuitive interface is the nipple. After that, it's all learned.
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Wed Apr 13, 2005 7:50 pm    Post subject: Reply with quote

Could have something to do with thermal calibration, like with the seagates in the mini: linky
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum