Verbose debug messages when accessing /dev/fd0

Prasanna P Subash (psubash@turbolinux.com)
Wed, 28 Feb 2001 15:37:09 -0800


Hi lkml.

when i do a
fd = open( "/dev/fd0", O_WRONLY );

in 2.4.2 series kernels, i get these messages on the console:

psubash kernel: floppy0: reschedule timeout lock fdc
psubash kernel: floppy0: reschedule timeout redo fd request
psubash kernel: floppy0: reschedule timeout redo fd request
psubash kernel: floppy0: checking disk change line for drive 0
psubash kernel: floppy0: jiffies=34789296
psubash kernel: floppy0: disk change line=80
psubash kernel: floppy0: flags=2
psubash kernel: queue fd request dtime=2
psubash kernel: floppy0: reschedule timeout floppy start
psubash kernel: floppy0: setting NEWCHANGE in floppy_start
psubash kernel: floppy0: calling disk change from floppy_ready
psubash kernel: floppy0: checking disk change line for drive 0
psubash kernel: floppy0: jiffies=34789296
psubash kernel: floppy0: disk change line=80
psubash kernel: floppy0: flags=6
psubash kernel: floppy0: calling disk change from seek
psubash kernel: recalibrate floppy: dtime=2
psubash kernel: recal interrupt: dtime=2
psubash kernel: floppy0: calling disk change from floppy_ready
psubash kernel: floppy0: checking disk change line for drive 0
psubash kernel: floppy0: jiffies=34789296
psubash kernel: floppy0: disk change line=80
psubash kernel: floppy0: flags=6
psubash kernel: floppy0: calling disk change from seek
psubash kernel: seek command: dtime=2
psubash kernel: seek interrupt: dtime=3
psubash kernel: floppy0: clearing NEWCHANGE flag because of effective seek=

psubash kernel: floppy0: jiffies=34789297
psubash kernel: floppy0: calling disk change from floppy_ready
psubash kernel: floppy0: checking disk change line for drive 0
psubash kernel: floppy0: jiffies=34789299
psubash kernel: floppy0: disk change line=80
psubash kernel: floppy0: flags=2
psubash kernel: floppy0: calling disk change from seek
psubash kernel: floppy0: checking disk change line for drive 0
psubash kernel: floppy0: jiffies=34789299
psubash kernel: floppy0: disk change line=80
psubash kernel: floppy0: flags=2
psubash kernel: floppy0: reschedule timeout request done 0
psubash kernel: end_request: I/O error, dev 02:00 (floppy), sector 0
psubash kernel: floppy0: calling disk change from set_dor
psubash kernel: floppy0: checking disk change line for drive 0
psubash kernel: floppy0: jiffies=34789590
psubash kernel: floppy0: disk change line=80
psubash kernel: floppy0: flags=12

the last 4 lines showup after 2-3 seconds as I guess they are from the bottom halves.

To prevent this from writing all over my text based app I have to flank the open() with syslog()'s.

On a 2.2 kernel I get 2 debug lines instead (from end_request).

Are the log levels correct for these debug messages ?

Thanks,

-- 
Prasanna Subash   ---   psubash@turbolinux.com   ---     TurboLinux, INC
------------------------------------------------------------------------
Linux, the choice          | Your heart is pure, and your mind clear,
of a GNU generation   -o)  | and your soul devout. 
Kernel 2.4.2-ac3      /\\  | 
on a i686            _\\_v | 
                           | 
------------------------------------------------------------------------
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/