[Bug 545024] New: Rapidly increasing Load_Cycle_Count
http://bugzilla.novell.com/show_bug.cgi?id=545024 Summary: Rapidly increasing Load_Cycle_Count Classification: openSUSE Product: openSUSE 11.2 Version: Milestone 8 Platform: Other OS/Version: Other Status: NEW Severity: Critical Priority: P5 - None Component: Kernel AssignedTo: kernel-maintainers@forge.provo.novell.com ReportedBy: rhafer@novell.com QAContact: qa@suse.de Found By: Development Created an attachment (id=321512) --> (http://bugzilla.novell.com/attachment.cgi?id=321512) hdparm -I output On a 11.2M8 test system ("Shuttle X27D" equipped with an Intel Board and a ATOM 330) smartctl shows me a rapidly increasing Load_Cycle_Count of the Harddrive. It unloads almost once per second. The harddrive is only about a week old and already has a Load_Cycle_Count of above 40000. Disabling the harddrive powermangement (hdparm -B 255 or hdparm -B 254) has no effect on this it seems. Only keeping the disk busy prevents it from unloading. Find the output of hdparm -I and smartctl -a attached. Please tell me what more information you need. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=545024
User rhafer@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=545024#c1
--- Comment #1 from Ralf Haferkamp
http://bugzilla.novell.com/show_bug.cgi?id=545024
User info@tristanhoffmann.de added comment
http://bugzilla.novell.com/show_bug.cgi?id=545024#c2
Tristan Hoffmann
http://bugzilla.novell.com/show_bug.cgi?id=545024
Tristan Hoffmann
http://bugzilla.novell.com/show_bug.cgi?id=545024
User coolo@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=545024#c3
Stephan Kulow
http://bugzilla.novell.com/show_bug.cgi?id=545024#c4
Alberto Passalacqua
http://bugzilla.novell.com/show_bug.cgi?id=545024#c5
--- Comment #5 from Alberto Passalacqua
http://bugzilla.novell.com/show_bug.cgi?id=545024#c6
--- Comment #6 from Alberto Passalacqua
http://bugzilla.novell.com/show_bug.cgi?id=545024#c7
Alberto Passalacqua
http://bugzilla.novell.com/show_bug.cgi?id=545024
http://bugzilla.novell.com/show_bug.cgi?id=545024#c8
--- Comment #8 from Alberto Passalacqua
http://bugzilla.novell.com/show_bug.cgi?id=545024
http://bugzilla.novell.com/show_bug.cgi?id=545024#c9
Ralf Haferkamp
http://bugzilla.novell.com/show_bug.cgi?id=545024
http://bugzilla.novell.com/show_bug.cgi?id=545024#c10
Jeff Mahoney
http://bugzilla.novell.com/show_bug.cgi?id=545024
http://bugzilla.novell.com/show_bug.cgi?id=545024#c11
--- Comment #11 from Alberto Passalacqua
http://bugzilla.novell.com/show_bug.cgi?id=545024
http://bugzilla.novell.com/show_bug.cgi?id=545024#c12
Tejun Heo
http://bugzilla.novell.com/show_bug.cgi?id=545024
http://bugzilla.novell.com/show_bug.cgi?id=545024#c13
Alberto Passalacqua
http://bugzilla.novell.com/show_bug.cgi?id=545024
http://bugzilla.novell.com/show_bug.cgi?id=545024#c14
--- Comment #14 from Tejun Heo
http://bugzilla.novell.com/show_bug.cgi?id=545024
http://bugzilla.novell.com/show_bug.cgi?id=545024#c15
--- Comment #15 from Alberto Passalacqua
http://bugzilla.novell.com/show_bug.cgi?id=545024
http://bugzilla.novell.com/show_bug.cgi?id=545024#c16
--- Comment #16 from Ralf Haferkamp
http://bugzilla.novell.com/show_bug.cgi?id=545024
http://bugzilla.novell.com/show_bug.cgi?id=545024#c17
Tejun Heo
http://bugzilla.novell.com/show_bug.cgi?id=545024
http://bugzilla.novell.com/show_bug.cgi?id=545024#c18
Ralf Haferkamp
http://bugzilla.novell.com/show_bug.cgi?id=545024
http://bugzilla.novell.com/show_bug.cgi?id=545024#c19
--- Comment #19 from Alberto Passalacqua
http://bugzilla.novell.com/show_bug.cgi?id=545024
http://bugzilla.novell.com/show_bug.cgi?id=545024#c20
Tejun Heo
http://bugzilla.novell.com/show_bug.cgi?id=545024
http://bugzilla.novell.com/show_bug.cgi?id=545024#c21
--- Comment #21 from Alberto Passalacqua
http://bugzilla.novell.com/show_bug.cgi?id=545024
http://bugzilla.novell.com/show_bug.cgi?id=545024#c22
--- Comment #22 from Alberto Passalacqua
http://bugzilla.novell.com/show_bug.cgi?id=545024
http://bugzilla.novell.com/show_bug.cgi?id=545024#c23
--- Comment #23 from Tejun Heo
http://bugzilla.novell.com/show_bug.cgi?id=545024
http://bugzilla.novell.com/show_bug.cgi?id=545024#c24
--- Comment #24 from Alberto Passalacqua
http://bugzilla.novell.com/show_bug.cgi?id=545024
http://bugzilla.novell.com/show_bug.cgi?id=545024#c25
Tejun Heo
http://bugzilla.novell.com/show_bug.cgi?id=545024
http://bugzilla.novell.com/show_bug.cgi?id=545024#c26
Ralf Haferkamp
http://bugzilla.novell.com/show_bug.cgi?id=545024
http://bugzilla.novell.com/show_bug.cgi?id=545024#c27
--- Comment #27 from Ralf Haferkamp
Does "echo 1 > /proc/sys/vm/laptop_mode" make the problem go away? IIRC I tried that already and it didn't have any significant effect. I can't test currently, as I put a different harddisk into the machine for now (one where hdparm -B 254 cures the problem).
-- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=545024
http://bugzilla.novell.com/show_bug.cgi?id=545024#c28
Ralf Haferkamp
http://bugzilla.novell.com/show_bug.cgi?id=545024
http://bugzilla.novell.com/show_bug.cgi?id=545024#c29
Mark Gray
How do we find out who's causing those frequent writeouts?
With 11.0 I found that it was udevd on my laptop for what it is worth (I have an old Armada with a loud hard disk right by my bed which kept me awake with the clicking.) Just my $0.02. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=545024
http://bugzilla.novell.com/show_bug.cgi?id=545024#c30
--- Comment #30 from Jan Kara
/tmp/blktrace-parsed
Download my mapping program (I suppose you have ext2/3/4 filesystem) from http://beta.suse.com/private/jack/defrag/ext3remapper.tar.gz Untar it and run make (you will need a development version of libext2fs which is packaged in openSUSE, otherwise it has no dependencies). Run: e2block2map -t -o /tmp/blktrace-mapped /tmp/blktrace-parsed /dev/sda1 It will crunch for some time (a few minutes) and then write in /tmp/blktrace-mapped which files were read / written. You can then attach the file here. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=545024
http://bugzilla.novell.com/show_bug.cgi?id=545024#c31
Jan Kara
Download my mapping program (I suppose you have ext2/3/4 filesystem) from http://beta.suse.com/private/jack/defrag/ext3remapper.tar.gz
Untar it and run make (you will need a development version of libext2fs which is packaged in openSUSE, otherwise it has no dependencies). Run: e2block2map -t -o /tmp/blktrace-mapped /tmp/blktrace-parsed /dev/sda1 There is no e2block2map built all I got was e2block2file, e2remapblocks and
http://bugzilla.novell.com/show_bug.cgi?id=545024
http://bugzilla.novell.com/show_bug.cgi?id=545024#c32
Ralf Haferkamp
http://bugzilla.novell.com/show_bug.cgi?id=545024
http://bugzilla.novell.com/show_bug.cgi?id=545024#c33
--- Comment #33 from Jan Kara
http://bugzilla.novell.com/show_bug.cgi?id=545024
http://bugzilla.novell.com/show_bug.cgi?id=545024#c34
--- Comment #34 from Ralf Haferkamp
Yes, I meant e2block2file. Sorry for the mistake.
OK, sadly quite a bit of the IO are short-lived files (probably in /tmp) that get deleted before e2block2file is run. Anyway, the files we can identify are mail logs. I suppose you are running postfix. Yes, I noticed that as well. There was a config problem that caused postfix to log very 30 seconds. I'll stopped postfix for now and try again.
Also you can try stopping cron because I remember that used to wakeup disk quite often as well. Ok.
-- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=545024
http://bugzilla.novell.com/show_bug.cgi?id=545024#c35
--- Comment #35 from Ralf Haferkamp
http://bugzilla.novell.com/show_bug.cgi?id=545024
http://bugzilla.novell.com/show_bug.cgi?id=545024#c36
--- Comment #36 from Jan Kara
http://bugzilla.novell.com/show_bug.cgi?id=545024
http://bugzilla.novell.com/show_bug.cgi?id=545024#c37
--- Comment #37 from Ralf Haferkamp
Ok, thanks for debugging. We might find something more if you do dd if=<your device> of=deleted-file bs=4096 count=1 skip=631569
deleted-file should then contain the data of the deleted file and we might be able to guess what file it is. Hm, it seems that it was just the e2block2file output file. I deleted that between two blktrace runs. Why does it show up in blktrace, when I deleted it when blktrace was not running.
Anyway, it's a bit strange that Load_Cycle_Count increased by 4 when we see just 1 write. Are there other partitions on the device? There are more partions yes. But none of them is mounted. And the swap partition is disabled currently.
If not, could you paste here output of blkparse on the captured trace so that we see whether my filtering didn't miss something important? Hm, I deleted it already. Will try to get a new trace ...
-- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=545024
http://bugzilla.novell.com/show_bug.cgi?id=545024#c38
--- Comment #38 from Mark Gray
http://bugzilla.novell.com/show_bug.cgi?id=545024
http://bugzilla.novell.com/show_bug.cgi?id=545024#c39
--- Comment #39 from Ralf Haferkamp
http://bugzilla.novell.com/show_bug.cgi?id=545024
http://bugzilla.novell.com/show_bug.cgi?id=545024#c40
--- Comment #40 from Alberto Passalacqua
http://bugzilla.novell.com/show_bug.cgi?id=545024
http://bugzilla.novell.com/show_bug.cgi?id=545024#c41
--- Comment #41 from Alberto Passalacqua
http://bugzilla.novell.com/show_bug.cgi?id=545024
http://bugzilla.novell.com/show_bug.cgi?id=545024#c42
--- Comment #42 from Jan Kara
You can try stopping it and see whether we can get rid of the last wakeups. Yeah, I wonder what it is worth though. The result is that I have a machine
http://bugzilla.novell.com/show_bug.cgi?id=545024
http://bugzilla.novell.com/show_bug.cgi?id=545024#c43
--- Comment #43 from Ralf Haferkamp
http://bugzilla.novell.com/show_bug.cgi?id=545024
http://bugzilla.novell.com/show_bug.cgi?id=545024#c44
--- Comment #44 from Alberto Passalacqua
http://bugzilla.novell.com/show_bug.cgi?id=545024
http://bugzilla.novell.com/show_bug.cgi?id=545024#c45
--- Comment #45 from Tejun Heo
http://bugzilla.novell.com/show_bug.cgi?id=545024
http://bugzilla.novell.com/show_bug.cgi?id=545024#c46
--- Comment #46 from Alberto Passalacqua
http://bugzilla.novell.com/show_bug.cgi?id=545024
http://bugzilla.novell.com/show_bug.cgi?id=545024#c47
--- Comment #47 from Jan Kara
http://bugzilla.novell.com/show_bug.cgi?id=545024
http://bugzilla.novell.com/show_bug.cgi?id=545024#c48
--- Comment #48 from Tejun Heo
http://bugzilla.novell.com/show_bug.cgi?id=545024
http://bugzilla.novell.com/show_bug.cgi?id=545024#c49
Daniele Tombolini
http://bugzilla.novell.com/show_bug.cgi?id=545024
http://bugzilla.novell.com/show_bug.cgi?id=545024#c50
--- Comment #50 from Daniele Tombolini
http://bugzilla.novell.com/show_bug.cgi?id=545024
http://bugzilla.novell.com/show_bug.cgi?id=545024#c51
--- Comment #51 from Daniele Tombolini
http://bugzilla.novell.com/show_bug.cgi?id=545024
http://bugzilla.novell.com/show_bug.cgi?id=545024#c52
--- Comment #52 from Daniele Tombolini
http://bugzilla.novell.com/show_bug.cgi?id=545024
http://bugzilla.novell.com/show_bug.cgi?id=545024#c53
--- Comment #53 from Tejun Heo
http://bugzilla.novell.com/show_bug.cgi?id=545024
http://bugzilla.novell.com/show_bug.cgi?id=545024#c54
--- Comment #54 from Daniele Tombolini
http://bugzilla.novell.com/show_bug.cgi?id=545024
http://bugzilla.novell.com/show_bug.cgi?id=545024#c55
--- Comment #55 from Kris Kaiser
http://bugzilla.novell.com/show_bug.cgi?id=545024
http://bugzilla.novell.com/show_bug.cgi?id=545024#c56
Tejun Heo
http://bugzilla.novell.com/show_bug.cgi?id=545024
http://bugzilla.novell.com/show_bug.cgi?id=545024#c57
Kris Kaiser
Kris, did that HM160HC come preinstalled or was it an upgrade?
Thanks.
an Upgrade -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=545024
http://bugzilla.novell.com/show_bug.cgi?id=545024#c58
Alberto Passalacqua
http://bugzilla.novell.com/show_bug.cgi?id=545024
http://bugzilla.novell.com/show_bug.cgi?id=545024#c59
--- Comment #59 from Alberto Passalacqua
http://bugzilla.novell.com/show_bug.cgi?id=545024
http://bugzilla.novell.com/show_bug.cgi?id=545024#c60
--- Comment #60 from Alberto Passalacqua
http://bugzilla.novell.com/show_bug.cgi?id=545024
http://bugzilla.novell.com/show_bug.cgi?id=545024#c
Alberto Passalacqua
http://bugzilla.novell.com/show_bug.cgi?id=545024
http://bugzilla.novell.com/show_bug.cgi?id=545024#c61
Tejun Heo
http://bugzilla.novell.com/show_bug.cgi?id=545024
http://bugzilla.novell.com/show_bug.cgi?id=545024#c62
--- Comment #62 from Alberto Passalacqua
http://bugzilla.novell.com/show_bug.cgi?id=545024
http://bugzilla.novell.com/show_bug.cgi?id=545024#c63
--- Comment #63 from Daniele Tombolini
http://bugzilla.novell.com/show_bug.cgi?id=545024
http://bugzilla.novell.com/show_bug.cgi?id=545024#c64
--- Comment #64 from Tejun Heo
http://bugzilla.novell.com/show_bug.cgi?id=545024
http://bugzilla.novell.com/show_bug.cgi?id=545024#c65
--- Comment #65 from Alberto Passalacqua
http://bugzilla.novell.com/show_bug.cgi?id=545024
http://bugzilla.novell.com/show_bug.cgi?id=545024#c66
--- Comment #66 from Alberto Passalacqua
http://bugzilla.novell.com/show_bug.cgi?id=545024
http://bugzilla.novell.com/show_bug.cgi?id=545024#c67
Alberto Passalacqua
https://bugzilla.novell.com/show_bug.cgi?id=545024
https://bugzilla.novell.com/show_bug.cgi?id=545024#c68
Alberto Passalacqua
https://bugzilla.novell.com/show_bug.cgi?id=545024
https://bugzilla.novell.com/show_bug.cgi?id=545024#c69
Jeff Mahoney
participants (1)
-
bugzilla_noreply@novell.com