Skip to contentSkip to conversation

How to submit for eudyptula-challenge

DISCUSSION wangyubin 15 participants 21 messages Mar 25, 2014 – Dec 19, 2014

lore
Share & tools
lore

wangyubin

author
#0 lore raw

Hello,
I have dive into the eudyptula-challenge, but when I submit my result for task 01. I received a reply below:

Quoted 1 line

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!

Signature · 2 lines
Best Regards!
wangyubin
#1 lore raw

Are you printing anything in your module? If yes it should be printed to the kernel debug log level.

Figure out how many levels kernel log supports and use the debug level.

Quoted 21 lines · wangyubin

Hello,
I have dive into the eudyptula-challenge, but when I submit my result for task 01.
I received a reply below:

Quoted 1 line

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 at kernelnewbies.org <javascript:;>
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Signature · 5 lines
 Best Regards
Masood Mehmood
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140325/856a6758/attachment.html 
#13 lore raw
In reply to wangyubin

http://elinux.org/Debugging_by_printing#Log_Levels

HTH

Quoted 16 lines · wangyubin

Hello,
I have dive into the eudyptula-challenge, but when I submit my result for task 01.
I received a reply below:

Quoted 1 line

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

Quoted 5 lines

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140325/68c0009f/attachment.html

#14 lore raw
In reply to wangyubin

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

Quoted 18 lines · wangyubin

Hello,
I have dive into the eudyptula-challenge, but when I submit my result for task 01. I received a reply below:

Quoted 1 line

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 at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

author
#15 lore raw

Hi, Aruna

Thanks for your answer!

I used printk like this in the previous submit.
printk(KERN_ALERT "Hello World !");

I will change "KERN_ALERT" to "KERN_DEBUG" and try to submit again!

also thanks for Masood Mehmood and Parinay Kondekar's help!

Best Regards!
wangyubin

Quoted 54 lines · Aruna Hewapathirane

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

Quoted 17 lines · wangyubin

Hello,
I have dive into the eudyptula-challenge, but when I submit my result for task 01. I received a reply below:

Quoted 1 line

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 at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

#16 lore raw

Hi Wangyubin,

There is a *reason* why I decided to give you a helping hand my dear,

"I" had a very hard time with that task-01 but it did help me
immensely to begin to understand how things work and are done in the kernel. I do not want anyone else to waste time if we can get newcomers up to a certain level of competency where they can contribute to the kernel this world will be a much better place.

Run checkpatch.pl and try to resolve all errors and warnings before you sumbit as else little penguin will say uh-uh sorry try again !

Checkpatch is your friend and so is Google so use them :)

Quoted 75 lines · wangyubin

Hi, Aruna

Thanks for your answer!

I used printk like this in the previous submit.
printk(KERN_ALERT "Hello World !");

I will change "KERN_ALERT" to "KERN_DEBUG" and try to submit again!

also thanks for Masood Mehmood and Parinay Kondekar's help!

Best Regards!
wangyubin

Quoted 29 lines · Aruna Hewapathirane

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 !

Quoted 25 lines

Aruna

Quoted 17 lines · wangyubin

Hello,
I have dive into the eudyptula-challenge, but when I submit my result for task 01. I received a reply below:

Quoted 1 line

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 at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

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

author
#17 lore raw

Hi, Aruna

I will use Checkpatch.pl to check my source file by your advice! thanks again!

Best Regards!
wangyubin

Quoted 92 lines · Aruna Hewapathirane

Hi Wangyubin,

There is a *reason* why I decided to give you a helping hand my dear,

"I" had a very hard time with that task-01 but it did help me
immensely to begin to understand how things work and are done in the kernel. I do not want anyone else to waste time if we can get newcomers up to a certain level of competency where they can contribute to the kernel this world will be a much better place.

Run checkpatch.pl and try to resolve all errors and warnings before you sumbit as else little penguin will say uh-uh sorry try again !

Checkpatch is your friend and so is Google so use them :)

Quoted 74 lines · wangyubin

Hi, Aruna

Thanks for your answer!

I used printk like this in the previous submit.
printk(KERN_ALERT "Hello World !");

I will change "KERN_ALERT" to "KERN_DEBUG" and try to submit again!

also thanks for Masood Mehmood and Parinay Kondekar's help!

Best Regards!
wangyubin

Quoted 29 lines · Aruna Hewapathirane

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 !

Quoted 25 lines

Aruna

Quoted 17 lines · wangyubin

Hello,
I have dive into the eudyptula-challenge, but when I submit my result for task 01. I received a reply below:

Quoted 1 line

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 at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

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

#18 lore raw

Hi Wangyubin,

You may want to drop by the IRC channel : http://kernelnewbies.org/IRC
has lots of friendly and vastly more experienced folks.

:)

Quoted 115 lines · wangyubin

Hi, Aruna

I will use Checkpatch.pl to check my source file by your advice! thanks again!

Best Regards!
wangyubin

Quoted 103 lines · Aruna Hewapathirane

Hi Wangyubin,

There is a *reason* why I decided to give you a helping hand my dear,

"I" had a very hard time with that task-01 but it did help me
immensely to begin to understand how things work and are done in the kernel. I do not want anyone else to waste time if we can get newcomers up to a certain level of competency where they can contribute to the kernel this world will be a much better place.

Run checkpatch.pl and try to resolve all errors and warnings before you sumbit as else little penguin will say uh-uh sorry try again !

Checkpatch is your friend and so is Google so use them :)

Quoted 84 lines · wangyubin

Hi, Aruna

Thanks for your answer!

I used printk like this in the previous submit.
printk(KERN_ALERT "Hello World !");

I will change "KERN_ALERT" to "KERN_DEBUG" and try to submit again!

also thanks for Masood Mehmood and Parinay Kondekar's help!

Best Regards!
wangyubin

Quoted 38 lines · Aruna Hewapathirane

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

Quoted 24 lines
Quoted 22 lines · wangyubin

Hello,
I have dive into the eudyptula-challenge, but when I submit my result for task 01.
I received a reply below:

Quoted 2 lines

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 at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

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

author
#19 lore raw

OK, I will try to use that.
:-)

Best Regards!
wangyubin

Quoted 115 lines · Aruna Hewapathirane

Hi Wangyubin,

You may want to drop by the IRC channel : http://kernelnewbies.org/IRC
has lots of friendly and vastly more experienced folks.

:)

Quoted 107 lines · wangyubin

Hi, Aruna

I will use Checkpatch.pl to check my source file by your advice! thanks again!

Best Regards!
wangyubin

Quoted 96 lines · Aruna Hewapathirane

Hi Wangyubin,

There is a *reason* why I decided to give you a helping hand my dear,

"I" had a very hard time with that task-01 but it did help me
immensely to begin to understand how things work and are done in the kernel. I do not want anyone else to waste time if we can get newcomers up to a certain level of competency where they can contribute to the kernel this world will be a much better place.

Run checkpatch.pl and try to resolve all errors and warnings before you sumbit as else little penguin will say uh-uh sorry try again !

Checkpatch is your friend and so is Google so use them :)

Quoted 78 lines · wangyubin

Hi, Aruna

Thanks for your answer!

I used printk like this in the previous submit.
printk(KERN_ALERT "Hello World !");

I will change "KERN_ALERT" to "KERN_DEBUG" and try to submit again!

also thanks for Masood Mehmood and Parinay Kondekar's help!

Best Regards!
wangyubin

Quoted 37 lines · Aruna Hewapathirane

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

Quoted 21 lines
Quoted 19 lines · wangyubin

Hello,
I have dive into the eudyptula-challenge, but when I submit my result for task 01.
I received a reply below:

Quoted 1 line

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 at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

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

#20 lore raw

Hi

Set your log level to 8 so you can see your messages. The pr_ *ones Should be good.

Also check how to enable that macro for specific or all files of your module.

Quoted 16 lines · wangyubin

OK, I will try to use that.
:-)

Best Regards!
wangyubin

Quoted 8 lines · Aruna Hewapathirane

Hi Wangyubin,

You may want to drop by the IRC channel : http://kernelnewbies.org/IRC
has lots of friendly and vastly more experienced folks.

:)

On Mon, Mar 24, 2014 at 11:08 PM, wangyubin <[email protected]>

Quoted 28 lines · wrote:
Quoted 28 lines
Quoted 28 lines

Hi, Aruna

I will use Checkpatch.pl to check my source file by your advice! thanks again!

Best Regards!
wangyubin

Quoted 18 lines · Aruna Hewapathirane

Hi Wangyubin,

There is a *reason* why I decided to give you a helping hand my dear,

"I" had a very hard time with that task-01 but it did help me
immensely to begin to understand how things work and are done in the kernel. I do not want anyone else to waste time if we can get newcomers up to a certain level of competency where they can contribute to the kernel this world will be a much better place.

Run checkpatch.pl and try to resolve all errors and warnings before you sumbit as else little penguin will say uh-uh sorry try again !

Checkpatch is your friend and so is Google so use them :)

On Mon, Mar 24, 2014 at 10:42 PM, wangyubin <[email protected]>

Quoted 24 lines · wrote:
Quoted 24 lines
Quoted 24 lines
Quoted 24 lines
Quoted 24 lines

Hi, Aruna

Thanks for your answer!

I used printk like this in the previous submit.
printk(KERN_ALERT "Hello World !");

I will change "KERN_ALERT" to "KERN_DEBUG" and try to submit again!

also thanks for Masood Mehmood and Parinay Kondekar's help!

Best Regards!
wangyubin

Quoted 9 lines · Aruna Hewapathirane

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 ...

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

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

Quoted 22 lines
Quoted 22 lines
Quoted 22 lines
Quoted 22 lines
Quoted 22 lines
Quoted 22 lines

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

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 2 lines · wangyubin

Hello,
I have dive into the eudyptula-challenge, but when I submit my

result

Quoted 25 lines
Quoted 18 lines
Quoted 18 lines
Quoted 18 lines
Quoted 18 lines
Quoted 17 lines
Quoted 17 lines

for task 01.
I received a reply below:

Quoted 1 line

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 at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Quoted 5 lines
Quoted 5 lines
Quoted 4 lines
Quoted 4 lines

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

Quoted 4 lines

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140325/5e850b4e/attachment.html

#2 lore raw
In reply to Masood Mehmood

Hello All,

I am using Thunderbird and also Gmail Email client for submitting the eudyptula challenge Task and after following below steps I have published on my Blog, every time I am getting problem with attachment "You sent me base64 attachments, which I can not understand at all :("

http://sanjeevsharmaengg.wordpress.com/2014/06/23/begineers-guide-configure-thunderbird-account-for-eudyptula-challenge/

Anybody has any luck sending Task with Thunderbird or Gmail ?

Regards
Sanjeev Sharma

Quoted 32 lines · Masood Mehmood

Are you printing anything in your module? If yes it should be printed to the kernel debug log level.

Figure out how many levels kernel log supports and use the debug level.

Quoted 16 lines · wangyubin

Hello,
I have dive into the eudyptula-challenge, but when I submit my result
for task 01.
I received a reply below:

Quoted 1 line

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

Quoted 5 lines

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

Quoted 10 lines

--
Best Regards
Masood Mehmood

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20141218/b51ed44e/attachment.html

#3 lore raw

El 18/12/2014 07:03, "sanjeev sharma" <[email protected]> escribi?:

Quoted 4 lines

Hello All,

I am using Thunderbird and also Gmail Email client for submitting the

eudyptula challenge Task and after following below steps I have published on my Blog, every time I am getting problem with attachment "You sent me base64 attachments, which I can not understand at all :("

Quoted 2 lines

http://sanjeevsharmaengg.wordpress.com/2014/06/23/begineers-guide-configure-thunderbird-account-for-eudyptula-challenge/

Quoted 2 lines

Anybody has any luck sending Task with Thunderbird or Gmail ?

I tried the same in the beginning, but then switched to mutt and my gmail account. I never had problems like that since then.

Regards

Quoted 5 lines

Regards
Sanjeev Sharma

On Tue, Mar 25, 2014 at 7:21 AM, Masood Mehmood <[email protected]>

Quoted 2 lines · wrote:
Quoted 2 lines

Are you printing anything in your module? If yes it should be printed to

the kernel debug log level.

Quoted 8 lines
Quoted 8 lines

Figure out how many levels kernel log supports and use the debug level.

Quoted 3 lines · wangyubin

Hello,
I have dive into the eudyptula-challenge, but when I submit my result

for task 01.

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

I received a reply below:

Quoted 1 line

Please print to the kernel debug log level.

I have sended module(c file), Makefile, and dmesg output for

load/unload the module.

Quoted 25 lines
Quoted 15 lines
Quoted 8 lines

Could anyone to tell me what does this message mean? Thanks a lot!

--
Best Regards!
wangyubin

Quoted 4 lines

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

Quoted 9 lines

--
Best Regards
Masood Mehmood

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

Quoted 5 lines

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20141218/b689bd8c/attachment.html

#7 lore raw
In reply to sanjeev sharma
Quoted 9 lines · sanjeev sharma

Hello All,

I am using Thunderbird and also Gmail Email client for submitting the eudyptula challenge Task and after following below steps I have published on my Blog, every time I am getting problem with attachment "You sent me base64 attachments, which I can not understand at all :("

Quoted 4 lines

http://sanjeevsharmaengg.wordpress.com/2014/06/23/begineers-guide-configure-thunderbird-account-for-eudyptula-challenge/

Anybody has any luck sending Task with Thunderbird or Gmail ?

You should search archives of this mailing list on this topic for a python script which can send using gmail. (Though now a days, you need to disable an extra security feature whenever you use this python script)

Thanks -
Manish

Quoted 48 lines

Regards
Sanjeev Sharma

Quoted 32 lines · Masood Mehmood

Are you printing anything in your module? If yes it should be printed to the kernel debug log level.

Figure out how many levels kernel log supports and use the debug level.

Quoted 16 lines · wangyubin

Hello,
I have dive into the eudyptula-challenge, but when I submit my result
for task 01.
I received a reply below:

Quoted 1 line

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

Quoted 5 lines

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

Quoted 10 lines

--
Best Regards
Masood Mehmood

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

Quoted 6 lines

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20141217/3add726b/attachment-0001.html

#8 lore raw
In reply to sanjeev sharma
Quoted 11 lines · sanjeev sharma

Hello All,

I am using Thunderbird and also Gmail Email client for submitting the eudyptula challenge Task and after following below steps I have published on my Blog, every time I am getting problem with attachment "You sent me base64 attachments, which I can not understand at all :("

http://sanjeevsharmaengg.wordpress.com/2014/06/23/begineers-guide-configure-thunderbird-account-for-eudyptula-challenge/

Anybody has any luck sending Task with Thunderbird or Gmail ?

At the beginning I have always sent using thunderbird via gmail and those are the only two options that needs to be set before sending.

thanks
sudip

Quoted 51 lines

Regards
Sanjeev Sharma

Quoted 32 lines · Masood Mehmood

Are you printing anything in your module? If yes it should be printed to the kernel debug log level.

Figure out how many levels kernel log supports and use the debug level.

Quoted 17 lines · wangyubin

Hello,
I have dive into the eudyptula-challenge, but when I submit my result for task 01.
I received a reply below:

Quoted 1 line

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

Quoted 4 lines

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

Quoted 9 lines

--
Best Regards
Masood Mehmood

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

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

#4 lore raw

Best way for PCI memory allocation?

In reply to Fernando Apesteguía

Hey Guys.
What would you say is the best memory allocation function to use when I want to dump a specific size and address of memory to a file? Im working through the PCI chip to gain access to a shared 8meg memory bank. What I essentially have to do is try and access that bank from memory start to a specific memory offset and
dump all its containing data into a file as soon as possible.

This is a quick sum of my great adventures to try and get PCI device data and register offsets.
Im just summing this up so that you can see HOW I got to the PCI device info.

First I run __init pci_init_module() and inside it the following. -alloc_chrdev_region()
-MAJOR()
-pci_cdev_init();
-pci_register_driver();

Then it seems to me like the just automatically runs the .probe function and it runs these functions.
-pci_cdev-add()
-MKDEV();
-cdev_alloc();
cdev_init();
cdev->owner = THIS_MODULE;
-cdev_add();
dev_info();
pci_enabled_device();

Ok soo from here on I try and allocate / request regions of RAM. This is what I tried :
pci_request_region(); and it failed miserably saying " BAR 3: Can't reserve [mem 0xe0800000 - 0xe0ffffff]
also
ioremap_nocache(pci_resource_start()); This works but it seems slow and I should copy register by register out of the ram? Is this the only way ? also ive tried using
pci_set_dma_mask() ; which failed also with a return value of a really large value starting with 4.

I wanted to paste my code but the last time I pasted it my Email had to be moderated and they never came back to me about it :( .

#9 lore raw
In reply to Sudip Mukherjee
Quoted 9 lines · Sudip Mukherjee
Quoted 7 lines · sanjeev sharma

Hello All,

I am using Thunderbird and also Gmail Email client for submitting the eudyptula challenge Task and after following below steps I have published on my Blog, every time I am getting problem with attachment "You sent me base64 attachments, which I can not understand at all :("

Quoted 6 lines
Quoted 4 lines

http://sanjeevsharmaengg.wordpress.com/2014/06/23/begineers-guide-configure-thunderbird-account-for-eudyptula-challenge/

Anybody has any luck sending Task with Thunderbird or Gmail ?

At the beginning I have always sent using thunderbird via gmail and those are the only two options that needs to be set before sending.

I strongly encourage using Mutt with Gmail. At the beginning I was using Thunderbird with Gmail and I don't know why but somehow it stopped to work and I was probably making the Little Penguin very upset. Since I changed I had no problems so far.

Regards

Quoted 61 lines

thanks
sudip

Quoted 46 lines

Regards
Sanjeev Sharma

Quoted 32 lines · Masood Mehmood

Are you printing anything in your module? If yes it should be printed to the kernel debug log level.

Figure out how many levels kernel log supports and use the debug level.

Quoted 17 lines · wangyubin

Hello,
I have dive into the eudyptula-challenge, but when I submit my result for task 01.
I received a reply below:

Quoted 1 line

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

Quoted 4 lines

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

Quoted 9 lines

--
Best Regards
Masood Mehmood

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

Quoted 5 lines

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

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

Signature · 1 line
Simplicity is the ultimate sophistication
#10 lore raw
Quoted 89 lines · Vin?cius Tinti
Quoted 9 lines · Sudip Mukherjee
Quoted 7 lines · sanjeev sharma

Hello All,

I am using Thunderbird and also Gmail Email client for submitting the eudyptula challenge Task and after following below steps I have published on my Blog, every time I am getting problem with attachment "You sent me base64 attachments, which I can not understand at all :("

Quoted 6 lines
Quoted 4 lines

http://sanjeevsharmaengg.wordpress.com/2014/06/23/begineers-guide-configure-thunderbird-account-for-eudyptula-challenge/

Anybody has any luck sending Task with Thunderbird or Gmail ?

At the beginning I have always sent using thunderbird via gmail and those are the only two options that needs to be set before sending.

I strongly encourage using Mutt with Gmail. At the beginning I was using Thunderbird with Gmail and I don't know why but somehow it stopped to work and I was probably making the Little Penguin very upset. Since I changed I had no problems so far.

Regards

Quoted 57 lines

thanks
sudip

Quoted 46 lines

Regards
Sanjeev Sharma

Quoted 32 lines · Masood Mehmood

Are you printing anything in your module? If yes it should be printed to the kernel debug log level.

Figure out how many levels kernel log supports and use the debug level.

Quoted 17 lines · wangyubin

Hello,
I have dive into the eudyptula-challenge, but when I submit my result for task 01.
I received a reply below:

Quoted 1 line

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

Quoted 4 lines

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

Quoted 9 lines

--
Best Regards
Masood Mehmood

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

Quoted 5 lines

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

Quoted 4 lines

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

Quoted 7 lines

--
Simplicity is the ultimate sophistication

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

+1 mutt with gmail

--
Lucas Tanure
+55 (19) 988176559

#5 lore raw

Best way for PCI memory allocation?

In reply to testlaster
Quoted 7 lines · testlaster

Hey Guys.
What would you say is the best memory allocation function to use when I want to dump a specific size and address of memory to a file? Im working through the PCI chip to gain access to a shared 8meg memory bank. What I essentially have to do is try and access that bank from memory start to a specific memory offset and
dump all its containing data into a file as soon as possible.

Consider creating a new thread instead of replying when you are changing the subject. When you reply the your mail is still associated with the original topic (at least form some email clients). When you start a new thread it gets a new ID and will have its own thread.

#6 lore raw

Best way for PCI memory allocation?

Quoted 9 lines · John de la Garza
Quoted 7 lines · testlaster

Hey Guys.
What would you say is the best memory allocation function to use when I want to dump a specific size and address of memory to a file? Im working through the PCI chip to gain access to a shared 8meg memory bank. What I essentially have to do is try and access that bank from memory start to a specific memory offset and
dump all its containing data into a file as soon as possible.

Quoted 5 lines

Consider creating a new thread instead of replying when you are changing the subject. When you reply the your mail is still associated with the original topic (at least form some email clients). When you start a new thread it gets a new ID and will have its own thread.

...and while you're at it: Why not put your code on some webserver or pastebin service / whatever if it is too long to include it in your message? It might be of very much interest to people who'd like to help you out! :-)

Greetings,
Nils

#11 lore raw
In reply to Lucas Tanure

I'm using alpine with my gmail with these instructions in case you don't want to use mutt.

https://burzalodowa.wordpress.com/2013/10/05/how-to-send-patches-with-git-send-email/
http://www.washington.edu/alpine/faq/attachments.html

Quoted 109 lines · Lucas Tanure
Quoted 8 lines · Vin?cius Tinti
Quoted 6 lines · Sudip Mukherjee
Quoted 4 lines · sanjeev sharma

Hello All,

I am using Thunderbird and also Gmail Email client for submitting the eudyptula challenge Task and after following below steps I have

published on

Quoted 1 line
Quoted 1 line
Quoted 1 line

my Blog, every time I am getting problem with attachment "You sent me

base64

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

attachments, which I can not understand at all :("

http://sanjeevsharmaengg.wordpress.com/2014/06/23/begineers-guide-configure-thunderbird-account-for-eudyptula-challenge/

Quoted 22 lines
Quoted 5 lines
Quoted 3 lines

Anybody has any luck sending Task with Thunderbird or Gmail ?

At the beginning I have always sent using thunderbird via gmail and those are the only two options that needs to be set before sending.

I strongly encourage using Mutt with Gmail. At the beginning I was using Thunderbird with Gmail and I don't know why but somehow it stopped to work and I was probably making the Little Penguin very upset. Since I changed I had no problems so far.

Regards

Quoted 9 lines

thanks
sudip

Quoted 4 lines

Regards
Sanjeev Sharma

On Tue, Mar 25, 2014 at 7:21 AM, Masood Mehmood <[email protected]>

Quoted 2 lines · wrote:
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

Are you printing anything in your module? If yes it should be printed

to

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

the kernel debug log level.

Figure out how many levels kernel log supports and use the debug

level.

Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines · wangyubin
Quoted 8 lines

Hello,
I have dive into the eudyptula-challenge, but when I submit my result for task 01.
I received a reply below:

Quoted 1 line

Please print to the kernel debug log level.

I have sended module(c file), Makefile, and dmesg output for

load/unload

Quoted 39 lines
Quoted 32 lines
Quoted 26 lines
Quoted 16 lines
Quoted 9 lines

the module.
Could anyone to tell me what does this message mean? Thanks a lot!

--
Best Regards!
wangyubin

Quoted 4 lines

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

Quoted 9 lines

--
Best Regards
Masood Mehmood

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

Quoted 5 lines

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

Quoted 4 lines

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

Quoted 7 lines

--
Simplicity is the ultimate sophistication

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

+1 mutt with gmail

Quoted 9 lines

--
Lucas Tanure
+55 (19) 988176559

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20141218/46fd9557/attachment.html

#12 lore raw

Thanks all,

I have received the mixed opinion but looks like Mutt has gain the popularity but Mutt standalone also can be used instead of using with Gmail.

Regards
Sanjeev Sharma

Quoted 129 lines · Jessica Ross

I'm using alpine with my gmail with these instructions in case you don't want to use mutt.

https://burzalodowa.wordpress.com/2013/10/05/how-to-send-patches-with-git-send-email/
http://www.washington.edu/alpine/faq/attachments.html

Quoted 119 lines · Lucas Tanure
Quoted 8 lines · Vin?cius Tinti
Quoted 6 lines · Sudip Mukherjee
Quoted 4 lines · sanjeev sharma

Hello All,

I am using Thunderbird and also Gmail Email client for submitting the eudyptula challenge Task and after following below steps I have

published on

Quoted 1 line
Quoted 1 line
Quoted 1 line

my Blog, every time I am getting problem with attachment "You sent me

base64

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

attachments, which I can not understand at all :("

http://sanjeevsharmaengg.wordpress.com/2014/06/23/begineers-guide-configure-thunderbird-account-for-eudyptula-challenge/

Quoted 22 lines
Quoted 5 lines
Quoted 3 lines

Anybody has any luck sending Task with Thunderbird or Gmail ?

At the beginning I have always sent using thunderbird via gmail and those are the only two options that needs to be set before sending.

I strongly encourage using Mutt with Gmail. At the beginning I was using Thunderbird with Gmail and I don't know why but somehow it stopped to work and I was probably making the Little Penguin very upset. Since I changed I had no problems so far.

Regards

Quoted 9 lines

thanks
sudip

Quoted 4 lines

Regards
Sanjeev Sharma

On Tue, Mar 25, 2014 at 7:21 AM, Masood Mehmood <[email protected]>

Quoted 2 lines · wrote:
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

Are you printing anything in your module? If yes it should be

printed to

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

the kernel debug log level.

Figure out how many levels kernel log supports and use the debug

level.

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines · wangyubin
Quoted 3 lines

Hello,
I have dive into the eudyptula-challenge, but when I submit my

result

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

for task 01.
I received a reply below:

Quoted 1 line

Please print to the kernel debug log level.

I have sended module(c file), Makefile, and dmesg output for

load/unload

Quoted 39 lines
Quoted 32 lines
Quoted 26 lines
Quoted 16 lines
Quoted 9 lines

the module.
Could anyone to tell me what does this message mean? Thanks a lot!

--
Best Regards!
wangyubin

Quoted 4 lines

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

Quoted 9 lines

--
Best Regards
Masood Mehmood

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

Quoted 5 lines

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

Quoted 4 lines

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

Quoted 7 lines

--
Simplicity is the ultimate sophistication

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

+1 mutt with gmail

--
Lucas Tanure
+55 (19) 988176559

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20141219/e642c758/attachment.html