Very large number of "feed_root" messages in /var/log/messages

I noticed yesterday that I had a very large number of messages like the following in /var/log/messages

Apr 12 22:00:00 moo kernel: feed_root: (virtual) appending 896 bytes (count=896 l=0 feed=15991425)
Apr 12 22:00:00 moo kernel: feed_root: (virtual) appending 448 bytes (count=448 l=0 feed=15991426)
Apr 12 22:00:00 moo kernel: feed_root: (virtual) appending 224 bytes (count=224 l=0 feed=15991427)
Apr 12 22:00:00 moo kernel: feed_root: (virtual) appending 112 bytes (count=112 l=0 feed=15991428)

They all say the same thing, the only thing that varies is the number of bytes appended.
In fact it overflowed the file and it got written to /var/log/messages.0.

$ grep feed_root messages.0 | wc -l
6042802

Since rebooting the box, those messages have stopped being added. I am running 14.4-RELEASE.

# freebsd-version -kru
14.4-RELEASE-p1
14.4-RELEASE-p1
14.4-RELEASE-p1

Does anyone know what the cause is?
 
It's in line 427 of sys/dev/sound/pcm/feeder.c

Code:
if (snd_verbose > 3)
            printf("%s: (%s) %spending %d bytes "
                "(count=%d l=%d feed=%d)\n",
                __func__,
                (ch->flags & CHN_F_VIRTUAL) ? "virtual" : "hardware",
                (ch->feedcount == 1) ? "pre" : "ap",
                offset, count, l, ch->feedcount);

It's about sound and only in high verbose mode.
 
"feed_root" doesn't exactly give you a hint it's anything to do with sound system trace either. Yes, I should have grepped the source... next time :-)
 
Back
Top