Re: localhost kernel: end_request: I/O error, dev fd0, sector 0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 1/20/07, Steve Siegfried <sos@xxxxxxxx> 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.

Paul


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux