Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to handle kernel paging request at virtual address 00040004 #239

Closed
ferren opened this issue Jan 4, 2014 · 6 comments
Closed

Unable to handle kernel paging request at virtual address 00040004 #239

ferren opened this issue Jan 4, 2014 · 6 comments
Assignees

Comments

@ferren
Copy link

ferren commented Jan 4, 2014

Kernel version: 3.10.25+

I compiled a driver module from peak(peak-linux-driver-7.9), And when I type 'insmod pcan.ko', kernel crashed with the messages below.

[ 171.987546] pcan: Release_20130814_n (le)
[ 171.987584] pcan: driver config [mod] [usb]
[ 171.987852] usbcore: registered new interface driver pcan
[ 171.987911] pcan: major 248.
[ 171.987954] Unable to handle kernel paging request at virtual address 00040004
[ 171.998231] pgd = d9888000
[ 172.002438] [00040004] *pgd=00000000
[ 172.007445] Internal error: Oops: 5 [#1] PREEMPT ARM

@ghost ghost assigned P33M Jan 4, 2014
@ferren
Copy link
Author

ferren commented Jan 4, 2014

When I use 'bcmrpi_defconfig' to compile the kernel (from github.com/raspberrypi/linux/ branch rpi-3.10.y), the issue can recur. But when I use 'bcmrpi_quick_defconfig' to compile the kernel. The driver module worked fine.

@ferren
Copy link
Author

ferren commented Jan 11, 2014

If comment out 'CONFIG_JUMP_LABEL=y'
The issue will be resolve.

@ferren ferren closed this as completed Jan 11, 2014
@P33M
Copy link

P33M commented Jan 11, 2014

Out of interest, could you find out where the bug occurs?

You can use kdb (which should be enabled in the bcmrpi_defconfig) after the kernel crashes to find out which function the kernel was in (btc command in kdb).

@ferren
Copy link
Author

ferren commented Jan 13, 2014

I post the messages to

http://dpaste.com/1548715/
http://dpaste.com/1548728/

@P33M
Copy link

P33M commented Jan 13, 2014

There's more in the trace log - it blew up in module_put but the bit we need is off the bottom of the screen. Pressing enter in the KDB more > prompt will show the remaining lines.

@ferren
Copy link
Author

ferren commented Jan 15, 2014

That is all.
I retry it use the newest kernel from github, and paste the log below.
http://dpaste.com/1552337/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants