Skip to contentSkip to conversation

ioctl_internal_command() too verbose?

DISCUSSION Daniel Drake 1 participant 1 message Sep 2, 2005 SCSI

lore
Share & tools
lore
#0 lore raw

Hi,

In a Gentoo bug report, a user reported this message appearing repeatedly in the kernel logs:

Device not ready. Make sure there is a disc in the drive.

This comes from ioctl_internal_command() (scsi_ioctl.c).

This message can be reproduced once by a simple "touch /dev/scd0" on a drive with no CD inserted. The userspace tools which monitor for CD change by repeatedly polling the device are resulting in this message being printed lots of times when no CD is in the drive.

Any objections to reducing this to a debug message only?

Daniel