From: connintel@gmail.com (conn intel)
To: kernelnewbies@lists.kernelnewbies.org
Subject: pid_task function fails to execute
Date: Thu, 5 May 2011 11:39:29 +0530 [thread overview]
Message-ID: <BANLkTingPCoTEABq9UcPFcizeOUzhatpbw@mail.gmail.com> (raw)
Hello friends,
I am having issue with the pid_task function with arguments first as
userspace pid (using getpid fn) and 2nd argument PIDTYPE_PID.
"pid_task(<pid from userspace>, PIDTYPE_PID);"
Can anyone assist me what can be the cause?
Have a Good Day,
Thank you,
Ankur.
*The kernel gives exception as below:*
Unable to handle kernel NULL pointer dereference at virtual address 000001dd
pgd = c7c04000
[000001dd] *pgd=779fe031, *pte=00000000, *ppte=00000000
Internal error: Oops: 1 [#1]
last sysfs file: /sys/devices/platform/i2c-gpio.1/i2c-1/1-0048/temp1_pid
<8>Modules linked in: tmp102
<8>CPU: 0 Tainted: G W (2.6.33.2 #100)
<8>PC is at pid_task+0x18/0x44
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110505/52cfcc5f/attachment.html
next reply other threads:[~2011-05-05 6:09 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-05 6:09 conn intel [this message]
2011-05-05 8:42 ` pid_task function fails to execute conn intel
2011-05-05 14:29 ` Dave Hylands
2011-05-24 5:31 ` conn intel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=BANLkTingPCoTEABq9UcPFcizeOUzhatpbw@mail.gmail.com \
--to=connintel@gmail.com \
--cc=kernelnewbies@lists.kernelnewbies.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).