tried to execute NX-protected page (linux kernel module development)
I'm writing a PCI driver as an insertable module for my Linux (kernel 3.0), and it works up until it tries to call register_netdev. The structure that is trying to be registered is allocated and filled out correctly, and the request_regions, iomap, and enable_device are done first. Error checking returns that all of the above functions are performed correctly.
There is no syntax errors present in the program, but it has an oops as follows:
Code:
kernel tried to execute NX-protected page - exploit attempt? (uid: 0)
BUG: unable to handle kernel paging request at ffff88002c952c00
IP: [<ffff88002c952c00>] 0xffff8802c952163
This is odd, especially because neither the IP or RIP show a function name, only a hex address. How would I debug an oops that lacks function names and offsets? Google didn't turn out anything...