Paul Smith wrote: > > On 1/20/07, Paul Smith <phhs80@xxxxxxxxx> wrote: > > > > > > I am getting these strange messages: > > > > > > > > > > > > Jan 20 01:22:22 localhost kernel: end_request: I/O error, dev fd0, sector 0 > > > > > > Jan 20 01:22:22 localhost kernel: end_request: I/O error, dev fd0, sector 0 > > > > > > Jan 20 01:22:22 localhost kernel: floppy0: disk absent or changed > > > > > > during operation > > > > > > Jan 20 01:22:22 localhost kernel: end_request: I/O error, dev fd0, sector 0 > > > > > > Jan 20 01:22:22 localhost kernel: end_request: I/O error, dev fd0, sector 0 > > > > > > Jan 20 01:22:22 localhost kernel: floppy0: disk absent or changed > > > > > > during operation > > > > > > > > > > > > It surprises me, as I do not have any floppy disk inserted. > > > > > > > > > > If, as root, you do something like: > > > > > # cp /dev/fd0 /tmp/foo > > > > > without a floppy inserted, you'll see a single kernel messages in your logs: > > > > > > <DATE/TIME> localhost kernel: end_request: I/O error, dev fd0, sector 0 > > > > > > > > > > So offhand, I'd say some program on your box is trying to read or write to the > > > > > floppy device. > > > > > > > > > > If you have the psacct rpm (the process accounting package) installed, as root > > > > > you should be able to do: > > > > > # lastcomm | grep "Jan 20 01:2" > > > > > to see the names of what programs were started between 01:20:20 and 01:29:59. > > > > > Somewhere in that output, probably around 01:22:20 or so, you should find > > > > > the offending program. > > > > > > > > Thanks, Steve, but lastcomm returns nothing: > > > > > > > > # lastcomm > > > > # > > > > > > Sounds like you've got psacct installed, but aren't running it. Try: > > > $ su > > > # /etc/rc.d/init.d/psacct status > > > If it says "enabled" or "started" or "active" or some such, you're > > > running it, but lastcomm isn't reading the right file. In that case, > > > look at /etc/rc.d/init.d/psacct to see what file is being used (it'll > > > be the first parameter to /sbin/accton) and hand the name of that file > > > to lastcomm. > > > > > > However, it it says "disabled" or "stopped" or some such, you need to > > > do: > > > # /etc/rc.d/init.d/psacct start > > > and then wait for another occurance of the "end_request: I/O error" > > > in your logs. After seeing that occurance, run the lastcomm pipe. > > > > > > ... and just to be safe, "rpm -V psacct" should run cleanly in either > > > case, too. > > > > You are right, Steve: > > > > # /etc/rc.d/init.d/psacct status > > Process accounting is disabled. > > # > > > > I have now to wait for another occurrence of the "end_request: I/O > > error" in your logs. > > I have just found it out: VMware server. After having turned off the > floppy driver from inside the VMware window, the reported problem was > removed. Thanks again, Steve. > > Paul Glad to be of help. Since you've already found it, disregard my previous message about using ftrace on the list of suspects. -S