Re: [PATCH] scsi: remove CDROM not ready printk

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

 



On Thu, 2008-05-29 at 10:35 -0400, Gerb Stralko wrote:
> So is that printk really needed?  Should the kernel even need to print
> a message like that, esp. if user-space is handling state updates and
> notifications.  Or do i need to configure hald to be quietier?   FWIW
> I'm using fedora core 9 and hald version:
> -bash-3.2$ /usr/sbin/hald --version
> HAL package version: 0.5.11

Actually, I misspoke; it's set internally via sets of ioctls.  However,
it's designed only to show on ioctls that do medium requiring things.

I'm also using FC9 and I see no such messages (and for noisy cgc,
they're printed out for every action on the CD).  You have some
application that's poking the CD wrongly (probably not hal), so you
really need to find out what it is.  It may be pointing to some other
error in the kernel that needs fixing, but simply removing the message
is covering up the issue.

To help track the application, you could update the printk to print out
current->comm and current->pid.  That would tell you who is responsible

James


--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux