Unable to handle kernel...
Hi,
I am pretty new in coding for the kernel and I was wandering what is the _deep_ meaning of:
"Unable to handle kernel paging request at virtual address XXXX" and
"Unable to handle kernel NULL pointer dereference".
If somebody could explain this to me, I would be very pleased ! :)
PS: I know already how to trace an Oops by using ksymoops. But these two errors are puzzling me and I would like to understand more about it.
Regards
Signature · 5 lines
Emmanuel The tradition of open science has done more to build the modern economy than Microsoft ever will. -- Linus Torvalds
Quoted 6 lines · Emmanuel Fleury
Hi,
I am pretty new in coding for the kernel and I was wandering what is the _deep_ meaning of:
"Unable to handle kernel paging request at virtual address XXXX"
some page was requested, (probably via a pointer dereference, read or write), which led to a page fault, which in turn could not be satisfied by loading/providing the requested page, because it simply isn't there (usually wrong address)
Quoted 2 lines
and
"Unable to handle kernel NULL pointer dereference".
some pointer (value = NULL) was dereferenced, which should be considered an error, this caused the oops which (probably) follows those lines (reg/stackdump)
int *test = NULL; int v = test[0]; // bad!
Quoted 1 line
If somebody could explain this to me, I would be very pleased ! :)
probably there are better explanations,
HTH,
Herbert
Quoted 16 lines
PS: I know already how to trace an Oops by using ksymoops. But these two errors are puzzling me and I would like to understand more about it.
Regards
Signature · 11 lines
Emmanuel The tradition of open science has done more to build the modern economy than Microsoft ever will. -- Linus Torvalds - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/