dd fills up kern.log, syslog and messages

Bug #94821 reported by foxy123
2
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: coreutils

I am not sure why it happens but it has shappened to me 2 times already. dd utility starts working unexpectedly and fills up my root partition by inflating kern.log, syslog and messages. The problem is that these files become 500Mb each and I have no idea how to read them. I will try to bzip2 and attach kern.log.

Also when I kill dd I still have a problem with xfce4-battery-plugin, which loads the cpu and unresponsive so I have to kill it as well. So maybe it is the cause rather than coreutils, but I am not sure.

Revision history for this message
foxy123 (foxy) wrote :

The kern.tar.bz2 is over 5Mb, so I do not know where to store it. I had to delete other files (syslog and messages).

Revision history for this message
foxy123 (foxy) wrote :

OK, it happened several times again. Here the content of kernel.log:

Apr 25 11:28:50 localhost kernel: [57665.880000] ACPI Warning (utdelete-0397): Large Reference Count (662C) in object e584dc7c [20060707]
Apr 25 11:28:50 localhost kernel: [57665.880000] ACPI Warning (utdelete-0397): Large Reference Count (662C) in object e584dca4 [20060707]
Apr 25 11:28:50 localhost kernel: [57665.880000] ACPI Warning (utdelete-0397): Large Reference Count (662C) in object e584d7f4 [20060707]
Apr 25 11:28:50 localhost kernel: [57665.880000] ACPI Warning (utdelete-0397

And so on and so forth for 133Mb.

This is a messages file:

Apr 25 11:28:37 localhost kernel: [57652.608000] ACPI Warning (utdelete-0397): Large Reference Count (FA64) in object ecca4f4c [20060707]
Apr 25 11:28:37 localhost kernel: [57652.608000] ACPI Warning (utdelete-0397): Large Reference Count (FA62) in object e584ddbc [20060707]
Apr 25 11:28:37 localhost kernel: [57652.612000] ACPI Warning (utdelete-0397): Large Reference Count (FA67) in object e584d7cc [20060707]
Apr 25 11:28:37 localhost kernel: [57652.612000] ACPI Warning (utdelete-0397): Large Reference Count (FA65) in object e584dc2c [20060707]

and last but not the least syslog

Apr 25 11:29:18 localhost kernel: [57693.624000] ACPI Warning (utdelete-0397): Large Reference Count (A8A2) in object e584d9d4 [20060707]
Apr 25 11:29:18 localhost kernel: [57693.624000] ACPI Warning (utdelete-0397): Large Reference Count (A8A2) in object e584d6b4 [20060707]
Apr 25 11:29:18 localhost kernel: [57693.624000] ACPI Warning (utdelete-0397): Large Reference Count (A8A2) in object ecca4f4c [20060707]
Apr 25 11:29:18 localhost kernel: [57693.624000] ACPI Warning (utdelete-0397): Large Reference Count (A8A0) in object e584ddbc [20060707]

Revision history for this message
Micah Cowan (micahcowan) wrote :

Thank you for your bug report. Please specify the version of the coreutils package you are using, and your current kernel version. Also: could you provide some more detail as to the use to which you are putting dd, and what filesystem types are involved?

Changed in coreutils:
assignee: nobody → micahcowan
status: Unconfirmed → Needs Info
Revision history for this message
foxy123 (foxy) wrote :

version 5.97-5.2ubuntu3.
I did not use dd at all, but is always running:
~$ ps -A | grep dd
 3551 ? 00:00:00 pccardd
 4474 ? 00:00:00 dd
 4521 ? 00:00:00 hald-addon-keyb
 4522 ? 00:00:00 hald-addon-keyb
 4523 ? 00:00:00 hald-addon-keyb
 4525 ? 00:00:00 hald-addon-cpuf
 4526 ? 00:00:00 hald-addon-acpi
 4527 ? 00:00:00 hald-addon-keyb
 4538 ? 00:00:00 hald-addon-stor
I've got ext3.

Micah Cowan (micahcowan)
Changed in coreutils:
status: Needs Info → Unconfirmed
Revision history for this message
foxy123 (foxy) wrote :
Download full text (12.6 KiB)

Got it again. I have no idea what triggered it. Here are extracts from log files:

messages (135Mb):

Jul 21 18:31:00 localhost gconfd (foxy-4016): Resolved address "xml:readonly:/etc/gconf/gconf.xml.mandatory" to a read-only configuration source at position 0
Jul 21 18:31:00 localhost gconfd (foxy-4016): Resolved address "xml:readwrite:/home/alex/.gconf" to a writable configuration source at position 1
Jul 21 18:31:00 localhost gconfd (foxy-4016): Resolved address "xml:readonly:/etc/gconf/gconf.xml.defaults" to a read-only configuration source at position 2
Jul 21 18:31:00 localhost gconfd (foxy-4016): Resolved address "xml:readonly:/var/lib/gconf/debian.defaults" to a read-only configuration source at position 3
Jul 21 18:31:00 localhost gconfd (foxy-4016): Resolved address "xml:readonly:/var/lib/gconf/defaults" to a read-only configuration source at position 4
Jul 21 18:53:03 localhost -- MARK --
Jul 21 19:13:03 localhost -- MARK --
Jul 21 19:33:04 localhost -- MARK --
Jul 21 19:53:04 localhost -- MARK --
Jul 21 19:53:05 localhost kernel: ge Reference Count (7FB1) in object e11bdc2c [20060707]
Jul 21 19:53:05 localhost kernel: [14534.715000] ACPI Warning (utdelete-0397): Large Reference Count (7FB1) in object e11bdc54 [20060707]
Jul 21 19:53:05 localhost kernel: [14534.715000] ACPI Warning (utdelete-0397): Large Reference Count (7FB1) in object e11bdc7c [20060707]
Jul 21 19:53:05 localhost kernel: [14534.715000] ACPI Warning (utdelete-0397): Large Reference Count (7FB1) in object e11bdca4 [20060707]
Jul 21 19:53:05 localhost kernel: [14534.715000] ACPI Warning (utdelete-0397): Large Reference Count (7FB1) in object e11bdd44 [20060707]
Jul 21 19:53:05 localhost kernel: [14534.715000] ACPI Warning (utdelete-0397): Large Reference Count (7FB1) in object eccceefc [20060707]
Jul 21 19:53:05 localhost kernel: [14534.715000] ACPI Warning (utdelete-0397): Large Reference Count (7FB1) in object e11bd8e4 [20060707]
Jul 21 19:53:05 localhost kernel: [14534.715000] ACPI Warning (utdelete-0397): Large Reference Count (7FB1) in object ecccef4c [20060707]
Jul 21 19:53:05 localhost kernel: [14534.715000] ACPI Warning (utdelete-0397): Large Reference Count (7FB1) in object e11bd9ac [20060707]
Jul 21 19:53:05 localhost kernel: [14534.715000] ACPI Warning (utdelete-0397): Large Reference Count (7FB1) in object e11bd6b4 [20060707]

kernel.log.0 (135Mb):

Jul 21 16:56:38 localhost kernel: [ 3946.023000] end_request: I/O error, dev sr0, sector 0
Jul 21 19:53:05 localhost kernel: ge Reference Count (7FB1) in object e11bdc2c [20060707]
Jul 21 19:53:05 localhost kernel: [14534.715000] ACPI Warning (utdelete-0397): Large Reference Count (7FB1) in object e11bdc54 [20060707]
Jul 21 19:53:05 localhost kernel: [14534.715000] ACPI Warning (utdelete-0397): Large Reference Count (7FB1) in object e11bdc7c [20060707]
Jul 21 19:53:05 localhost kernel: [14534.715000] ACPI Warning (utdelete-0397): Large Reference Count (7FB1) in object e11bdca4 [20060707]
Jul 21 19:53:05 localhost kernel: [14534.715000] ACPI Warning (utdelete-0397): Large Reference Count (7FB1) in object e11bdd44 [20060707]
Jul 21 19:53:05 localhost kernel: [14534.715000] ACPI Warning (utdelete-0397): Large Re...

Micah Cowan (micahcowan)
Changed in coreutils:
assignee: micahcowan → nobody
Revision history for this message
era (era) wrote :

I guess this is probably the culprit.

ubuntu@ubuntu:~$ ps wallx | (IFS=''; read h; echo "$h"; fgrep -w dd)
F UID PID PPID PRI NI VSZ RSS WCHAN STAT TTY TIME COMMAND
4 0 11485 1 15 0 1836 536 syslog S ? 0:00 /bin/dd bs 1 if /proc/kmsg of /var/run/klogd/kmsg

fox123: do you get the same result? If you find other instances, a pstree(1) printout might be helpful, too.

FWIW I'm not seeing anything like this, also I'm curious as to how you connected dd(1) to these errors in the first place.

Revision history for this message
era (era) wrote :

... Actually if that is the explanation then I guess dd(1) is actually only the messenger, and those messages are coming from the kernel?

Revision history for this message
foxy123 (foxy) wrote :

I have upgraded to Gutsy and have not gt this bug so far. I will add a comment if it happens to me again.

Daniel T Chen (crimsun)
Changed in coreutils:
status: New → Fix Released
Revision history for this message
Bram (brvdpu) wrote :

This happens to me too. I am not sure if dd really is the problem or indeed just the messenger, but it does appear suddenly right before the problem occurs, while also using a lot of cpu (1 of 2 cores is totally busy which is almost never the case on this machine). my computer just freezes when the root partition is filled up on those log files and that's really anoying as you might geuss

im running intrepid (2.6.27-9-generic, also happens with i think it is 2.6.27-7-generic). my geuss is that something is wrong with the wireless driver (iwlagn), just because dmesg also complains a lot about that, certainly in combination with vmware 2.0, which it tries to link for nat networking, but this could be a sepperate problem

a lot of stuff going wrong, any idea where to start?

Revision history for this message
Bram (brvdpu) wrote :
Revision history for this message
Michael Adams (madams) wrote :

If you upgrade to Jaunty and still get this, try a 2.6.30 kernel and see if that helps.

http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.30-rc1/

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.