kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* Oops: Kernel access of bad area, sig: 11 [#1]
@ 2015-08-23  5:51 Ramon Fried
  2015-08-23  6:29 ` Manish Katiyar
  2015-08-23 14:08 ` Valdis.Kletnieks at vt.edu
  0 siblings, 2 replies; 3+ messages in thread
From: Ramon Fried @ 2015-08-23  5:51 UTC (permalink / raw)
  To: kernelnewbies

Hi.
I'm developing a driver on PowerPC kernel version 3.10.
Once In a while, I get the following OOPS and the system freezes.

Unable to handle kernel paging request for data at address 0xffffffdc 
Faulting instruction address: 0xfb7780c8 
Oops: Kernel access of bad area, sig: 11 [#1] 

When I look at the address where the paging fails, it looks like a wrong address (0xffffffdc).
The stack trace points to a list_for_each() macro.
Could it be that NULL linked list node container off was called ? Am I in the right direction ?

Thanks,
Ramon

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Oops: Kernel access of bad area, sig: 11 [#1]
  2015-08-23  5:51 Oops: Kernel access of bad area, sig: 11 [#1] Ramon Fried
@ 2015-08-23  6:29 ` Manish Katiyar
  2015-08-23 14:08 ` Valdis.Kletnieks at vt.edu
  1 sibling, 0 replies; 3+ messages in thread
From: Manish Katiyar @ 2015-08-23  6:29 UTC (permalink / raw)
  To: kernelnewbies

On Sat, Aug 22, 2015 at 10:51 PM, Ramon Fried <ramon.fried@tandemg.com> wrote:
> Hi.
> I'm developing a driver on PowerPC kernel version 3.10.
> Once In a while, I get the following OOPS and the system freezes.
>
> Unable to handle kernel paging request for data at address 0xffffffdc
> Faulting instruction address: 0xfb7780c8
> Oops: Kernel access of bad area, sig: 11 [#1]
>
> When I look at the address where the paging fails, it looks like a wrong address (0xffffffdc).
> The stack trace points to a list_for_each() macro.
> Could it be that NULL linked list node container off was called ? Am I in the right direction ?

You should try to find out if the number 0xdc has any significance. Is
it an offset of the member in the structure that you are trying to
access. If yes, then you know what the structure address was (most
probably -1 or something like that), then backtrack how can you have
that value.

HTH

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Oops: Kernel access of bad area, sig: 11 [#1]
  2015-08-23  5:51 Oops: Kernel access of bad area, sig: 11 [#1] Ramon Fried
  2015-08-23  6:29 ` Manish Katiyar
@ 2015-08-23 14:08 ` Valdis.Kletnieks at vt.edu
  1 sibling, 0 replies; 3+ messages in thread
From: Valdis.Kletnieks at vt.edu @ 2015-08-23 14:08 UTC (permalink / raw)
  To: kernelnewbies

On Sun, 23 Aug 2015 05:51:12 -0000, Ramon Fried said:

> Unable to handle kernel paging request for data at address 0xffffffdc

Hmm.. Somebody missed an IS_ERR() macro?  That's a -22, -EINVAL.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 848 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20150823/2dfa17a9/attachment.bin 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-08-23 14:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-23  5:51 Oops: Kernel access of bad area, sig: 11 [#1] Ramon Fried
2015-08-23  6:29 ` Manish Katiyar
2015-08-23 14:08 ` Valdis.Kletnieks at vt.edu

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