Syslog question
Marius Gedminas
marius at pov.lt
Thu Oct 16 16:41:51 UTC 2014
On Wed, Oct 15, 2014 at 08:21:54PM +0100, R Kimber wrote:
> On Wed, 15 Oct 2014 20:08:16 +0100
> R Kimber wrote:
>
> > So, If I've understood the link you mentioned above, I need to add
> >
> > echo -n 'file mixer.c line 2357 +p' >
> > /sys/kernel/debug/dynamic_debug/control
> >
> > to perhaps rc.local. Is that right?
My understanding is that this should enable debug prints. If you want
to disable, you'll want to use '-p' instead of '+p'.
The line number might be different in your kernel. Cat that file and
look for entries mentioning mixer.c. My suggested 'grep' command was
supposed to find the site of that message in your kernel. Strange that
it failed to match anything.
> Actually, on reflection, shouldn't it be '>>' i.e. append ? The examples
> I've seen just use '>' But I wouldn't want to remove the other entries.
These aren't real files; they're an interface to the kernel's debug
subsystem. echo > will work just fine.
Marius Gedminas
--
We did it for smallpox, we'll also win over on ISO 8859-1 ... ;-)
-- Markus Kuhn after eradicating one more ISO 8859-1 file from his disk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20141016/d08ffa40/attachment.sig>
More information about the ubuntu-users
mailing list