Disk is working every 3 sec only when on battery
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
This is on Hardy from a fresh install on a Toshiba Satellite laptop.
When on AC, the disk does not work until I ask it to work, or until tracker for example starts indexing. But as soon as I unplug the cable, the disk starts working on an extremely regular way, every 3 seconds. It makes a short noise, the led shines a little, and sometimes it works again less strongly 1 sec later, sometimes twice. This never stops until I'm on AC.
atop -d reports that no process is using the disk (except for 1 sec sometimes a program coming up), but pdflush is always at the top:
PID RDDSK WRDSK WRDSK_CANCEL DSK CMD
157 0K 132K 0K 97% pdflush
and others are at 0% disk use.
I can find no error in my system logs. This is occurring even when I only start a standard session on a pristine user account. When only GDM is started there is an activity, but much less frequent so I think this is not the same problem.
It's just like the system has inverted its behavior and uses the disk when it shouldn't (on battery), and vice-versa!
I don't really know were I can search for more debugging nor to which package I should report it. Please just ask and I'll have a look.
powertop reports many things but not really what I'm looking for (since disk access is not the only power consuming work), but I can find more about pdflush there: work_timer_ fn)
0,3% ( 0,4) pdflush : do_journal_end (delayed_
Sure this is not the worse process, but this may be sufficient to prevent the hard disk from sleeping and cost more power than it appears to. So is that just a matter of filesystem journal write? I'm using reiserfs3 on my home and root partitions.