Re: How to submit for eudyptula-challenge

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

 



Hi Wangyubin,

The log level you require is KERN_DEBUG ...

But when you run checkpatch.pl on your *.c file it will say:

WARNING: Prefer netdev_dbg(netdev, ... then dev_dbg(dev, ... then
pr_debug(...  to printk(KERN_DEBUG ...

So replacing printk(KERN_DEBUG ... with pr_debug will resolve this.

You can find the log files in /var/log and you can list them with ls /var/log.

The latest kernel I found has the debug and messages logs disabled by
default. You can easily rectify this by editing
/etc/rsyslog.d/50-default.conf. And un-commenting the section :

#*.=debug;\
#    auth,authpriv.none;\
#   news.none;mail.none    -/var/log/debug
#*.=info;*.=notice;*.=warn;\
#    auth,authpriv.none;\
#    cron,daemon.none;\
#    mail,news.none        -/var/log/messages

This will give you back the debug and message logs.

Good luck !

Aruna






On Mon, Mar 24, 2014 at 9:28 PM, wangyubin <harry198344@xxxxxxxxx> wrote:
> Hello,
> I have dive into the eudyptula-challenge, but when I submit my result  for task 01.
> I received a reply below:
>> Please print to the kernel debug log level.
>
> I have sended module(c file), Makefile, and dmesg output for load/unload  the module.
> Could anyone to tell me what does this message mean?
> Thanks a lot!
>
> --
> Best Regards!
> wangyubin
>
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies@xxxxxxxxxxxxxxxxx
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux