[kde-freebsd] var/log/messages umass da0 >6 how to stop?

Michael Nottebrock lofi at freebsd.org
Mon Apr 30 19:24:29 CEST 2007


On Monday, 30. April 2007, David Southwell wrote:
> On Monday 30 April 2007 09:32:07 Michael Nottebrock wrote:
> > On Monday, 30. April 2007, David Southwell wrote:
> > > [ Device probing message spam ]
> > > [...]
> > >
> > > Can anyone help further?
> >
> > The short explanation: Those messages are generated by the kernel and
> > triggered by the continuous polling of hald for media. The correct fix
> > would be making the kernel less verbose - I don't know if anyone is
> > working on that at the moment.
> >
> > There is very little you can do about it as it is - you can make sure to
> > configure newsyslog so that /var/log/messages and its backup copies don't
> > overflow your /var filesystem by editing /etc/newsyslog.conf and you can
> > configure syslogd to write messages you care about to separate logs so
> > they don't get lost too quickly in the kernel spam.
> >
> > Cheers,
>
> Thank you Michael.
>
> I gather, from what you say, that there are no configuration options for
> hald to prevent this happening.

I think there is, probably by generating some additional policy XML files, but 
I'll pass on that question (how to prevent hal from polling specific 
devices/classes of devices/all devices) to the HAL maintainers at gnome@ 
(cc'd).

Preventing hald from polling the devices would more or less defeat its purpose 
though - it exists and runs to detect media insertions/changes and pass them 
on the desktop applications (via DBUS) so they can react to it - like 
displaying an icon your desktop. Perhaps there is a way to lengthen the scan 
interval, perhaps even specific to certain devices or certain device classes?

Like I said, the real fault in my opinion is with the kernel, which is simply 
way too verbose and lacks means of making it less so. Complaining about that 
on current at freebsd.org might help, but only in the medium term (it takes a 
while for changes to happen and trickle down into FreeBSD releases).

Cheers,
-- 
   ,_,   | Michael Nottebrock               | lofi at freebsd.org
 (/^ ^\) | FreeBSD - The Power to Serve     | http://www.freebsd.org
   \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-freebsd/attachments/20070430/54bc0119/attachment-0001.pgp 


More information about the kde-freebsd mailing list