LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 03-04-2015, 07:49 PM   #1
rakesh_krishnan
LQ Newbie
 
Registered: Mar 2015
Posts: 3

Rep: Reputation: Disabled
Help me: Kernel level debugging for PPPd not working using kdebug 7 option


Hello

I am trying to log the Kernel level PPPd raw PPP messages (version 2.4.2) using Linux kernel 2.6.x to the /etc/syslog or /var/log/messages but the logging is not enabled for some reason.

I pass the kdebug 7 or kdebug 31 to the PPPd using /etc/ppp/options but the Kernel level debug logs are not shown in /proc/kmsg or using klogd or syslogd.

Can anyone please help me to fix this. What might be the problem?

Please reply..

Thanks,
Rakesh
 
Old 03-05-2015, 10:57 PM   #2
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
Setting kdebug to 1 shows pppd kernel driver log messages in klogd. Setting it to 2 causes content of received packets to be logged and for 4 transmitted packets get logged.

Are you sure that your pppd script is using /etc/ppp/options file for reading options?
 
Old 07-06-2015, 08:26 PM   #3
cyent
Member
 
Registered: Aug 2001
Location: ChristChurch New Zealand
Distribution: Ubuntu
Posts: 398

Rep: Reputation: 87
Can't get anything sane from it either...

From this...
http://permalink.gmane.org/gmane.linux.ppp/680

I conclude the facility has been removed from the kernel itself.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
kdebug PPPd option is not logging into /etc/syslog to log the kernel level raw PPP rakesh_krishnan Linux - Newbie 1 03-05-2015 02:08 AM
Runnig a program in debugging mode at Kernel level Siva4Linux Linux - Wireless Networking 8 11-30-2006 02:56 AM
Visual Debugging and Linux Kernel Debugging Igor007 Programming 0 09-30-2005 10:33 AM
Nodetach option in pppd ruchika Linux - Networking 1 08-27-2003 09:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 01:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration