Re: Kernel mappings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/05/07, Michael Cashwell <mboards@xxxxxxxxxxxx> wrote:
Greeting all,

I'm trying to make sense of an Oops in a driver I'm trying to port
from 2.4 to 2.6.21 on an embedded ARM platform. I've scoured every
archive and Google page I could find but because my issue is very
specific I can't find anything that helps.

In a nutshell, I have the module building and loading for 2.6 but
when a user land app attempts to use the driver it fails (unable to
handle kernel paging request).

The address in question is of the CPU's internal peripheral
registers. The key issue is that I can access that address from
kernel mode just fine. But the failure happens when the user land app
down-calls via an ioctl into the driver module. The oops message says
it was "Mode SVC_32 Segment user".


Let's see the Oops as well as the driver source code. That'll make it
a lot easier to help you.
Also, what's your userspace etc like (scripts/ver_linux output would be good).

--
Jesper Juhl <jesper.juhl@xxxxxxxxx>
Don't top-post  http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please      http://www.expita.com/nomime.html

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux